Grok 4.5
Dynamic pricingReasoningxAI
Frontier Grok model for coding and knowledge work.
- Input
- $0.50
- per 1M tokens
- Output
- $1.50
- per 1M tokens
- Context window
- 500K
- tokens
- Max output
- 128K
- tokens
Pricing
Prices are in USD per 1M tokens. Cached input is billed at the cache read price.
- Input
- $0.50/ 1M
- Output
- $1.50/ 1M
- Cache read
- $0.075/ 1M
Tiered prices
Price depends on prompt length or time of day. Every tier is listed below.
| Applies to | Input | Output | Cache read |
|---|---|---|---|
| Prompts up to 200K tokens | $0.50 | $1.50 | $0.075 |
| Prompts over 200K tokens | $1.00 | $3.00 | $0.15 |
Use it from code
The samples read your key from the ORYNX_API_KEY environment variable.
curl https://api.orynx.dev/v1/chat/completions \
-H "Authorization: Bearer $ORYNX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.5",
"messages": [{"role": "user", "content": "Explain what an API gateway does in one sentence."}]
}'Use it in your tools
Minimal configuration for popular coding agents. Replace sk-orynx-... with your key.
Codex CLI
Full guide~/.codex/config.toml
model = "grok-4.5"
model_provider = "orynx"
[model_providers.orynx]
name = "ORYNX"
base_url = "https://api.orynx.dev/v1"
env_key = "ORYNX_API_KEY"
wire_api = "responses"Cursor
Full guideCursor Settings → Models
OpenAI API Key: sk-orynx-...
Override OpenAI Base URL: https://api.orynx.dev/v1
Custom model name: grok-4.5OpenCode
Full guideopencode.json
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"orynx": {
"npm": "@ai-sdk/openai-compatible",
"name": "ORYNX",
"options": {
"baseURL": "https://api.orynx.dev/v1",
"apiKey": "{env:ORYNX_API_KEY}"
},
"models": {
"grok-4.5": {
"name": "Grok 4.5",
"limit": {
"context": 500000,
"output": 128000
}
}
}
}
}
}More from Grok
Grok 4.6Dynamic pricing
grok-4.6xAI's strongest Grok for coding, knowledge work and agents.
- Input
- $0.50/ 1M
- Output
- $1.50/ 1M
OpenAI ChatOpenAI Responses500K ctx
