chore: add grok code fast (#53)

Kujtim Hoxha created

Change summary

internal/providers/configs/xai.json | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

Detailed changes

internal/providers/configs/xai.json 🔗

@@ -4,9 +4,21 @@
   "api_key": "$XAI_API_KEY",
   "api_endpoint": "https://api.x.ai/v1",
   "type": "openai",
-  "default_large_model_id": "grok-3",
+  "default_large_model_id": "grok-code-fast",
   "default_small_model_id": "grok-3-mini",
   "models": [
+    {
+      "id": "grok-code-fast",
+      "name": "Grok Code Fast",
+      "cost_per_1m_in": 0.2,
+      "cost_per_1m_out": 1.5,
+      "cost_per_1m_in_cached": 0,
+      "cost_per_1m_out_cached": 0.02,
+      "context_window": 256000,
+      "default_max_tokens": 20000,
+      "can_reason": true,
+      "supports_attachments": false
+    },
     {
       "id": "grok-4",
       "name": "Grok 4",