← All models

text-generation Β· fully-open chat LLM Β· WebLLM (MLC) Β· WebGPU Β· ~845 MB

OLMo-2 1B β€” a fully-open model on your GPU

Almost every "open" LLM you can name is open weights only: you get the finished model and nothing about how it was made. OLMo-2, from Ai2 (the Allen Institute for AI), is different β€” it's fully open. The training data (Dolma / Dolmino), the training code (OLMo-core), every intermediate checkpoint, and the training logs are all published under Apache-2.0. It's a reproducible recipe, not a black box. This page runs the 1B Instruct build entirely in your browser on MLC's WebLLM engine: streaming tokens, sampling controls, a real system prompt, nothing uploaded and no API bill. WebGPU only β€” an ~845 MB download, cached after first load.

At a glance

Modelallenai/OLMo-2-0425-1B-Instruct
MLC buildOLMo-2-0425-1B-Instruct-q4f16_1-MLC
RuntimeWebLLM / MLC β€” not Transformers.js. Weights are precompiled to WebGPU shaders.
Tasktext-generation (instruction-tuned chat)
Params / dtype1B Β· q4f16_1 (4-bit weights, fp16 compute)
OpennessFully open β€” weights + training data + training code + checkpoints + logs (most "open" models ship weights only)
Chat templateReal system role (system / user / assistant), no folding needed
BackendWebGPU only β€” no WASM fallback. Gated on a real GPU adapter. ~1.8 GB GPU memory.
Download~845 MB, cached after first load
Context window4096 tokens (MLC build cap)
LicenseApache 2.0
Web APIsWebGPU, Web Workers, ES module imports

How it differs from the other chat pages: OLMo-2 is the catalogue's only fully-open model β€” a distinct Ai2 OLMo architecture whose entire training recipe is public, separate from the open-weights Gemma-family (Gemma 3 1B), Qwen (Qwen3 1.7B), Mistral (Mistral 7B) and Llama-family models. Same job β€” a private, on-device chat β€” but the one you could rebuild from scratch.

Run it β€” chat

Heads up: loading transfers ~845 MB the first time (then it's cached). Best on a GPU with β‰₯2 GB of memory.

The conversation will appear here. Load the model, then say hello.
History is kept in-tab only β€” reloading forgets it.

See inside

Two things are worth seeing. First, the live decode: time-to-first-token is the prefill cost, and everything after is the decode loop β€” WebLLM reuses a KV cache across turns, so follow-ups are cheaper. Second, and unique to OLMo-2, the openness ledger: what a "fully open" release actually contains versus the open-weights norm. You can inspect the exact messages array sent to the model, too β€” no hidden prompt.

decode speed
–
time to first token
–
answer tokens
–
context used (est.)
–
total time
–

The openness ledger β€” what ships with the model

Artifact released
OLMo-2
Typical open-weights
Final model weights
βœ“
βœ“
Pre-training dataset (Dolma)
βœ“
β€”
Mid-training data (Dolmino)
βœ“
β€”
Training code (OLMo-core)
βœ“
β€”
Intermediate checkpoints
βœ“
rare
Training logs & eval (OLMES)
βœ“
β€”

A static, factual comparison of what the two release models publish β€” not model output. Sources linked in References.

Exact chat messages sent to the model (last turn)

Send a message to see the messages array that WebLLM receives.

Why it matters

For most products the practical win of a local LLM is the same regardless of provenance: private, free-to-run, offline-capable chat with no server or API bill. But a fully open model unlocks things an open-weights model can't β€” because you can see and change how it was built.

Use cases

Basics

A clean streaming chat β€” the fundamental loop, with example prompts.

Practical

Structured extraction: pull strict JSON fields out of messy text, on-device.

Wild

Temperature explorer β€” run the SAME prompt at low vs high temperature, side by side.

Multi-model

RAG: MiniLM retrieves from a pasted doc, OLMo-2 answers grounded in the passages.

How the API works

WebLLM gives you an OpenAI-shaped chat API backed by a WebGPU engine. You create the engine (which downloads and compiles the weights), then stream a completion. OLMo-2 Instruct has a real system role, so no folding is needed β€” you pass system / user / assistant turns directly:

import { webGPUAdapterAvailable, createEngine }
  from "/lib/webllm.js";

// WebLLM is WebGPU-only β€” gate before doing anything (headless requestAdapter() β†’ null).
if (!(await webGPUAdapterAvailable())) {
  showNeedsWebGPU();          // never a faked reply
} else {
  const engine = await createEngine({
    model: "OLMo-2-0425-1B-Instruct-q4f16_1-MLC",
    onProgress: (p) => setProgress(p.text, p.progress),   // ~845 MB, cached after first load
  });

  const messages = [
    { role: "system", content: "You are a concise assistant." },
    { role: "user", content: "Explain what makes OLMo-2 'fully open'." },
  ];

  const stream = await engine.chat.completions.create({
    messages, temperature: 0.7, top_p: 0.9, max_tokens: 512, stream: true,
  });
  for await (const chunk of stream) {
    const d = chunk.choices[0].delta;
    if (d.content) appendAnswer(d.content);      // stream the answer token by token
  }
  // engine.interruptGenerate() stops decoding early; engine.runtimeStatsText() reports tok/s.
}

Everything here runs exactly that path in worker.js (off the main thread), and gates on a real WebGPU adapter first. No adapter β†’ a labelled needs-WebGPU state, never a canned answer.

References