Large Language Models

LLM Context Window Comparison: Token Limits, Free Models, and Pricing

A side-by-side look at how many tokens today's language models can hold, from 4K legacy models to 10M advertised windows. See which models are free, how recall drops on long inputs, and what one full window costs.

LLM Context Window Comparison: Token Limits, Free Models, and Pricing
Cristian Da Conceicao

You paste a 300-page contract into a chatbot, ask about clause 4, and get a confident answer that quietly ignores clause 40. Or you wire a model into an agent loop, forget that every step re-sends the whole conversation, and the invoice arrives ten times larger than planned. Both problems trace back to one number: the context window.

This LLM context window comparison lines up token limits, free models, and real pricing so you can pick a model by what it can hold and what that costs, not by the biggest number on a launch page. The figures below come from third-party comparison tables published through 2026, and those tables disagree with each other in places. Treat every number as a close estimate and check the model page before you build anything expensive.

Developer hands typing beside a stack of printed source code pages

What a Context Window Really Is

A context window is the total amount of text a model can look at in a single request. It includes your instructions, the documents you paste, the chat history, and the answer the model is writing. When the total passes the limit, something has to give: the request fails, or older content gets dropped.

Tokens Versus Words

Models do not read words. They read tokens, which are chunks of characters. In English, one token averages roughly three quarters of a word, so the rule of thumb is simple:

TokensApproximate wordsApproximate pages
4,0003,0006
128,00096,000190
200,000150,000300
1,000,000750,0001,500
10,000,0007,500,00015,000

Code, other languages, and heavy punctuation use more tokens per word. A Python file can burn through its window noticeably faster than a novel of the same length.

Input, Output, and Shared Memory

The window is shared between input and output. If a model has a 200K window and you send 195K tokens, you have only about 5K tokens left for the reply. Many providers also set a separate maximum output that is far smaller than the window itself. A model can read a million tokens and still be capped at writing a few tens of thousands.

๐Ÿ’ก Quick check: when a spec sheet says "1M context," look for a second number labeled max output. That second number decides whether you can ask for a full report or only a summary.

The Context Window Comparison Table

Here is where the models stand, using the figures most often repeated across 2026 comparisons. Each PicassoIA model name links to its page so you can confirm the current limit.

ModelAdvertised windowWorth knowing
Llama 4 Scout InstructAbout 10M tokensLargest advertised window, usable range is much smaller
Llama 4 Maverick InstructAbout 1M tokensOpen weights, general chat and drafting
Claude Sonnet 5About 1M tokensNo long-context surcharge reported
GPT 5.4About 1M tokensStrong on writing, code, and reasoning
Qwen3.7 PlusAbout 1M tokensTiered pricing reported on long inputs
Gemini 3.1 Pro1M to 2M tokensSources disagree, check the model page
GPT 4.1 MiniAbout 1M tokensCheap way to test long inputs
Kimi K2.6About 262K tokensAgent and coding focus
DeepSeek V3About 128K tokensLong-time budget favorite
GPT 4o MiniAbout 128K tokensFast and inexpensive
Granite 8B Code Instruct 128K128K tokensFree code model, window is in the name
Granite 20B Code Instruct 8K8K tokensShort window, built for snippets
Llama 2 7B4K tokensOlder generation, short conversations only

Outside that list, comparisons in 2026 also place DeepSeek V4, GLM-5.2, and Grok 4.1 Fast in the one to two million token range, with Grok 4.1 Fast usually named as the largest of the three. They are mentioned here for context only, so check each provider for current limits.

Wide archive aisle with shelves of document boxes receding into the distance

Frontier Models at One Million

The most important shift this year is that one million tokens stopped being special. One June 2026 comparison counted thirteen models shipping windows of 1M or more. That means a whole codebase, a long legal file, or several research papers can fit in one prompt on several families at once, including Claude Sonnet 5, GPT 5.4, and Qwen3.7 Plus.

When most flagships sit at the same size, the window stops being the differentiator. Price, speed, and how well the model actually uses the text decide the winner.

Where Llama 4 Scout Stands

Llama 4 Scout Instruct holds the record for the biggest advertised window at 10 million tokens. The catch is practical. Third-party notes say running that length needs a serious GPU cluster, and the range people actually use falls somewhere between roughly 1.4 million and 6.5 million tokens depending on who you ask. It also ships under the Llama Community License, which is more restrictive than a standard permissive license.

Its sibling, Llama 4 Maverick Instruct, keeps a 1M window and is the easier everyday pick.

Advertised Versus Usable Context

A model that accepts a million tokens is not the same as a model that reasons well over a million tokens. This gap is the most common source of disappointment.

Woman in a cream blouse reviewing a printed contract with a pen

Recall Drops With Length

Benchmarks built on the RULER test suggest many models reliably use only about 50 to 65 percent of their advertised window. Past that point, answers get vaguer, details from the middle of a long prompt go missing, and the model starts leaning on the first and last few thousand tokens.

Two patterns show up again and again:

  • Lost in the middle: facts placed in the center of a long input are recalled worse than facts at the start or end.
  • Distractor sensitivity: a long prompt full of similar-looking passages confuses retrieval more than a long prompt of unrelated ones.

Tests You Can Run Yourself

You do not need a research lab to check this. Try a simple needle test:

  1. Take a long document you know well, 100K tokens or more.
  2. Insert one odd, specific sentence at roughly 25, 50, and 75 percent of the way through, in separate runs.
  3. Ask the model a question only that sentence can answer.
  4. Repeat on two or three models and note where each one starts to miss.

If a model nails the needle at the start and fails at the middle, you have found its usable window for your kind of content, and that number matters more than the one in the marketing.

