From 22408d63549aed7dab6fe34fc70fa52a7b473476 Mon Sep 17 00:00:00 2001 From: Amolith Date: Wed, 5 Nov 2025 20:13:52 -0700 Subject: [PATCH] feat(crush): add minimax m2 --- dot_config/crush/crush.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/dot_config/crush/crush.json b/dot_config/crush/crush.json index a6f7c2db0f28e9095a393cf130377f7a0481870c..068b1694d25723dabf8eee0a1402bf37288ad0f1 100644 --- a/dot_config/crush/crush.json +++ b/dot_config/crush/crush.json @@ -181,6 +181,33 @@ "supports_attachments": false } ] + }, + "minimax": { + "name": "MiniMax", + "type": "anthropic", + "base_url": "https://api.minimax.io/anthropic", + "api_key": "$MINIMAX_API_KEY", + "extra_headers": { + "User-Agent": "claude-cli/2.0.31 (external, cli)", + "x-app": "cli", + "anthropic-version": "2023-06-01", + "anthropic-beta": "oauth-2025-04-20,interleaved-thinking-2025-05-14,fine-grained-tool-streaming-2025-05-14" + }, + "models": [ + { + "id": "MiniMax-M2", + "name": "MiniMax M2", + "cost_per_1m_in": 0, + "cost_per_1m_out": 0, + "cost_per_1m_in_cached": 0, + "cost_per_1m_out_cached": 0, + "context_window": 200000, + "default_max_tokens": 16384, + "can_reason": true, + "has_reasoning_efforts": false, + "supports_attachments": true + } + ] } } }