Skip to content
AI & Automation

Gemini 4 Neon context window: 1,048,576 tokens, 65K output

Dec 2, 2026

The answer: Neon's window and output limits

Context window: 1,048,576 tokens according to Google AI Studio (2026), and input, thinking and output tokens all draw from that one budget. A normal call returns up to 65,536 output tokens, and long decode can raise that ceiling to the window minus your input, but only when you set max_output_tokens above 65,536 and run the job in the background or through SDK continuation. Google's Gemini API model page lists no knowledge cutoff for Neon, while Google DeepMind's model card gives March 2026.

The buying question is less about the headline window than about the answer path. A job that fits in one request and needs a short reply runs on the default cap. A job that needs a long report needs a different setup, and that setup is where most of the cost and review work sits.

A context window is the total number of tokens a model can hold in one request, counting what you send, what it reasons through and what it writes.

TL;DR: the window is large, the default answer is capped, and long decode is a settings and workflow decision rather than a switch you flip.

Key Takeaways

  • The window is one shared budget. A long input leaves less room for a long answer, and thinking tokens use the same space.

  • Long decode is opt-in. You must raise max_output_tokens above the default and use a background run or SDK continuation.

  • Google splits long answers into hops, and each hop re-sends earlier text as input, so the billed input total runs far above the real context.

  • Google's Gemini API model page lists no knowledge cutoff for Neon, but Google DeepMind's model card states March 2026.

  • Antigravity's stated window is smaller than the API window, so inputs above that ceiling belong on the API path.

  • None of the sources checked for this article tests answer quality across the full window, so run your own documents before you switch.

How we evaluated these limits

This section sets out the weighted criteria behind the comparison. The weights are our analysis for a B2B buyer deciding this month. They are not Google's figures, and they cover only the limits this article answers: how large an input can be, how long an answer can run, what setup that needs, and what Google does not publish.

CriterionWeightNeon figureWhy it matters to a buyer
Input room in one request25%1,048,576 tokens, sharedSets how much source material fits before any answer is written
Answer length in a normal call20%65,536 tokensSets the default ceiling for a single response
Answer length with long decode20%Window minus inputDecides whether a long report is possible at all
Input types accepted15%Text, image, video, audio, PDFDecides whether recordings or scanned PDFs can go in unconverted
Setup effort10%Settings plus background or SDK pathDecides how much engineering the team must own
Cutoff disclosure10%March 2026 on the model card; not on the Gemini API pageDecides how much the team must verify recent facts itself

The weights total 100%. A team whose answers stay under the default cap can give the long-decode row little weight, and a team that never sends long documents can give the input row less. The figures in the table come from the sources cited in the sections that follow.

The limits in one table

LimitValueWhere Google states it
Context window (input + thinking + output)1,048,576 tokensGemini API, Google Cloud
Output per normal call65,536 tokensGemini API, Google Cloud
Output with long decodeUp to 1,048,576 minus input tokensGemini API, Google Cloud
Tokens per long-decode hop65,536 (Neon) / 32,768 non-streaming (Carbon)Gemini API
Longest background run24 hoursGemini API
Window inside AntigravityUp to 512K tokensAntigravity
Knowledge cutoffMarch 2026; not on the Gemini API pageGoogle DeepMind model card, Gemini API

The window, the default cap, the hop sizes and the background run length come from Google's long-decode guide and model page, both linked in the opening section. The guide states that the 1M-token window is shared across input, thinking and output, which is the first row of the table. Neon accepts text, image, video, audio and PDF input and returns text only. Image generation, audio generation and the Live API are not supported. Thinking tokens sit inside the same budget and bill at the output rate, which the pricing section below covers.

Long decode, hop by hop

Long decode is Google's name for an answer that runs past the default cap. Google's documentation describes generation as a series of sequential hops, where the server continues from the point the last hop stopped. A single foreground segment generates up to 65,536 tokens, and long decodes extend output up to 1,048,576 tokens minus your input tokens.

The billing side is where teams get surprised. Each hop re-sends the prompt and the earlier hops as input, so the total input counter climbs even though the real context does not. Google's example uses a 1,000-token prompt and 200,000 tokens of thinking and output, split across four hops of up to 64K each.

HopWhat is sentInput tokens
1Prompt1,000
2Prompt + hop 166,536
3Prompt + hops 1 and 2132,072
4Prompt + hops 1 to 3197,608
TotalSum of input tokens across hops397,216

Google's example totals 397,216 input tokens, while the real context is about 201,000, because only the prompt and the answer are unique content. The long-decode guide cited in the opening section says repeated hop inputs are discounted 95% by implicit caching, and it warns against using the total to judge context size. Treat the total as a billing counter, not a memory measure. Background runs can last up to 24 hours, which suits a report queue but not a live chat.

How the limits line up against rivals

