---
title: 1,000,000 Tokens
link: https://ampcode.com/news/1m-tokens
source: ampcode-com
published: 2025-08-27T00:00:00Z
updated: 2025-08-27T00:00:00Z
first_seen: 2026-10-04T12:50:30.804479567Z
summary: 'Amp can now use 1 million tokens of context with Claude Sonnet 4, up from 432,000 tokens two weeks ago. You should not use the full context window for most tasks in Amp. Instead, use small threads that are scoped to a single task. Amp is better, faster, and cheaper when used this way. A notice will appear when you hit 20% of the context window to remind you of this. Longer threads are more expensive, both because each iteration of the agentic loop sends more and more tokens, and because requests with more than 200k tokens are roughly twice as expensive per token in Anthropic''s API pricing. Note: the screenshot shows 968k tokens because the context window is composed of 968k input tokens and 32k output tokens.'
content: extracted
html: 2025-08-27-1-000-000-tokens.html
remote_preview:
  url: https://static.ampcode.com/news/1m-context.png
  alt: Amp thread with 1,000,000 tokens of context
---

Amp can now use [1 million tokens of context](https://docs.anthropic.com/en/docs/build-with-claude/context-windows#1m-token-context-window) with Claude Sonnet 4, up from [432,000 tokens](https://ampcode.com/news/432k-tokens) two weeks ago.

You should not use the full context window for most tasks in Amp. Instead, use [small threads](https://ampcode.com/how-i-use-amp#small-threads) that are scoped to a single task. Amp is better, faster, and cheaper when used this way. A notice will appear when you hit 20% of the context window to remind you of this.

Longer threads are more expensive, both because each iteration of the agentic loop sends more and more tokens, and because requests with more than 200k tokens are roughly [twice as expensive](https://docs.anthropic.com/en/docs/about-claude/pricing#long-context-pricing) per token in Anthropic's API pricing.

![Amp thread with 1,000,000 tokens of context](https://static.ampcode.com/news/1m-context.png)

*Note: the screenshot shows 968k tokens because the context window is composed of 968k input tokens and 32k output tokens.*
