---
title: "Switch to Sonnet 1M context in Claude Code"
description: "Switch to Sonnet 1M context version in Claude Code"
canonical: "https://ian.is/claude-sonnet-1m"
language: "en"
---

[Ian Nuttall](https://ian.is/)

# Switch to Sonnet 1M context in Claude Code

August 12, 2025

You can use /model sonnet\[1m\] to switch to the 1M context version of Sonnet 4 in Claude Code\*

\*only works via API auth though, not on a Pro/Max subscription

props to [@AlexGrama](https://x.com/AlexGrama) for the tip

![Image from the original X post](https://ian.is/media/tweets/1955331879441215810/1955331879441215810/66a91ca3e2ab12b42be8bc93f8d5dd909e8976a3540e7ad43c339b078d6031af.jpg)

## Newsletter

Join 9.2k subscribers
