> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ProviderPreferencesMaxPrice - Python SDK

> ProviderPreferencesMaxPrice method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-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.

## Fields

| Field        | Type             | Required             | Description                                     | Example |
| ------------ | ---------------- | -------------------- | ----------------------------------------------- | ------- |
| `prompt`     | *Optional\[str]* | :heavy\_minus\_sign: | A value in string format that is a large number | 1000    |
| `completion` | *Optional\[str]* | :heavy\_minus\_sign: | A value in string format that is a large number | 1000    |
| `image`      | *Optional\[str]* | :heavy\_minus\_sign: | A value in string format that is a large number | 1000    |
| `audio`      | *Optional\[str]* | :heavy\_minus\_sign: | A value in string format that is a large number | 1000    |
| `request`    | *Optional\[str]* | :heavy\_minus\_sign: | A value in string format that is a large number | 1000    |
