xAI

Grok 3 Mini

grok-3-mini
Context 1MMax out 1MText chatReasoningFunction callingPrompt cache

Pricing

Input · per 1M tokens$1.25
Output · per 1M tokens$2.50
Cache read · per 1M tokens$0.20

Call it

Swap <YOUR_TTTTT_API_KEY> and the snippet runs as-is.

curl https://api.ttttt.ai/v1/chat/completions \  -H "Authorization: Bearer $TTTTT_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "grok-3-mini",    "messages": [{ "role": "user", "content": "Hello!" }]  }'

More from xAI