跳转到内容
EN

读取模型

GET/model/v1/models/{model}● 支持

官方文档 ↗

请求参数

  • modelstring必填

    path: Id of the model to read. It may carry a creator prefix with a slash, such as deepseek/deepseek-v4-pro, so the value runs to the end of the path. Ids come from the id field of listModels; an unknown id answers 404.

返回

200 model

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

请求示例

curl
curl https://api.deepraxis.com/model/v1/models/deepseek-flash \
  -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",
)

model = client.models.retrieve("deepseek-flash")
TypeScript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.deepraxis.com/model/v1",
  apiKey: "$PRAXIS_API_KEY",
});

const model = await client.models.retrieve("deepseek-flash");

响应示例 200

{
  "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"
}

响应

HTTP 200

Model

application/json

名称 类型 说明
id string Model id to pass as model in other calls. It can carry a creator prefix such as deepseek/deepseek-v4-pro.
object string Object type; always model.
created number Unix time in seconds at which the model was first published.
owned_by string Organization that serves the model on this platform; always deepractice.
name string Display name, prefixed with the vendor when one is known, for example Vendor: Model.
description string | null Free-text description of the model; null when none is published.
context_window number | null Maximum context length in tokens (input plus output); null when the catalog has no figure.
max_tokens number | null Maximum number of output tokens the model can produce in one call; null when the catalog has no figure.
type string Kind of model; it decides which endpoint accepts it.
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.
tags array<string> Capability tags of the model such as tools, vision or reasoning; use them to filter for features.
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.
architecture object Native modalities of the model.
architecture.modality string Native modalities as input+input->output+output, for example text+image->text.
architecture.input_modalities array<string> Input modalities the model accepts natively, for example text, image, file or audio.
architecture.output_modalities array<string> Output modalities the model produces, for example text, image, audio, video, embeddings or rerank.
architecture.tokenizer string | null Tokenizer family; null because the platform does not publish it.
architecture.instruct_type string | null Instruction template type; null because the platform does not publish it.
x_praxis object Platform extension. input_modalities states, per input format, how the model takes it.
x_praxis.input_modalities object Per input format, whether the model takes it natively, through a conversion step, or not at all. Conversion depends on the file-parser plugin settings.
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.
pricing.input string USD per input token.
pricing.output string USD per output token.
pricing.input_cache_read string USD per input token that is read from the prompt cache.
pricing.input_cache_write string USD per input token that is written to the prompt cache.
pricing.image string USD per image; present only for a flat registry price.
pricing.video_second string Praxis extension: USD per second of output video.
pricing.audio_input_minute string Praxis extension: USD per minute of input audio.
pricing.audio_output_minute string Praxis extension: USD per minute of output audio.
pricing.input_character string Praxis extension: USD per input character.
pricing.page string Praxis extension: USD per page, present only for OCR models; not a Vercel AI Gateway pricing field.
released string Date (YYYY-MM-DD, UTC) on which the model was first published.