GET /api/pricinggithub.com/QuantumNous/new-api/controller.GetPricing。web_vue。controller-confirmed-pricing-nonstandard-envelope。字段为动态上游数据或回调负载时,文档会明确标记,不能补造 Schema。x-debug 里的占位符;示例不含真实密码、API Key、签名、Cookie 或 Provider 密钥。Authorization: Bearer ********************curl --location 'http://api-dev.opensosen.cn/api/pricing'{
"success": true,
"data": [
{
"model_name": "gpt-example",
"description": "调试模型",
"icon": "",
"tags": "",
"vendor_id": 1,
"quota_type": 0,
"model_ratio": 1,
"model_price": 0,
"owner_by": "",
"completion_ratio": 1,
"enable_groups": [
"default"
],
"supported_endpoint_types": [
"openai"
]
}
],
"vendors": [
{
"id": 1,
"name": "Example Provider",
"description": "",
"icon": ""
}
],
"group_ratio": {
"default": 1
},
"usable_group": {
"default": "默认分组"
},
"supported_endpoint": {
"openai": {
"path": "/v1/chat/completions",
"method": "POST"
}
},
"auto_groups": [],
"pricing_version": "a42d372ccf0b5dd13ecf71203521f9d2"
}