Best Open-Source LLMs for Long Documents in 2026: Gemma 4 26B A4B IT and Gemma 4 31B IT

Rankings Last updated  13 min read By Q4KM

Quick Answer

Google’s Gemma 4 26B A4B IT is the top pick as of September 2026 because it shares the newest release date among the candidates and wins the downloads tiebreak [1][2][3][5][7]. In order, the ranking is Gemma 4 26B A4B IT (Google), Gemma 4 31B IT (Google), NVIDIA-Nemotron-3-Nano-4B-BF16 (NVIDIA), Qwen3.5-0.8B (Qwen), and Qwen3.5-9B (Qwen) [1][2].

Key Takeaways

How do these local LLMs compare on memory, context length, licenses, and benchmarks?

Model Org Params Quant/VRAM Context License Key benchmark (date)
Gemma 4 26B A4B IT [3] Google [3] 25.8B [3] BF16 weights: 51.6 GB [3] 256K tokens [3] Apache-2.0 [3] no public benchmark yet (date not published) [3]
Gemma 4 31B IT [7] Google [7] 31.3B [7] BF16 weights: 62.5 GB [7] 256K tokens [7] Apache-2.0 [7] no public benchmark yet (date not published) [7]
NVIDIA-Nemotron-3-Nano-4B-BF16 [5] NVIDIA [5] 4B [5] BF16 weights: 7.9 GB [5] 256K tokens [5] nvidia-nemotron-open-model-license [5] no public benchmark yet (date not published) [5]
Qwen3.5-0.8B [1] Qwen [1] 873M [1] BF16 weights: 1.7 GB [1] 256K tokens [1] Apache-2.0 [1] no public benchmark yet (date not published) [1]
Qwen3.5-9B [2] Qwen [2] 9.7B [2] BF16 weights: 19.3 GB [2] 256K tokens [2] Apache-2.0 [2] no public benchmark yet (date not published) [2]

Which local LLMs should you consider for long documents?

1. Gemma 4 26B A4B IT

Gemma 4 26B A4B IT by Google ranks first because its March 11, 2026 release date ties with Google’s Gemma 4 31B IT, while its higher download count breaks that tie.[3][7] The ordering basis is newest release first, then downloads. Gemma 4 26B A4B IT has no public benchmark yet; its position reflects release timing and adoption, not a demonstrated lead in long-document accuracy.

The model has 25.8 billion parameters, a 256K-token context window and 51.6 GB of BF16 weights, under the Apache-2.0 license.[3] For local hardware planning, quantized weight storage would be 12.9 GB at 4-bit precision—estimated (params x 0.5 bytes), using the cited parameter count.[3] Treat that estimate as a weight-storage budget, not a complete GPU or system RAM requirement. Choose hardware with additional memory headroom and verify consumption at your intended document length before committing to a configuration.

Use Gemma as a candidate for reviewing lengthy specifications, summarizing reports or answering questions across a document. Evaluate those tasks with documents whose answers you can check. The caveat is that the advertised 256K-token capacity describes context length, not measured retrieval or reasoning accuracy across that context.[3] A purchase decision should wait for workload-specific validation.

2. Gemma 4 31B IT

Gemma 4 31B IT by Google ranks second under the ordering rule “newest release first, then downloads.”[7][3] Its Hugging Face publication date matches Google’s Gemma 4 26B A4B IT at March 11, 2026, but its 9,263,106 downloads trail that model’s 11,073,424 over the last 30 days as of September 25, 2026.[7][3] The position reflects release timing and a popularity tiebreak; it does not establish superior performance on long documents.

The model has 31.3 billion parameters, a 256K-token context window, and 62.5 GB of BF16 weights, distributed under Apache-2.0.[7] For local hardware planning, quantized weight storage would be approximately 15.65 GB at 4-bit precision—estimated (params x 0.5 bytes), using the cited 31.3-billion parameter count.[7] Treat that estimate as a weights-only budget. Neither weight figure establishes a tested GPU VRAM or system RAM requirement for running your intended document workload.

