cURL
curl --request GET \ --url https://geekai.co/api/v1/models/{model} \ --header 'Authorization: Bearer <token>'
{ "id": "gpt-4", "name": "GPT-4", "type": "chat", "desc": "GPT-4是一个大规模语言模型...", "created": 1689127080, "owned_by": "openai", "context": 8192, "platform": { "name": "openai", "alias": "OpenAI", "website": "https://openai.com" }, "is_free": true, "price": { "currency": "CNY", "unit": "mtokens", "input": 0.03, "output": 0.06, "cache_read": 0, "cache_write": 0, "audio_input": 0, "audio_output": 0, "draw_image": { "price": 0, "unit": "nums" }, "web_search": { "price": 0, "unit": "times" }, "discounts": [ { "channel": "ha-speed", "discount": 0.8, "desc": "高可用线路高速通道" } ] } }
根据模型ID获取详细信息
API认证token
模型ID
成功响应
模型唯一标识
"gpt-4"
模型显示名称
"GPT-4"
模型类型
chat
image
audio
video
embedding
模型详细描述
"GPT-4是一个大规模语言模型..."
模型创建时间戳
1689127080
模型所有者/提供商
"openai"
上下文窗口大小
8192
平台信息
显示 子属性
是否免费
true
价格信息
此页面对您有帮助吗?