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
Prompt*stringâž–Price per million prompt tokens1000
Completion*stringâž–N/A1000
Image*stringâž–N/A1000
Audio*stringâž–N/A1000
Request*stringâž–N/A1000