OpenCode API key setup
OpenCode Zen: curated open coding models with a free tier (Zen) plus the $10/month Go plan. Built for coding agents with reliable global access.
Get your key
- Open the OpenCode site: opencode.ai/go?ref=DP9CQDWDZ9 partner link
- Create an account and generate an API key.
- Paste it into the Dracon key manager — stored encrypted (AES-256-GCM), used browser-direct, works in every Dracon tool.
Free tier
Yes. 5 free models on OpenCode Zen for a limited time. The model set and per-model rate limits rotate as OpenCode tunes the program — check the provider's pricing page for current specifics. The free tier is finite.
Rate limits: Per-model rate limits (rotate — check the provider's pricing page for current specifics)
Connection details
- Env var
OPENCODE_API_KEY- Model lineup
- GLM-5, GLM-5.1, Kimi K2.5, Kimi K2.6, MiMo-V2.5, MiMo-V2.5-Pro, MiniMax M2.5, MiniMax M2.7, Qwen3.5 Plus, Qwen3.6 Plus, DeepSeek V4 Pro, DeepSeek V4 Flash
Gotchas
Browser-direct chat is not available for this provider: CLI harness, not an API. The vault still stores its key for tools that run elsewhere (for example a LiteLLM chain from the router builder).