Core
Get Model Pricing
Get the prices of one model, with the price tiers behind them
This public endpoint does not require an API key. It returns pricing only. For request fields and supported operations, use Get a Model.
Path Parameter
Model ID, such as gpt-5.6-terra.
Response
per_token.Whether the model has verified and official supply, and the same for each operation.
The Verified price in USD: input_per_1m, output_per_1m, per_request, and is_lock_price. The price fields are null when deliveryAvailability.verified is false; such a model is billed at the Official price.
The Official price in the same shape. Requests that Official delivers are billed at this price.
true when the price depends on more than one rate, such as input size, resolution, or duration. Read pricing_details and pricing_summary then.
The lowest and highest price of the model.
The price tiers: each entry lists the conditions it applies to and its prices.
An unknown or unavailable model returns 404 model_not_found.
Request
curl "https://api.tokenlab.sh/v1/models/text-embedding-3-small/pricing"Response
{
"model": "text-embedding-3-small",
"pricing_unit": "per_token",
"has_complex_pricing": false,
"supported_operations": ["embedding"],
"deliveryAvailability": { "verified": false, "official": true },
"scalar_pricing": {
"input_per_1m": null,
"output_per_1m": null,
"per_request": null,
"is_lock_price": false,
"currency": "USD"
},
"official_scalar_pricing": {
"input_per_1m": "0.02",
"output_per_1m": "0",
"per_request": null,
"is_lock_price": false,
"currency": "USD"
}
}The example shows the shape of a response. Prices change; read the live response.