列出模型
/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)返回,参见 错误码
请求示例
curl
curl https://api.deepraxis.com/model/v1/models \
-H "Authorization: Bearer $PRAXIS_API_KEY"Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.deepraxis.com/model/v1",
api_key="$PRAXIS_API_KEY",
)
models = client.models.list()TypeScript
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.deepraxis.com/model/v1",
apiKey: "$PRAXIS_API_KEY",
});
const models = await client.models.list();响应示例 200
{
"object": "list",
"data": [
{
"id": "deepseek-flash",
"object": "model",
"created": 1789057973,
"owned_by": "deepractice",
"name": "DeepSeek: DeepSeek V4.1 Flash",
"description": "DeepSeek 官方 Flash,当前版本为 V4.1。支持文本与图像理解;使用官方 deepseek-flash 滚动入口,后续可能随官方更新,非固定版本快照。平台采用固定公开售价;采购成本按官方高峰价记录为上限估值,并非实际结算成本。",
"context_window": 1000000,
"max_tokens": 384000,
"type": "language",
"tags": [
"chat",
"reasoning",
"json",
"tools",
"vision",
"reasoning"
],
"pricing": {
"input": "0.0000003",
"output": "0.0000012",
"input_cache_read": "0.000000006",
"input_cache_write": "0"
},
"released": "2026-09-10"
},
{
"id": "official-test/deepseek-v4-flash",
"object": "model",
"created": 1788780839,
"owned_by": "deepractice",
"name": "DeepSeek: DeepSeek V4 Flash · 官方 Test",
"description": "Develop 测试专用,仅绑定 DeepSeek 官方;用于 SDK 与 thinking 兼容对照,非 Computrix 修复声明。",
"context_window": 1000000,
"max_tokens": 384000,
"type": "language",
"tags": [
"chat",
"reasoning",
"json",
"tools",
"reasoning"
],
"pricing": {
"input": "0.000000168461",
"output": "0.000000336922",
"input_cache_read": "0.000000003369",
"input_cache_write": "0"
},
"released": "2026-09-07"
},
{
"id": "official-test/deepseek-v4-pro",
"object": "model",
"created": 1788780850,
"owned_by": "deepractice",
"name": "DeepSeek: DeepSeek V4 Pro · 官方 Test",
"description": "Develop 测试专用,仅绑定 DeepSeek 官方;用于 SDK 与 thinking 兼容对照,非 Computrix 修复声明。",
"context_window": 1000000,
"max_tokens": 384000,
"type": "language",
"tags": [
"chat",
"reasoning",
"json",
"tools",
"reasoning"
],
"pricing": {
"input": "0.000000505384",
"output": "0.000001010767",
"input_cache_read": "0.000000004211",
"input_cache_write": "0"
},
"released": "2026-09-07"
}
]
}响应
HTTP 200
Model list
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| object | string | Object type; always list. |
| data | array<object> | Published models, in the order the catalog returns them, filtered by type, supported_api and output_modalities when given. |
| data[].id | string | Model id to pass as model in other calls. It can carry a creator prefix such as deepseek/deepseek-v4-pro. |
| data[].object | string | Object type; always model. |
| data[].created | number | Unix time in seconds at which the model was first published. |
| data[].owned_by | string | Organization that serves the model on this platform; always deepractice. |
| data[].name | string | Display name, prefixed with the vendor when one is known, for example Vendor: Model. |
| data[].description | string | null | Free-text description of the model; null when none is published. |
| data[].context_window | number | null | Maximum context length in tokens (input plus output); null when the catalog has no figure. |
| data[].max_tokens | number | null | Maximum number of output tokens the model can produce in one call; null when the catalog has no figure. |
| data[].type | string | Kind of model; it decides which endpoint accepts it. |
| data[].supported_apis | array<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[].tags | array<string> | Capability tags of the model such as tools, vision or reasoning; use them to filter for features. |
| data[].access_required | boolean | Praxis extension (ADR-136): true when this model must be enabled for the organization before any inference call (PUT /model/v1/models/{model}/access). Always present, false for the open catalogue. |
| data[].architecture | object | Native modalities of the model. |
| data[].x_praxis | object | Platform extension. input_modalities states, per input format, how the model takes it. |
| data[].pricing | object | Prices in USD per named unit, as decimal strings. A unit that is absent is unpriced, which is not the same as free. |
| data[].released | string | Date (YYYY-MM-DD, UTC) on which the model was first published. |