Expose reasoning effort metadata in GET /models
#6068
miaomiaoyaoqimiaomaoxian
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi DeepSeek team,
First, thanks for the V4 family — the
low / high / maxeffort ladder is genuinely useful for agent workloads.Background
We maintain an agent harness (HanaAgent) that supports multiple providers. To render a correct "reasoning effort" selector per model, we need to know which effort values each model accepts.
Today,
GET /modelsreturns only:{ "id": "deepseek-v4-pro", "object": "model", "owned_by": "deepseek" }There is no reasoning metadata, so clients must hard-code a mapping table keyed by model id. That breaks in two ways:
deepseek-v4.1-flash-expires-on-0910, existing clients show a wrong or empty effort list until they hard-code the new id.reasoning_effortvalues are silently ignored rather than rejected, so a client cannot discover the supported set by trial and error.Request
Please expose the supported effort ladder in the model list (or a model-detail endpoint). A shape consistent with what other providers already do would be ideal:
{ "id": "deepseek-v4-pro", "object": "model", "owned_by": "deepseek", "reasoning_efforts": { "support": true, "valid_efforts": ["low", "high", "max"], "default_effort": "high" } }Field semantics we would consume:
supportvalid_effortsdefault_effortPrior art
GET /v1/models:GET /api/v1/models:Secondary ask
Consider returning HTTP 400 for unsupported effort values instead of silently ignoring them. Silent coercion makes client bugs invisible; an explicit error surfaces them at integration time.
Thanks for considering.
All reactions