Consider Gemma for document chat and summarization when a 256K-token context window matches your input needs and Apache-2.0 suits your deployment.[7] The practical caveat is “no public benchmark yet” for this ranking: placement does not demonstrate retrieval accuracy, summary fidelity, or reliable use of the full context window. Evaluate those tasks on representative documents before choosing local hardware or committing to deployment.

3. NVIDIA-Nemotron-3-Nano-4B-BF16

NVIDIA-Nemotron-3-Nano-4B-BF16 by NVIDIA ranks third under the ordering rule: newest release first, then downloads. [5][3][7][1][2] Its first Hugging Face publication was March 7, 2026, placing it behind the Gemma releases and ahead of the Qwen releases listed here. [5][3][7][1][2] Benchmark status: no public benchmark yet. Its position therefore reflects release order, rather than demonstrated superiority at understanding long documents.

The model has 4B parameters, a 256K-token context window and 7.9 GB of BF16 weights. [5] For local hardware planning, quantized weight storage would be approximately 2 GB at 4-bit precision, estimated (params x 0.5 bytes) from its 4B parameters. [5] Treat that estimate as a starting point for a memory budget, rather than a complete GPU or system RAM requirement. Reserve additional capacity and verify your intended document length before committing to hardware.

Consider it for a local document-reading workflow where you want to evaluate a long advertised context alongside a modest weight-storage requirement. [5] Start with representative documents and check whether answers preserve details and identify the relevant passages. The caveat is unverified long-document task quality: an advertised context window does not establish retrieval or summarization accuracy. Distribution uses the NVIDIA Nemotron Open Model License (nvidia-nemotron-open-model-license); review its terms for your deployment. [5]

4. Qwen3.5-0.8B

Qwen3.5-0.8B by Qwen ranks fourth under the ordering rule: newest release first, then downloads.[1][3][5][7] Its Hugging Face publication date is February 28, 2026, placing it after the Gemma and Nemotron entries but before Qwen3.5-9B.[1][2][3][5][7] The benchmark status is “no public benchmark yet”; its position therefore reflects release order, rather than demonstrated superiority on long-document tasks. Treat it as a candidate to evaluate against your documents.

The model has 873M parameters, a 256K-token context window, and 1.7 GB of BF16 weights, with an Apache-2.0 license.[1] For local hardware planning, 4-bit weight storage is approximately 0.44 GB—estimated (params x 0.5 bytes), using the cited 873M parameters.[1] Both figures describe weights, rather than a complete hardware requirement. Verify total runtime memory at your intended document length before choosing a GPU or system RAM capacity; neither weight figure guarantees a hardware fit.

A practical use is prototyping document summarization or passage extraction when compact weight storage matters.[1] Evaluate those workflows with representative documents and answers you can check. The caveat is that the advertised 256K-token window describes capacity, not measured retrieval accuracy or summary faithfulness across that window.[1] Choose it provisionally for the footprint, then let task-level checks determine whether it meets your requirements.

5. Qwen3.5-9B

Qwen3.5-9B by Qwen ranks fifth because its first Hugging Face publication date, February 27, 2026, precedes the other ranked releases.[1][2][3][5][7] The ordering is newest release first, then downloads; it does not establish a document-quality advantage. Benchmark status: no public benchmark yet. Its 9,781,405 downloads over the preceding 30 days, recorded September 25, 2026, do not override that release ordering.[2]

Qwen3.5-9B has 9.7 billion parameters, a 256K-token context window, and 19.3 GB of BF16 weights under the Apache-2.0 license.[2] For local hardware planning, quantized weight storage is approximately 4.85 GB at 4-bit precision, estimated (params x 0.5 bytes) from the cited parameter count.[2] Use those weight sizes as starting points when budgeting system RAM or GPU VRAM. Neither figure establishes the memory needed for a complete running configuration, so neither justifies a specific GPU recommendation.

Consider Qwen3.5-9B for a local trial involving document summaries, cross-section questions, or extraction, especially when Apache-2.0 licensing suits your deployment.[2] Evaluate those tasks against documents with known answers before adopting it. The caveat is that its advertised 256K-token context window is a capacity specification, not a demonstrated long-document accuracy result.[2]

How can you estimate memory requirements for running long-document LLMs locally?

