Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions models/xai/grok-4.20-0309-non-reasoning.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json
provider: xai
authType: api_key
model: grok-4.20-0309-non-reasoning
params:
- path: max_completion_tokens
type: integer
label: Max completion tokens
description: Upper bound for visible output tokens generated in the chat completion.
range:
min: 1
group: generation_length
- path: temperature
type: number
label: Temperature
description: Controls randomness. Lower values make outputs more focused; higher values make them more varied.
default: 1
range:
min: 0
max: 2
step: 0.1
group: sampling
- path: top_p
type: number
label: Top P
description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.
default: 1
range:
min: 0
max: 1
step: 0.01
group: sampling
- path: seed
type: integer
label: Seed
description: Optional seed used for decoding when reproducible sampling is desired.
group: sampling
- path: stop
type: string
label: Stop sequence
description: Stops generation when this sequence is produced. xAI accepts up to four stop sequences.
group: generation_length
- path: response_format.type
type: enum
label: Response format
description: Controls whether the model returns text, JSON mode output, or structured JSON schema output.
default: text
values:
- text
- json_object
- json_schema
group: output_format
- path: parallel_tool_calls
type: boolean
label: Parallel tool calls
description: Controls whether the model may perform more than one tool call in a response.
default: true
group: tooling
53 changes: 53 additions & 0 deletions models/xai/grok-4.20-0309-reasoning.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json
provider: xai
authType: api_key
model: grok-4.20-0309-reasoning
params:
- path: max_completion_tokens
type: integer
label: Max completion tokens
description: Upper bound for visible output tokens generated in the chat completion.
range:
min: 1
group: generation_length
- path: temperature
type: number
label: Temperature
description: Controls randomness. Lower values make outputs more focused; higher values make them more varied.
default: 1
range:
min: 0
max: 2
step: 0.1
group: sampling
- path: top_p
type: number
label: Top P
description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.
default: 1
range:
min: 0
max: 1
step: 0.01
group: sampling
- path: seed
type: integer
label: Seed
description: Optional seed used for decoding when reproducible sampling is desired.
group: sampling
- path: response_format.type
type: enum
label: Response format
description: Controls whether the model returns text, JSON mode output, or structured JSON schema output.
default: text
values:
- text
- json_object
- json_schema
group: output_format
- path: parallel_tool_calls
type: boolean
label: Parallel tool calls
description: Controls whether the model may perform more than one tool call in a response.
default: true
group: tooling
64 changes: 64 additions & 0 deletions models/xai/grok-4.3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json
provider: xai
authType: api_key
model: grok-4.3
params:
- path: max_completion_tokens
type: integer
label: Max completion tokens
description: Upper bound for visible output tokens generated in the chat completion.
range:
min: 1
group: generation_length
- path: temperature
type: number
label: Temperature
description: Controls randomness. Lower values make outputs more focused; higher values make them more varied.
default: 1
range:
min: 0
max: 2
step: 0.1
group: sampling
- path: top_p
type: number
label: Top P
description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.
default: 1
range:
min: 0
max: 1
step: 0.01
group: sampling
- path: seed
type: integer
label: Seed
description: Optional seed used for decoding when reproducible sampling is desired.
group: sampling
- path: reasoning_effort
type: enum
label: Reasoning effort
description: Controls how much reasoning Grok performs before responding. Set to none for non-reasoning requests.
default: low
values:
- none
- low
- medium
- high
group: reasoning
- path: response_format.type
type: enum
label: Response format
description: Controls whether the model returns text, JSON mode output, or structured JSON schema output.
default: text
values:
- text
- json_object
- json_schema
group: output_format
- path: parallel_tool_calls
type: boolean
label: Parallel tool calls
description: Controls whether the model may perform more than one tool call in a response.
default: true
group: tooling
53 changes: 53 additions & 0 deletions models/xai/grok-build-0.1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json
provider: xai
authType: api_key
model: grok-build-0.1
params:
- path: max_completion_tokens
type: integer
label: Max completion tokens
description: Upper bound for visible output tokens generated in the chat completion.
range:
min: 1
group: generation_length
- path: temperature
type: number
label: Temperature
description: Controls randomness. Lower values make outputs more focused; higher values make them more varied.
default: 1
range:
min: 0
max: 2
step: 0.1
group: sampling
- path: top_p
type: number
label: Top P
description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.
default: 1
range:
min: 0
max: 1
step: 0.01
group: sampling
- path: seed
type: integer
label: Seed
description: Optional seed used for decoding when reproducible sampling is desired.
group: sampling
- path: response_format.type
type: enum
label: Response format
description: Controls whether the model returns text, JSON mode output, or structured JSON schema output.
default: text
values:
- text
- json_object
- json_schema
group: output_format
- path: parallel_tool_calls
type: boolean
label: Parallel tool calls
description: Controls whether the model may perform more than one tool call in a response.
default: true
group: tooling
1 change: 1 addition & 0 deletions src/data/display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const PROVIDER_LABELS: Record<string, string> = {
openai: "OpenAI",
google: "Google",
"x-ai": "xAI",
xai: "xAI",
meta: "Meta",
mistral: "Mistral",
deepseek: "DeepSeek",
Expand Down
1 change: 1 addition & 0 deletions tests/catalog.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ describe("display helpers", () => {
it("knows the canonical provider names", () => {
expect(providerLabel("anthropic")).toBe("Anthropic");
expect(providerLabel("openai")).toBe("OpenAI");
expect(providerLabel("xai")).toBe("xAI");
});

it("uses overrides for known model display names", () => {
Expand Down
Loading