A provider's offered price for a single model.
Properties
currency
string
Required
No description available.
maxLength: 8 bytesminLength: 3 bytesinputPricePerMTok
integer
Required
Integer minor units per 1,000,000 input tokens.
minimum: 0modelId
string
Required
No description available.
maxLength: 256 bytesoutputPricePerMTok
integer
Required
Integer minor units per 1,000,000 output tokens.
minimum: 0View raw schema
{
"type": "object",
"required": [
"modelId",
"inputPricePerMTok",
"outputPricePerMTok",
"currency"
],
"properties": {
"modelId": {
"type": "string",
"maxLength": 256
},
"currency": {
"type": "string",
"maxLength": 8,
"minLength": 3
},
"inputPricePerMTok": {
"type": "integer",
"minimum": 0,
"description": "Integer minor units per 1,000,000 input tokens."
},
"outputPricePerMTok": {
"type": "integer",
"minimum": 0,
"description": "Integer minor units per 1,000,000 output tokens."
}
},
"description": "A provider's offered price for a single model."
}