OpenCode Go
subscription
Getting credentials
plan-key
api_key via header (header Authorization: Bearer)
Environment: OPENCODE_API_KEY
Subscribe at opencode.ai/go; uses the OpenCode Zen API key. Provider IDs are opencode-go/<model>.
Endpoints
| ID | URL | Protocol | Auth |
|---|---|---|---|
| go-responses | https://opencode.ai/zen/go/v1/responses | openai-responses | any |
| go-chat-completions | https://opencode.ai/zen/go/v1/chat/completions | openai-chat | any |
| go-messages | https://opencode.ai/zen/go/v1/messages | anthropic-messages | any |
API surfaces
textstreaming
Plan
- Price
- $10 / monthly
- Quota
- $12 per 5 hours, $30/week, $60/month
- Notes
- $5 first month then $10/mo, on top of the Zen console (same API key mechanism); open coding models only — Grok 4.5, GPT 5.6 Luna, GLM-5.x, Kimi K3/K2.x, MiniMax M3/M2.7, Qwen3.x, DeepSeek V4, MiMo, Hy3; optional Zen-balance fallback. Routes per protocol: /responses for Grok/GPT, /chat/completions for GLM/Kimi/DeepSeek, /messages (Anthropic) for MiniMax/Qwen.
- Docs
- https://opencode.ai/docs/go/
Quirks
- Per-model-family protocol routing: /responses for Grok/GPT, /chat/completions for GLM/Kimi/DeepSeek, /messages for MiniMax/Qwen. Offerings verified against the live GET /zen/go/v1/models list (2026-08-19). (docs)
Models offered
| Model | Wire ID | Endpoint | Status | Reasoning |
|---|---|---|---|---|
| alibaba/qwen3-7-max | qwen3.7-max | go-chat-completions | ga | adaptive · default on · returns reasoning_content |
| alibaba/qwen3-7-plus | qwen3.7-plus | go-messages | ga | toggle · default on · returns reasoning_content |
| alibaba/qwen3-8-flash | qwen3.8-flash | go-chat-completions | ga | toggle · default off · returns reasoning_content |
| alibaba/qwen3-8-max | qwen3.8-max | go-messages | ga | toggle · default on · returns reasoning_content |
| deepseek/deepseek-v4-flash | deepseek-v4-flash | go-chat-completions | ga | effort · default on · returns reasoning_content · round-trips reasoning_content |
| deepseek/deepseek-v4-pro | deepseek-v4-pro | go-chat-completions | ga | effort · default on · returns reasoning_content · round-trips reasoning_content |
| meituan/longcat-2-0 | longcat-2.0 | go-chat-completions | ga | toggle · default on · returns reasoning_content |
| meta/muse-spark-1-2 | muse-spark-1.2-contributor | go-chat-completions | ga | effort · default on · mandatory · returns hidden |
| meta/muse-spark-1-2 | muse-spark-1.2 | go-chat-completions | retired | effort · default on · mandatory · returns hidden |
| meta/muse-spark-1-3 | muse-spark-1.3-contributor | go-chat-completions | preview | effort · default on · mandatory · returns reasoning_content |
| minimax/minimax-m2-5 | minimax-m2.5 | go-messages | ga | always_on · default on · mandatory · returns reasoning_content · round-trips reasoning_content |
| minimax/minimax-m2-7 | minimax-m2.7 | go-messages | ga | always_on · default on · mandatory · returns reasoning_content · round-trips reasoning_content |
| minimax/minimax-m3 | minimax-m3 | go-messages | ga | toggle · default adaptive · returns reasoning_content · round-trips reasoning_content |
| moonshot/kimi-k2-5 | kimi-k2.5 | go-chat-completions | ga | toggle · default on · returns reasoning_content |
| moonshot/kimi-k2-6 | kimi-k2.6 | go-chat-completions | ga | toggle · default on · returns reasoning_content · round-trips reasoning_content |
| moonshot/kimi-k2-7-code | kimi-k2.7-code | go-chat-completions | ga | toggle · default on · mandatory · returns reasoning_content · round-trips reasoning_content |
| moonshot/kimi-k3 | kimi-k3 | go-chat-completions | ga | toggle · default on · returns reasoning_content · round-trips reasoning_content |
| openai/gpt-5-6 | gpt-5.6-luna | go-responses | ga | effort · default on · returns reasoning_summary · round-trips encrypted_content |
| tencent/hy3 | hy3-preview | go-chat-completions | preview | effort · default on · returns reasoning_content |
| tencent/hy3 | hy3 | go-chat-completions | ga | adaptive · default on · returns reasoning_content |
| tencent/hy4 | hy4-preview | go-chat-completions | preview | effort · default on · returns reasoning_content |
| xai/grok-4-5 | grok-4.5 | go-responses | ga | effort · default on · mandatory · returns hidden · round-trips encrypted_content |
| xai/grok-4-6 | grok-4.6 | go-responses | ga | effort · default on · mandatory · returns reasoning_content · round-trips encrypted_content |
| xiaomi/mimo-v2-5 | mimo-v2.5 | go-chat-completions | ga | adaptive · default on · returns reasoning_content · round-trips reasoning_content |
| xiaomi/mimo-v2-5-pro | mimo-v2.5-pro | go-chat-completions | ga | adaptive · default on · returns reasoning_content · round-trips reasoning_content |
| zai/glm-5-1 | glm-5.1 | go-chat-completions | ga | toggle · default on · returns reasoning_content · round-trips reasoning_content |
| zai/glm-5-2 | glm-5.2 | go-chat-completions | ga | toggle · default on · returns reasoning_content · round-trips reasoning_content |
| zai/glm-5-3 | glm-5.3 | go-chat-completions | ga | always_on · default on · mandatory · returns reasoning_content · round-trips reasoning_content |
| zai/glm-5-3-flash | glm-5.3-flash | go-chat-completions | ga | always_on · default on · mandatory · returns reasoning_content · round-trips reasoning_content |