Core
Get Pricing
Get pricing information for models
This public endpoint does not require an API key.
Overview
Return current public model prices.
For complex billing details, see Get a Model.
Query Parameters
Optional provider filter such as openai, anthropic, or google.
Optional model tag filter such as chat, image, video, embedding, or translation.
Response
Always pricing.
ISO timestamp when the current public prices were published.
Always USD.
Array of pricing entries. Each item includes model, provider, is_lock_price, capabilities, aliases, and the public scalar or structured pricing summary fields returned by the interactive schema above.
Request
curl "https://api.tokenlab.sh/v1/pricing?provider=openai&tag=chat"Response
{
"object": "pricing",
"updated_at": "2026-04-20T00:00:00.000Z",
"currency": "USD",
"data": [
{
"model": "gpt-4o",
"provider": "openai",
"is_lock_price": false,
"input_per_1m_tokens": "2.50",
"output_per_1m_tokens": "10.00",
"capabilities": ["chat"],
"aliases": ["gpt-4o-latest"]
}
]
}Complex pricing entries may also include lock_price_per_request, has_complex_pricing, supported_operations, and pricing_summary.
Authorization
BearerAuth API Key authentication. Create or manage API keys in Dashboard > API > API Keys.
In: header
Query Parameters
Filter by provider ID.
Filter by model tag.
Response
application/json
application/json
application/json
application/json