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 support for token usage reporting for Azure endpoint #3250
changed the title [-]`/status` command shows no token usage for a session with many messages (Azure provider)[/-][+]Add support for token usage reporting for Azure endpoint[/+]on Dec 25, 2025
Token usage reporting and accounting are handled differently by Microsoft and OpenAI. The codex CLI currently supports the OpenAI mechanism for token reporting. To make this work with Azure endpoints, the Azure team would need to publish and document a mechanism for token usage reporting.
I've changed this from a bug report to an enhancement request.
Activity
bro4all commentedon Sep 8, 2025
out of the scope of this bug probably, but are you able to set the reasoning effort through /model ?
eugene-kim commentedon Sep 8, 2025
[-]`/status` command shows no token usage for a session with many messages (Azure provider)[/-][+]Add support for token usage reporting for Azure endpoint[/+]etraut-openai commentedon Dec 25, 2025
Token usage reporting and accounting are handled differently by Microsoft and OpenAI. The codex CLI currently supports the OpenAI mechanism for token reporting. To make this work with Azure endpoints, the Azure team would need to publish and document a mechanism for token usage reporting.
I've changed this from a bug report to an enhancement request.
etraut-openai commentedon Feb 12, 2026
This feature request hasn't received enough upvotes in the past two months, so I'm going to close it.