models-dev-query

Installation
SKILL.md

Models.dev Query

查询 models.dev 的 GitHub 源码仓库,默认分支 dev。站点直发的 catalog.json 是构建产物、直连常超时,改读仓库内按 provider 分目录维护的 TOML 源文件。

货架

所有数据是按 provider 分目录的 TOML 文件。查询 = 先选货架,再读取:

货架 内容 用途
providers/ 目录列表,子目录名 = provider-id 列出所有提供商
providers/<id>/provider.toml name / api / env[] / npm / doc 提供商 API 配置
providers/<id>/models/ 目录列表,可能含一层按厂商分组的子目录 列出某提供商的模型
providers/<id>/models/<model>.toml cost(USD/M)、status、reasoning_options、interleaved、能力字段 该提供商视角的模型
models/<provider>/<model>.toml 能力、limit、modalities、benchmarks、weights、knowledge 模型规格(canonical)

子目录:providers/<id>/models/ 下常有一层按模型厂商分组的子目录(如 anyapi 的 models/openai/o4-mini.toml、togetherai 的 models/zai-org/GLM-5.toml),少数还有更深层级;确切路径以目录列表为准。

base_model 继承:provider 层 TOML 含 base_model = "<provider>/<model>" 时,能力字段(attachment / reasoning / limit / modalities 等)不重写,继承自 canonical 文件 models/<provider>/<model>.toml。无 base_model 的 provider 层 TOML 字段自足。

Installs
25
Repository
cnife/skills
First Seen
May 18, 2026