Compare commits

...
Author SHA1 Message Date
Aiden Cline aa4d6d2b4f [opencode/opencode] Add reasoning options 2026-06-13 16:01:05 -05:00
Aiden Cline 1ddcd9bc32 Merge pull request #2286 from anomalyco/fix/remove-glm-5.2-standard-apis
fix: remove GLM-5.2 from standard Z.AI APIs
2026-06-13 15:41:30 -05:00
Aiden Cline 7a9b4a167c Merge pull request #2206 from anomalyco/feat/berget-reasoning-options-wave3
[berget] Add reasoning options
2026-06-13 15:40:33 -05:00
Aiden Cline 33d88e41df Merge pull request #2203 from anomalyco/feat/the-grid-ai-reasoning-options-wave3
[the-grid-ai] Add reasoning options
2026-06-13 15:40:11 -05:00
Aiden Cline 300a46cfdc Merge pull request #2201 from anomalyco/feat/neuralwatt-reasoning-options-wave3
[neuralwatt] Add reasoning options
2026-06-13 15:36:53 -05:00
Aiden Cline 0e3c00595b [neuralwatt] Correct reasoning controls 2026-06-13 15:35:31 -05:00
Aiden Cline 1c9b748976 fix: remove GLM-5.2 from standard Z.AI APIs 2026-06-13 15:33:40 -05:00
Aiden Cline cf4ccf92ae Merge pull request #2285 from niushuai1991/add-glm-5.2-config
Add GLM-5.2 model config to zai and zhipuai providers
2026-06-13 15:31:44 -05:00
Aiden Cline a4a9d29c99 [berget] Correct remaining reasoning efforts 2026-06-13 15:30:02 -05:00
Aiden Cline 4670f99aac Merge pull request #2283 from anomalyco/fix/venice-sync-last-updated
fix(venice): preserve model update dates
2026-06-13 15:28:40 -05:00
Aiden Cline 3839c610a6 [berget] Remove unsupported GLM efforts 2026-06-13 15:28:06 -05:00
Aiden Cline b1095231a5 Merge pull request #2215 from anomalyco/feat/dinference-reasoning-options-wave3
[dinference] Mark reasoning controls fixed
2026-06-13 15:27:56 -05:00
Aiden Cline e8333b63a1 Merge pull request #2202 from anomalyco/feat/regolo-ai-reasoning-options-wave3
[regolo-ai] Add reasoning options
2026-06-13 15:27:32 -05:00
Aiden Cline 704ffc7371 Merge pull request #2229 from anomalyco/feat/anyapi-reasoning-options-wave4
[anyapi] Add reasoning options
2026-06-13 15:26:41 -05:00
Aiden Cline 4fdda4f262 [anyapi] Correct Claude reasoning options 2026-06-13 15:20:11 -05:00
Aiden Cline 41c243713f [berget] Correct Kimi reasoning option 2026-06-13 15:16:12 -05:00
Aiden Cline 36024f1bd2 Merge pull request #2218 from anomalyco/feat/gmicloud-reasoning-options-wave3
[gmicloud] Add reasoning options
2026-06-13 15:14:50 -05:00
Aiden Cline bfb0d3722a [gmicloud] Correct Claude reasoning options 2026-06-13 15:12:38 -05:00
Niu Shuai 3877dcf8b6 feat: add GLM-5.2 model config to zai and zhipuai providers 2026-06-14 04:10:00 +08:00
Aiden Cline d171755a90 Merge pull request #2220 from anomalyco/feat/azure-reasoning-options-wave3
[azure] Backfill DeepSeek V4 reasoning options
2026-06-13 14:39:42 -05:00
Aiden Cline 5394af4d63 Merge pull request #2189 from anomalyco/feat/upstage-reasoning-options-wave3
[upstage] Add reasoning options
2026-06-13 14:39:01 -05:00
Aiden Cline e5b1221baa fix(venice): preserve model update dates 2026-06-13 14:31:04 -05:00
Aiden Cline 5aeaaa8d47 [anyapi] Add reasoning options 2026-06-11 23:52:40 -05:00
Aiden Cline e62b47a005 [azure] Backfill DeepSeek V4 reasoning options 2026-06-11 23:49:52 -05:00
Aiden Cline a914876008 [gmicloud] Add reasoning options 2026-06-11 23:49:46 -05:00
Aiden Cline 2624678dbe [dinference] Mark reasoning controls fixed 2026-06-11 23:49:42 -05:00
Aiden Cline 3fba77ee56 [the-grid-ai] Add reasoning options 2026-06-11 23:07:50 -05:00
Aiden Cline 0a6286e468 [regolo-ai] Add reasoning options 2026-06-11 23:07:50 -05:00
Aiden Cline 8af96ce933 [berget] Add reasoning options 2026-06-11 23:07:50 -05:00
Aiden Cline 506ca0f7c3 [neuralwatt] Add reasoning options 2026-06-11 23:07:49 -05:00
Aiden Cline c10ba76860 [upstage] Add reasoning options 2026-06-11 23:06:33 -05:00
74 changed files with 81 additions and 22 deletions

