EleutherAI: Llemma 7b✓ Catalog verified
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.
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.
Specifications
| API identifier | eleutherai/llemma_7b |
| Provider | Eleutherai |
| Model type | Text LLM |
| Context window | 4K catalog |
| Input modalities | text |
| Output modalities | text |
| Released | Apr 14, 2025 |
| Instruction format | code-llama |
| Moderated | No |
| Architecture modality | text->text |
Pricing
Live pricing components for eleutherai/llemma_7b as published in the catalog.
| Pricing component | Raw unit price | Normalized | Unit |
|---|---|---|---|
| Prompt tokens | $8e-7 | $0.80 / 1M | Per input token |
| Completion tokens | $0.0000012 | $1.20 / 1M | Per output token |
| Request fee | N/A | N/A | Per request |
| Image fee | N/A | N/A | Per image unit |
| Web search fee | N/A | N/A | Per search request |
Cost calculator
Estimate monthly spend from your own token volumes.
Estimated Total Cost
$0.64Calculated from current list pricing in the ModelsAtlas catalog.Capabilities
| Capability | Status | What it means |
|---|---|---|
| Visual Understanding | Not advertised | Image and document analysis support |
| Audio Processing | Not advertised | Speech and voice aligned flows |
| Tool Calling | Not advertised | Supports tools / function calling |
| Self-Hosting | Not advertised | Deploy outside managed APIs |
Capability signals
Directional signals derived from model metadata and capability tags — not official benchmark submissions.
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)Alternatives
Closest models by context window from a different provider.
| Model | Provider | Context | Input /1M | Actions |
|---|---|---|---|---|
| AlfredPros: CodeLLaMa 7B Instruct Solidity | Alfredpros | 4K | $0.80 | View → |
| MythoMax 13B | Gryphe | 4K | $0.06 | View → |
Sources & attribution
Pricing and metadata are maintained in the ModelsAtlas catalog.
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.