Anthropic's models overview lists a 1M-token context window and a 128K max output for Claude Opus 5.5 and Claude Fable 5.2, according to Anthropic (2026). The same page says Opus 5.5 supports up to 300K output tokens on the Message Batches API with a beta header, and it does not list Fable 5.2 in that note. OpenAI's model page for GPT-6.2 Sol lists a 1,050,000-token context window and 128,000 max output tokens, according to OpenAI (2026).

ModelContext windowMax outputLong-output path
Gemini 4 Neon1,048,57665,536 default; up to 1,048,576 minus inputLong decode with background run or SDK continuation
Claude Opus 5.51M tokens128K tokensMessage Batches API: up to 300K output with beta header
Claude Fable 5.21M tokens128K tokensNot listed for Batches in Anthropic's note
GPT-6.2 Sol1,050,000128,000Not checked for this article

Anthropic writes its window as 1M, while Google writes 1,048,576. The gap is 48,576 tokens, so compare the two as written rather than as identical numbers. Read the table as limits only. A bigger ceiling does not show answer quality, and none of the sources used here compares answer quality across a full window.

Antigravity is the other constraint to check. Antigravity ceiling: 512K tokens according to Google AI Developers Forum (2026), which is smaller than the API window. A job that needs more input than that belongs on the API path. For teams comparing other long-output options, see the GPT-5.6 Sol alternatives guide.

Knowledge cutoff: what is published and what is not

Google's Gemini API model page for Neon has no knowledge cutoff row. Neon's knowledge cutoff is March 2026, according to Google DeepMind (2026), and the same model card says knowledge in some domains may be less up to date.

In practice, anything after a model's cutoff is unknown to it. Google's model page lists Google Search grounding among supported tools, so a job that needs current facts should use grounding and keep the retrieved sources with the output, rather than rely on the model's memory.

Worked example: 600,000 tokens in, 300,000 out

Assumption: one job sends 600,000 input tokens and needs a 300,000-token answer. The window check comes first: 600,000 + 300,000 = 900,000, which is under 1,048,576, leaving 148,576 tokens for thinking. The output cap for this input is 1,048,576 − 600,000 = 448,576 tokens, thinking included, so a 300,000-token answer fits. Hops are next: 300,000 ÷ 65,536 = 4.58, so the answer alone needs five hops, four full hops and one of 37,856 tokens (300,000 − 4 × 65,536 = 37,856). A single default call stops at 65,536, so the job needs max_output_tokens set above that cap and a background run or SDK continuation. The cost at the standard rates cited in the pricing section is 0.6M input × $3.00 = $1.80 and 0.3M output × $15.00 = $4.50, or $6.30 before the repeated hop inputs that Google counts in its billed total. This article does not price those repeats, because Google gives no per-request dollar total. The same job in Antigravity would not fit, because 600,000 tokens is above the 512K ceiling.

Pricing check for a long run

Standard input: $3.00 per 1M tokens according to Google AI Studio (2026), with output at $15.00 per 1M tokens. The same pricing page shows thinking tokens billed at that output rate. It lists the batch and flex rates at $1.50 input and $7.50 output, and the priority rates at $5.40 input and $27.00 output, with cached input at $0.15 on standard. Neon has no long-context price tier, so the rate stays flat across the window, and Neon is not available on the free tier. Pricing checked December 2, 2026.

Where long-output jobs break: a proposed workflow

US Tech Automations can configure a proposed workflow for this case. It is a design to review, not a live deployment or a measured result. The trigger is a new research or support request that attaches source files above a size threshold your team sets. The action estimates the input tokens before the call, compares the estimate with the window Google publishes, and then sets max_output_tokens and chooses the background path when the expected answer runs past the default cap. The output is a draft stored on the ticket, not a message sent to a customer. Prerequisites are API access from a paid Gemini API project, an export of the source files in a format the API accepts, and a logging field for the hop count and the finish state. Human review points are a reviewer who approves any answer that needed continuation, and a reviewer who checks any answer whose input sits close to the window limit before the draft is used.

A second proposed rule routes by input size. Anything above Antigravity's stated ceiling goes to the API path, and anything that needs long decode goes to a background queue with a retry and an error branch. The workflow would write each run's input tokens, hop count and finish state to the ticket, so an operations lead can audit cost and answer length later. The prerequisite is a way to read the usage fields your API client returns, plus a named owner for the review queue.

Zapier, Make and n8n can run a chain like this too. When configured, they can keep run histories, support retries and error branches, and export logs for audit. The buyer still designs and owns idempotency, escalation paths, access controls, and the maintenance needed when a model ID or limit changes. A proposed US Tech Automations design would configure those same pieces as part of the build, with your team approving the escalation rules before go-live.

Vendor profiles: where each limit fits

Gemini 4 Neon

