Atlas / Models / Eleutherai / EleutherAI: Llemma 7b

EleutherAI: Llemma 7b✓ Catalog verified

eleutherai/llemma_7b

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.

Input price
$0.80 /1M
Output price
$1.20 /1M
Context
4K
Modalities
text
Released
Apr 14, 2025
Tool calling
Atlas signal
80/100
01

Overview

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.

Access: available through the official Eleutherai API. Context window: 4K.

Pricing and metadata from the ModelsAtlas catalog.Last refreshed Aug 5, 2026
02

Specifications

API identifiereleutherai/llemma_7b
ProviderEleutherai
Model typeText LLM
Context window4K catalog
Input modalitiestext
Output modalitiestext
ReleasedApr 14, 2025
Instruction formatcode-llama
ModeratedNo
Architecture modalitytext->text
Supported parameters
frequency_penaltymax_tokensmin_ppresence_penaltyrepetition_penaltyseedstoptemperaturetop_ktop_p
Source: provider documentation + catalog feedMethodology →
03

Pricing

Live pricing components for eleutherai/llemma_7b as published in the catalog.

$0.80
Input /1M
$1.20
Output /1M
Per request
Per image
Pricing componentRaw unit priceNormalizedUnit
Prompt tokens$8e-7$0.80 / 1MPer input token
Completion tokens$0.0000012$1.20 / 1MPer output token
Request feeN/AN/APer request
Image feeN/AN/APer image unit
Web search feeN/AN/APer search request
Source: catalog pricing feedCompare all pricing →Cheapest models →
04

Cost calculator

Estimate monthly spend from your own token volumes.

Scale / Volume

Estimated Total Cost

$0.64Calculated from current list pricing in the ModelsAtlas catalog.
05

Capabilities

CapabilityStatusWhat it means
Visual UnderstandingNot advertisedImage and document analysis support
Audio ProcessingNot advertisedSpeech and voice aligned flows
Tool CallingNot advertisedSupports tools / function calling
Self-HostingNot advertisedDeploy outside managed APIs
Derived from catalog capability tags and supported parameters
06

Capability signals

Directional signals derived from model metadata and capability tags — not official benchmark submissions.

EleutherAI: Llemma 7b
MMLU Signal (Reasoning)
80signal
Coding Signal (HumanEval proxy)
84signal
Math Signal (GSM8K proxy)
83signal
Science Signal (GPQA proxy)
74signal
Estimated from metadata — not an official benchmark runAll benchmarks →Methodology →
07

Quick start

Call EleutherAI: Llemma 7b through an OpenAI-compatible client.

from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="eleutherai/llemma_7b",
    messages=[{"role": "user", "content": "Explain quantum physics."}]
)

print(response.choices[0].message.content)
08

Alternatives

Closest models by context window from a different provider.

09

Sources & attribution

Pricing and metadata are maintained in the ModelsAtlas catalog.

Capability bars use metadata tags — directional estimates onlyHow we source and verify data →
10

Frequently asked questions

How much does EleutherAI: Llemma 7b cost?

$0.80 per 1M input tokens and $1.20 per 1M output tokens on the official Eleutherai API.

What is the context window of EleutherAI: Llemma 7b?

EleutherAI: Llemma 7b supports up to 4K tokens of context.

Does EleutherAI: Llemma 7b support tool / function calling?

EleutherAI: Llemma 7b does not advertise first-class tool/function calling. Check vendor docs for the latest capabilities.

How do I access EleutherAI: Llemma 7b?

Use the official Eleutherai API with the model id `eleutherai/llemma_7b`. See the Quick start section above for code examples.