Skip to main content
GET
Get Model Pricing

Headers

x-api-key
string
required

Query Parameters

model_name
string
required

The model to price, e.g. gpt-5.4 or openrouter/moonshotai/kimi-k3.

Minimum string length: 1

Response

Successful Response

Response for GET /v1/models/pricing: one model's price per 1M tokens.

model_name
string
required

The model that was priced.

input_cost_per_1m
number
required

Price per 1M input tokens (USD), including the service fee.

output_cost_per_1m
number
required

Price per 1M output tokens (USD), including the service fee.

price_source
string
required

Where the price came from: 'openrouter', 'litellm' or 'fallback'.

timestamp
string
required

ISO timestamp when the price was looked up.

status
string
default:success

The status of the request.