Groq: Allam 2 7B
Model Overview
| Property | Value |
|---|---|
| Model ID | groq/allam-2-7b |
| Name | Allam 2 7B |
| Provider | Groq |
| Parameters | 7B |
Description
Allam 2 is a 7 billion parameter Arabic language model optimized for Arabic text understanding and generation. Hosted on Groq's LPU infrastructure for ultra-fast inference.
Specifications
| Spec | Value |
|---|---|
| Context Window | 128,000 tokens |
| Max Completion | 8,192 tokens |
| Inference Speed | High (Groq LPU) |
Pricing
| Type | Price |
|---|---|
| Input | $0.05 per 1M tokens |
| Output | $0.15 per 1M tokens |
Capabilities
- Arabic Language: Yes
- Fast Inference: Yes
- Streaming: Yes
Use Cases
Arabic text generation, translation, Arabic NLP tasks, multilingual applications with Arabic focus.
Integration with LangMart
Gateway Support: Type 2 (Cloud), Type 3 (Self-hosted)
API Usage:
curl -X POST https://api.langmart.ai/v1/chat/completions \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "groq/allam-2-7b",
"messages": [{"role": "user", "content": "Hello in Arabic"}],
"max_tokens": 2048
}'
Related Models
- groq/llama-3.3-70b-versatile - General purpose
- groq/llama-3.1-8b-instant - Fast 8B model
Last Updated: December 28, 2025