by xAI · chat
Grok 4.1 Fast by xAI — Access via Apertis API. Input: $0.0003/1M tokens, Output: $0.0021/1M tokens. Context: 2.0M tokens. OpenAI-compatible API with 50% cost savings.
| Input | Output | Context Window |
|---|---|---|
| $0.0003 / 1M tokens | $0.0021 / 1M tokens | 2.0M tokens |
Use the Apertis API (OpenAI-compatible) to access Grok 4.1 Fast:
curl https://api.apertis.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "grok-4.1-fast", "messages": [{"role": "user", "content": "Hello!"}]}'