Gemini Context Calculator

Calculate token usage against Gemini 1M and 1M context windows.

Check how your prompts fit within Gemini 2.5 Pro (2M tokens), Gemini 2.5 Flash (1M tokens), and Gemini 2.0 Flash (32K) context windows. Enter system and user prompts to see remaining capacity and detect overflows.

Max output for Gemini 2.5 Pro: 65,536 tokens
Total context usage
5000.0% of 1.0M
System tokens0
User tokens0
Output tokens500
Remaining1,048,076

Related Tools

FAQ

How large is Gemini 2.5 Pro context window?
Gemini 2.5 Pro supports a 2,000,000-token context window — the largest of any major commercial model. This is equivalent to roughly 1.5 million words, 3,000 pages of text, or an entire codebase.
What is the difference between Gemini 2.5 Pro and Flash context windows?
Gemini 2.5 Pro has a 2M token context window while Gemini 2.5 Flash supports 1M tokens. Both vastly exceed GPT-4o (128K) and Claude (200K). Flash is faster and cheaper but has half the context capacity.
Does Gemini charge more for larger context inputs?
Yes. Gemini 2.5 Pro charges $1.25 per million tokens for prompts up to 128K tokens, and $2.50 per million tokens for prompts above 128K. Gemini 2.5 Flash uses a similar tiered pricing model.