๐Ÿ’ก Tip: put your instructions at the end of a long prompt, right after the documents. Models weigh the last tokens heavily, so a question placed there is more likely to be followed.

Free Models and Their Limits

"Free" means three different things in LLM land, and mixing them up leads to wrong decisions.

Student at a cafe window table working on a laptop with a coffee

Open Weights, Free Tiers, Free Trials

Type of freeWhat you getTypical catch
Open weightsDownload and run it yourselfYou pay for the hardware, long windows need lots of memory
Free tierA small daily or monthly allowance in a chat app or APILower limits, slower queues, shorter windows than the paid plan
Free trial or creditsFull access for a short periodExpires, and long prompts burn credits quickly

The memory point is easy to miss. A model's window is not free to run: the KV cache that stores attention for every token grows with context length. A small model with a huge window can still need far more memory than its parameter count suggests.

Small Models With Long Windows

If you want free and long, the pickings are good in the code and small-model range:

At the other end, Llama 2 7B and Mistral 7B v0.1 are older, short-window models. They are fine for short questions and quick drafts, but a long PDF will not fit.

Software engineer at a standing desk in a loft office with two monitors

The Real Cost of Long Prompts

The sticker price per million tokens is only half the story. What you pay depends on how often you fill the window.

Pricing Math for One Request

Providers bill input tokens and output tokens separately, and output usually costs several times more per token than input. A simple formula covers the input side:

cost = (tokens sent รท 1,000,000) ร— price per million input tokens

Here is an illustration with three example price points, not any specific model's rate:

Input price per 1MOne full 1M promptTen calls at 500K each
$1$1.00$5.00
$3$3.00$15.00
$10$10.00$50.00

The right column is where budgets break. An agent that re-sends a 500K conversation on every step pays for those same tokens again each time. Many providers offer discounted rates for cached input, so repeated prefixes cost a fraction of the first send. If your product reuses the same long document, caching is the first thing to check.

Macro shot of a fountain pen over a ledger page with handwritten numbers and coins

Surcharges and Tiers

Long-context pricing is no longer uniform. According to one 2026 comparison, Anthropic dropped the surcharge that earlier Claude generations applied above 200K tokens, when input was billed at twice the normal rate. The same source says Google, MiniMax, and Alibaba still use tiered pricing, where the per-token rate rises once a prompt passes a threshold.

That makes the cheap model on paper a poor choice at scale. Before committing, ask:

  • Does the price per token change above a certain prompt size?
  • Is there a discount for cached or repeated input?
  • Is there a separate output cap that forces multiple calls?
  • Does the provider charge extra for "thinking" tokens on reasoning models?

๐Ÿ’ก Rule of thumb: the cheapest way to process a long document is rarely the biggest model. A small, inexpensive model with a 1M window can summarize or extract at a fraction of the cost, and you only call the larger model for the hard questions.

Picking a Window by Task

Bigger is not better. A larger window is slower, costs more, and gives you more room for the model to get distracted. Match the window to the job.

Small team gathered around a sunlit meeting table with laptops and printed pages

Code, Contracts, Research, Chat

TaskWindow you needGood starting points
Short chat and drafting8K to 32KLlama 2 7B, GPT 4o Mini
Single file code review32K to 128KGranite 8B Code Instruct 128K, DeepSeek V3
Reasoning over a long report128K to 500KDeepSeek R1, Kimi K2.6
Whole repository or legal file500K to 1MClaude Sonnet 5, GPT 5.4, Gemini 3.1 Pro
Archive-scale search1M and aboveLlama 4 Scout Instruct

A few practical habits save money and improve answers regardless of which model you pick:

  • Trim before you paste. Remove boilerplate, repeated headers, and unrelated sections.
  • Use retrieval for huge corpora. If you have thousands of documents, fetching the best 20 passages usually beats stuffing everything in.
  • Summarize long chats. Replace the first 80 percent of a long conversation with a short summary and keep the last few turns verbatim.
  • Keep a test prompt. Re-run the same long input whenever a new model appears, so you compare on your content instead of on benchmarks.

Person at a balcony desk at dusk with a laptop and notebook

Test Models Side by Side on PicassoIA

The quickest way to settle a window debate is to run your own document through two or three models and compare the answers. PicassoIA puts many of the models above in one place, so you do not need a separate account for each provider.

A simple workflow:

  1. Open the large language models collection and pick one long-window model, one budget model, and one free model. For example, Claude Sonnet 5, GPT 4.1 Mini, and Granite 4.1 8B.
  2. Paste the same long document and the same question into each, with the question placed at the end.
  3. Note which answers cite details from the middle of the text and which only echo the opening paragraphs.
  4. Compare speed and answer quality, then check each model page for its current limits before you scale up.

For faster everyday replies, Gemini 3.5 Flash and GPT 5.6 Luna are worth a run. For harder reasoning and coding tasks, try GPT 5.6 Sol, Claude Fable 5, or Claude Opus 4.7.

๐Ÿ’ก Pro move: run a cheap model first to extract the relevant sections, then send only those sections to a stronger model. You keep the quality and cut the token bill.

Try These Models Yourself

Spec sheets can tell you how many tokens a model accepts. Only your own documents can tell you how many it handles well. Pick a long file you actually work with, run the needle test, and compare two or three models side by side on PicassoIA.

Start with a free model like Granite 4.0 H Small, step up to Claude Sonnet 5 or GPT 5.4 for the long prompts, and keep notes on where each one starts to slip. Then browse everything else at picassoia.com/en/all-models, including image, video, and audio models to turn your results into visuals once the text is done. Run a few experiments this week and you will know which window size is worth paying for.

Share this article

Choose your language

FreeCreate AI Images and VideosFree, No Credit CardFree Generations to StartSeedance 2.5 Lite IncludedStart Free Now