I would like to request that OpenAI expose a user’s ChatGPT Work/Codex usage allowance through an authenticated API or tool that ChatGPT plugins/apps can access.

The problem

ChatGPT Plus users have usage limits for Work/Codex, but while actively using Work there is no easy way to see how much of the allowance an individual task consumed.

For example, if I ask Work to make a small website change versus auditing and modifying an entire website, I would like to know how much of my available usage each task actually consumed.

This becomes especially important now that users can purchase additional credits after exhausting included usage. It would help users understand where their allowance is going and make informed decisions about purchasing additional credits or upgrading plans.

What I would like exposed

Through an authenticated API or ChatGPT plugin/app tool, provide access to values such as:

Current Work/Codex usage remaining

Percentage of included allowance remaining

Rolling usage-window allowance remaining

Weekly allowance remaining

Date/time each usage limit resets

Purchased credit balance

Credits or usage consumed by the most recently completed Work task

The API does not need to expose anything sensitive beyond usage information belonging to the authenticated user.

Example use case

This would allow a ChatGPT plugin/app to check usage immediately before and after completing a Work task.

For example:

Before task: 82% remaining

After task: 76% remaining

The plugin could then automatically append this to ChatGPT’s response:

Work Usage

███████▋░░ 76% remaining

This task consumed: 6 percentage points

Before: 82%

After: 76%

Weekly reset: Monday

Over time, the plugin could also maintain a history showing approximately how expensive different types of tasks are:

Task

Usage consumed

Small website text change

0.5%

Add a new page

2.4%

Build a new feature

5.8%

Full website audit and fixes

11.2%

Why expose this through an API instead of only adding a UI meter?

A built-in usage meter would also be useful, but exposing the value programmatically would allow developers to build much more useful tools around it.

For example:

Per-task usage tracking

Usage history

Usage graphs

Estimated tasks remaining

Alerts when usage is getting low

Comparisons between models

Cost estimates before purchasing additional credits

Automatic usage summaries at the end of Work tasks

This could be exposed as something as simple as an authenticated read-only tool such as:

get_chatgpt_usage()

returning values for current allowance, remaining allowance, reset times, and purchased credits.

Privacy and security

This should be:

Read-only

Available only to the authenticated account owner

Explicitly permissioned when connecting a plugin/app

Limited to usage and allowance information

Why I think this would be valuable

OpenAI already tracks this information in order to enforce usage limits and sell additional credits. Giving users programmatic access to their own usage data would provide significantly better usage and cost transparency.

I specifically want to build a ChatGPT plugin/app that visually shows how much Work usage each completed task consumed, but currently there does not appear to be a supported API for retrieving the user’s ChatGPT Work/Codex allowance.

Please consider exposing this information through the ChatGPT Apps/Plugins platform or another authenticated API.

Thank you.