H2O.ai released H2O-Lightning-31B on 2026-10-20. It is a 31B decision model built on Google Gemma 4 31B IT that answers typed questions about a record, such as a document, ticket, policy or attached image, and returns a probability for each option in one forward pass. It handles choice, yes/no and score questions with a 131,072-token context and multimodal input. The weights are open under the H2O Model Non-Commercial Licence v1.1, which does not permit commercial or production use.
A workable 31.27B-parameter dense decision model from H2O.ai. Treat the modality benchmarks above as the leading indicator of fit — composite scoring across modalities is still maturing. Newly released, so production-readiness is still being shaken out.
Generated from this model’s benchmarks and ranking signals. Editor reviews refine it over time.
Access model weights, configuration files, and documentation.
The top devices for this model at 4-bit, ranked by fit and speed.
| Device | Grade | VRAM |
|---|---|---|
| Acer Veriton GN100 AI MiniAcer | SS | 51.4 GB |
| AI TOP ATOM ATAGB10-9003Gigabyte | SS | 51.4 GB |
| AMD Instinct MI300XAMD | SS | 51.4 GB |
| AMD Instinct MI325XAMD | SS | 51.4 GB |
| AMD Instinct MI355XAMD | SS | 51.4 GB |
Cheapest current cloud rentals with at least 51 GB VRAM, refreshed hourly.
Advertising disclosure: we earn commissions when you shop through the links below.
| Option | Cost / GPU-hour |
|---|---|
NVIDIA A100 80GB SXMVast.ai · Spot · 80 GB VRAM | $0.37 |
NVIDIA A100 80GB PCIeVast.ai · Spot · 80 GB VRAM | $0.40 |
NVIDIA A100 80GB PCIeVast.ai · On-Demand · 80 GB VRAM | $0.40 |
NVIDIA A100 80GB SXMVast.ai · On-Demand · 80 GB VRAM | $0.44 |
NVIDIA H100 PCIeVast.ai · Spot · 80 GB VRAM | $0.63 |
Per-GPU rate across RunPod, the Vast.ai marketplace, DigitalOcean, and Vultr.
Spot tier is interruptible. Plan for restarts when comparing against on-demand prices.
H2O-Lightning-31B is a 31.27B parameter dense decision model released by H2O.ai on October 20, 2026. Built on top of Google Gemma 4 31B IT, the system is engineered specifically for deterministic classification and scoring workloads rather than standard conversational generation. Instead of outputting multi-token chain-of-thought text to justify a decision, it processes an input record (such as a legal contract, ticket, customer conversation, or policy document) against discrete question rubrics and returns calibrated probabilities for each candidate option in a single forward pass.
This architecture places H2O-Lightning-31B in the specialized Jev-class decision category. In standard enterprise pipelines, developers often force general-purpose autoregressive models to act as classifiers by requesting JSON outputs, which wastes GPU cycles on token-by-token generation and introduces parsing errors. H2O-Lightning-31B bypasses autoregression entirely for categorical and scoring questions, producing bounded decision distributions with high throughput.
Operating over an expansive 131,072-token context window, H2O-Lightning-31B allows full-document ingestion without premature chunking. However, practitioners must note its licensing terms: unlike its smaller sibling, H2O-Lightning-4B, which was published under Apache 2.0, H2O-Lightning-31B is distributed under the H2O Model Non-Commercial Licence v1.1. This restricts local deployments to non-production research, benchmarking, and internal evaluation environments.
The model utilizes a dense decoder-only architecture containing 31.27 billion parameters. In contrast to Mixture of Experts (MoE) designs that route queries to a sparse subset of weights, a dense 31B model activates every parameter during the forward pass. This creates predictable compute requirements and avoids the irregular memory access patterns common to distributed MoE execution, but it demands continuous memory bandwidth to sustain low prefill latencies.
The defining technical feature of H2O-Lightning-31B is its single-pass decision head. Trained to align with the Jev Decision Index and JevBench specifications, the model scores three distinct question formats:
By reading the input record and the candidate answer set simultaneously, the model projects probabilities directly over the answer space at the output layer.
Context length reaches a full 131,072 tokens. While dense 128K context windows provide enormous utility for ingesting complete code repositories or legal dossiers, the Key-Value (KV) cache grows rapidly with sequence length. In standard FP16 precision, the KV cache alone demands roughly 16 GB of memory at maximum context. Managing this requires native support for KV cache quantization (FP8 or INT4) in runtime engines like vLLM or llama.cpp to prevent running out of memory during long-document evaluation.
H2O-Lightning-31B is not a conversational chatbot or a code-generation engine. It is a high-capacity decision engine built to parse extensive contextual state and return immediate probabilities.
In environments where operations teams handle thousands of technical support tickets or infrastructure alerts daily, H2O-Lightning-31B can ingest entire system log histories and output a discrete probability distribution over priority tiers, root-cause categories, or engineering team assignments.
With its 131,072-token window, the model can load an entire organizational compliance manual alongside an audit target. Developers can pose deterministic yes/no validation checks to flag non-compliant clauses, assessing whether specific regulatory thresholds are met without generating verbose text summaries.
Standard cross-encoders used in retrieval-augmented generation (RAG) pipelines are typically constrained to 512 or 2,048 tokens. H2O-Lightning-31B functions as a deep document reranker: it ingests lengthy candidate chunks alongside the query, scoring each chunk based on relevance and factuality within the wider context.
To run H2O-Lightning-31B locally, your hardware configuration must account for both the 31.27B base weights and the memory footprint of the 128K KV cache.
The table below outlines realistic memory allocations across common precision formats:
When deciding how to run a 31.27B model on consumer GPU setups, dual-GPU setups provide the cleanest path:
The best quantization for H2O-Lightning-31B is Q4_K_M or AWQ 4-bit. Because the model produces output logits directly over discrete answers rather than generating long linguistic sequences, 4-bit quantization preserves calibrated scoring accuracy with negligible drift from FP16 baselines.
In terms of H2O-Lightning-31B performance, measuring traditional tokens per second is deceptive. Because it completes classifications in a single forward pass, throughput is bound by prompt processing (prefill speed) rather than autoregressive decoding. On dual RTX 4090 GPUs via vLLM, expect prompt evaluation speeds exceeding 2,500 to 4,000 tokens per second for prefill. When configured for text evaluation, standard 4-bit decoding on an RTX 4090 yields approximately 35 to 45 tokens per second.
For fast local testing, Ollama provides the simplest path once GGUF weights are prepared:
1ollama run h2o-lightning-31b
For production-style local research workflows using the Jev decision paradigm, deploy the model via vLLM using its built-in OpenAI-compatible scoring endpoints, configuring tensor parallelism across your available GPUs:
1vllm serve h2oai/h2o-lightning-31b \2 --tensor-parallel-size 2 \3 --max-model-len 65536 \4 --gpu-memory-utilization 0.95
Evaluating H2O-Lightning-31B against other local models in the 30B class highlights its specialized focus.
Qwen 2.5 32B is an open-weights, Apache-2.0 model built for broad reasoning, coding, and long-form prose. If your pipeline requires writing explanations, extracting arbitrary JSON schemas, or drafting customer responses, Qwen 2.5 32B is the proper choice. However, if your task is strictly deterministic classification, policy verification, or triage, H2O-Lightning-31B processes batches faster because it skips the autoregressive generation loop. The major tradeoff is licensing: Qwen permits commercial use, while H2O-Lightning-31B is strictly non-commercial.
Within H2O's own family, H2O-Lightning-4B is an Apache-2.0 model capable of running easily on budget 8GB or 12GB consumer GPUs (like the RTX 4060 or 4070). While the 4B model holds top ranks on JevBench benchmarks for speed and cost efficiency, H2O-Lightning-31B provides superior context retention and nuance over complex, contradictory documents. If your dataset contains dense, multi-page legal or compliance documentation, the 31.27B parameter capacity delivers better decision calibration at the expense of requiring 24GB to 48GB of VRAM.

Explore the Provider
Aggregate stats, leaderboard, release timeline, and benchmark coverage across every H2O.ai model we track.

Check which of your devices can run this model and how fast.

Compare hosted per-token prices before you commit to local hardware.

Break-even math for self-hosting, renting a GPU, or paying per token.
Live status for the hosted APIs you might use instead of running this locally.