Model fields
Models represent specific LLM models available through a provider.
Model list with capability badges, context length, and cost columns.
Required
-
- Type
- string
- Required
true
Unique slug (e.g.,
gpt-,5 claude-).sonnet
-
- Type
- string
- Required
true
Display name (e.g.,
GPT-).5 (128K)
-
- Type
- reference
- Required
true
Reference to the parent provider.
-
- Type
- string
- Required
true
The API model identifier as the provider expects it (e.g.,
gpt-,5. 3- instant claude-,sonnet- 4- 6 gemini-).3- flash
Optional
-
- Type
- integer
- Default
- (provider default)
Maximum context window in tokens.
-
- Type
- integer
- Default
- 0 (unknown)
Maximum output tokens. Acts as the default output cap for requests whose configuration sets confval-config-max-tokens to
0and whose caller sent no per-callmax_option.tokens
-
- Type
- integer
- Default
- 0 (unknown)
Embedding vector dimensionality. Acts as the default vector size for embedding requests whose options left
dimensionsunset.
-
- Type
- string (CSV)
- Default
- chat
Comma-separated capabilities:
chat,completion,embeddings,vision,streaming,tools.
-
- Type
- integer
- Default
- 0
Cost per 1M input tokens in cents.
-
- Type
- integer
- Default
- 0
Cost per 1M output tokens in cents.
-
- Type
- boolean
- Default
- false
Mark as default model for this provider.