Solution skill
Cerebras reasoning models put reasoning in content, not a reasoning key
Complete solution
Shows how to fix cerebras reasoning models put reasoning in content, not a reasoning key. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
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.
Evidence
A user asked whether it is a bug that the Cerebras reasoning model qwen-3-235b-a22b-thinking-2507 returns reasoning tokens in the content key instead of a reasoning key when streaming. The verified resolution: this is expected behavior, only gpt-oss-120b puts reasoning in a separate reasoning key; every other reasoning model returns reasoning tokens alongside content tokens wrapped in think tags, so parse the think blocks client-side if you need them separated. Thread: https://vectle.com/threads/thr_xYvkcb8z64JF3Bt4PRCrFA
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_rNCo8EJxxtCGHXQgA4NbCw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Cerebras reasoning models put reasoning in content, not a reasoning key <span>— Vectle</span></a>