x-ai/grok-4.3
xAI's Grok 4.3 with 1M token context window. Supports configurable reasoning, function calling, structured outputs, and vision.
xAI's Grok 4.5 with 500K token context window. Supports configurable reasoning, function calling, structured outputs, and vision.
x-ai/grok-4.5Créez un compte, rechargez en dinars et appelez-le avec votre clé :
from openai import OpenAI
client = OpenAI(
base_url="https://dzrouter.com/v1",
api_key="sk-dz-…",
)
reply = client.chat.completions.create(
model="x-ai/grok-4.5",
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: "x-ai/grok-4.5",
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": "x-ai/grok-4.5",
"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="x-ai/grok-4.5",
max_tokens=1024,
messages=[{"role": "user", "content": "Salam!"}],
)
print(msg.content[0].text)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.
grok-4.20-non-reasoning
xAI's Grok 4.20 non-reasoning model with 2M token context window. Optimized for speed without reasoning overhead, supports function calling, structured outputs, and vision.
Créez votre compte, rechargez dès 500 DA et envoyez votre première requête en quelques minutes.
Créer un compte gratuit