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

# Search live model prices

> Look up current prompt and completion token rates for any model with GET /v1/prices/search on the Narev Pricing API.

Use price search when you need live rates before you run a workload or compare hosts. The endpoint is public. No API key required.

## Search by model name

Pass a model ID or partial name as `q`:

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

Each row in `data` includes:

* `model_id`
* `provider_id`
* `pricing.prompt` and `pricing.completion` in USD per token

## Read the rates

Multiply by `1_000_000` when you want dollars per million tokens:

| Field                | Meaning                           |
| -------------------- | --------------------------------- |
| `pricing.prompt`     | Input token rate (USD per token)  |
| `pricing.completion` | Output token rate (USD per token) |

Filter rows where `model_id` matches exactly when the query returns variants or aliases.

## Paginate large result sets

Add `page` and `page_size` when a model appears on many hosts:

```bash theme={null}
curl -G 'https://api.narev.ai/v1/prices/search' \
  --data-urlencode 'q=claude-sonnet-4-6' \
  --data-urlencode 'page_size=100'
```

Stop when `meta.page` reaches `meta.total_pages`.

## Next step

Send token counts to [`POST /v1/traces/cost`](/docs/guides/calculate-request-cost) to get a dollar total for one request.
