DzRouter

Grok 4.6

VisionReasoningTool use

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.

Model id — paste this in your code
x-ai/grok-4.6

Pricing · per 1M tokens

Show prices in
Input600 DA$2.40
Output1,800 DA$7.20
Cached input150 DA$0.6
Context window500KMax output: 128K

Capabilities

  • Vision — Understands images and documents you send
  • Reasoning — Thinks step by step before answering
  • Tool use — Can call your functions / tools

Estimate your cost

Estimated cost

Use this model

Create 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="x-ai/grok-4.6",
    messages=[{"role": "user", "content": "Salam!"}],
)
print(reply.choices[0].message.content)
Create a free account

Start building with AI today

Create your account, top up from 500 DA and send your first request in minutes.

Create a free account