No files matched your search

+1 -16
View File
@@ -166,15 +166,12 @@ export function buildVeniceModel(
limit,
modalities: { input: [...new Set(input)], output: ["text" as const] },
};
const changed = existing !== undefined && Object.entries(authoritative).some(([key, value]) => {
return stable(value) !== stable(existing[key as keyof ExistingModel]);
});
const releaseDate = new Date(model.created * 1000).toISOString().slice(0, 10);
const values: SyncedFullModel = {
...authoritative,
family: baseModel == null ? inferFamily(model.id, spec.name) ?? existing?.family : existing?.family,
release_date: releaseDate,
last_updated: existing === undefined || changed ? today : (existing.last_updated ?? today),
last_updated: existing?.last_updated ?? today,
knowledge: existing?.knowledge,
open_weights: spec.modelSource?.toLowerCase().includes("huggingface")
?? existing?.open_weights
@@ -242,15 +239,3 @@ function inferFamily(id: string, name: string) {
return new RegExp(`(^|[^a-z0-9])${value}(?=$|[^a-z0-9])`).test(target);
});
}
function stable(value: unknown): string {
if (Array.isArray(value)) return `[${value.map(stable).sort().join(",")}]`;
if (value !== null && typeof value === "object") {
return `{${Object.entries(value)
.filter(([, item]) => item !== undefined)
.sort(([a], [b]) => a.localeCompare(b))
.map(([key, item]) => `${key}:${stable(item)}`)
.join(",")}}`;
}
return JSON.stringify(value);
}
+2 -2
View File
@@ -91,7 +91,7 @@ test("Venice uses boundary-aware family matching", () => {
expect(synced).toMatchObject({ family: "gemma" });
});
test("Venice maps API fields and keeps inherited models compact", () => {
test("Venice maps API fields without bumping inherited model timestamps", () => {
const synced = buildVeniceModel(catalogModel, {
base_model: "openai/gpt-5.4",
name: "GPT-5.4",
@@ -113,7 +113,7 @@ test("Venice maps API fields and keeps inherited models compact", () => {
expect(synced).toMatchObject({
base_model: "openai/gpt-5.4",
base_model_omit: ["limit.input"],
last_updated: "2026-06-10",
last_updated: "2026-03-09",
reasoning_options: [{ type: "effort", values: ["none", "low", "medium", "high"] }],
interleaved: { field: "reasoning_content" },
cost: {
@@ -1 +1,2 @@
base_model = "anthropic/claude-haiku-4-5"
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high"] }, { type = "budget_tokens", min = 1_024, max = 63_999 }]
@@ -1,4 +1,5 @@
base_model = "anthropic/claude-opus-4-6"
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high"] }, { type = "budget_tokens", min = 1_024, max = 127_999 }]
[experimental.modes.fast]
cost = { input = 30, output = 150, cache_read = 3, cache_write = 37.5 }
@@ -1,4 +1,5 @@
base_model = "anthropic/claude-opus-4-7"
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high"] }]
[experimental.modes.fast]
cost = { input = 30, output = 150, cache_read = 3, cache_write = 37.5 }
@@ -1 +1,2 @@
base_model = "anthropic/claude-sonnet-4-5"
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high"] }, { type = "budget_tokens", min = 1_024, max = 63_999 }]
@@ -1 +1,2 @@
base_model = "anthropic/claude-sonnet-4-6"
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high"] }, { type = "budget_tokens", min = 1_024, max = 63_999 }]
@@ -1,4 +1,5 @@
base_model = "deepseek/deepseek-reasoner"
reasoning_options = []
[interleaved]
field = "reasoning_content"
@@ -1,4 +1,5 @@
base_model = "deepseek/deepseek-v4-flash"
reasoning_options = []
[interleaved]
field = "reasoning_content"
@@ -1,4 +1,5 @@
base_model = "deepseek/deepseek-v4-pro"
reasoning_options = []
[interleaved]
field = "reasoning_content"
@@ -1 +1,2 @@
base_model = "google/gemini-2.5-flash-lite"
reasoning_options = []
@@ -1 +1,2 @@
base_model = "google/gemini-2.5-flash"
reasoning_options = []
@@ -1 +1,2 @@
base_model = "google/gemini-2.5-pro"
reasoning_options = []
@@ -1 +1,2 @@
base_model = "google/gemini-3-flash-preview"
reasoning_options = []
@@ -1 +1,2 @@
base_model = "google/gemini-3-pro-preview"
reasoning_options = []
@@ -1 +1,2 @@
base_model = "openai/gpt-5-mini"
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
@@ -1 +1,2 @@
base_model = "openai/gpt-5.1"
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
@@ -1 +1,2 @@
base_model = "openai/gpt-5.2"
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
@@ -1,4 +1,5 @@
base_model = "openai/gpt-5.4"
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
[experimental.modes.fast]
cost = { input = 5, output = 30, cache_read = 0.5 }
@@ -1 +1,2 @@
base_model = "openai/gpt-5"
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
@@ -1 +1,2 @@
base_model = "openai/o3-mini"
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
+1
View File
@@ -1 +1,2 @@
base_model = "openai/o3"
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
@@ -1 +1,2 @@
base_model = "openai/o4-mini"
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
@@ -1 +1,2 @@
base_model = "perplexity/sonar-reasoning-pro"
reasoning_options = []
@@ -1 +1,2 @@
base_model = "xai/grok-4.3"
reasoning_options = []
@@ -2,6 +2,8 @@ base_model = "deepseek/deepseek-v4-flash"
name = "DeepSeek-V4-Flash"
tool_call = false
reasoning_options = []
[cost]
input = 0.19
output = 0.51
@@ -2,6 +2,8 @@ base_model = "deepseek/deepseek-v4-pro"
name = "DeepSeek-V4-Pro"
tool_call = false
reasoning_options = []
[cost]
input = 1.74
output = 3.48
@@ -4,6 +4,7 @@ release_date = "2026-04-02"
last_updated = "2026-04-02"
attachment = true
reasoning = true
reasoning_options = []
temperature = true
knowledge = "2025-12"
tool_call = true
@@ -4,6 +4,7 @@ release_date = "2025-04-27"
last_updated = "2025-04-27"
attachment = false
reasoning = true
reasoning_options = []
temperature = true
knowledge = "2023-12"
tool_call = true
@@ -20,4 +21,4 @@ output = 8_192
[modalities]
input = ["text"]
output = ["text"]
output = ["text"]
@@ -4,6 +4,7 @@ release_date = "2026-04-29"
last_updated = "2026-04-29"
attachment = true
reasoning = true
reasoning_options = [{ type = "effort", values = ["none", "high"] }]
temperature = true
knowledge = "2026-04"
tool_call = true
@@ -4,6 +4,7 @@ release_date = "2025-10-01"
last_updated = "2025-10-01"
attachment = false
reasoning = true
reasoning_options = []
temperature = true
knowledge = "2025-09"
tool_call = true
@@ -20,4 +21,4 @@ output = 8_192
[modalities]
input = ["text"]
output = ["text"]
output = ["text"]
@@ -1,4 +1,5 @@
base_model = "moonshotai/kimi-k2.6"
reasoning_options = [{ type = "toggle" }]
release_date = "2026-05-07"
last_updated = "2026-05-07"
@@ -4,6 +4,7 @@ release_date = "2025-08-05"
last_updated = "2025-08-05"
attachment = false
reasoning = true
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
temperature = true
knowledge = "2025-08"
tool_call = true
@@ -20,4 +21,4 @@ output = 8_192
[modalities]
input = ["text"]
output = ["text"]
output = ["text"]
+2 -1
View File
@@ -4,6 +4,7 @@ release_date = "2026-01-19"
last_updated = "2026-01-19"
attachment = false
reasoning = true
reasoning_options = []
temperature = true
knowledge = "2025-12"
tool_call = true
@@ -20,4 +21,4 @@ output = 8_192
[modalities]
input = ["text"]
output = ["text"]
output = ["text"]
+1
View File
@@ -1,3 +1,4 @@
reasoning_options = []
base_model = "zhipuai/glm-4.7"
[interleaved]
+1
View File
@@ -1,3 +1,4 @@
reasoning_options = []
base_model = "zhipuai/glm-5.1"
[interleaved]
+1
View File
@@ -1,3 +1,4 @@
reasoning_options = []
base_model = "zhipuai/glm-5"
[interleaved]
@@ -1,3 +1,4 @@
reasoning_options = []
base_model = "minimax/MiniMax-M2.5"
[cost]
@@ -1,4 +1,5 @@
base_model = "anthropic/claude-opus-4-6"
reasoning_options = [{ type = "budget_tokens", min = 1_024, max = 127_999 }]
[cost]
input = 5
@@ -1,4 +1,5 @@
base_model = "anthropic/claude-opus-4-7"
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
[cost]
input = 4.5
@@ -1,4 +1,5 @@
base_model = "anthropic/claude-sonnet-4-6"
reasoning_options = [{ type = "budget_tokens", min = 1_024, max = 63_999 }]
[cost]
input = 3
@@ -1,4 +1,5 @@
base_model = "deepseek/deepseek-v4-flash"
reasoning_options = []
[interleaved]
field = "reasoning_content"
@@ -1,4 +1,5 @@
base_model = "deepseek/deepseek-v4-pro"
reasoning_options = []
[interleaved]
field = "reasoning_content"
@@ -1,4 +1,5 @@
base_model = "moonshotai/kimi-k2.6"
reasoning_options = []
[interleaved]
field = "reasoning_content"
@@ -1,4 +1,5 @@
base_model = "zhipuai/glm-5"
reasoning_options = []
[interleaved]
field = "reasoning_content"
@@ -1,4 +1,5 @@
base_model = "zhipuai/glm-5.1"
reasoning_options = []
[interleaved]
field = "reasoning_content"
@@ -4,6 +4,7 @@ release_date = "2026-02-12"
last_updated = "2026-02-12"
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ release_date = "2026-02-01"
last_updated = "2026-02-01"
attachment = false
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ release_date = "2026-04-01"
last_updated = "2026-04-01"
attachment = true
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ release_date = "2026-01-27"
last_updated = "2026-01-27"
attachment = true
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ release_date = "2026-04-21"
last_updated = "2026-04-21"
attachment = true
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ release_date = "2025-08-05"
last_updated = "2025-08-05"
attachment = false
reasoning = true
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
temperature = true
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ release_date = "2026-04-07"
last_updated = "2026-04-07"
attachment = false
reasoning = true
reasoning_options = [{ type = "toggle" }]
temperature = true
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ release_date = "2025-10-17"
last_updated = "2025-10-17"
attachment = false
reasoning = true
reasoning_options = []
temperature = true
knowledge = "2025-01"
tool_call = true
@@ -4,6 +4,7 @@ release_date = "2025-08-05"
last_updated = "2025-08-05"
attachment = false
reasoning = true
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
temperature = true
tool_call = true
open_weights = false
@@ -4,6 +4,7 @@ release_date = "2026-03-01"
last_updated = "2026-03-01"
attachment = false
reasoning = true
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
temperature = true
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ release_date = "2026-03-10"
last_updated = "2026-03-10"
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
open_weights = false
@@ -4,6 +4,7 @@ release_date = "2026-03-15"
last_updated = "2026-03-15"
attachment = true
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
open_weights = false
@@ -4,6 +4,7 @@ release_date = "2025-01-31"
last_updated = "2025-01-31"
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
open_weights = false
@@ -4,6 +4,7 @@ release_date = "2026-03-01"
last_updated = "2026-03-01"
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ release_date = "2026-02-01"
last_updated = "2026-02-01"
attachment = true
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ release_date = "2026-02-01"
last_updated = "2026-02-01"
attachment = true
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
open_weights = true
@@ -4,6 +4,7 @@ last_updated = "2026-05-19"
# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
structured_output = true
@@ -4,6 +4,7 @@ last_updated = "2026-05-19"
# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
structured_output = true
@@ -4,6 +4,7 @@ last_updated = "2026-05-19"
# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
structured_output = true
@@ -4,6 +4,7 @@ last_updated = "2026-05-19"
# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
structured_output = true
@@ -4,6 +4,7 @@ last_updated = "2026-05-19"
# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
structured_output = true
@@ -4,6 +4,7 @@ last_updated = "2026-05-19"
# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
structured_output = true
@@ -4,6 +4,7 @@ last_updated = "2026-05-19"
# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
structured_output = true
@@ -4,6 +4,7 @@ last_updated = "2026-05-19"
# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
structured_output = true
@@ -4,6 +4,7 @@ last_updated = "2026-05-19"
# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments
attachment = false
reasoning = true
reasoning_options = []
temperature = true
tool_call = true
structured_output = true
+1
View File
@@ -4,6 +4,7 @@ release_date = "2025-05-20"
last_updated = "2025-05-20"
attachment = false
reasoning = true
reasoning_options = [{ type = "effort", values = ["minimal", "high"] }]
temperature = true
knowledge = "2025-03"
tool_call = true
+1
View File
@@ -4,6 +4,7 @@ release_date = "2026-01"
last_updated = "2026-01"
attachment = false
reasoning = true
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
temperature = true
knowledge = "2025-03"
tool_call = true
+1
View File
@@ -0,0 +1 @@
../../zai-coding-plan/models/glm-5.2.toml