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

FieldTypeRequiredDescriptionExample
Audio*stringN/A1000
Completion*stringN/A1000
Image*stringN/A1000
Prompt*stringPrice per million prompt tokens1000
Request*stringN/A1000