Repository navigation
Description
Problem
Zero currently supports 25+ AI providers but does not include support for KiloCode (Kilo Gateway) or OpenCode (Zen/Go), two popular AI coding agent platforms with their own model gateways. Users of these platforms cannot use Zero with their existing subscriptions/credits.
Requested behavior
Add catalog entries for:
- KiloCode (Kilo Gateway) — unified OpenAI-compatible API at
https://api.kilo.ai/api/gatewaywith 500+ models, BYOK, and usage tracking - OpenCode Zen — curated model gateway at
https://opencode.ai/zen/v1with pay-as-you-go pricing and free model options - OpenCode Go — subscription-based open model access at
https://opencode.ai/zen/go/v1
Why it belongs in Zero
Both KiloCode and OpenCode are widely-used open-source AI coding agents with significant developer adoption:
- KiloCode: 3M+ users, "Open Source Product of the Month", models from Anthropic/OpenAI/Google/xAI/Mistral/etc through a single gateway
- OpenCode: 160K GitHub stars, 7.5M monthly developers, curated model testing and benchmarking
Adding these as providers gives Zero users access to additional model gateways with competitive pricing (both offer models at cost with zero markup), and aligns with Zero's philosophy of supporting multiple providers for flexibility and reliability.
Alternatives or workarounds considered
- Users could manually configure these as "Custom OpenAI-compatible" providers, but this requires users to know the exact base URLs and model IDs, and doesn't surface them in the provider picker
- These gateways are OpenAI-compatible so they work with the existing
openai-compatibletransport — no new runtime code needed
Implementation details
All three can be implemented as single-line catalog entries using the existing openAICompat() helper in internal/providercatalog/catalog.go:
openAICompat("kilocode", "KiloCode", "https://api.kilo.ai/api/gateway", "anthropic/claude-sonnet-4.6", []string{"KILO_API_KEY"}, "kilo", "kilo gateway"),
openAICompat("opencode", "OpenCode Zen", "https://opencode.ai/zen/v1", "gpt-5.5", []string{"OPENCODE_API_KEY"}, "opencode zen"),
openAICompat("opencode-go", "OpenCode Go", "https://opencode.ai/zen/go/v1", "deepseek-v4-pro", []string{"OPENCODE_API_KEY"}, "opencode go"),No new transport types, runtime providers, or factory changes required — both gateways use standard OpenAI-compatible /chat/completions.
Examples, screenshots, or prior discussion
- Kilo Gateway docs: https://kilo.ai/docs/gateway
- OpenCode Zen docs: https://opencode.ai/docs/zen/
- OpenCode Go docs: https://opencode.ai/docs/go/
Activity
Vasanthdev2004 commentedon Jul 2, 2026
sure will add in a moment thanks for raising issue
Ashwinhegde19 commentedon Jul 2, 2026
Thanks! I've already implemented the three catalog entries in my local branch if you'd like me to submit a PR once the issue is approved. Otherwise happy to let the team handle it.
Vasanthdev2004 commentedon Jul 2, 2026
sure then make a pr we can merge already! thanks for contribution @Ashwinhegde19
eli-l commentedon Jul 2, 2026
Actually Opencode suggests using anthropic SDK for Qwen and MiniMax family, despite these are working with openai-compat transport. I am working on splitting these, probably unnecessary.
feat(providers): add KiloCode and OpenCode provider support (#388)
feat(providers): add KiloCode and OpenCode provider support (Twigpine…