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

# MaxPrice - TypeScript SDK

> MaxPrice type definition

<Warning>
  The TypeScript SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/typescript-sdk/issues).
</Warning>

The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.

## Example Usage

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

let value: MaxPrice = {};
```

## Fields

| Field        | Type     | Required             | Description                     | Example |
| ------------ | -------- | -------------------- | ------------------------------- | ------- |
| `audio`      | *string* | :heavy\_minus\_sign: | N/A                             | 1000    |
| `completion` | *string* | :heavy\_minus\_sign: | N/A                             | 1000    |
| `image`      | *string* | :heavy\_minus\_sign: | N/A                             | 1000    |
| `prompt`     | *string* | :heavy\_minus\_sign: | Price per million prompt tokens | 1000    |
| `request`    | *string* | :heavy\_minus\_sign: | N/A                             | 1000    |
