Grok API pricing, credit rates and real cost
Updated · official prices verified at the source
faborapi gives access to Grok models through one OpenAI-compatible API and a prepaid balance. With the $29 → $320 credit pack, real cash cost = credit rate × 0.090625.
- Grok models
- 5Grok models
- max saving
- —max saving
- real cost factor
- ×0.091real cost factor
Grok price comparison per 1M tokens
Pay $29 for $320 API credits (91% pack discount). Real cost = credit rate × 0.090625. Savings compare that real cost with xAI's official USD rate for the exact same model ID.
| Model | Official price (input / output) | faborapi credit rate | Real cost with $29 pack | Real savings | Official source verified |
|---|---|---|---|---|---|
Grok 3grok-3 | No exact official ID match | $2.00 / $6.00 | $0.181 / $0.544 | Not comparable | xAI pricing (opens in a new tab)ID not listed, checked |
Grok 3 Fast Betagrok-3-fast-beta | No exact official ID match | $2.00 / $6.00 | $0.181 / $0.544 | Not comparable | xAI pricing (opens in a new tab)ID not listed, checked |
Grok 3 Minigrok-3-mini | No exact official ID match | $2.00 / $6.00 | $0.181 / $0.544 | Not comparable | xAI pricing (opens in a new tab)ID not listed, checked |
Grok 4grok-4 | No exact official ID match | $2.00 / $6.00 | $0.181 / $0.544 | Not comparable | xAI pricing (opens in a new tab)ID not listed, checked |
Grok 4 Fastgrok-4-fast | No exact official ID match | $2.00 / $6.00 | $0.181 / $0.544 | Not comparable | xAI pricing (opens in a new tab)ID not listed, checked |
xAI's current pricing page lists no price for these exact Grok model IDs, so no savings percentage is claimed for them.
faborapi rates are read live from the catalog by exact model ID. Cache and long-context rates differ; see the documentation. Failed requests are not billed.
Credit packs for Grok: minimum top-up $10
Credit packs range from the Nano Pack ($10 for $100 of credit, the minimum top-up) to the Gold Pack ($99 for $1100). Every pack works with all Grok models above and with every other model in the catalog. Savings figures use the ×0.090625 factor shared by the Starter packs. Bronze and Gold lower it to 0.0891 and 0.09 respectively, so their real token cost is lower still.
Choose a pack
You pay
$29
API credit added
$320
- Cost per $100 of credit
- $9.06
- Real cost factor
- × 0.0906
- Below credit face value
- 90.94%
- Models unlocked
- Every model in the catalog
Prepaid, no subscription. Same models and token rates with every pack.
| Pack | You pay | API credit added | Cost per $100 of credit | Real cost factor | Below credit face value |
|---|---|---|---|---|---|
| Nano PackMinimum top-up | $10 | $100 | $10.00 | × 0.1 | 90% |
| Mini Pack | $15 | $160 | $9.38 | × 0.0938 | 90.63% |
| Starter PackReference pack | $29 | $320 | $9.06 | × 0.0906 | 90.94% |
| Bronze Pack | $49 | $550 | $8.91 | × 0.0891 | 91.09% |
| Silver Pack | $89 | $960 | $9.27 | × 0.0927 | 90.73% |
| Gold Pack | $99 | $1100 | $9.00 | × 0.09 | 91% |
Why use faborapi for Grok?
One key, 25 models
Your sk-fabor- key covers Claude, GPT, Gemini and Grok. Switch models by changing the model string.
Prepaid, no subscription
Each successful request is deducted from one prepaid balance and itemized on your Usage page.
Drop-in compatible
Point an existing OpenAI SDK at https://faborapi.com/v1 and keep the Chat Completions request format.
Grok pricing FAQ
How is the faborapi discount on Grok API pricing calculated?
faborapi deducts credit at its listed rate per 1M tokens, and the Starter pack costs $29 for $320 of credit, so real cash cost = credit rate × 0.090625. No Grok model currently has an exact official price match; check the table before purchasing.
Can I call Grok models with the OpenAI SDK?
Yes. faborapi serves Grok models through the OpenAI-compatible POST https://faborapi.com/v1/chat/completions endpoint. Set base_url to https://faborapi.com/v1, use your sk-fabor- API key and an exact model ID such as grok-3. Use the Chat Completions format for Grok; xAI-specific endpoints are not exposed.
How does the prepaid balance work for Grok requests?
Every successful Grok request deducts its token cost from one prepaid USD balance shared by all faborapi models. Failed requests are not billed, and a request is refused with HTTP 402 when the balance is 0 or lower. Accounts created with Google sign-in receive $0.50 of welcome credit. Credit packs range from the Nano Pack ($10 for $100 of credit, the minimum top-up) to the Gold Pack ($99 for $1100). The $29 Starter pack adds $320 of credit. Every pack is paid by bank card, Manza in Morocco or Mobile Money in supported African countries.
Start with $320 of Grok credit for $29
Create an account, top up, and make your first Grok API call in under two minutes.
How it works in Cursor & VS Code
Connect your editor to the Grok models currently listed in faborapi without rebuilding your application. Cursor supports custom OpenAI settings; in VS Code, use an extension that accepts an OpenAI-compatible endpoint, such as Continue. These instructions configure chat requests, not every proprietary editor feature.
- 1
Prepare your account. Sign up, confirm your email, and create an API key. Check your prepaid balance and copy an exact model ID from the live catalog; a model mentioned in a comparison may not currently be available.
- 2
Set the connection. In Cursor’s model settings, enter your faborapi key and override the OpenAI base URL. In Continue, choose the OpenAI provider and set the same address: https://faborapi.com/v1. Add the selected model ID explicitly. Menu names vary by version.
- 3
Test before switching. Send a short prompt, confirm the response, and inspect Usage for token deductions. Keep production keys in environment variables, never in committed code. Check extension support before enabling streaming or tools.
quickstart.py
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FABORAPI_API_KEY"],
base_url="https://faborapi.com/v1", # Replace the default endpoint
)
response = client.chat.completions.create(
model="grok-3",
messages=[{"role": "user", "content": "Explain this function briefly."}],
)
print(response.choices[0].message.content)