{
	"$schema": "https://charm.land/crush.json",
	"options": {
		"disable_provider_auto_update": true,
		"attribution": {
			"trailer_style": "assisted-by",
			"generated_with": false
		},
		"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.",
			"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,
					"context_window": 200000,
					"default_max_tokens": 50000,
					"can_reason": true,
					"has_reasoning_efforts": false,
					"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": "openai-compat",
			"api_key": "$SYNTHETIC_API_KEY",
			"base_url": "https://api.synthetic.new/openai/v1",
			"models": [
				{
					"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,
					"default_max_tokens": 65536,
					"can_reason": true,
					"has_reasoning_efforts": true,
					"reasoning_levels": ["low", "medium", "high"],
					"default_reasoning_effort": "high",
					"supports_attachments": false
				},
				{
					"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,
					"context_window": 204800,
					"default_max_tokens": 65536,
					"can_reason": true,
					"has_reasoning_efforts": true,
					"reasoning_levels": ["low", "medium", "high"],
					"default_reasoning_effort": "high",
					"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,
					"default_max_tokens": 65536,
					"can_reason": true,
					"has_reasoning_efforts": true,
					"reasoning_levels": ["low", "medium", "high"],
					"default_reasoning_effort": "high",
					"supports_attachments": false
				},
				{
					"id": "hf:moonshotai/Kimi-K2-Instruct-0905",
					"name": "Kimi K2 Instruct 0905",
					"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": 256000,
					"default_max_tokens": 65536,
					"can_reason": false,
					"has_reasoning_efforts": false,
					"supports_attachments": false
				},
				{
					"id": "hf:Qwen/Qwen3-Coder-480B-A35B-Instruct",
					"name": "Qwen3 Coder",
					"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": 256000,
					"default_max_tokens": 65536,
					"can_reason": false,
					"has_reasoning_efforts": false,
					"supports_attachments": false
				},
				{
					"id": "hf:deepseek-ai/DeepSeek-V3-0324",
					"name": "DeepSeek V3 0324",
					"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": 128000,
					"default_max_tokens": 65536,
					"can_reason": false,
					"has_reasoning_efforts": false,
					"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
				}
			]
		}
	}
}
