Skip to content

Inference Models

Discover platform inference models and validate model IDs.

Terminal window
$ dn inference-model <command>

Discover platform inference models and validate model IDs.

Aliases: ls

Terminal window
$ dn inference-model list

List platform-managed inference models.

Use these IDs with --model on dn evaluation create, dn optimize submit, and other commands that take a runtime model selector. BYOK models are not listed — pass their IDs directly after configuring credentials with dn secret list / set.

Options

  • --json (default False) — Output as JSON (list-row projection).
Terminal window
$ dn inference-model validate <model-id>

Validate a model ID against the platform’s LiteLLM catalog.

Works for system (dn/...) and BYOK identifiers. Returns the extracted provider and any required user-secret env vars.

Options

  • <model-id>, --model-id (Required) — Model identifier (e.g. dn/gpt-5, mistral/mistral-large-latest).
  • --json (default False) — Output as JSON.