mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
16 lines
1.6 KiB
Plaintext
16 lines
1.6 KiB
Plaintext
---
|
|
title: "MaxPrice"
|
|
---
|
|
|
|
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 |
|
|
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
|
|
| `audio` | *Optional[str]* | :heavy_minus_sign: | Maximum price in USD per audio unit |
|
|
| `completion` | *Optional[str]* | :heavy_minus_sign: | Maximum price in USD per million completion tokens |
|
|
| `image` | *Optional[str]* | :heavy_minus_sign: | Maximum price in USD per image |
|
|
| `prompt` | *Optional[str]* | :heavy_minus_sign: | Maximum price in USD per million prompt tokens |
|
|
| `request` | *Optional[str]* | :heavy_minus_sign: | Maximum price in USD per request | |