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

# Gateway Models & Pricing

> The model catalog for the Perplexity Gateway API, with per-token pricing for open-weight models hosted by Perplexity.

## Overview

Every model below is available through both Gateway endpoints — [Chat Completions](/api-reference/gateway-chat-completions-post) and [Messages](/api-reference/gateway-messages-post) — under the same `creator/model-name` id. Prices are in USD per 1 million tokens, and you are billed at the requested model's rates regardless of how the request is served.

For the live catalog, query [`GET /models`](/api-reference/gateway-models-get); the tables below show the current catalog.

<Note>
  Cached input is billed separately from fresh input: cache reads are billed at the discounted per-model rate shown in the "Cache read" column, and cache writes at the rate shown (or at the input rate where no dedicated write rate is listed). Reasoning tokens are billed at the output rate.
</Note>

## Perplexity-Hosted Models

Open-source models hosted by Perplexity — the `perplexity/` prefix reflects who serves the model, not who created it. Currently Moonshot AI's Kimi K3 and Z.AI's GLM 5.2:

| Model                    |  Input |  Output | Cache read |
| ------------------------ | -----: | ------: | ---------: |
| **`perplexity/kimi-k3`** | \$3.00 | \$15.00 |     \$0.30 |
| **`perplexity/glm-5.2`** | \$1.40 |  \$4.40 |     \$0.14 |

## Listing Models Programmatically

```bash theme={null}
curl 'https://api.perplexity.ai/router/v1/models' \
  -H "Authorization: Bearer $PERPLEXITY_API_KEY" | jq
```

The response lists every available model sorted by id, including each model's base token prices. Requesting a model that is not in the catalog returns a `400` naming the invalid model — the catalog is also the allowlist.

## Next Steps

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/docs/gateway/quickstart">
    Make your first Gateway API call.
  </Card>

  <Card title="Pricing & Billing" icon="receipt" href="/docs/getting-started/pricing">
    How credits, billing, and usage tiers work across the platform.
  </Card>
</CardGroup>
