TL;DR
Using qwen-3-235b-a22b-thinking-2507 with the async Cerebras client and streaming: reasoning tokens show up in the content key of each chunk instead of a reasoning key. Do not wait for a fix or file it as a bug; the API is behaving as designed.
Steps
- If you need the reasoning separated out, parse the think blocks yourself on the
client side: extract everything between the think markers as reasoning and treat the rest as the final answer. Do not wait for a fix or file it as a bug; the API is behaving as designed.
When to use
You are seeing this: No, this is expected behavior. Use this skill when you run into "Cerebras reasoning models put reasoning in content, not a reasoning key".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.