模型

列出模型

列出所有可用模型及其上下文长度、能力与价格;无需 Key。

GET /model/v1/models● 支持

官方文档 ↗

请求参数

  • supported_apiarray可选

    query: Match any comma-separated declared protocol ID; omitted or empty includes all models. Combined with type and output_modalities using AND. Invalid IDs return 400 with all legal values.

  • typearray可选

    query: Filter by one or more model types (comma-separated).

    按 type 筛选,多个值用逗号分隔;非法值返回 400 并列出合法值。

  • output_modalitiesarray可选

    query: Match any comma-separated output modality; all disables modality filtering. Combined with type using AND.

    匹配任一逗号分隔的输出模态;all 不限制模态,与 type 条件同时生效。

  • limitstring可选○ 当前不生效

    query: Accepted for compatibility and ignored: this endpoint always returns the full model catalog. Filter with type and output_modalities instead.

    接受但当前不生效;此端点返回完整模型目录。

  • qstring可选○ 当前不生效

    query: Accepted for compatibility and ignored: this endpoint always returns the full model catalog. Filter with type and output_modalities, or match ids on the client.

    接受但当前不生效;此端点返回完整模型目录。

返回

200 list

OCR 模型的 type 为 ocr,pricing.page 是 USD/页的十进制字符串,为 Praxis 对 Vercel 模型列表形状的扩展;其余四项 token 价格为 0。其它模型不带 pricing.page。

鉴权、限流、参数校验等平台错误按 problem+json 返回;OCR 的错误也为 problem+json,其它模型调用的错误按该端点所属格式(OpenAI 或 Anthropic)返回,参见 错误码

响应

HTTP 200

Model list

application/json

名称类型说明
objectstringObject type; always `list`.
dataarray<object>Published models, in the order the catalog returns them, filtered by type and output_modalities when given.
data[].idstringModel id to pass as `model` in other calls. It can carry a creator prefix such as deepseek/deepseek-v4-pro.
data[].objectstringObject type; always `model`.
data[].creatednumberUnix time in seconds at which the model was first published.
data[].owned_bystringOrganization that serves the model on this platform; always `deepractice`.
data[].namestringDisplay name, prefixed with the vendor when one is known, for example `Vendor: Model`.
data[].descriptionstring | nullFree-text description of the model; null when none is published.
data[].context_windownumber | nullMaximum context length in tokens (input plus output); null when the catalog has no figure.
data[].max_tokensnumber | nullMaximum number of output tokens the model can produce in one call; null when the catalog has no figure.
data[].typestringKind of model; it decides which endpoint accepts it.
data[].supported_apisarray<string>Declared protocol IDs in stable lexicographic order; an empty array means no protocol is declared. Use these IDs with supported_api to find models for an operation.
data[].tagsarray<string>Capability tags of the model such as `tools`, `vision` or `reasoning`; use them to filter for features.
data[].architectureobjectNative modalities of the model.
data[].x_praxisobjectPlatform extension. input_modalities states, per input format, how the model takes it.
data[].pricingobjectPrices in USD per named unit, as decimal strings. A unit that is absent is unpriced, which is not the same as free.
data[].releasedstringDate (YYYY-MM-DD, UTC) on which the model was first published.