Llemma 7b

EleutherAI

Llemma 7B is a language model for mathematics. It was initialized with Code Llama 7B weights, and trained on the Proof-Pile-2 for 200B tokens. Llemma models are particularly strong at chain-of-thought mathematical reasoning and using computational tools for mathematics, such as Python and formal theorem provers.

Try Now

Technical Specifications

Context Window

4,096 tokens

Max Output

4,096 tokens

Pricing

Token Costs (per 1M tokens)

Cache Miss Input

$0.80

Non-Reasoning Output

$1.20

Legacy

Made legacy on

Reason

7B math model; too small and specialized for general chat

Recommended Replacement

Qwen3.6 Plus