Benchmark Pricing$0.00 / 1M in$0.00 / 1M out
Context: 4,096 tokens•Max Output: 4,096 tokens•Released: 2025-01-23
TECHNICAL SPECIFICATIONS
Context Window4,0964.1K tokens
Max Output4,0964.1K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
Text
Function / Tool CallingNot Supported
Structured OutputsPrompt Based
MODEL CONTEXT PROTOCOL (MCP) READINESS
⚠ ALLaM-2-7b does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.
MCP Context Window Recommendations
With a context capacity of 4,096 tokens, this model can handle compact tool sets. Consider keeping MCP server tool manifests minimal to preserve headroom.
API CALL INVOCATION EXAMPLE
// Example: Calling ALLaM-2-7b via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.SDAIA_API_KEY,
});
const response = await client.chat.completions.create({
model: "sdaia/allam-2-7b",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Tempr Gatewaygroq/allam-2-7b
$0.00 / $0.00
Groqallam-2-7b
$0.00 / $0.00
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.