From eb86540c9806ac187e71039e2992f60bf688e351 Mon Sep 17 00:00:00 2001 From: Amolith Date: Thu, 6 Nov 2025 18:12:59 -0700 Subject: [PATCH] chore(crush): clean up --- dot_config/crush/crush.json | 147 ++++++++++++++---------------------- 1 file changed, 55 insertions(+), 92 deletions(-) diff --git a/dot_config/crush/crush.json b/dot_config/crush/crush.json index 72662a312fcdc501850dc321aa30ab0020882cbb..0189e58bbc7e5ec4989ff9328cacffa5d6f942fe 100644 --- a/dot_config/crush/crush.json +++ b/dot_config/crush/crush.json @@ -9,23 +9,19 @@ "memory_paths": ["~/.config/crush/rules", "~/.config/AGENTS.md"] }, "providers": { - "anthropic": { - "api_key": "Bearer $(bash ~/.config/crush/anthropic.sh)", - "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" - }, - "system_prompt_prefix": "You are Claude Code, Anthropic's official CLI for Claude.", + "proxy": { + "name": "wan", + "type": "anthropic", + "api_key": "dummy", + "base_url": "http://127.0.0.1:8317/", "models": [ { "id": "claude-sonnet-4-5-20250929", "name": "Claude Sonnet 4.5", - "cost_per_1m_in": 3, - "cost_per_1m_out": 15, - "cost_per_1m_in_cached": 3.75, - "cost_per_1m_out_cached": 0.3, + "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": 50000, "can_reason": true, @@ -33,97 +29,64 @@ "supports_attachments": true }, { - "id": "claude-haiku-4-5-20251001", - "name": "Claude 4.5 Haiku", - "cost_per_1m_in": 1, - "cost_per_1m_out": 5, - "cost_per_1m_in_cached": 1.25, - "cost_per_1m_out_cached": 0.09999999999999999, - "context_window": 200000, - "default_max_tokens": 32000, - "can_reason": true, - "has_reasoning_efforts": false, - "supports_attachments": true - }, - { - "id": "claude-opus-4-1-20250805", - "name": "Claude Opus 4.1", - "cost_per_1m_in": 15, - "cost_per_1m_out": 75, - "cost_per_1m_in_cached": 18.75, - "cost_per_1m_out_cached": 1.5, - "context_window": 200000, - "default_max_tokens": 32000, - "can_reason": true, - "has_reasoning_efforts": false, - "supports_attachments": true - } - ] - }, - "synthetic": { - "name": "Synthetic", - "type": "anthropic", - "api_key": "$SYNTHETIC_API_KEY", - "base_url": "https://api.synthetic.new/anthropic", - "models": [ - { - "id": "hf:deepseek-ai/DeepSeek-V3.1-Terminus", - "name": "DeepSeek V3.1 Terminus", - "cost_per_1m_in": 1.2, - "cost_per_1m_out": 1.2, - "cost_per_1m_in_cached": 1.2, - "cost_per_1m_out_cached": 1.2, - "context_window": 131072, - "default_max_tokens": 8192, + "id": "synthetic/glm-4.6", + "name": "GLM-4.6", + "cost_per_1m_in": 0, + "cost_per_1m_out": 0, + "cost_per_1m_in_cached": 0, + "cost_per_1m_out_cached": 0, + "context_window": 204800, + "default_max_tokens": 65536, "can_reason": true, "has_reasoning_efforts": false, "supports_attachments": false }, { - "id": "hf:MiniMaxAI/MiniMax-M2", - "name": "MiniMax M2", - "cost_per_1m_in": 0.55, - "cost_per_1m_out": 2.19, - "cost_per_1m_in_cached": 0.55, - "cost_per_1m_out_cached": 2.19, - "context_window": 196608, + "id": "gpt-5-codex-high", + "name": "GPT-5 Codex High", + "cost_per_1m_in": 0, + "cost_per_1m_out": 0, + "cost_per_1m_in_cached": 0, + "cost_per_1m_out_cached": 0, + "context_window": 204800, "default_max_tokens": 65536, "can_reason": true, "has_reasoning_efforts": false, "supports_attachments": false }, { - "id": "hf:openai/gpt-oss-120b", - "name": "GPT-OSS 120B", - "cost_per_1m_in": 0.1, - "cost_per_1m_out": 0.1, - "cost_per_1m_in_cached": 0.1, - "cost_per_1m_out_cached": 0.1, - "context_window": 131072, + "id": "gpt-5-high", + "name": "GPT-5 High", + "cost_per_1m_in": 0, + "cost_per_1m_out": 0, + "cost_per_1m_in_cached": 0, + "cost_per_1m_out_cached": 0, + "context_window": 204800, "default_max_tokens": 65536, "can_reason": true, "has_reasoning_efforts": false, "supports_attachments": false }, { - "id": "hf:Qwen/Qwen3-Coder-480B-A35B-Instruct", - "name": "Qwen3 Coder 480B A35B Instruct", - "cost_per_1m_in": 0.45, - "cost_per_1m_out": 1.8, - "cost_per_1m_in_cached": 0.45, - "cost_per_1m_out_cached": 1.8, - "context_window": 262144, - "default_max_tokens": 262144, - "can_reason": false, - "supports_attachments": false + "id": "claude-haiku-4-5-20251001", + "name": "Claude 4.5 Haiku", + "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": 32000, + "can_reason": true, + "has_reasoning_efforts": false, + "supports_attachments": true }, { - "id": "hf:zai-org/GLM-4.6", - "name": "GLM-4.6", - "cost_per_1m_in": 0.55, - "cost_per_1m_out": 2.19, - "cost_per_1m_in_cached": 0.55, - "cost_per_1m_out_cached": 2.19, + "id": "synthetic/kimi-k2-thinking", + "name": "Kimi K2 Thinking", + "cost_per_1m_in": 0, + "cost_per_1m_out": 0, + "cost_per_1m_in_cached": 0, + "cost_per_1m_out_cached": 0, "context_window": 204800, "default_max_tokens": 65536, "can_reason": true, @@ -131,13 +94,13 @@ "supports_attachments": false }, { - "id": "hf:moonshotai/Kimi-K2-Thinking", - "name": "Kimi K2 Thinking", - "cost_per_1m_in": 0.55, - "cost_per_1m_out": 2.19, - "cost_per_1m_in_cached": 0.55, - "cost_per_1m_out_cached": 2.19, - "context_window": 204800, + "id": "synthetic/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": 196608, "default_max_tokens": 65536, "can_reason": true, "has_reasoning_efforts": false,