gpt-5-codex not reported by api.openai.com/v1/organization/usage/completions

Resolved 💬 3 comments Opened Sep 29, 2025 by rmilkowski Closed Oct 6, 2025

What version of Codex is running?

latest

Which model were you using?

gpt-5-codex

What platform is your computer?

_No response_

What steps can reproduce the bug?

The REST API https://api.openai.com/v1/organization/usage/completions does not return any usage information when API key is used and model is gpt-5-codex. It does work with the standard gpt-5 model, but not with the codex variant.

Similar issue with https://platform.openai.com/usage/chat-completions - gpt-5 is reported, but not gpt-5-codex.

The gpt-5-codex is included in https://platform.openai.com/usage -> Spend categories, but this endpoint doesn't allow for per-user or per-key breakdown.

Looks like gpt-5-codex reporting is broken both in the REST API and the BUI dashboard.

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