Description
Every call to opencode-go/kimi-k2.6 fails with HTTP 400:
{"error": {"message": "Error from provider: cannot specify both 'thinking' and 'reasoning_effort'"}}
The client sends Moonshot's native thinking toggle together with top-level reasoning_effort, and the upstream rejects requests containing both. kimi-k3 on the same Go subscription works fine — it got the same class of fixes via models.dev#3331 (see #37552), but K2.6 never got that pass, even though it's still a paid model in the Go catalog.
One data point that shows the upstream itself is fine: a plain OpenAI-compatible client (sends only model + messages + token limits, no thinking/reasoning_effort/temperature/tools) hits the same endpoint https://opencode.ai/zen/go/v1/chat/completions with kimi-k2.6 and the same API key, and gets 200. So this is about the request envelope opencode builds for K2.6, not a model or gateway outage.
Related: #37771 (K2.6 also affected by the mcp/system field rejection), #27054, #38219.
Happy to test any patch.
Plugins
None
OpenCode version
N/A — reproduced via direct API calls to the Go endpoint
Steps to reproduce
opencode run -m opencode-go/kimi-k2.6 "hello" → HTTP 400 cannot specify both 'thinking' and 'reasoning_effort'
opencode run -m opencode-go/kimi-k3 "hello" → works
- Direct call to
https://opencode.ai/zen/go/v1/chat/completions with a minimal payload (model, messages only) for kimi-k2.6 → 200
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Git Bash
Description
Every call to
opencode-go/kimi-k2.6fails with HTTP 400:The client sends Moonshot's native
thinkingtoggle together with top-levelreasoning_effort, and the upstream rejects requests containing both.kimi-k3on the same Go subscription works fine — it got the same class of fixes via models.dev#3331 (see #37552), but K2.6 never got that pass, even though it's still a paid model in the Go catalog.One data point that shows the upstream itself is fine: a plain OpenAI-compatible client (sends only
model+messages+ token limits, nothinking/reasoning_effort/temperature/tools) hits the same endpointhttps://opencode.ai/zen/go/v1/chat/completionswithkimi-k2.6and the same API key, and gets 200. So this is about the request envelope opencode builds for K2.6, not a model or gateway outage.Related: #37771 (K2.6 also affected by the
mcp/systemfield rejection), #27054, #38219.Happy to test any patch.
Plugins
None
OpenCode version
N/A — reproduced via direct API calls to the Go endpoint
Steps to reproduce
opencode run -m opencode-go/kimi-k2.6 "hello"→ HTTP 400cannot specify both 'thinking' and 'reasoning_effort'opencode run -m opencode-go/kimi-k3 "hello"→ workshttps://opencode.ai/zen/go/v1/chat/completionswith a minimal payload (model,messagesonly) forkimi-k2.6→ 200Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Git Bash