x-ai/grok-4.5
xAI's Grok 4.5 with 500K token context window. Supports configurable reasoning, function calling, structured outputs, and vision.
xAI's flagship model for coding, agentic tool calling, and knowledge work, with a 500K token context window and minimal hallucinations. Supports configurable reasoning (low through xhigh), function calling, structured outputs, web search, and image input.
grok-4.7Create an account, top up in dinars and call it with your key:
from openai import OpenAI
client = OpenAI(
base_url="https://dzrouter.com/v1",
api_key="sk-dz-…",
)
reply = client.chat.completions.create(
model="grok-4.7",
messages=[{"role": "user", "content": "Salam!"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://dzrouter.com/v1",
apiKey: process.env.DZROUTER_API_KEY,
});
const reply = await client.chat.completions.create({
model: "grok-4.7",
messages: [{ role: "user", content: "Salam!" }],
});
console.log(reply.choices[0].message.content);curl https://dzrouter.com/v1/chat/completions \
-H "Authorization: Bearer $DZROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.7",
"messages": [{"role": "user", "content": "Salam!"}],
"stream": true
}'from anthropic import Anthropic
client = Anthropic(
base_url="https://dzrouter.com",
api_key="sk-dz-…",
)
msg = client.messages.create(
model="grok-4.7",
max_tokens=1024,
messages=[{"role": "user", "content": "Salam!"}],
)
print(msg.content[0].text)x-ai/grok-4.5
xAI's Grok 4.5 with 500K token context window. Supports configurable reasoning, function calling, structured outputs, and vision.
x-ai/grok-4.3
xAI's Grok 4.3 with 1M token context window. Supports configurable reasoning, function calling, structured outputs, and vision.
x-ai/grok-4.20
x-ai/grok-4.6
xAI's frontier model for coding, agentic tasks, and knowledge work, with a 500K token context window. Supports configurable reasoning (including xhigh), function calling, structured outputs, web search, image and PDF input.
grok-4.20-0309-reasoning
xAI's Grok 4.20 reasoning model with 2M token context window. Supports reasoning, function calling, structured outputs, and vision.
grok-4.20-multi-agent-0309
xAI's multi-agent model with 2M token context window. Optimized for multi-agent workflows with reasoning capabilities. No client-side or custom tools: Client-side tools (function calling) and custom tools are not currently supported by the multi-agent model variant.
Create your account, top up from 500 DA and send your first request in minutes.
Create a free account