Skip to main content

RouterTargetModel

A model the router can pick, priced as the router has it

namestring

The model's catalog name, which is also the router model's label for it. Proposal Mode returns it as a candidate's model.

Example: deepseek-v4-flash
providerstring | nullnullable

Where the gateway serves the model. Null on a Proposal Mode router.

Possible values: [anthropic, openrouter, openai, litellm, baseten, null]

Example: openrouter
model_idstring

The id the model is called by. On a gateway router, what Emissary sends the provider; on a Proposal Mode router, what POST /v1/route returns as a candidate's model_id, for your app to send.

Example: deepseek/deepseek-v4-flash
enabledboolean

A disabled model stays on the router but is never picked

Example: true
input_per_mtoknumber

USD per million input tokens

Example: 0.14
output_per_mtoknumber

USD per million output tokens

Example: 0.28
cache_read_per_mtoknumber | nullnullable

USD per million cache-read tokens. Null prices them as input tokens.

Example: 0.028
cache_write_per_mtoknumber | nullnullable

USD per million cache-write tokens. Null prices them as input tokens.

Example: 0.14
context_windowinteger | nullnullable

The model's context window, in tokens

Example: 1000000
supports_visionboolean

Whether the model accepts images

Example: false
effort_routing_enabledboolean

Lets the router pick the model's reasoning effort. Only on models the router model has efforts for (efforts in GET /v1/router-models); it's stored off on any other.

Example: false
extra_fieldsobject | nullnullable

Per-model overrides, such as always_on_reasoning set to true for a model that can't turn reasoning off

Example: null
RouterTargetModel
{
"name": "deepseek-v4-flash",
"provider": "openrouter",
"model_id": "deepseek/deepseek-v4-flash",
"enabled": true,
"input_per_mtok": 0.14,
"output_per_mtok": 0.28,
"cache_read_per_mtok": 0.028,
"cache_write_per_mtok": 0.14,
"context_window": 1000000,
"supports_vision": false,
"effort_routing_enabled": false,
"extra_fields": null
}