平台公告:DeepSeek 全系列模型已正式接入,新用户注册即享体验额度
Api reference

模型列表

公开的模型目录与定价查询接口,无需鉴权。

GET /api/models

公开接口,无需任何鉴权。返回平台模型数组,与词元广场同源。

主要返回字段:

字段说明
name模型名,即 chat/completions 请求中的 model
vendor厂商
description模型简介
tags能力标签数组
contextLength上下文长度说明
category模型分类
badge角标(如「新」「限时折扣」),无则 null
inputPrice / outputPrice输入 / 输出单价,单位「元 / 百万 tokens」
cachedInputPrice / cacheWritePrice缓存命中 / 缓存写入单价,未配置时按输入价计
originalInputPrice / originalOutputPrice划线原价,用于折扣展示
billingMode计费模式:TOKEN 按 token;PER_CALL 按次(unitPrice = 元/次);PER_CHARACTER 按字符(unitPrice = 元/万字符)
unitPrice按次 / 按字符模式的单价
statusLIVE 表示可调用;其他值待上线(词元广场标注「敬请期待」)
curl https://api.example.com/api/models

GET /api/models/{name}

返回单个模型详情,字段同上。

  • 模型不存在时返回 404。

本页目录