Design preview
API usage and billing preview
The web product uses input-word credits for eligible writing operations. Public API metering is not launched and will require a versioned billable-unit definition before customers can rely on it.
Today's word-credit model
The existing web-product calculation is based on whitespace-delimited input words and a tool multiplier. It does not expose provider prompt tokens or completion tokens as the customer billing unit.
word_credits = ceil(input_words × multiplier)Requirements for public API units
- A versioned counting algorithm
- Defined behavior for Chinese, Japanese and other non-space-delimited languages
- Separate units for synchronous text, file extraction and compute-heavy media jobs
- Usage fields returned with every billable response
- Account-level usage exports and predictable reset periods