Estimate local memory requirements by starting with the model’s weight size, then budgeting for the key-value cache and runtime overhead at your intended document length. Treat the weight estimate as a starting point for testing, rather than a complete GPU or system RAM requirement.

Qwen’s Qwen3.5-0.8B has 1.7 GB of BF16 weights [1], while Qwen’s Qwen3.5-9B has 19.3 GB [2]. Google’s Gemma 4 26B A4B instruction-tuned model (google/gemma-4-26B-A4B-it) has 51.6 GB of BF16 weights [3]. Use those sizes as the weight component when planning a deployment in that format.

For a hypothetical 4-bit deployment, Google’s model would need approximately 12.9 GB for weights alone, estimated (params x 0.5 bytes) from its 25.8B parameters [3]. Qwen3.5-9B would need approximately 4.85 GB, estimated (params x 0.5 bytes) from its 9.7B parameters [2]. Keep those calculations separate from measured memory use; neither establishes that a particular GPU can run the workload.

Use the advertised 256K-token context window as a document-length ceiling for Qwen3.5-9B [2], not a memory measurement. Test your intended runtime with representative documents and the output length you expect. Record peak memory during document ingestion and generation, and repeat with your intended concurrency. Base hardware selection on that measured workload, with an explicit allowance for headroom.

What benchmark evidence is available for these models?

The benchmark status is “no public benchmark yet” for Qwen’s Qwen3.5-0.8B [1] and Qwen3.5-9B [2], Google’s gemma-4-26B-A4B-it [3] and gemma-4-31B-it [7], and NVIDIA’s NVIDIA-Nemotron-3-Nano-4B-BF16 [5]: no public leaderboard scores these candidates against one another.

Google published the Gemma 4 Technical Report on July 2, 2026 [4]. NVIDIA’s Nemotron Elastic: Towards Efficient Many-in-One Reasoning LLMs is dated November 20, 2025 [6]. Those publication dates provide context, but do not establish a comparative result for document summarization, retrieval or question answering. Model-card benchmark results must be labeled “self-reported”; no such task scores are available for this comparison.

Every candidate lists a context length of 256K tokens [1][2][3][5][7]. A context specification alone does not establish answer accuracy across a long document, so the advertised window cannot determine a benchmark winner.

The ranking basis is “newest release first, then downloads.” [1][2][3][5][7] Google’s gemma-4-26B-A4B-it takes first place because it shares the newest release date with gemma-4-31B-it and has more downloads, resolving the release-date tie [3][7]. The ordering therefore reflects release recency and a popularity tiebreak, rather than demonstrated long-document performance.

The ranking admits only general chat LLMs shipping a chat template, tagged text-generation or image-text-to-text, from labs with a published paper or leaderboard record, or other publishers exceeding 10,000 monthly downloads [1][2][3][5][7]; any-to-any generators, vision-first models, OCR, grounding, driving and other specialists are excluded.

Which licenses apply to these open-weight LLMs?

Apache-2.0 applies to Google’s Gemma 4 26B A4B IT [3] and Gemma 4 31B IT [7], plus Qwen’s Qwen3.5-0.8B [1] and Qwen3.5-9B [2]; NVIDIA’s NVIDIA-Nemotron-3-Nano-4B-BF16 uses the nvidia-nemotron-open-model-license [5].

The Google and Qwen candidates therefore share a license label across the listed repositories [1][2][3][7]. When documenting a deployment, record the exact repository and its license together. Keep that record attached to the model you actually download, rather than using a general entry for the publisher or model family.

The NVIDIA candidate needs a separate license entry: nvidia-nemotron-open-model-license [5]. Avoid copying the Apache-2.0 designation from another candidate into a shared deployment checklist. Treat the named NVIDIA license as a separate review item when deciding how you will use or distribute the model.

For an engineering handoff, include the model identifier, the applicable license text and your intended use. Check the license terms against your plans for internal deployment, modification or redistribution. Use “open-weight” as a description of model availability, rather than as a substitute for recording and reviewing the applicable license.

Frequently Asked Questions

Which models should I shortlist for long documents?

