Skip to main content
Close-up of a painted glass goblet with vivid orange and teal reflections. Use the Pricing API to retrieve model prices across providers and calculate a request’s cost from its token usage. The API is free and public. You do not need an account or API key. The REST base URL is https://api.narev.ai. Agents can access pricing through MCP at https://mcp.narev.ai.

REST quickstart

Find a model, retrieve its prices, and calculate a request cost.

MCP

Give your agent access to current pricing and documentation.

API reference

Explore providers, models, price search, cost calculation, and the LiteLLM-compatible map.

AI-billing

Capture usage inside Vercel AI SDK calls and send calculated events to billing destinations.

What the API calculates

Prices describe the provider’s catalog rates. Cost calculation prices supplied usage; it does not run inference or charge your customers. Your actual invoice can differ because of negotiated rates, credits, or other charges. A missing price or pricing: null does not mean the model is free. Inspect the returned message before comparing prices or estimating cost.
Last modified on October 29, 2026