Grok 4.5
xAI's July 2026 flagship at $2 input / $6 output per 1M tokens — notable for keeping a 3:1 output-to-input ratio where most rivals charge 5-6x, which makes it materially cheaper than headline comparisons suggest on generation-heavy work. 500K context, Artificial Analysis Intelligence Index 54. Watch three things: prompts over 200K tokens double in price, Grok 4.5 is excluded from the batch discount that applies to Grok 4.3, and tools bill separately (Web/X Search and Code Execution at $5 per 1,000 calls, File Attachments at $10 per 1,000). Cached input is quoted between $0.30 and $0.50 depending on source — verify in the console before modelling costs.
500K
tokens
33K
tokens
$2
per 1M tokens
$6
per 1M tokens
88
tokens/sec
Jul 2026
2026-07-08
$4.00
per 1M tokens
23.5
quality per $
Capabilities
Benchmarks
Price vs Quality
Context Window in Context
- ▸ Grok 4.5500K
- Amazon Nova Pro300K
- Qwen3.8 27B262K
- Codestral256K
- Nemotron 3 Nano Omni256K
- Qwen 3.6 Plus256K
- Kimi K2.6256K
- Hunyuan Hy3256K
Not on our gateway yet
Swfte Connect does not hold a key for Grok 4.5, so there is nothing to run here. Add your own provider key and call it with the same API as every other model in this directory.
curl https://api.swfte.com/agents/v2/gateway/chat/completions \
-H "Authorization: Bearer $SWFTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "xai:grok-4.5",
"messages": [{"role": "user", "content": "Hello"}]
}'About Grok 4.5
Grok 4.5 is a flagship AI model by xAI, released on July 8, 2026. It supports a context window of 500K tokens and can generate up to 33K output tokens.
At $2 per million input tokens and $6 per million output tokens, its blended cost of $4.00/1M tokens puts it in the mid-range pricing tier. Its value score of 23.5 reflects the balance of quality and cost.
Using Grok 4.5 with Swfte
Access Grok 4.5 through Swfte Connect, our unified LLM gateway. Connect gives you a single API for 50+ models, with automatic routing, cost optimization, and fallback handling. You can also try Grok 4.5 in our AI Playground before integrating.