Save 15% on top-ups — use OFOXAI2608Learn more
Grok

xAI: Grok 4.5

Chat
x-ai/grok-4.5

Grok 4.5 is xAI's frontier model with strong performance on coding, knowledge work, and STEM. 500K context, reasoning model, prompt caching supported. OpenAI-compatible protocol. Released July 8, 2026.

Context Window
500K
Max Output Tokens
66K
Released
2026-07-08
Capabilities
Function CallingReasoningPrompt Caching
Available Providers
GrokxAI
Supported Protocols
OpenAIopenai

Providers

GrokxAI
Input Tokens
$2/M
Output Tokens
$6/M
Cache Read
$0.3/M
Protocols
OpenAIopenai/v1/chat/completions

Code Examples

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.io/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="x-ai/grok-4.5",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

Frequently Asked Questions

xAI: Grok 4.5 on Ofox.ai costs $2/M per million input tokens and $6/M per million output tokens. Pay-as-you-go, no monthly fees.