Skip to main content

响应

string
始终为 list
array
模型对象数组。每个模型始终包含:
  • id (string): 模型标识符
  • object (string): model
  • created (integer): 创建时间戳
  • owned_by (string): 模型提供方
  • tokenlab.aliases (array): 同一模型的公开别名
  • tokenlab.pricing (object): 公开基础价格摘要
  • tokenlab.capabilities (array): 公开能力标签
  • tokenlab.max_input_tokens (number or null): 可用时的输入上下文上限
  • tokenlab.max_output_tokens (number or null): 可用时的输出上限
  • tokenlab.category (string): 公开模型分类
  • tokenlab.pricing_unit (string): 公开定价单位
  • tokenlab.has_complex_pricing (boolean): 价格是否有模型专属维度
  • tokenlab.lifecycle(object):生命周期状态、发布日期/弃用日期、替代模型和 latest 标签来源
  • tokenlab.commercial(object):用户收费策略、免费原因和可选免费截止时间
  • tokenlab.badges(array):由生命周期和商业策略派生的展示标签
条件式列表元数据:
  • tokenlab.providers (array): 可用时的公开提供方
  • tokenlab.cache_pricing (object or null): 可用时的 prompt cache 价格
  • tokenlab.pricing_summary (object or null): 仅在复杂价格模型上返回
  • tokenlab.request_format_summary (object or null): 轻量级非聊天发现摘要,包含 public_operationsrequest_endpointrequest_endpoint_by_operation
  • tokenlab.agent_preferences (object): 仅在存在 recommended_for 时返回
tokenlab.capability_flagstokenlab.supported_operationstokenlab.pricing_provenancetokenlab.request_format_details 等仅详情可见的字段,只会由 GET /v1/models/{model} 返回。
GET /v1/models 侧重于发现。像 capability_flagspricing_provenance 和完整的 request_format_details 这类仅详情可见的元数据都在 GET /v1/models/{model} 中。

查询参数

string
可选的公开分类筛选。支持 chatimagevideoaudiottssttmusic3dembeddingreranktranslation
可选的非聊天推荐场景。支持 imagevideomusic3dttssttembeddingreranktranslation
string
可选的提供方筛选,例如 openaianthropicgoogledeepseek
string
可选的模型标签筛选,例如 chatimagevideoembeddingtranslation
recommended_for 存在时,/v1/models 会按照最近缓存的 24 小时成功率快照对非聊天模型排序。status = "insufficient_samples" 的模型仍会显示,但会排在已有评分的模型之后。

按提供方筛选

模型类别

模型删除

DELETE /v1/models/{model} 不受支持。TokenLab 模型是共享公开目录,不是用户拥有的微调模型资源。