> ## Documentation Index
> Fetch the complete documentation index at: https://www.narev.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Pricing data

> Understand the rates and usage behind an inference cost estimate.

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:

```bash theme={null}
curl --fail-with-body -G 'https://api.narev.ai/v1/prices/search' \
  --data-urlencode 'q=gpt-4o'
```

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](https://www.narev.ai/docs/pricing-api/index.md) for REST and MCP access. Follow the [quickstart](https://www.narev.ai/docs/pricing-api/quickstart.md) to turn a model's token usage into a calculated cost.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.