Skip to content
llmmodels
Chat LLMOpen weightsHistorical

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.

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

Alternatives to UL2
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
opt-125mopenMetaMay 2022—————
xglm-564MopenMetaMar 2022—————
DialoGPT-mediumopenMicrosoftMar 2022—————
codegen-350M-monoopenSalesforceApr 2022—————
biogptopenMicrosoftNov 2022—————
ctrlopenSalesforceMar 2022—————
GPT-NeoX-20BopenEleutherAIFeb 202221B————
AltCLIP_M9openBAAINov 2022—————

More models from Google DeepMind

All Google DeepMind models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Gemma 4 31B ITopenApr 202631B256KFreeFree
Gemma 4 26B A4B ITopenApr 202626B (4B act.)256KFreeFree
Gemini 4 ArgonOct 2026—1M$2$10
Gemini 4 CarbonNov 2026—1M$2$10
Gemini 3.8 FlashSep 2026—1M$0.75$3.75
Gemini 4 HydrogenNov 2026—1M$1.50$7.50
Gemini Pro LatestFeb 2026—1M$2$12
Gemini 3.7 FlashAug 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.