From 2838024cb621c4a38e4cf70e0a2ed6e72f70b856 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Mon, 16 Mar 2026 14:11:58 -0300 Subject: [PATCH] chore: add 1m tokens support to opus 4.6 and sonnet 4.6 (#214) Took the opportunity to review all context windows, max tokens, and pricing as well. * Closes https://github.com/charmbracelet/catwalk/pull/197 * Closes https://github.com/charmbracelet/fantasy/pull/151 * Closes https://github.com/charmbracelet/crush/pull/2321 --- internal/providers/configs/anthropic.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/internal/providers/configs/anthropic.json b/internal/providers/configs/anthropic.json index 22cf9a1f3b83186694e760833d256ff7f78ee3c1..00cc510f9da1effce30e907da9ad5082575a4e15 100644 --- a/internal/providers/configs/anthropic.json +++ b/internal/providers/configs/anthropic.json @@ -14,8 +14,8 @@ "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, + "context_window": 1000000, + "default_max_tokens": 64000, "can_reason": true, "reasoning_levels": ["low", "medium", "high", "max"], "default_reasoning_efforts": "medium", @@ -29,7 +29,7 @@ "cost_per_1m_in_cached": 3.75, "cost_per_1m_out_cached": 0.3, "context_window": 200000, - "default_max_tokens": 50000, + "default_max_tokens": 64000, "can_reason": true, "supports_attachments": true }, @@ -40,7 +40,7 @@ "cost_per_1m_out": 25, "cost_per_1m_in_cached": 6.25, "cost_per_1m_out_cached": 0.50, - "context_window": 200000, + "context_window": 1000000, "default_max_tokens": 126000, "can_reason": true, "reasoning_levels": ["low", "medium", "high", "max"], @@ -55,7 +55,7 @@ "cost_per_1m_in_cached": 6.25, "cost_per_1m_out_cached": 0.50, "context_window": 200000, - "default_max_tokens": 50000, + "default_max_tokens": 64000, "can_reason": true, "supports_attachments": true }, @@ -65,9 +65,9 @@ "cost_per_1m_in": 1, "cost_per_1m_out": 5, "cost_per_1m_in_cached": 1.25, - "cost_per_1m_out_cached": 0.09999999999999999, + "cost_per_1m_out_cached": 0.1, "context_window": 200000, - "default_max_tokens": 32000, + "default_max_tokens": 64000, "can_reason": true, "has_reasoning_efforts": false, "supports_attachments": true @@ -104,7 +104,7 @@ "cost_per_1m_in_cached": 3.75, "cost_per_1m_out_cached": 0.3, "context_window": 200000, - "default_max_tokens": 50000, + "default_max_tokens": 64000, "can_reason": true, "supports_attachments": true }