v1

latestOpenAPI 3.1.0API content licensed for inference-only use2026-07-1348269.4 KB
Premium

Compute monthly cost across model candidates

get/api/premium/cost/projection

Query parameters

modelstring required
Example:opus-4-7,gpt-5-5
input_tokens_per_dayinteger
output_tokens_per_dayinteger
horizon'daily' | 'monthly' | 'yearly'

Request body

modelstring required

Comma-separated model ids (1-10), e.g. "opus-4-7,gpt-5-5"

input_tokens_per_dayinteger

Projected daily input token volume

output_tokens_per_dayinteger

Projected daily output token volume

horizon'daily' | 'monthly' | 'yearly'

Time horizon for cost summary

Response

Projected cost per model.

object required