UL2
by Google DeepMind · May 10, 2022
UL2 is an open-weight chat llm from Google DeepMind, released May 10, 2022. It has 20B parameters.
- Provider
- Google DeepMind
- Released
- May 10, 2022
- Type
- Chat LLM
- Parameters
- 20B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (permissive)
- Knowledge cutoff
- —
- Status
- Historical
- Training compute
- 1.2e+23 FLOP
- Training data
- 1000B tokens/words
About UL2
Existing pre-trained models are generally geared towards a particular class of problems. To date, there seems to be still no consensus on what the right architecture and pre-training setup should be. This paper presents a unified framework for pre-training models that are universally effective across datasets and setups. We begin by disentangling architectural archetypes with pre-training objectives -- two concepts that are commonly conflated.
How to run UL2
UL2 is an open-weight model. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 20B parameters it needs roughly 12 GB of memory at 4-bit quantization.
UL2 vs alternatives
- UL2 vs opt-125m
- UL2 vs xglm-564M
- UL2 vs DialoGPT-medium
- UL2 vs codegen-350M-mono
- UL2 vs biogpt
- UL2 vs ctrl
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| opt-125mopen | Meta | May 2022 | — | — | — | — | — |
| xglm-564Mopen | Meta | Mar 2022 | — | — | — | — | — |
| DialoGPT-mediumopen | Microsoft | Mar 2022 | — | — | — | — | — |
| codegen-350M-monoopen | Salesforce | Apr 2022 | — | — | — | — | — |
| biogptopen | Microsoft | Nov 2022 | — | — | — | — | — |
| ctrlopen | Salesforce | Mar 2022 | — | — | — | — | — |
| GPT-NeoX-20Bopen | EleutherAI | Feb 2022 | 21B | — | — | — | — |
| AltCLIP_M9open | BAAI | Nov 2022 | — | — | — | — | — |
More models from Google DeepMind
All Google DeepMind models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Gemma 4 31B ITopen | Apr 2026 | 31B | 256K | Free | Free |
| Gemma 4 26B A4B ITopen | Apr 2026 | 26B (4B act.) | 256K | Free | Free |
| Gemini 4 Argon | Oct 2026 | — | 1M | $2 | $10 |
| Gemini 4 Carbon | Nov 2026 | — | 1M | $2 | $10 |
| Gemini 3.8 Flash | Sep 2026 | — | 1M | $0.75 | $3.75 |
| Gemini 4 Hydrogen | Nov 2026 | — | 1M | $1.50 | $7.50 |
| Gemini Pro Latest | Feb 2026 | — | 1M | $2 | $12 |
| Gemini 3.7 Flash | Aug 2026 | — | 1M | $0.75 | $3.75 |
Frequently asked questions
Who made UL2?
UL2 was developed by Google DeepMind (United States of America,United States of America). It was released on May 10, 2022.
Is UL2 open source?
Yes. UL2's weights are publicly available, so you can download and run it yourself.
How many parameters does UL2 have?
UL2 has 20B parameters.
Sources: epoch · paper. Last updated 2026-11-22.