xAI: Grok 4.5

Chat
x-ai/grok-4.5

Grok 4.5 is xAI's frontier model, released on 2026-07-08, delivering strong performance on coding, knowledge work, and STEM tasks. It is a reasoning model with tool use (function calling) and prompt caching support, letting multi-step agent loops reuse a shared context cheaply. Context window: 500K tokens, output: 64K. Accessible via the OpenAI-compatible protocol.

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

Providers

xAI
Input Tokens
$2/M
Output Tokens
$6/M
Cache Read
$0.3/M
Protocols
openai/v1/chat/completions/v1/responses

Code Examples

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.run/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)

Uptime & Status

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.