查询当前模型倍率接口
GET
/api/v1/pay/model-rates查询目前的模型倍率
关于"闲时折扣":闲时普通模型倍率调整为0.1,GPT4倍率调整为0.3。此举旨在回馈新老客户,同时提高服务器资源利用率,鼓励在空闲时间利用模型进行批量处理数据。
注:当前”闲时“定义:时区UTC+8(上海标准时间),每天的 0:00 a.m. 到 9:00 a.m. ,还有周六和周日全天应用“闲时折扣”,此折扣可能会更改,建议查阅最新的文档,通过API来自动检查当前折扣倍率。
请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
v1
object
必需
currentRates
object
必需
additionalDesc
object
必需
statusCode
integer
必需
message
string
必需
data
object
必需
v1
object
必需
示例
{
"statusCode": 200,
"message": "success",
"data": {
"v1": {
"currentRates": {
"OpenAINormalModels": 0.1,
"OpenAIGPT4Models": 0.3,
"AzureGPT432k": 1.1,
"AzureModels": 1.1,
"AnthropicModels": 1.1
},
"additionalDesc": {
"currentDateTimeDayInUTC8": "2023-11-25",
"currentDateTimeWeekDayInUTC8": 6,
"currentDateTimeHourInUTC8": 17,
"currentDateTimeMinuteInUTC8": 27,
"usualRates": {
"OpenAINormalModels": 0.2,
"OpenAIGPT4Models": 0.4,
"AzureGPT432k": 1.1,
"AzureModels": 1.1,
"AnthropicModels": 1.1
},
"offPeakRates": {
"OpenAINormalModels": 0.1,
"OpenAIGPT4Models": 0.3,
"AzureGPT432k": 1.1,
"AzureModels": 1.1,
"AnthropicModels": 1.1
},
"offPeakTimeRangeNote": "Current off-peak hours are from 0:00 a.m. to 9:00 a.m. (UTC+8) daily, and all day on Saturdays and Sundays. Please note that these times are subject to change in the future."
}
}
}
}
最后修改时间: 1 年前