chore: add 1m tokens support to opus 4.6 and sonnet 4.6 (#214)

Andrey Nering created

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

Change summary

internal/providers/configs/anthropic.json | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

Detailed changes

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
     }