xAI

xAI: Grok 3 Mini

stable

Grok 3 Mini is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.

grok-3-minigrok
Context
131.1K
tokens
Max output
8.2K
tokens
Input
$0.30
per 1M
Output
$0.50
per 1M

Activity

Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.

Providers

ProviderContextInput /MOutput /M

Pricing

ItemPriceUnit
Input$0.30per 1M tokens
Output$0.50per 1M tokens

Performance

Reliability

Compare

Compare usage and performance
Place this model beside up to three other catalog models.

Capabilities

Capabilities
Modalities
Input
Output
Details
Model ID
grok-3-mini
Family
grok
Status
stable
Knowledge
-
Released
-
Gateway Config
API
2024-01-01
Auth
XAI_API_KEY
Discovery
static
Provider type
static

Quick Start

index.ts
import Everstack from "@everstack/node";const client = new Everstack({  apiKey: process.env.EVERSTACK_API_KEY!,  baseUrl: "https://{instance}.{region}.everstack.ai",});const completion = await client.chat.completions.create({  model: "@xai/grok-3-mini",  messages: [{ role: "user", content: "Explain vector cache routing." }],});console.log(completion.choices[0]?.message?.content);

Endpoint

Base URL
https://api.x.ai/v1
Chat completions
https://api.x.ai/v1/chat/completions
Model
grok-3-mini
Auth env
XAI_API_KEY

Grok 3 Mini FAQ

How much does the Grok 3 Mini API cost?

Through xAI, Grok 3 Mini costs $0.30 per 1M input tokens and $0.50 per 1M output tokens.

What is the context window of Grok 3 Mini?

Grok 3 Mini accepts up to 131.1K tokens of context and returns up to 8.2K output tokens on xAI.

What can Grok 3 Mini do?

Grok 3 Mini supports chat, function calling and reasoning. It accepts text input.

How do I call Grok 3 Mini through Everstack?

Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @xai/grok-3-mini. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.