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

# PublicPricing

Pricing information for the model

## Example Usage

```typescript theme={null}
import { PublicPricing } from "@openrouter/sdk/models";

let value: PublicPricing = {
  completion: "0.00006",
  prompt: "0.00003",
};
```

## Fields

| Field               | Type                                                       | Required             | Description                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------- | ---------------------------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `audio`             | *string*                                                   | :heavy\_minus\_sign: | Price in USD per audio input token                                                                                                                                                                                                                                                                                                                                                                                                   |
| `audioOutput`       | *string*                                                   | :heavy\_minus\_sign: | Price in USD per audio output token                                                                                                                                                                                                                                                                                                                                                                                                  |
| `completion`        | *string*                                                   | :heavy\_check\_mark: | Price in USD per token for completion (output) generation                                                                                                                                                                                                                                                                                                                                                                            |
| `discount`          | *number*                                                   | :heavy\_minus\_sign: | Fractional discount applied to this endpoint's pricing; the price is multiplied by (1 - discount) (0 = no discount, 1 = free)                                                                                                                                                                                                                                                                                                        |
| `image`             | *string*                                                   | :heavy\_minus\_sign: | Price in USD per input image                                                                                                                                                                                                                                                                                                                                                                                                         |
| `imageOutput`       | *string*                                                   | :heavy\_minus\_sign: | Price in USD per output image                                                                                                                                                                                                                                                                                                                                                                                                        |
| `imageToken`        | *string*                                                   | :heavy\_minus\_sign: | Price in USD per image token                                                                                                                                                                                                                                                                                                                                                                                                         |
| `inputAudioCache`   | *string*                                                   | :heavy\_minus\_sign: | Price in USD per cached audio input token                                                                                                                                                                                                                                                                                                                                                                                            |
| `inputCacheRead`    | *string*                                                   | :heavy\_minus\_sign: | Price in USD per cached input token (read)                                                                                                                                                                                                                                                                                                                                                                                           |
| `inputCacheWrite`   | *string*                                                   | :heavy\_minus\_sign: | Price per cache-write token, in USD per token. For providers with multiple cache TTLs (e.g. Anthropic), this is the default (5-minute) cache-write rate.                                                                                                                                                                                                                                                                             |
| `inputCacheWrite1h` | *string*                                                   | :heavy\_minus\_sign: | Price per 1-hour cache-write token, in USD per token. Only present for providers that price an extended (1-hour) cache TTL separately, such as Anthropic.                                                                                                                                                                                                                                                                            |
| `internalReasoning` | *string*                                                   | :heavy\_minus\_sign: | Price in USD per internal reasoning token                                                                                                                                                                                                                                                                                                                                                                                            |
| `overrides`         | [models.PricingOverride](../models/pricingoverride.mdx)\[] | :heavy\_minus\_sign: | Conditional overrides of the base pricing (e.g. long-context or time-based pricing). An entry applies when all of its condition fields (e.g. min\_prompt\_tokens, or the utc\_start/utc\_end time window) match the request; among applicable entries, later entries win per key; price keys absent from an entry inherit the base price. The top-level pricing keys always reflect the price that applies under default conditions. |
| `prompt`            | *string*                                                   | :heavy\_check\_mark: | Price in USD per token for prompt (input) processing                                                                                                                                                                                                                                                                                                                                                                                 |
| `request`           | *string*                                                   | :heavy\_minus\_sign: | Price in USD per request                                                                                                                                                                                                                                                                                                                                                                                                             |
| `webSearch`         | *string*                                                   | :heavy\_minus\_sign: | Price in USD per web search                                                                                                                                                                                                                                                                                                                                                                                                          |
