Workload recommendation · long-context

Best models for long-context analysis

Which model can handle the longest working context? Find models for long documents, codebases, and research synthesis.

Short answer. 2 models tie for the largest listed context at 2M tokens. Other catalog-fit points order tied models, not estimated task quality.

24 shown of 370 eligible candidatesCatalog snapshot Nov 27, 2026Derived from listed data

How this shortlist is ranked

The ranking is a transparent starting point derived from the public catalog, not a live evaluation. The rules stay visible so you can disagree with the weighting.

Large listed context window. Text input and output. A useful output limit. A serving endpoint that accepts the advertised context.

  • Router availability is a separate pick and does not change the overall score.
  • Benchmark row counts are shown as evidence coverage and do not add quality points.
  • Require text input, text output, and a listed context limit. Position is ordered by the actual listed context in descending order.
  • The score adds 1 point per 100,000 context tokens, capped at 15, and 2 points for an output limit of at least 8,000 tokens.

A context limit is not a quality guarantee. Test retrieval, instruction following, and output reliability at your real context sizes.

Ranked candidates

Positions are ordered by listed context, then fit score. 2 models tie for the largest listed context at 2M tokens. Other catalog-fit points order tied models, not estimated task quality. Showing 24 of 370 eligible models.

PositionScore (points)ModelProviderRouter catalogContextInput / 1MOutput / 1MBenchmark rowsWhy includedEvidence
117.0Grok 4.20xAIUnverified2M$1.25$2.5002M-token context; 1.8M-token output limitModel record
217.0Grok 4.20 Multi-AgentxAIUnverified2M$1.25$2.5002M-token context; 1.8M-token output limitModel record
315.1Llama 4 ScoutMetaUnverified1.31M$0.10$0.3001.31M-token context; 16.38K-token output limitModel record
412.5GPT Astra LatestOpenAIUnverified1.05M$8.00$40.0001.05M-token context; 128K-token output limitModel record
512.5GPT Luna LatestOpenAIUnverified1.05M$0.10$0.5001.05M-token context; 128K-token output limitModel record
612.5GPT Sol LatestOpenAIUnverified1.05M$2.00$10.0001.05M-token context; 128K-token output limitModel record
712.5GPT Terra LatestOpenAIUnverified1.05M$1.00$5.0001.05M-token context; 128K-token output limitModel record
812.5GPT-5.4OpenAIListed1.05M$2.50$15.00351.05M-token context; 128K-token output limitModel record
912.5GPT-5.4 ProOpenAIListed1.05M$30.00$180.0001.05M-token context; 128K-token output limitModel record
1012.5GPT-5.5OpenAIListed1.05M$5.00$30.00301.05M-token context; 128K-token output limitModel record
1112.5GPT-5.5 ProOpenAIListed1.05M$30.00$180.0001.05M-token context; 128K-token output limitModel record
1212.5GPT-5.6 LunaOpenAIListed1.05M$0.20$1.2071.05M-token context; 128K-token output limitModel record
1312.5GPT-5.6 Luna ProOpenAIListed1.05M$0.20$1.2001.05M-token context; 128K-token output limitModel record
1412.5GPT-5.6 SolOpenAIListed1.05M$4.00$20.0071.05M-token context; 128K-token output limitModel record
1512.5GPT-5.6 Sol ProOpenAIListed1.05M$4.00$20.0001.05M-token context; 128K-token output limitModel record
1612.5GPT-5.6 TerraOpenAIListed1.05M$2.00$12.00211.05M-token context; 128K-token output limitModel record
1712.5GPT-5.6 Terra ProOpenAIUnverified1.05M$2.00$12.0001.05M-token context; 128K-token output limitModel record
1812.5GPT-6 AstraOpenAIUnverified1.05M$10.00$50.00211.05M-token context; 128K-token output limitModel record
1912.5GPT-6 Astra ProOpenAIUnverified1.05M$10.00$50.0001.05M-token context; 128K-token output limitModel record
2012.5GPT-6 LunaOpenAIUnverified1.05M$0.10$0.50211.05M-token context; 128K-token output limitModel record
2112.5GPT-6 Luna ProOpenAIUnverified1.05M$0.10$0.5001.05M-token context; 128K-token output limitModel record
2212.5GPT-6 SolOpenAIUnverified1.05M$2.00$10.0071.05M-token context; 128K-token output limitModel record
2312.5GPT-6 Sol ProOpenAIUnverified1.05M$2.00$10.0001.05M-token context; 128K-token output limitModel record
2412.5GPT-6.1 SolOpenAIUnverified1.05M$2.00$10.00441.05M-token context; 128K-token output limitModel record

Best for different constraints

Overall starting point

2 models tie for the largest listed context at 2M tokens. Other catalog-fit points order tied models, not estimated task quality.

Lowest listed token mix

ERNIE-5.5-Flash-Preview (free)

$0.00 for 1M input + 250K output tokens

Largest listed context

Grok 4.20

2M tokens

Router-listed option

GPT-5.4

Exact model ID appears in the public Router catalog

The lowest listed token rates are a catalog price comparison. They do not establish cost per completed task or output quality.

Run this next

Use the same long document and held-out questions at your expected context sizes. Score retrieval accuracy and output reliability at each size.

Evidence and limits

Model identity, capabilities, context, and listed rates come from the public model catalog. Benchmark rows link to the original result releases. Router availability matches the public Weave Router catalog. This page does not claim that a catalog ranking is a controlled head-to-head result.

Read the full methodology

Frequently asked questions

Which model ranks first for best models for long-context analysis?

2 models tie for the largest listed context at 2M tokens. Other catalog-fit points order tied models, not estimated task quality.

How is this workload ranking calculated?

Router availability is a separate pick and does not change the overall score. Benchmark row counts are shown as evidence coverage and do not add quality points. Require text input, text output, and a listed context limit. Position is ordered by the actual listed context in descending order. The score adds 1 point per 100,000 context tokens, capped at 15, and 2 points for an output limit of at least 8,000 tokens. Scores are fit points, not quality ratings.

Does the first result prove to be the best model for this workload?

A context limit is not a quality guarantee. Test retrieval, instruction following, and output reliability at your real context sizes.

Does Router-listed status confirm I can use the model?

It confirms only that the exact model ID appears in the public Weave Router catalog snapshot checked Nov 27, 2026. It does not establish plan, account, endpoint, or billing eligibility.