Grok 4.5
Grok logo

Grok 4.5

grok-4.5
Grok

Pricing

PricingCache Read
$2$6
$0.5/M tokens

Input Modalities

  • Text
  • Vision

Context length

  • 500K tokens

Capabilities

  • Thinking
  • Streaming
  • Tool calling
  • Web search
  • URL context
  • Code interpreter
  • Computer use
  • File search
  • Memory tool
  • Document input
  • Structured outputs
  • Citations
  • Prompt caching
  • Background mode
  • Server-side sessions

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://shkq.org/v1",
)

response = client.chat.completions.create(
    model="grok-4.5",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is the context length of Grok 4.5?

Grok 4.5 has a 500,000 token context window.