Grok 4.5
xai/grok-4.5
xAI's flagship Grok 4.5 — their most intelligent and fastest model. 500K context, vision-capable, chain-of-thought reasoning. 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.5", "Hello!")Pricing
5% markup on official xai API prices.
Payment
Pay per request with USDC on Base. No subscription required.
Try It
Send a message to try Grok 4.5
Connect your wallet to enable payments
About xAI Grok 4.5
xAI's flagship Grok 4.5 — their most intelligent and fastest model. 500K context, vision-capable, chain-of-thought reasoning. Supports Live Search (+$0.025/source). It is built by xAI and served through BlockRun's OpenAI-compatible API, which means you can call it without an account, an API key, or a subscription. Requests are paid for individually, in USDC, at the moment they are made.
What it costs
Grok 4.5 is billed per token. The underlying rates are $2.50 per million input tokens and $9.00 per million output tokens; a flat platform margin and a small per-transaction fee covering on-chain settlement are 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.5 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 comes back as an HTTP 402 carrying a signed price quote. Your client signs that quote with a wallet holding USDC and retries; the second request returns the completion, and the payment settles on-chain. Client libraries handle this handshake for you, so in practice it is a single call. See the documentation for request and response shapes, or browse the full catalog of 71 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.5:
- xAI Grok 4.3$1.50 in / $4.00 out per 1M
- xAI Grok Build 0.1$1.50 in / $3.00 out per 1M
- MiniMax MiniMax M3$0.30 in / $1.20 out per 1M
- qwen Qwen3.7 Max$1.48 in / $4.42 out per 1M
- qwen Qwen3.7 Plus$0.32 in / $1.28 out per 1M
- MiniMax MiniMax M2.7$0.30 in / $1.20 out per 1M