Grok
Grok Text

devdoclang/grok-4.5

Model ID: devdoclang/grok-4.5
Family
Grok
Context
1,000,000
Minimum charge / request
0.00012 $
Cache hit rate
78.7%
Requests
742
Success
97.8%
Tokens
54.59M
Uptime
24h agoNow
7 days agoNow

Pricing

Input / 1M tokens
0.038 $
Output / 1M tokens
0.05 $
Minimum charge / request
0.00012 $
Prompt Cache 78.7%
Cache read / 1M tokens
0.04 $
Cache write / 1M tokens
0.044 $

Repeated prompts are cached — reads are far cheaper than input, applied automatically via the API.

Price history

Price levels previously applied. The row tagged "current" is the live price.

Current Since 29/07/2026 - 09:23:23
Input / 1M tokens0.038 $ Output / 1M tokens0.05 $ Minimum charge / request0.00012 $ Cache read / 1M tokens0.04 $ Cache write / 1M tokens0.044 $
Cost estimator
Estimated total 0 $
Average / request 0 $

Estimate based on list prices. Caching usually makes it cheaper.

Supported endpoints
https://api.xah.io/v1/chat/completions
https://api.xah.io/v1/messages
https://api.xah.io/v1/responses
https://api.xah.io/v1beta/models/devdoclang/grok-4.5:generateContent
https://api.xah.io/api/chat
https://api.xah.io/api/generate
Method POST · application/json
Auth Bearer token (API key)
Rate limit 60 req/min
Tested load 🟢 Enterprise peak 60/s · sustained 17.1/s
Latency p95 4,523 ms
API kinds Text

Notes

💵💵💵 Đã giảm giá để anh em bào.
Yêu thích để lại 5 * để mình có động lực giảm giá cho anh em. Sẽ sớm mở đợt giảm giá 20% để anh em trải nghiệm. Model này đặt giá rẻ hơn để ae bào code. Khi lỗi do AWS gateway anh em retry vài lần là ok

Share

curl 'https://api.xah.io/v1/chat/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "devdoclang/grok-4.5",
    "messages": [
        {
            "role": "user",
            "content": "Hello, who are you?"
        }
    ]
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/chat/completions', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "devdoclang/grok-4.5",
    "messages": [
        {
            "role": "user",
            "content": "Hello, who are you?"
        }
    ]
})
});
const data = await res.json();
console.log(data);
import requests

url = 'https://api.xah.io/v1/chat/completions'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = {
    "model": "devdoclang/grok-4.5",
    "messages": [
        {
            "role": "user",
            "content": "Hello, who are you?"
        }
    ]
}

res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
    "model": "devdoclang/grok-4.5",
    "messages": [
        {
            "role": "user",
            "content": "Hello, who are you?"
        }
    ]
}

Try it

Send a prompt with your API key — uses real credits, streams back instantly.

Reviews & comments
1.0 / 1 reviews
Loading reviews...
Contact Support
We are always ready to help you