Skip to content
llmmodels
Code modelOpen weights

Llemma 34B

by EleutherAI · Oct 16, 2023

Llemma 34B is an open-weight code model from EleutherAI, released Oct 16, 2023. It has 34B parameters.

Provider
EleutherAI
Released
Oct 16, 2023
Type
Code model
Parameters
34B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
llama2
Knowledge cutoff
—
Status
Open weights
Training compute
5.4e+23 FLOP
Training data
55B tokens/words
HF downloads (30d)
187

About Llemma 34B

We present Llemma, a large language model for mathematics. We continue pretraining Code Llama on the Proof-Pile-2, a mixture of scientific papers, web data containing mathematics, and mathematical code, yielding Llemma. On the MATH benchmark Llemma outperforms all known open base models, as well as the unreleased Minerva model suite on an equi-parameter basis. Moreover, Llemma is capable of tool use and formal theorem proving without any further finetuning.

How to run Llemma 34B

Llemma 34B is an open-weight model published on Hugging Face as EleutherAI/llemma_34b. 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 34B parameters it needs roughly 20 GB of memory at 4-bit quantization.

Llemma 34B vs alternatives

Alternatives to Llemma 34B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
DeepSeek Coder 33BopenDeepSeekNov 202333B———76.3
Code Llama-34BopenMetaAug 202334B————
Code Llama-13BopenMetaAug 202313B————
Phi-3.5-MoEopenMicrosoftApr 202442B————
DeepSeek Coder 6.7BopenDeepSeekNov 20236.7B———67.5
NVLM-D 72BopenNVIDIAOct 202479B————
Qwen2.5-Coder (7B)openAlibaba (Qwen)Sep 20247.6B———107.4
GLM-Z1-Rumination-32B-0414openZhipu AI (Z.ai)Apr 202533B————

More models from EleutherAI

All EleutherAI models →
ModelReleasedParamsContextInput $/1MOutput $/1M
pythia-14mopenFeb 202614M———
pythia-31mopenFeb 202630M———
pythia-70m-dedupedopenFeb 202396M———
pythia-160m-dedupedopenFeb 2023213M———
GPT-NeoX-20BopenFeb 202221B———
pythia-410m-dedupedopenFeb 2023506M———
pythia-160m-seed1openFeb 2023213M———
pythia-410m-seed3openJan 2024————

Frequently asked questions

Who made Llemma 34B?

Llemma 34B was developed by EleutherAI (United States of America,Canada,Canada,United Kingdom,United States of America,United States of America,United States of America). It was released on Oct 16, 2023.

Is Llemma 34B open source?

Yes. Llemma 34B's weights are publicly available under the llama2 license on Hugging Face (EleutherAI/llemma_34b), so you can download and run it yourself.

How many parameters does Llemma 34B have?

Llemma 34B has 34B parameters.

Sources: epoch, huggingface · paper · huggingface. Last updated 2026-11-22.