opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Using any cerebras model with api key causes unsupported property errors

Open sra opened this issue 2 weeks ago • 2 comments

Description

Using a Cerebras provider connected via /connect or opencode auth login the model list is properly retrieved and you can select one, but when using any model I get:

body.maxTokens: property 'body.maxTokens' is unsupported body.thinking: property 'body.thinking' is unsupported

Errors back

OpenCode version

1.0.223

Steps to reproduce

  1. Authorize cerebras via /connect and api key
  2. Select any cerebras model
  3. type in a prompt
  4. (or) opencode run --model cerebras/gpt-oss-120b "test" Error: body.maxTokens: property 'body.maxTokens' is unsupported body.thinking: property 'body.thinking' is unsupported

Screenshot and/or share link

https://opncd.ai/share/W5OP1lFi

Operating System

Darwin Mac 25.2.0

Terminal

Warp

sra avatar Jan 02 '26 14:01 sra