模型

读取模型

读取单个模型的信息,与列表中的同一条目相同;无需 Key。

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)返回,参见 错误码

响应

HTTP 200

Model

application/json

名称类型说明
idstringModel id to pass as `model` in other calls. It can carry a creator prefix such as deepseek/deepseek-v4-pro.
objectstringObject type; always `model`.
creatednumberUnix time in seconds at which the model was first published.
owned_bystringOrganization that serves the model on this platform; always `deepractice`.
namestringDisplay name, prefixed with the vendor when one is known, for example `Vendor: Model`.
descriptionstring | nullFree-text description of the model; null when none is published.
context_windownumber | nullMaximum context length in tokens (input plus output); null when the catalog has no figure.
max_tokensnumber | nullMaximum number of output tokens the model can produce in one call; null when the catalog has no figure.
typestringKind of model; it decides which endpoint accepts it.
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.
tagsarray<string>Capability tags of the model such as `tools`, `vision` or `reasoning`; use them to filter for features.
architectureobjectNative modalities of the model.
architecture.modalitystringNative modalities as `input+input->output+output`, for example `text+image->text`.
architecture.input_modalitiesarray<string>Input modalities the model accepts natively, for example text, image, file or audio.
architecture.output_modalitiesarray<string>Output modalities the model produces, for example text, image, audio, video, embeddings or rerank.
architecture.tokenizerstring | nullTokenizer family; null because the platform does not publish it.
architecture.instruct_typestring | nullInstruction template type; null because the platform does not publish it.
x_praxisobjectPlatform extension. input_modalities states, per input format, how the model takes it.
x_praxis.input_modalitiesobjectPer input format, whether the model takes it natively, through a conversion step, or not at all. Conversion depends on the file-parser plugin settings.
pricingobjectPrices in USD per named unit, as decimal strings. A unit that is absent is unpriced, which is not the same as free.
pricing.inputstringUSD per input token.
pricing.outputstringUSD per output token.
pricing.input_cache_readstringUSD per input token that is read from the prompt cache.
pricing.input_cache_writestringUSD per input token that is written to the prompt cache.
pricing.imagestringUSD per image; present only for a flat registry price.
pricing.video_secondstringPraxis extension: USD per second of output video.
pricing.audio_input_minutestringPraxis extension: USD per minute of input audio.
pricing.audio_output_minutestringPraxis extension: USD per minute of output audio.
pricing.input_characterstringPraxis extension: USD per input character.
pricing.pagestringPraxis extension: USD per page, present only for OCR models; not a Vercel AI Gateway pricing field.
releasedstringDate (YYYY-MM-DD, UTC) on which the model was first published.