crush.json

  1{
  2	"$schema": "https://charm.land/crush.json",
  3	"mcp": {
  4		"kagi": {
  5			"type": "stdio",
  6			"command": "kagi-ken-mcp"
  7		}
  8	},
  9	"options": {
 10		"attribution": {
 11			"trailer_style": "assisted-by",
 12			"generated_with": false
 13		},
 14		"memory_paths": ["~/.config/crush/rules", "~/.config/AGENTS.md"],
 15		"disable_provider_auto_update": true,
 16		"disable_metrics": true
 17	},
 18	"providers": {
 19		"anthropic": {
 20			"api_key": "Bearer $(bash ~/.config/crush/anthropic.sh)",
 21			"extra_headers": {
 22				"User-Agent": "claude-cli/2.0.31 (external, cli)",
 23				"x-app": "cli",
 24				"anthropic-version": "2023-06-01",
 25				"anthropic-beta": "oauth-2025-04-20,interleaved-thinking-2025-05-14,fine-grained-tool-streaming-2025-05-14"
 26			},
 27			"system_prompt_prefix": "You are Claude Code, Anthropic's official CLI for Claude.",
 28			"models": [
 29				{
 30					"id": "claude-sonnet-4-5-20250929",
 31					"name": "Claude Sonnet 4.5",
 32					"cost_per_1m_in": 3,
 33					"cost_per_1m_out": 15,
 34					"cost_per_1m_in_cached": 3.75,
 35					"cost_per_1m_out_cached": 0.3,
 36					"context_window": 200000,
 37					"default_max_tokens": 50000,
 38					"can_reason": true,
 39					"has_reasoning_efforts": false,
 40					"supports_attachments": true
 41				},
 42				{
 43					"id": "claude-haiku-4-5-20251001",
 44					"name": "Claude 4.5 Haiku",
 45					"cost_per_1m_in": 1,
 46					"cost_per_1m_out": 5,
 47					"cost_per_1m_in_cached": 1.25,
 48					"cost_per_1m_out_cached": 0.09999999999999999,
 49					"context_window": 200000,
 50					"default_max_tokens": 32000,
 51					"can_reason": true,
 52					"has_reasoning_efforts": false,
 53					"supports_attachments": true
 54				},
 55				{
 56					"id": "claude-opus-4-1-20250805",
 57					"name": "Claude Opus 4.1",
 58					"cost_per_1m_in": 15,
 59					"cost_per_1m_out": 75,
 60					"cost_per_1m_in_cached": 18.75,
 61					"cost_per_1m_out_cached": 1.5,
 62					"context_window": 200000,
 63					"default_max_tokens": 32000,
 64					"can_reason": true,
 65					"has_reasoning_efforts": false,
 66					"supports_attachments": true
 67				}
 68			]
 69		},
 70		"gemini": {
 71			"name": "Google Gemini",
 72			"id": "gemini",
 73			"api_key": "$GEMINI_API_KEY",
 74			"api_endpoint": "$GEMINI_API_ENDPOINT",
 75			"type": "gemini",
 76			"models": [
 77				{
 78					"id": "gemini-3-pro-preview",
 79					"name": "Gemini 3 Pro Preview",
 80					"cost_per_1m_in": 1.25,
 81					"cost_per_1m_out": 10,
 82					"cost_per_1m_in_cached": 1.625,
 83					"cost_per_1m_out_cached": 0.31,
 84					"context_window": 1048576,
 85					"default_max_tokens": 50000,
 86					"can_reason": true,
 87					"has_reasoning_efforts": false,
 88					"supports_attachments": true
 89				},
 90				{
 91					"id": "gemini-2.5-pro",
 92					"name": "Gemini 2.5 Pro",
 93					"cost_per_1m_in": 1.25,
 94					"cost_per_1m_out": 10,
 95					"cost_per_1m_in_cached": 1.625,
 96					"cost_per_1m_out_cached": 0.31,
 97					"context_window": 1048576,
 98					"default_max_tokens": 50000,
 99					"can_reason": true,
100					"has_reasoning_efforts": false,
101					"supports_attachments": true
102				},
103				{
104					"id": "gemini-2.5-flash",
105					"name": "Gemini 2.5 Flash",
106					"cost_per_1m_in": 0.3,
107					"cost_per_1m_out": 2.5,
108					"cost_per_1m_in_cached": 0.3833,
109					"cost_per_1m_out_cached": 0.075,
110					"context_window": 1048576,
111					"default_max_tokens": 50000,
112					"can_reason": true,
113					"has_reasoning_efforts": false,
114					"supports_attachments": true
115				}
116			]
117		}
118	}
119}