MaxPrice - Go SDK

MaxPrice type definition

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

FieldTypeRequiredDescription
Audio*stringMaximum price in USD per audio unit
Completion*stringMaximum price in USD per million completion tokens
Image*stringMaximum price in USD per image
Prompt*stringMaximum price in USD per million prompt tokens
Request*stringMaximum price in USD per request