Pricing
List pricing history for a (provider, model, tokenClass) triple
get/api/pricing/{provider}/{model}/{tokenClass}
Path parameters
provider'claude' | 'claude-managed' | 'codex' | 'pi' | 'opencode' | 'devin' | 'gemini' | 'acp' required
modelstring required
tokenClass'input' | 'cached_input' | 'output' | 'cache_write' | 'cache_write_1h' | 'web_search' | 'runtime_hour' | 'acu' required
Response
Pricing rows (latest first)
Changes
Changed in 3 of the 104 revisions of this API.14
- ●
added the new
acpenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the new enum value
acpto thepathrequest parameterproviderrequest-parameter-enum-value-added
- ●
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
- ○
added the new enum value
cache_write_1hto thepathrequest parametertokenClassrequest-parameter-enum-value-added
- ○
added the new enum value
web_searchto thepathrequest parametertokenClassrequest-parameter-enum-value-added
- ○