MaxPrice - Python SDK

MaxPrice method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

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

Fields

FieldTypeRequiredDescriptionExample
audioOptional[str]N/A1000
completionOptional[str]N/A1000
imageOptional[str]N/A1000
promptOptional[str]Price per million prompt tokens1000
requestOptional[str]N/A1000