Grok 4.6
xai/grok-4.6
xAI's flagship Grok 4.6 — 500K context, chain-of-thought reasoning with selectable effort. Supports Live Search (+$0.025/source)
Code Examples
from blockrun_llm import LLMClient
client = LLMClient() # Uses BLOCKRUN_WALLET_KEY (never sent to server)
response = client.chat("xai/grok-4.6", "Hello!")import { LLMClient } from '@blockrun/llm';
const client = new LLMClient(); // Uses BLOCKRUN_WALLET_KEY (never sent to server)
const response = await client.chat('xai/grok-4.6', 'Hello!');curl -X POST https://blockrun.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "PAYMENT-SIGNATURE: <payment_header>" \
-d '{
"model": "xai/grok-4.6",
"messages": [{"role": "user", "content": "Hello!"}],
"max_tokens": 1024
}'Pricing
No markup on official xAI rates; $0.001 fee per call.
Payment
Pay per request with USDC on Base. No subscription required.
Try It
Send a message to try Grok 4.6
Connect your wallet to enable payments
About xAI Grok 4.6
Grok 4.6 is a reasoning, coding, vision and search-grounded model from xAI with a 500K-token context window and up to 16K tokens of output per call. It is billed per token at the provider's list rate, with no markup on chat tokens. A request whose prompt reaches 200K tokens is billed entirely at the long-context tier, $4.00 in and $12.00 out per million. It is served through BlockRun's OpenAI-compatible API, so it can be called without an account, an API key, or a subscription.
What it costs
Grok 4.6 is billed per token. The underlying rates are $2.00 per million input tokens and $6.00 per million output tokens with no platform margin on chat tokens; only a small per-transaction fee covering on-chain settlement is added on top, and the resulting price is quoted in the 402 before you pay. You are charged for the tokens a request actually consumes — there is no monthly commitment and no unused balance to forfeit. With a context window of 500,000 tokens and up to 16,384 tokens of output, a single call can carry a substantial working set.
Specifications
- Context window
- 500,000 tokens
- Maximum output
- 16,384 tokens
- API compatibility
- OpenAI-compatible
- Payment
- USDC via x402
- Categories
- reasoning, coding, vision, chat, search
Calling it from your code
Pass xai/grok-4.6 as the model field. Because the endpoint mirrors the OpenAI chat completions schema, any existing OpenAI client works by changing the base URL — streaming, tool use, and multi-turn messages all behave the same way.
The first request returns a 402 carrying the exact price; a signed retry runs it, and client libraries fold the two into one call — how the payment works. See the documentation for request and response shapes, the LLM API page for every model on this endpoint, or browse the full catalog of 78 chat models to compare alternatives.
Related models
Every model on BlockRun is reached through the same endpoint and the same payment flow, so switching is a one-line change to the model field. These are the closest alternatives to Grok 4.6:
- xAI Grok 4.3$1.25 in / $2.50 out per 1M
- xAI Grok Build 0.1$1.00 in / $2.00 out per 1M
- MiniMax M2.7$0.30 in / $1.20 out per 1M
- MiniMax M3$0.30 in / $1.20 out per 1M
- Qwen3.7 Max$1.48 in / $4.42 out per 1M
- xAI Grok 4.5$2.00 in / $6.00 out per 1M