Description
OpenCode Go provider works perfectly for all models except Kimi K2.6 and K2.5, which consistently return "Provider returned error". Other models (GLM-5, Qwen3.5 Plus, MiniMax M2.5/M2.7) under the same OpenCode Go subscription work fine.
Environment
- OpenCode Version: 1.14.20
- OS: macOS
- Provider: OpenCode Go (paid subscription, $10/month)
- Affected Models:
kimi-k2.6, kimi-k2.5
- Working Models:
glm-5, glm-5.1, qwen3.5-plus, minimax-m2.5, minimax-m2.7
Steps to Reproduce
- Run
opencode and connect to OpenCode Go via /connect
- Select
kimi-k2.6 from /models
- Send any message (e.g., "hi")
- Observe: "Provider returned error" appears immediately
Evidence
- Same API key works with Kimi on other clients: The exact same OpenCode Go API key works perfectly with Kimi K2.6 on:
- OpenClaw gateway (same machine, different session)
- OpenCode Zen provider (same machine, different provider selection)
- This rules out API key invalidity or server-side Kimi outage.
Troubleshooting Already Attempted
Expected Behavior
Kimi K2.6/K2.5 should work through OpenCode Go provider, just like GLM-5 and Qwen3.5 Plus do.
Actual Behavior
Only Kimi models fail with a generic "Provider returned error" message. No detailed error code or HTTP status is exposed in the UI.
Additional Context
This appears similar to previously reported issues:
However, in this case the API key is definitively valid (works on Zen and other models), and the error persists across cache clears, reinstalls, and network changes.
Description
OpenCode Go provider works perfectly for all models except Kimi K2.6 and K2.5, which consistently return "Provider returned error". Other models (GLM-5, Qwen3.5 Plus, MiniMax M2.5/M2.7) under the same OpenCode Go subscription work fine.
Environment
kimi-k2.6,kimi-k2.5glm-5,glm-5.1,qwen3.5-plus,minimax-m2.5,minimax-m2.7Steps to Reproduce
opencodeand connect to OpenCode Go via/connectkimi-k2.6from/modelsEvidence
Troubleshooting Already Attempted
~/.local/share/opencodeand re-authenticated~/.cache/opencodeto force provider package re-downloadopencode-aiglobally via npmExpected Behavior
Kimi K2.6/K2.5 should work through OpenCode Go provider, just like GLM-5 and Qwen3.5 Plus do.
Actual Behavior
Only Kimi models fail with a generic "Provider returned error" message. No detailed error code or HTTP status is exposed in the UI.
Additional Context
This appears similar to previously reported issues:
However, in this case the API key is definitively valid (works on Zen and other models), and the error persists across cache clears, reinstalls, and network changes.