List PLATFORM key prices
/v1/pricingList PLATFORM key prices.
Answers the per-token price of each model a PLATFORM virtual key can use, in USD, with the platform markup already included (markup_pct says how much it is). Only token-priced models of the chat, image generation, transcription, speech and System One kinds are listed, sorted by provider, then model. A key with its own markup is charged at that markup instead.
No credentials are needed.
Authorization
None: this endpoint is public.
Query parameters
providersstringonly these providers: a comma-separated list of provider ids, matched exactly, e.g.
OPENAI,ANTHROPIC; omit for every provider
Responses
markup_pctnumber<double>The platform markup included in every price, as a fraction of the provider's price (
0.06is 6%). A key with its ownmarkup_pctis charged at that instead.entriesobject[]One price per model, sorted by provider, then model.
Child attributes
providerstringThe provider id, e.g.
OPENAI.modelstringThe model id without its provider prefix, e.g.
gpt-4o.request_modelstringThe model id with its provider prefix, e.g.
openai/gpt-4o: send this asmodelto be sure a PLATFORM key picks this provider.input_cost_per_tokennumber<double>USD per input token, markup included.
output_cost_per_tokennumber<double>USD per output token, markup included.
modeenum<string>What kind of model it is:
CHAT,IMAGE_GENERATION,AUDIO_TRANSCRIPTION,AUDIO_SPEECHorSYSTEM_ONE.One of
"CHAT","IMAGE_GENERATION","AUDIO_TRANSCRIPTION","AUDIO_SPEECH","SYSTEM_ONE"supported_endpointsstring[]The endpoint that serves this kind of model:
/v1/chat/completions,/v1/images/generations,/v1/audio/transcriptions,/v1/audio/speechor/v1/systemone.