xAI
Grok 4.5 API
A frontier reasoning model for coding, knowledge work, and STEM tasks. It supports image input, function calling, and structured outputs; its 500K-token context suits cross-file analysis and long source material. Prefer a lower-cost model when frontier reasoning is unnecessary.
- Reasoning
- Function calling
- Structured output
- Long context
grok-4.5USD
Pricing
Public list prices are shown in USD. Final charges may vary by account group and usage tier.
API
Code examples
curl --location --request POST 'https://api.tokenhot.ai/v1/responses' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "grok-4.5",
"input": [
{
"role": "user",
"content": "What is xAI?"
}
],
"tools": [
{
"type": "web_search"
}
]
}'xAI
Related models
FAQ
Frequently asked questions
What is Grok 4.5 best suited for?
Grok 4.5 is suited to the input, output, and capability types listed on this page. Test production workloads before choosing it for a critical system.
How is Grok 4.5 priced?
Pricing is shown in the pricing section above. Actual cost depends on usage volume, account group, and the request payload.
How can I call Grok 4.5?
Use the model ID shown above with one of the supported API protocols. Code examples are provided when usage data is available.
Get started