Claude Context Window Calculator

Calculate token usage against Claude 200K context windows.

Max output for Claude 3.5 Sonnet: 8,192 tokens
Total context usage
5000.3% of 200.0K
System tokens0
User tokens0
Output tokens500
Remaining199,500

Related Tools

FAQ

How large is Claude context window?
All Claude 3 models (Sonnet, Opus, Haiku) support a 200,000-token context window — equivalent to about 150,000 words or roughly 400 pages of text. This is larger than GPT-4o but smaller than Gemini 1.5 Pro.
Can Claude use its full 200K context effectively?
Claude performs best on retrieval tasks within its context window, though recall quality can degrade with very long documents. For best results, place the most important content at the beginning or end of the context.
Does Claude count system prompt tokens differently?
Anthropic charges for system prompt tokens the same as user message tokens (input rate). Claude 3.5 Sonnet is $3 per million input tokens including system prompt tokens.

Check whether your system prompt, user message, and expected output fit within Claude 3.5 Sonnet, Claude 3 Opus, or Claude 3 Haiku context windows. All Claude models support 200,000 tokens — about 150,000 words.