𝕏

xAI Grok

AI

xAI's Grok models with real-time X/Twitter knowledge

xAI's Grok models (Grok-1, Grok-2) are OpenAI-compatible LLMs with real-time knowledge from X and strong reasoning capabilities.

Details

Auth Type
API Key (Bearer token)
Rate Limit
60 req/min
Pricing
$5–$15 per 1M tokens
Full Docs
Step 1: Save your provider key

This is NOT your Callio key. Enter the API key from the provider's dashboard (e.g. OpenAI/SendGrid).

API Key (Bearer token)

1. Go to https://console.x.ai 2. Create an API key 3. Paste it in the API Key field

Get API Credentials

Getting Started

1

Try It Instantly

Click "Try It" above to test the API in the playground

2

Add to Your Agent

Click "Add to Agent" to get your API key and integrate

Common Use Cases

Real-time knowledge Q&A
Text generation
Code assistance
Reasoning tasks
Analysis

💻 Code Examples

Get started quickly with these code examples in your favorite language

curl -X GET \
'https://www.callio.dev/api/proxy/xai-grok/forward?target=https%3A%2F%2Fapi.x.ai%2Fendpoint' \
-H 'Authorization: Bearer YOUR_CALLIO_KEY' \
-H 'Content-Type: application/json'

💡 Tip: Replace YOUR_CALLIO_KEY with your actual Callio API key from the dashboard.

Ready to integrate xAI Grok?

Test endpoints live or generate your API key and start building in minutes

Browse More APIs