From 8c34947f5990aab74c21e69615abe54443700196 Mon Sep 17 00:00:00 2001 From: Victor Kryukov Date: Fri, 16 Jan 2026 00:09:46 -0800 Subject: [PATCH] fix: Add mising metadata for grok-4-0709 and grok-4-1-fast-reasoning --- priv/llm_db/local/xai/grok-4-0709.toml | 31 +++++ .../local/xai/grok-4-1-fast-reasoning.toml | 30 +++++ priv/llm_db/manifest.json | 2 +- priv/llm_db/providers/xai.json | 113 ++++++++++++++---- 4 files changed, 155 insertions(+), 21 deletions(-) create mode 100644 priv/llm_db/local/xai/grok-4-0709.toml create mode 100644 priv/llm_db/local/xai/grok-4-1-fast-reasoning.toml diff --git a/priv/llm_db/local/xai/grok-4-0709.toml b/priv/llm_db/local/xai/grok-4-0709.toml new file mode 100644 index 0000000..d7db028 --- /dev/null +++ b/priv/llm_db/local/xai/grok-4-0709.toml @@ -0,0 +1,31 @@ +id = "grok-4-0709" +name = "Grok 4" +provider_model_id = "grok-4-0709" +knowledge = "2025-07" +release_date = "2025-07-09" +last_updated = "2025-07-09" + +[limits] +context = 256000 +output = 16384 + +[cost] +input = 3 +output = 15 +cache_read = 0.75 +reasoning = 15 + +[modalities] +input = ["text", "image"] +output = ["text"] + +[capabilities.reasoning] +enabled = true + +[capabilities.tools] +enabled = true + +[extra] +attachment = true +open_weights = false +temperature = true diff --git a/priv/llm_db/local/xai/grok-4-1-fast-reasoning.toml b/priv/llm_db/local/xai/grok-4-1-fast-reasoning.toml new file mode 100644 index 0000000..5c5d6c7 --- /dev/null +++ b/priv/llm_db/local/xai/grok-4-1-fast-reasoning.toml @@ -0,0 +1,30 @@ +id = "grok-4-1-fast-reasoning" +name = "Grok 4.1 Fast Reasoning" +provider_model_id = "grok-4-1-fast-reasoning" +knowledge = "2025-07" +release_date = "2025-11-19" +last_updated = "2025-11-19" + +[limits] +context = 2000000 +output = 30000 + +[cost] +input = 0.2 +output = 0.5 +cache_read = 0.05 + +[modalities] +input = ["text", "image"] +output = ["text"] + +[capabilities.reasoning] +enabled = true + +[capabilities.tools] +enabled = true + +[extra] +attachment = true +open_weights = false +temperature = true diff --git a/priv/llm_db/manifest.json b/priv/llm_db/manifest.json index f75cf30..9babe0a 100644 --- a/priv/llm_db/manifest.json +++ b/priv/llm_db/manifest.json @@ -1,5 +1,5 @@ { - "generated_at": "2026-01-12T21:28:32.279670Z", + "generated_at": "2026-01-16T08:05:38.958203Z", "providers": [ "abacus", "aihubmix", diff --git a/priv/llm_db/providers/xai.json b/priv/llm_db/providers/xai.json index 274b8f4..e36146b 100644 --- a/priv/llm_db/providers/xai.json +++ b/priv/llm_db/providers/xai.json @@ -577,25 +577,62 @@ }, "grok-4-0709": { "aliases": [], - "capabilities": null, - "cost": null, + "capabilities": { + "chat": true, + "embeddings": false, + "json": { + "native": false, + "schema": false, + "strict": false + }, + "reasoning": { + "enabled": true + }, + "streaming": { + "text": true, + "tool_calls": false + }, + "tools": { + "enabled": true + } + }, + "cost": { + "cache_read": 0.75, + "input": 3, + "output": 15, + "reasoning": 15 + }, "deprecated": false, "extra": { + "attachment": true, "created": 1752019200, - "owned_by": "xai" + "open_weights": false, + "owned_by": "xai", + "temperature": true }, "family": null, "id": "grok-4-0709", - "knowledge": null, - "last_updated": null, + "knowledge": "2025-07", + "last_updated": "2025-07-09", "lifecycle": null, - "limits": null, - "modalities": null, + "limits": { + "context": 256000, + "output": 16384 + }, + "modalities": { + "input": [ + "text", + "image" + ], + "output": [ + "text" + ] + }, "model": null, - "name": null, + "name": "Grok 4", "provider": "xai", - "provider_model_id": null, - "release_date": null, + "provider_model_id": "grok-4-0709", + "release_date": "2025-07-09", "tags": null }, "grok-4-1-fast": { @@ -716,25 +753,61 @@ }, "grok-4-1-fast-reasoning": { "aliases": [], - "capabilities": null, - "cost": null, + "capabilities": { + "chat": true, + "embeddings": false, + "json": { + "native": false, + "schema": false, + "strict": false + }, + "reasoning": { + "enabled": true + }, + "streaming": { + "text": true, + "tool_calls": false + }, + "tools": { + "enabled": true + } + }, + "cost": { + "cache_read": 0.05, + "input": 0.2, + "output": 0.5 + }, "deprecated": false, "extra": { + "attachment": true, "created": 1763510400, - "owned_by": "xai" + "open_weights": false, + "owned_by": "xai", + "temperature": true }, "family": null, "id": "grok-4-1-fast-reasoning", - "knowledge": null, - "last_updated": null, + "knowledge": "2025-07", + "last_updated": "2025-11-19", "lifecycle": null, - "limits": null, - "modalities": null, + "limits": { + "context": 2000000, + "output": 30000 + }, + "modalities": { + "input": [ + "text", + "image" + ], + "output": [ + "text" + ] + }, "model": null, - "name": null, + "name": "Grok 4.1 Fast Reasoning", "provider": "xai", - "provider_model_id": null, - "release_date": null, + "provider_model_id": "grok-4-1-fast-reasoning", + "release_date": "2025-11-19", "tags": null }, "grok-4-fast": {