Available now
SDAIA
allam-2-7b
Text4.1K
InputFree
OutputFree
Context4.1K
Endpointsopenai
Performance
Loading performance data...
§ 01
Pricing
| Input price | $0.00 · 1M tokens |
| Output price | $0.00 · 1M tokens |
| Context window | 4.1K tokens |
| Compatible endpoints | openai |
| Vendor | SDAIA |
§ 02
Call allam-2-7b from your code
Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.
bash
curl https://api.unorouter.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "allam-2-7b",
"messages": [{"role": "user", "content": "Hello!"}]
}'§ 03
Frequently asked questions
How much does allam-2-7b cost per 1M tokens?
Input is priced at $0.00 per 1M tokens, output at $0.00 per 1M tokens. Billing is per token, no rounding to batch sizes.
How do I access allam-2-7b via API?
Send requests to the UnoRouter /v1/chat/completions endpoint with model=allam-2-7b. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.
What is the context window of allam-2-7b?
allam-2-7b supports a context window of 4.1K tokens, shared between your prompt and the model's response.
§ 04