> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://openrouter.ai/docs/llms.txt.
> For full documentation content, see https://openrouter.ai/docs/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://openrouter.ai/docs/_mcp/server.

# MaxPrice - Python SDK

The Python SDK and docs are currently in beta.
Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).

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 |
| ------------ | ---------------- | -------------------- | ------------------------------- | ------- |
| `audio`      | *Optional\[str]* | :heavy\_minus\_sign: | N/A                             | 1000    |
| `completion` | *Optional\[str]* | :heavy\_minus\_sign: | N/A                             | 1000    |
| `image`      | *Optional\[str]* | :heavy\_minus\_sign: | N/A                             | 1000    |
| `prompt`     | *Optional\[str]* | :heavy\_minus\_sign: | Price per million prompt tokens | 1000    |
| `request`    | *Optional\[str]* | :heavy\_minus\_sign: | N/A                             | 1000    |