Model API

Grok 4.6 API

xAI's Grok 4.6 for agent tool use, long-context reasoning, and multimodal input.

Model ID

grok-4.6

Provider

zenmux

Capability

chat

Status

Available

Pricing and limits

tokens in

$2.00 / 1M input tokens

tokens out

$6.00 / 1M output tokens

Context length
500,000
Max output
64,000
Release date
2026-08-13

Use this model

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.AIDUCT_API_KEY,
  baseURL: "https://api.aiduct.ai/v1",
});

const response = await client.chat.completions.create({
  model: "grok-4.6",
  messages: [{ role: "user", content: "Say hello in one sentence." }],
});

Supported parameters

messagestemperaturetop_pmax_tokensstreamstoptoolstool_choiceresponse_formatuserthinking
This model page is backed by the live Aiduct model catalog. Long-form generated notes are not available for this slug yet, but the model ID, provider, pricing rows, and supported parameters above are still crawlable.