Allam 2 7B
Free right now
Small
Allam 2 7B is a language model with 7B parameters. It is currently free at 2 providers with up to 4K tokens of context.
- Parameters
- 7B
- Context
- 4K tokens
- Type
- Text
Where to use Allam 2 7B for free
Each row is a separate free endpoint with its own limits.
Quick start
curl https://api.groq.com/openai/v1/chat/completions \
-H "Authorization: Bearer $GROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "allam-2-7b",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(
base_url="https://api.groq.com/openai/v1",
api_key="YOUR_GROQ_API_KEY",
)
reply = client.chat.completions.create(
model="allam-2-7b",
messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.groq.com/openai/v1",
apiKey: process.env.GROQ_API_KEY,
});
const reply = await client.chat.completions.create({
model: "allam-2-7b",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(reply.choices[0].message.content);Example for Groq. Any OpenAI-compatible client works: Cursor, Cline, OpenCode, Open WebUI.
Benchmarks
This model is not on the Artificial Analysis leaderboard yet. We do not publish our own estimates.
FAQ
Is Allam 2 7B free?
Yes. As of September 26, 2026, Allam 2 7B is free at Groq, UnoRouter. Each provider has its own limits — see the table above.
What is the context window of Allam 2 7B?
The largest context among free routes is 4,096 tokens. Some providers cap it lower.
How do I call Allam 2 7B via API?
Use any OpenAI-compatible client with base URL https://api.groq.com/openai/v1, model ID allam-2-7b, and a Groq key.