Skip to content

Create a new model for a provider

POST
/v1/llm-providers/{provider_id}/models
provider_id
required
string

Provider ID (prefixed, e.g., prov_…)

Request to create a new LLM model for a provider

object
capabilities

List of capabilities this model supports (e.g., “chat”, “vision”, “tools”).

Array<string>
Example
[
"chat",
"vision",
"tools"
]
display_name
required

Human-readable display name for the model.

string
Example
GPT-4o
is_default

Whether this model should be the default for the provider. Only one model per provider can be the default.

boolean
is_favorite

Whether this model should be marked as a favorite for quick access.

boolean
model_id
required

The model identifier used by the provider’s API (e.g., “gpt-4”, “claude-3-opus”).

string
Example
gpt-4o

Model created

LLM Model entity

object
capabilities
required
Array<string>
created_at
required
string format: date-time
display_name
required
string
id
required
string
Example
model_01933b5a00007000800000000000001
is_default
required
boolean
is_favorite
required
boolean
model_id
required
string
provider_id
required
string
Example
provider_01933b5a00007000800000000000001
source
required

How the model was added to the system

string
Allowed values: manual discovered predefined
status
required

LLM model status

string
Allowed values: active disabled
updated_at
required
string format: date-time

Invalid provider ID

Internal error