From e2fbc080caf72b7acdc55ffc0f0fe7cb3db4415e Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Sat, 13 Jun 2026 16:07:56 -0500 Subject: [PATCH 1/2] [zenmux/x-ai] Add reasoning options --- providers/zenmux/models/x-ai/grok-4-fast.toml | 1 + providers/zenmux/models/x-ai/grok-4.1-fast.toml | 1 + providers/zenmux/models/x-ai/grok-4.2-fast.toml | 1 + providers/zenmux/models/x-ai/grok-4.3.toml | 1 + providers/zenmux/models/x-ai/grok-4.toml | 1 + providers/zenmux/models/x-ai/grok-build-0.1.toml | 1 + providers/zenmux/models/x-ai/grok-code-fast-1.toml | 1 + 7 files changed, 7 insertions(+) diff --git a/providers/zenmux/models/x-ai/grok-4-fast.toml b/providers/zenmux/models/x-ai/grok-4-fast.toml index bdbe2a6576..a166e86d5d 100644 --- a/providers/zenmux/models/x-ai/grok-4-fast.toml +++ b/providers/zenmux/models/x-ai/grok-4-fast.toml @@ -3,6 +3,7 @@ release_date = "2025-09-19" last_updated = "2025-09-19" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true knowledge = "2025-01-01" diff --git a/providers/zenmux/models/x-ai/grok-4.1-fast.toml b/providers/zenmux/models/x-ai/grok-4.1-fast.toml index 07b9e3bad0..192a237b01 100644 --- a/providers/zenmux/models/x-ai/grok-4.1-fast.toml +++ b/providers/zenmux/models/x-ai/grok-4.1-fast.toml @@ -3,6 +3,7 @@ release_date = "2025-11-20" last_updated = "2025-11-20" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true knowledge = "2025-01-01" diff --git a/providers/zenmux/models/x-ai/grok-4.2-fast.toml b/providers/zenmux/models/x-ai/grok-4.2-fast.toml index 0f14317b35..9168403683 100644 --- a/providers/zenmux/models/x-ai/grok-4.2-fast.toml +++ b/providers/zenmux/models/x-ai/grok-4.2-fast.toml @@ -3,6 +3,7 @@ release_date = "2026-03-20" last_updated = "2026-03-20" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true knowledge = "2025-08-31" diff --git a/providers/zenmux/models/x-ai/grok-4.3.toml b/providers/zenmux/models/x-ai/grok-4.3.toml index fbeffe1302..dec2364eaf 100644 --- a/providers/zenmux/models/x-ai/grok-4.3.toml +++ b/providers/zenmux/models/x-ai/grok-4.3.toml @@ -1,4 +1,5 @@ base_model = "xai/grok-4.3" +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] [cost] input = 1.25 diff --git a/providers/zenmux/models/x-ai/grok-4.toml b/providers/zenmux/models/x-ai/grok-4.toml index 3999283ae9..ddc6a17fec 100644 --- a/providers/zenmux/models/x-ai/grok-4.toml +++ b/providers/zenmux/models/x-ai/grok-4.toml @@ -3,6 +3,7 @@ release_date = "2025-07-09" last_updated = "2025-07-09" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true knowledge = "2025-01-01" diff --git a/providers/zenmux/models/x-ai/grok-build-0.1.toml b/providers/zenmux/models/x-ai/grok-build-0.1.toml index 860637c952..59480b618c 100644 --- a/providers/zenmux/models/x-ai/grok-build-0.1.toml +++ b/providers/zenmux/models/x-ai/grok-build-0.1.toml @@ -1,4 +1,5 @@ base_model = "xai/grok-build-0.1" +reasoning_options = [] [cost] input = 1.00 diff --git a/providers/zenmux/models/x-ai/grok-code-fast-1.toml b/providers/zenmux/models/x-ai/grok-code-fast-1.toml index 5b69bcd658..94dd805f72 100644 --- a/providers/zenmux/models/x-ai/grok-code-fast-1.toml +++ b/providers/zenmux/models/x-ai/grok-code-fast-1.toml @@ -3,6 +3,7 @@ release_date = "2025-08-26" last_updated = "2025-08-26" attachment = false reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true knowledge = "2025-01-01" From 78f08245572c64c663f3d04b783f830b44588eac Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Sat, 13 Jun 2026 19:01:50 -0500 Subject: [PATCH 2/2] [zenmux/x-ai] Correct Grok reasoning controls --- providers/zenmux/models/x-ai/grok-4-fast.toml | 2 +- providers/zenmux/models/x-ai/grok-4.1-fast.toml | 2 +- providers/zenmux/models/x-ai/grok-4.2-fast.toml | 2 +- providers/zenmux/models/x-ai/grok-4.3.toml | 2 +- providers/zenmux/models/x-ai/grok-4.toml | 2 +- providers/zenmux/models/x-ai/grok-code-fast-1.toml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/providers/zenmux/models/x-ai/grok-4-fast.toml b/providers/zenmux/models/x-ai/grok-4-fast.toml index a166e86d5d..a0a2169f49 100644 --- a/providers/zenmux/models/x-ai/grok-4-fast.toml +++ b/providers/zenmux/models/x-ai/grok-4-fast.toml @@ -3,7 +3,7 @@ release_date = "2025-09-19" last_updated = "2025-09-19" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2025-01-01" diff --git a/providers/zenmux/models/x-ai/grok-4.1-fast.toml b/providers/zenmux/models/x-ai/grok-4.1-fast.toml index 192a237b01..79a1541e72 100644 --- a/providers/zenmux/models/x-ai/grok-4.1-fast.toml +++ b/providers/zenmux/models/x-ai/grok-4.1-fast.toml @@ -3,7 +3,7 @@ release_date = "2025-11-20" last_updated = "2025-11-20" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2025-01-01" diff --git a/providers/zenmux/models/x-ai/grok-4.2-fast.toml b/providers/zenmux/models/x-ai/grok-4.2-fast.toml index 9168403683..41d97333bd 100644 --- a/providers/zenmux/models/x-ai/grok-4.2-fast.toml +++ b/providers/zenmux/models/x-ai/grok-4.2-fast.toml @@ -3,7 +3,7 @@ release_date = "2026-03-20" last_updated = "2026-03-20" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-08-31" diff --git a/providers/zenmux/models/x-ai/grok-4.3.toml b/providers/zenmux/models/x-ai/grok-4.3.toml index dec2364eaf..455779665f 100644 --- a/providers/zenmux/models/x-ai/grok-4.3.toml +++ b/providers/zenmux/models/x-ai/grok-4.3.toml @@ -1,5 +1,5 @@ base_model = "xai/grok-4.3" -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high"] }] [cost] input = 1.25 diff --git a/providers/zenmux/models/x-ai/grok-4.toml b/providers/zenmux/models/x-ai/grok-4.toml index ddc6a17fec..9a8f79d322 100644 --- a/providers/zenmux/models/x-ai/grok-4.toml +++ b/providers/zenmux/models/x-ai/grok-4.toml @@ -3,7 +3,7 @@ release_date = "2025-07-09" last_updated = "2025-07-09" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-01-01" diff --git a/providers/zenmux/models/x-ai/grok-code-fast-1.toml b/providers/zenmux/models/x-ai/grok-code-fast-1.toml index 94dd805f72..3fc7400a2e 100644 --- a/providers/zenmux/models/x-ai/grok-code-fast-1.toml +++ b/providers/zenmux/models/x-ai/grok-code-fast-1.toml @@ -3,7 +3,7 @@ release_date = "2025-08-26" last_updated = "2025-08-26" attachment = false reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-01-01"