Skip to main content

Endpoint

The preferred GET /v1/models/{slug} path returns the identical response, including cost. The query-parameter route remains available for backwards compatibility.

Query Parameters

Code Examples

Response

Response Fields

Cost Estimate

When cost is non-null, it contains exactly these fields: cost is planning guidance, not the final charge. It may be null when no reliable public estimate is available, and estimates may change with provider rates, promotions, or model configuration. When available, fixed pricing includes an amount; usage-based pricing provides a concise rate, range, billing driver, or Usage-based pricing fallback. Pricing internals are not exposed. Use metrics.cost on the resulting prediction or workflow execution for the settled value.

Error Responses

Last modified on August 27, 2026