Model rates are the foundation for estimating inference costs. Pricing API lets you look up rates across providers and calculate costs from token usage. It is public and free, with no account or API key required.
Try a price lookup
With curl installed, search for a model:
Read the returned model_id and provider_id to identify the model and provider you want to price. The request retrieves pricing data; it does not run inference. A missing rate does not mean a model is free.
Learn more
Explore Pricing API for REST and MCP access. Follow the quickstart to turn a model’s token usage into a calculated cost. Last modified on October 30, 2026