The order is Google’s google/gemma-4-26B-A4B-it [3], Google’s google/gemma-4-31B-it [7], NVIDIA’s NVIDIA-Nemotron-3-Nano-4B-BF16 (NVIDIA) [5], Qwen’s Qwen3.5-0.8B (Qwen) [1], and Qwen’s Qwen3.5-9B (Qwen) [2]. Ranking note: newest release first, then downloads; no public benchmark scores any candidate. Google’s google/gemma-4-26B-A4B-it takes first place because the Google releases share a publication date and it has more downloads.[3][7] No established-pick exemptions are used.

Which kinds of models qualify for this ranking?

The ranking admits only general chat LLMs that ship a chat template from labs with a published paper or leaderboard record, or other publishers above 10,000 downloads in the last 30 days, using Hugging Face pipeline tags text-generation or image-text-to-text; excluded categories are any-to-any generators, vision-first models, OCR, grounding, driving, and other specialists.[1][2][3][5][7]

Does a long context window mean a model understands long documents well?

All ranked candidates list a context length of 256K tokens.[1][2][3][5][7] Context capacity alone does not establish document comprehension or retrieval quality. Each candidate has no public benchmark yet under the ranking’s benchmark rule. The ordering therefore cannot establish a winner for summarization, cross-document comparison, or finding details in a long document.

How much memory should I budget for local inference?

Google’s google/gemma-4-26B-A4B-it has 25.8B parameters and 51.6 GB of BF16 weights; its 4-bit weight memory is 12.9 GB, estimated (params x 0.5 bytes).[3] NVIDIA’s NVIDIA-Nemotron-3-Nano-4B-BF16 (NVIDIA) has 4B parameters and 7.9 GB of BF16 weights; its 4-bit weight memory is 2 GB, estimated (params x 0.5 bytes).[5] Treat those calculations as weight-only estimates, not verified GPU or system RAM requirements.

Which options have smaller weight files?

Qwen’s Qwen3.5-0.8B (Qwen) has 873M parameters and 1.7 GB of BF16 weights.[1] NVIDIA’s NVIDIA-Nemotron-3-Nano-4B-BF16 (NVIDIA) has 4B parameters and 7.9 GB of BF16 weights.[5] Qwen’s Qwen3.5-9B (Qwen) has 9.7B parameters and 19.3 GB of BF16 weights.[2] All offer a listed 256K-token context window.[1][2][5] Those specifications let you compare weight storage, but do not establish comparative document quality.

Are all the ranked models under the same open-source license?

The licenses differ. Google’s google/gemma-4-26B-A4B-it and google/gemma-4-31B-it use Apache-2.0.[3][7] Qwen’s Qwen3.5-0.8B (Qwen) and Qwen3.5-9B (Qwen) also use Apache-2.0.[1][2] NVIDIA’s NVIDIA-Nemotron-3-Nano-4B-BF16 (NVIDIA) uses the nvidia-nemotron-open-model-license.[5] For deployment planning, record the exact license alongside your selected model and review its terms for your intended use rather than assuming every downloadable model carries identical permissions.

Sources

  1. Qwen/Qwen3.5-0.8B model card (Hugging Face) — 2026-09-25 · Qwen3.5-0.8B on Q4KM
  2. Qwen/Qwen3.5-9B model card (Hugging Face) — 2026-09-25 · Qwen3.5-9B on Q4KM
  3. google/gemma-4-26B-A4B-it model card (Hugging Face) — 2026-09-25
  4. Gemma 4 Technical Report — 2026-07-02
  5. nvidia/NVIDIA-Nemotron-3-Nano-4B-BF16 model card (Hugging Face) — 2026-09-25
  6. Nemotron Elastic: Towards Efficient Many-in-One Reasoning LLMs — 2025-11-20
  7. google/gemma-4-31B-it model card (Hugging Face) — 2026-09-25
  8. meta-llama/Llama-3.2-11B-Vision-Instruct model card (Hugging Face) — 2024-09-18 · Llama-3.2-11B-Vision-Instruct on Q4KM
  9. moonshotai/Kimi-K2.6 model card (Hugging Face) — 2026-04-14 · Kimi-K2.6 on Q4KM

Get these models on a hard drive

Skip the downloads. Browse our catalog of 985+ commercially-licensed AI models, available pre-loaded on high-speed drives.

Browse Model Catalog