H2O.aiv1.3 on mainVerified 2026-11-11

H2O-Lightning-4B (open source)

Open-weight 4B decision model from H2O.ai (built on Qwen3.5-4B), Apache-2.0. Runs on vLLM 0.30.0 (H2O’s own build is now the recommended setup, stock vLLM the fallback) behind a small shim that serves /v1/systemone and an OpenAI-compatible /v1/decisions route. Text and up to 4 images per request.1

PricingUSD, as published

ItemValue
List priceFree (self-host)1
Free tierYes

Free open weights (Apache-2.0); you pay your own GPU. Each decision is one forward pass and one output token, so cost is input tokens only. The $0.021 per 1,000 decisions estimate we quoted on Oct 16 is no longer on the model card.1 [Verified 2026-11-11 on https://huggingface.co/h2oai/h2o-lightning-4b (no change)]

Not in the cost calculator: Open weights (Apache-2.0): you pay for your own GPU, so there is no per-token price. H2O’s model card no longer gives a cost-per-decision estimate.

LimitsPer request

LimitValue
Context window40,960 tokens
Rate limitNone stated (self-host)

Up to 4 images per request, 20 MB each; changed: images are now scaled to at most 1,638,400 pixels inside vLLM (was 1,048,576 on Oct 16). 40,960-token context by default; a longer record is shortened per question with BM25 rather than rejected. More than 255 options, or a malformed question, gets HTTP 422. Weights are 9.3 GB.1 [Verified 2026-11-11 on https://huggingface.co/h2oai/h2o-lightning-4b (no change)]

Statusv1.3 on main

  • Changed: H2O now reports v1.4.1 is #1 of 46 open-weight Jev-class models and #2 of 55 Jev-class models overall (open or API) on the ImageJevBench composite (edition v0.3.0, measured 2026-10-28, page read 2026-10-31), scoring 68.51, ahead of Drex Max (44.65), Jev 1.13.0 with images (26.43), Clef-Flash (20.41) and Liquid d1-3B (4.10). The GPT-6 Luna comparison we listed on Oct 30 is no longer on the card. On JevBench (board v1.7.15) H2O says v1.4.1 is listed at composite 75.98 without a rank; the card also cites release v1.1 at #2 of 170 open-weight and #12 of 201 Jev-class models on the JevBench board of 2026-10-28.1 [Vendor-reported on https://huggingface.co/h2oai/h2o-lightning-4b (checked 2026-11-11); not reproduced by AgentAPIList]
  • Correction: H2O’s 20.9 ms p50 (42.7 requests per second, one-way, one question per request, one at a time) is its NVIDIA H100 80 GB figure, not L40S as we said on Oct 30. On one L40S 48 GB H2O lists 28.0 ms p50 (32.9 requests per second) at 100–300 tokens and 69.3 ms (15.1 per second) at 800–1,200 tokens.1 [Verified 2026-11-11 as published on https://huggingface.co/h2oai/h2o-lightning-4b (vendor-measured, not reproduced by us)]

Auth

MethodNone (local example)
DetailsOpen weights you run yourself. The model card’s local server example ignores the API key (api_key="unused"). [Verified 2026-10-16 on huggingface.co/h2oai/h2o-lightning-4b]

FeaturesFrom lib/apiFeatures.js

YesNoN/ANot published
CapabilityStateNote
Free tierFree open weightsYes1Free open weights
Official SDKsOpenAI Python clientYes1OpenAI Python client
Open source / self-hostApache-2.0 weightsYes1Apache-2.0 weights
BatchSelf-hosted: no hosted batch API; you batch on your own serverN/ASelf-hosted: no hosted batch API; you batch on your own server
SLA publishedSelf-hosted: no hosted service to carry an SLAN/ASelf-hosted: no hosted service to carry an SLA
EU / data residencySelf-hosted: data stays on the hardware you chooseN/ASelf-hosted: data stays on the hardware you choose
Structured JSON outputNot on the model cardNot published1Not on the model card
Tool / function callingNot on the model cardNot published1Not on the model card
StreamingNot on the model cardNot published1Not on the model card
MCP supportNot on the model cardNot published1Not on the model card
Fine-tuningNot on the model cardNot published1Not on the model card

Fit and safety

Good for

  • Strong option for self-hosted gating and routing with images, if you have a GPU; mostly evaluated in English.

Watch out

  • Changed: yes/no answers now ship with their raw calibrated probability (noul_floor 0), so uncertain answers read near 0.5 and are easy to escalate; only the Decision Index profile (PROFILE=di) keeps the old 0.801 floor.
  • Not a chat model: no explanations.

How it works

  1. Serve with bash serve.sh (vLLM 0.30.0 + h2o_lightning_shim.py); endpoint http://127.0.0.1:8741/v1/systemone. The main branch also serves POST /v1/decisions in OpenAI’s request shape.
  2. Question types noul, choice, score; one forward pass and one output token per decision, so cost is input tokens only. An optional "box" question (bounding box) is off by default.
  3. Changed: the model card now describes release v1.4.2 (main; pin --revision v1.4.2), while its ImageJevBench rows are still for v1.4.1 (measured Oct 28, 2026). The v1.1–v1.3 figures we listed on Oct 16 are no longer on the card.
  4. GGUF builds for llama.cpp (h2oai/h2o-lightning-4b-gguf) and community MLX builds exist (NetProjects 8-bit and 4-bit), plus a text-only variant on NVIDIA Nemotron 3 Nano 4B (h2oai/h2o-lightning-4b-nemotron-nano, NVIDIA Nemotron Open Model License).
  5. Changed: the card now recommends H2O’s per-request attention build of vLLM 0.30.0, which reads each request two-way (206 of JevBench’s 231 public items); stock vLLM 0.30.0 with TWO_WAY=0 is the fallback (202 of 231) and serves more requests per second under load.

Compare

Put H2O-Lightning-4B (open source) side by side with other APIs on price, limits and features. Open the comparison table →

Deciding between a decision model and a generative LLM? See Decision model vs LLM: when to use which.

SourcesFootnotes

  1. 1Hugging Face model cardhuggingface.co/h2oai/h2o-lightning-4bVerified 2026-11-11
  2. 2H2O press releaseh2o.ai/company/press-media/2026/h2o-lightning-4b-ranks-first-on-jevbenchCited