Researchers Discover API Vulnerability Exposing Hidden LLM Reasoning Traces
Security researchers identified an API payload vulnerability across major frontier AI providers that exposes hidden reasoning traces of reasoning models. The extracted token count matches billed thinking tokens 1:1.

Impact: Medium
Why it matters
Engineers building API proxy layers or distilling reasoning trajectories can verify billed thinking tokens directly and analyze reasoning patterns.
TL;DR
- 01Proprietary API thinking token counts can be independently audited via response inspection.
- 02Reasoning trace extraction allows comparing internal model planning steps against billed usage.
Key facts
- Token Alignment
- 1:1 match with billed API thinking tokens
Reasoning Trace Leakage
Frontier LLM API providers bill thinking models by counting internal reasoning steps. This API vulnerability allows clients to extract the full unredacted reasoning trace. The extracted reasoning token count matches billed API thinking tokens 1:1 across tested prompt queries.
What to do today
- Inspect API response payloads when integrating thinking models to audit billed token counts.
Sources