---
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                   |