All models

Grok 4.5

Grok
Get a key

Rates per million tokens

Input
$0.80
List $2.00
Cached input
$0.30
List $0.50
Output
$2.40
List $6.00
Under list
60%
80% input, 20% output, no cache

Reasoning tokens are billed once, as output. Cache hits are billed at the cached rate and shown on each receipt.

What requests cost

RequestInput tokensOutput tokensOne request1,000 requests
Short chat reply1,000300$0.0015$1.52
Long document summary20,000800$0.02$17.92
Code generation4,0002,000$0.0080$8.00

Without cache hits. Actual token counts come from the provider.

Use it

Any OpenAI-compatible client works: set the base URL and use grok-4.5 as the model.

from openai import OpenAI

client = OpenAI(base_url="https://api.tokencli.dev/v1", api_key="YOUR_KEY")
reply = client.chat.completions.create(
    model="grok-4.5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
curl https://api.tokencli.dev/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "grok-4.5", "messages": [{"role": "user", "content": "Hello"}]}'

Last 24 hours

Not enough traffic in the last 24 hours to report a success rate. Status of all models