✓ PASS
vercel-ai 7.0.153
usage.reasoning-tokens · openai-chat
Requirements
| Id | Level | Status | Evidence |
|---|---|---|---|
| total-reconciles | MUST | SATISFIED | usage.total=135 (primary); truth.usage.total=135 |
| reasoning-reported | SHOULD | SATISFIED | usage.reasoning=52 (primary); truth.usage.reasoning=52 |
What the provider sent
- Finish
- stop
- Raw finish
- stop
- Text
- 11 pots contain three seedlings. Check: \(11\times3 + 7\times2 = 47\), and \(11+7=18\).
- Tool calls
[]
- Usage
{ "alternatives": {}, "cached_input": 0, "input": 41, "output": 94, "raw": { "completion_tokens": 94, "completion_tokens_details": { "accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 52, "rejected_prediction_tokens": 0 }, "prompt_tokens": 41, "prompt_tokens_details": { "audio_tokens": 0, "cache_write_tokens": 0, "cached_tokens": 0 }, "total_tokens": 135 }, "reasoning": 52, "total": 135 }- Stream completed
null
- Error
null
Wire excerpt
status: 200
content-type: application/json
body (json):
{
"id": "chatcmpl-Ei7juQVTCg3NuBUeT01Qphd8kpNxp",
"object": "chat.completion",
"created": 1794184890,
"model": "gpt-6-luna",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "11 pots contain three seedlings. Check: \\(11\\times3 + 7\\times2 = 47\\), and \\(11+7=18\\).",
"refusal": null,
"annotations": []
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 41,
"completion_tokens": 94,
"total_tokens": 135,
"prompt_tokens_details": {
"cached_tokens": 0,
"cache_write_tokens": 0,
"audio_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 52,
"audio_tokens": 0,
"accepted_prediction_tokens": 0,
"rejected_prediction_tokens": 0
}
},
"service_tier": "default",
"system_fingerprint": null
}What the library reported
- Outcome
- returned
- Finish
{ "raw": "stop", "source": "result.finishReason", "surface": "primary", "value": "stop" }- Text
- Value
- 11 pots contain three seedlings. Check: \(11\times3 + 7\times2 = 47\), and \(11+7=18\).
- Surface
- primary
- Tool calls
[]
- Usage
{ "cached_input": 0, "input": 41, "output": 94, "reasoning": 52, "surface": { "cached_input": "primary", "input": "primary", "output": "primary", "reasoning": "primary", "total": "primary" }, "total": 135 }- Stream
{ "chunks_seen": null, "completed": null, "used": false }- Error
null
- Unsupported reason
null
Full observation JSON
{
"elapsed_ms": 107.37354499999998,
"error": null,
"finish": {
"raw": "stop",
"source": "result.finishReason",
"surface": "primary",
"value": "stop"
},
"format": "wiretruth.observation/v1",
"library": {
"api": "generateText",
"language": "javascript",
"name": "vercel-ai",
"version": "7.0.153"
},
"notes": [],
"outcome": "returned",
"stream": {
"chunks_seen": null,
"completed": null,
"used": false
},
"structured": {
"attempted": false,
"returned_as_success": false,
"value": null
},
"text": {
"surface": "primary",
"value": "11 pots contain three seedlings. Check: \\(11\\times3 + 7\\times2 = 47\\), and \\(11+7=18\\)."
},
"tool_calls": [],
"unsupported_reason": null,
"usage": {
"cached_input": 0,
"input": 41,
"output": 94,
"reasoning": 52,
"surface": {
"cached_input": "primary",
"input": "primary",
"output": "primary",
"reasoning": "primary",
"total": "primary"
},
"total": 135
}
}Fixture
recorded openai-chat/usage.reasoning-tokens
| Provenance | Value |
|---|---|
| Recorded at | 2026-11-09T00:41:29Z |
| Requested model | gpt-6-luna |
| Returned model | gpt-6-luna |
| CI run | https://github.com/kartsan03/wiretruth/actions/runs/42541525617 |
Reproduce
wiretruth serve openai-chat/usage.reasoning-tokensPlain-library snippet from the shim manifest.
createOpenAI({ baseURL: WIRETRUTH_BASE_URL_OPENAI_CHAT, apiKey }).chat(model)Upstream
No matching upstream report.
History
| Version | Grade |
|---|---|
| 7.0.153 | ✓ PASS |
| 7.0.146 | not covered |
| 7.0.142 | not covered |