You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add "service_tier" to JSONL token usage logs #20311
For downstream cost tools, it would be helpful to record the actual response.completed service tier alongside that response’s raw token usage, separately from the requested or configured tier. If the actual tier is missing, consumers would be able to treat it as unknown (rather than infer it from /fast).
Activity
robinebers commentedon May 12, 2026
Gentle bump. Would love to see this added. Seems like a minor thing that would drastically improve client analytics.
mjacobs commentedon Aug 1, 2026
For downstream cost tools, it would be helpful to record the actual
response.completedservice tier alongside that response’s raw token usage, separately from the requested or configured tier. If the actual tier is missing, consumers would be able to treat it as unknown (rather than infer it from/fast).