← All models
xAI logo

Grok 4.20 Reasoning

Chat

x-ai:grok-4.20-reasoning

Added March 9, 2026

Usage

import OpenAI from "openai";

const client = new OpenAI({
    baseURL: "https://api.tributary.cc/openai/v1",
    apiKey: "<TRIBUTARY_API_KEY>",
});

const completion = await client.chat.completions.create({
    model: "x-ai:grok-4.20-reasoning",
    messages: [
        { role: "user", content: "Hello!" }
    ],
});

console.log(completion.choices[0].message.content);

Providers

Provider Model Context Output Input $/M Output $/M
xAI grok-4.20-0309-reasoning 2M 64K $2.00 $6.00
Context/output in tokens. Prices in USD per 1M tokens.