6 minUpdated:

Gemini Context Window & Token Limits (2026)

Every current Gemini API model has a context window of about 1 million tokens in 2026: Gemini 4 Neon (Google's newest, November 18, 2026), Gemini 4 Argon and Gemini 4 Carbon, Google's frontier models, and the faster Gemini 4 Hydrogen take 1,048,576 tokens shared by input and output, and Gemini 3.8 Flash, Gemini 3.6 Flash, and Gemini 3.5 Flash-Lite each take 1M, all with 65,536 output tokens. In the Gemini app the window depends on your plan: 32K tokens without a Google AI plan, 128K on Google AI Plus, and 1M on Google AI Pro and Ultra. The older Gemini 3.1 Pro, 3 Flash, and 3.1 Flash-Lite also have 1M windows, with Gemini 3.1 Pro capped at 64,000 output tokens. One million tokens is roughly 750,000 words, enough to hold a 1,500-page book, an entire mid-sized codebase, or a year of chat history in a single prompt.

This guide explains what the Gemini context window actually means, how many tokens the current models accept, what "max output" caps your responses at, and what practically fits inside 1M tokens. Figures are verified against Google's model documentation and cross-checked with our own token counter tool. The context window is the single most important spec for long-document work, so it is worth understanding before you paste a novel or a repository into Gemini.

What a Context Window Is and What It Does Not Do

A context window is the maximum number of tokens a model can consider at once, counting both your input and the model's output. When a conversation exceeds that limit, the oldest tokens fall out of the window and the model effectively forgets them. A 1 million token window means Gemini can hold about 750,000 words of combined prompt and response in working memory at one time.

What a context window does not do is give the model permanent memory. It resets between conversations, and once tokens scroll out they are gone unless you saved them. That is why exporting and searching past conversations matters: Gemini's window is large, but it is still a window. Per Google's documentation, tokens include words, sub-words, punctuation, and whitespace, which is why token counts run higher than word counts.

Gemini Token Limits Comparison Table (2026)

The table below lists the context window, max output, and API pricing for every current Gemini model plus the older Gemini 3 models still in the API, checked October 28, 2026, with Gemini 4 Neon added November 19, 2026. Pricing is per 1 million tokens via the Gemini API and is separate from consumer Google AI subscriptions.

ModelContext WindowMax OutputAPI Price (Input / Output per 1M)Best For
Gemini 4 Carbon (frontier)1,048,576 tokens (input and output)65,536 tokens by default$2.00 / $10.00 until Nov 30, 2026, then $4.00 / $20.00Frontier model that joins Argon; Ultra only in the Gemini app
Gemini 4 Neon (frontier, newest)1,048,576 tokens (input and output)65,536 tokens by default$3.00 / $15.00Deeper analysis, complex workflows; AI Pro and Ultra in the Gemini app
Gemini 4 Argon (frontier)1,048,576 tokens (input and output)65,536 tokens by default$2.00 / $10.00 until Nov 30, 2026, then $4.00 / $20.00Hardest reasoning, long documents
Gemini 4 Hydrogen1,048,576 tokens (input and output)65,536 tokens by default$1.50 / $7.50Fast, lower-cost model adapted from Carbon
Gemini 3.8 Flash1,000,000 tokens65,536 tokens$0.75 / $3.75 until Dec 31, 2026, then $1.50 / $7.50Most intelligent Flash, balanced daily work
Gemini 3.6 Flash1,000,000 tokens65,536 tokens$0.75 / $3.75Fast, balanced daily work
Gemini 3.5 Flash-Lite1,000,000 tokens65,536 tokens$0.30 / $2.50High-volume, cost-sensitive tasks
Gemini 3.1 Pro (preview)1,000,000 tokens64,000 tokens$2.00 / $12.00 (up to 200K)Older Pro model, still available as a preview
Gemini 3.1 Flash-Lite1,000,000 tokens65,536 tokens$0.25 / $1.50Older Flash-Lite, shutdown scheduled May 7, 2027
Gemini 3 Flash (legacy preview)1,000,000 tokens65,535 tokens$0.50 / $3.00Replaced by Gemini 3.6 Flash

The key takeaway: in the API the context window is about 1M tokens across the whole lineup, so the choice between Carbon, Neon, Argon, Hydrogen, Flash, and Flash-Lite comes down to reasoning quality, speed, and cost, not how much you can fit. Gemini 3.5 Flash-Lite gives you the same 1M window at $0.30 per 1M input tokens, against $2.00 for Gemini 4 Argon. Gemini 2.5 Pro, 2.5 Flash, and 2.5 Flash-Lite are not shown: access is limited to developers who used them before and they are no longer in the Gemini app. Google deprecated Gemini 2.5 Pro and 2.5 Flash on November 2, 2026, and from December 1, 2026 their requests route to Gemini 3.8 Flash and Gemini 3.5 Flash-Lite respectively.

What Fits Inside 1 Million Tokens

One million tokens is approximately 750,000 words, which covers almost any single document you would realistically paste into a chat. As a rule of thumb, 1,000 words is about 1,333 tokens for Gemini, so the arithmetic is roughly words divided by 0.75.

Concretely, 1M tokens holds any one of these: a 1,500-page technical manual, an entire medium-sized software repository, a full novel plus its outline and notes, several years of email threads, or dozens of research papers at once. That is why long-context work, such as summarizing a whole book or reasoning across an entire codebase, became practical with the 3.x generation. The practical constraint is usually cost and latency, not the window size.

Running long Gemini sessions and losing track of what you asked last week? AI Toolbox (formerly Gemini Toolbox) adds full-text search, folders, and a context window meter to Gemini so nothing scrolls out of reach. Trusted by 40,000+ users with a 4.7/5 Chrome Web Store rating. Install AI Toolbox free ->

Max Output vs Context Window: The Difference

The context window is the total token budget for input plus output; the max output is a separate, smaller cap on how long a single response can be. Gemini 4 Neon, Argon, Carbon, and Hydrogen have a 1,048,576-token window but generate up to 65,536 tokens in one reply by default, and Gemini 3.8 Flash, 3.6 Flash, and 3.5 Flash-Lite also cap at 65,536 output tokens. The older Gemini 3.1 Pro caps at 64,000.

This distinction matters for generation-heavy tasks. If you ask Gemini to produce a very long document, a full codebase, or an exhaustive report, the max output ceiling, not the context window, is what limits the reply length. The workaround is to ask for the output in sections and stitch them together. For inputs, the 1M window is almost never the bottleneck for a single document.

Why Gemini Forgets and How to Keep Your History

Gemini forgets earlier parts of a long conversation when the total tokens exceed the context window (up to 1 million tokens, depending on your plan), and it forgets everything between separate conversations because the window resets. The model has no persistent memory of past chats beyond what you paste back in.

To keep important conversations, you need to search and export them before they scroll away. Gemini's native tools are limited here: native search returns a flat list of matching chats with no date, role, or exact-match filters, and full export means a Google Takeout bulk dump. AI Toolbox adds full-text search across every synced message with date, role, and exact-match filters, plus per-conversation export as TXT, Markdown, JSON, or PDF, and a live context window meter so you can see how full the window is. It works on the free Gemini plan. See ai-toolbox.co/gemini-toolbox.

Limitations and What Native Gemini Handles Well

Google's 1M context window is genuinely generous, and for most single-document tasks you will never hit it. Native Gemini handles pasting a long PDF, summarizing a big document, or reasoning over a large codebase without any extension. If your workflow is one long document at a time, native Gemini is enough.

One caveat for the Gemini app rather than the API: the window there depends on your plan. Google lists 32K tokens without a Google AI plan, 128K on AI Plus, and 1M on AI Pro and AI Ultra, and every chat also draws on a usage allowance that refreshes every 5 hours. Our Gemini usage limits guide covers both by plan.

The limitation is across conversations, not within them. Once a chat ends or the window fills, native Gemini gives you no fast way to find or reuse that content. Token counts are also estimates that vary with language and formatting, so treat the 0.75 tokens-per-word ratio as a guide, not a guarantee. For exact counts, use Google's tokenizer.

Frequently Asked Questions

What is Gemini's context window in 2026?

Current Gemini API models have a context window of about 1 million tokens: Gemini 4 Neon, Argon, Carbon, and Hydrogen take 1,048,576 tokens, and Gemini 3.8 Flash, 3.6 Flash, and 3.5 Flash-Lite take 1M. In the Gemini app it depends on your plan: 32K tokens without a Google AI plan, 128K on Google AI Plus, and 1M on Google AI Pro and Ultra. One million tokens is roughly 750,000 words of combined input and output. It is large enough to hold a 1,500-page book, an entire codebase, or a full novel in a single prompt.

How many words is 1 million tokens?

One million tokens is approximately 750,000 words for Gemini, using a ratio of about 0.75 words per token. The exact count varies with word length, punctuation, and special characters. Note the direction: a token is roughly three quarters of a word, so a word costs about 1.33 tokens and 1,000 words is around 1,333 tokens, not 750. Use a token counter for precise figures before pasting large inputs.

What is the maximum output length for Gemini?

Current Gemini models generate up to 65,536 tokens per response: Gemini 4 Neon, Argon, Carbon, and Hydrogen by default, and Gemini 3.8 Flash, 3.6 Flash, and 3.5 Flash-Lite as their cap. The older Gemini 3.1 Pro caps at 64,000 tokens. Max output is separate from the 1 million token context window and limits how long a single reply can be, not how much you can input. For very long outputs, request the content in sections.

Do all Gemini models have the same context window?

In the API, nearly: Gemini 4 Neon, Argon, Carbon, and Hydrogen have 1,048,576 tokens shared by input and output, and Gemini 3.8 Flash, 3.6 Flash, 3.5 Flash-Lite, and the older 3.1 Pro, 3 Flash, and 3.1 Flash-Lite all have 1M. In the Gemini app the window depends on your plan rather than the model: 32K without a plan, 128K on Google AI Plus, and 1M on Google AI Pro and Ultra. The models differ on reasoning quality, speed, max output, and price, not on how much context they can hold. Flash-Lite offers the same 1M window at the lowest API cost.

Why does Gemini forget earlier messages?

Gemini forgets earlier messages when a conversation exceeds its context window (up to 1 million tokens, depending on your plan); the oldest tokens drop out of working memory. It also resets between separate conversations. To preserve important chats, search and export them with AI Toolbox before they scroll out of the window.

How do I reduce token usage in Gemini?

Be concise in prompts, avoid repeating context, and break long tasks into separate conversations. Paste only the sections you need rather than entire documents when possible. AI Toolbox's Prompt Library lets you save optimized, reusable prompts so you spend fewer tokens re-explaining context each time.

Bottom Line

In 2026, Gemini's API context window is about 1 million tokens across the lineup, from Gemini 4 Neon, Argon, Carbon, and Hydrogen (1,048,576 tokens) to Gemini 3.8 Flash, 3.6 Flash, and 3.5 Flash-Lite (1M), roughly 750,000 words. In the Gemini app it is 32K without a plan, 128K on Google AI Plus, and 1M on Google AI Pro and Ultra. Max output is 65,536 tokens on current models. The window is large, but it is still a window: it resets between chats and drops old tokens when full. AI Toolbox adds search, folders, export, and a context window meter so your Gemini history stays reachable, free to start, $9.99/month, or $99 lifetime. From the makers of AI Toolbox (formerly ChatGPT Toolbox) (40,000+ users, 4.7/5 rating).

For related reading, see Gemini pricing plans, Gemini usage limits, Gemini vs Claude, and the token counter tool.

Install AI Toolbox from the Chrome Web Store ->

Last updated: November 19, 2026