Best fit is a team that already runs jobs through the Gemini API, has an engineer who can set max_output_tokens, and needs long document input with long answers. The limits are text-only output, no image or audio generation, no Live API, and implicit caching only. Implementation means using the paid tier, setting max_output_tokens, choosing background or SDK continuation for long answers, and logging the usage fields. For speed, Artificial Analysis times Neon at 23.4 minutes per Intelligence Index task at xhigh effort, according to Artificial Analysis (2026), and says Google has not disclosed the model size or parameter count.

Claude Opus 5.5

Best fit is a team already building on Anthropic's API that wants a larger single answer than Neon's default cap and can use the Message Batches path for the longest outputs. The synchronous limit is the 128K ceiling in Anthropic's table, and the 300K batch figure needs the beta header noted above. Implementation uses the model ID claude-opus-5-5. The limit figures are Anthropic's own claims on its overview page.

GPT-6.2 Sol

Best fit is a team on OpenAI's API that wants a 1,050,000-token window and a 128,000 max output without a Google dependency. This article did not check Sol's continuation options or its input types beyond what the cited model page shows, so confirm those before you commit. The window and output figures are OpenAI's own claims on its model page.

Who this is for

This is for an operations or engineering lead at a small B2B software company who must decide, this month, whether a long-document or long-answer job can move to Neon. It fits a team whose sources are documents, recordings or PDFs and whose outputs are long reports or analyses. It does not fit a team whose answers are short replies, because the default cap already covers them. If your long outputs feed public content, how SaaS companies get cited in Google AI Overviews is the next question to answer, along with a look at Google AI Overview visibility tools.

Red flags: nobody on the team can set max_output_tokens and watch background runs; the output must include images or audio; or the answers stay under the default cap, so long decode adds cost and review work without a benefit.

Common mistakes

  • Treating 1,048,576 as the answer size. A large input shrinks the room for the answer, and thinking uses the same budget.

  • Leaving max_output_tokens at the default and expecting a long answer.

  • Reading the billed input total as the context size. Google warns against that.

  • Assuming Antigravity has the same window as the API.

  • Assuming the Gemini API page gives a knowledge cutoff date.

  • Citing a vendor benchmark as proof of long-document quality.

When NOT to use US Tech Automations

A simpler existing tool wins in three cases. If your answers are short replies, the default cap covers them, and a chat product or a plain API call from your current stack is enough, so a workflow adds nothing. If your team already runs long jobs through a template tool with retries and logs in place, keep that tool and change only the model. If you only need grounded facts for a single answer, a built-in grounded call is simpler than a multi-step design, and US Tech Automations would add review steps you do not need.

Where the sources disagree

Google's two model pages do not headline the same maximum-output figure. The Google Cloud page lists the full window as maximum output and then limits a foreground segment, while the Gemini API page headlines the default and the long-decode ceiling. Both are Google's own statements, and this article reports both.

The second disagreement is about Antigravity. Google states a window of up to 512K tokens, according to Google AI Developers Forum (2026). In the same launch thread, one user reported long chats cut to about 100K after the same chats had run to 511K with full thinking earlier. A reply in that thread said normal thinking behavior had returned on November 19 and listed early context cutoff among issues to report if they persisted, and the user wrote on November 22 that it was fixed.

Questions buyers ask about Neon's limits

How big is Gemini 4 Neon's context window?

It is one shared budget of 1,048,576 tokens for input, thinking and output, so a large input leaves less room for the answer.

Can Neon return a 100,000-token answer in one normal call?

No. A normal call stops at the 65,536-token default, so a longer answer needs long decode with max_output_tokens set above that cap, plus a background run or SDK continuation.

What is long decode?

Long decode is Google's name for splitting a very long answer into sequential hops that continue where the last hop stopped.

Does Neon have a knowledge cutoff?

Yes. Google DeepMind's model card states March 2026 and notes that some domains may be less up to date, although Google's Gemini API model page lists no cutoff.

Is Antigravity's window the same as the API's?

No. Antigravity states up to 512K tokens, which is smaller than the API window, so route larger inputs to the API.

Does a longer answer cost more?

Yes. Output and thinking tokens bill at the output rate, and each hop re-sends earlier text as input that Google counts in its billed total.

Should a team switch a job to Neon this month?

Switch one job that already needs long answers, and check its output against your own documents before you move more work.

Decide this month

For most small B2B teams, the decision this month is narrow. Move one long-answer job to Neon only if the source fits in one request, an engineer can set max_output_tokens and run the background path, and someone checks the first outputs against your own documents. Google's model card gives a March 2026 cutoff that its Gemini API page does not list, and no source used here tests answer quality across the full window, so that check falls to your team. For a configured version of the review step, see how US Tech Automations configures this.

About the Author

Garrett Mullins
Garrett Mullins
Workflow Specialist

Helping businesses leverage automation for operational efficiency.