Skip to content
Pay $29, get $320 of credit

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.

xAI official Grok rates compared with faborapi credit rates and real cost, USD per 1M input and output tokens
ModelOfficial price (input / output)faborapi credit rateReal cost with $29 packReal savingsOfficial source verified
Grok 3grok-3No exact official ID match$2.00 / $6.00$0.181 / $0.544Not comparablexAI pricing (opens in a new tab)ID not listed, checked
Grok 3 Fast Betagrok-3-fast-betaNo exact official ID match$2.00 / $6.00$0.181 / $0.544Not comparablexAI pricing (opens in a new tab)ID not listed, checked
Grok 3 Minigrok-3-miniNo exact official ID match$2.00 / $6.00$0.181 / $0.544Not comparablexAI pricing (opens in a new tab)ID not listed, checked
Grok 4grok-4No exact official ID match$2.00 / $6.00$0.181 / $0.544Not comparablexAI pricing (opens in a new tab)ID not listed, checked
Grok 4 Fastgrok-4-fastNo exact official ID match$2.00 / $6.00$0.181 / $0.544Not comparablexAI 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

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

11.0× your payment in credit Includes $30 gift
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
Get the Starter Pack

Prepaid, no subscription. Same models and token rates with every pack.

faborapi credit packs usable for Grok API calls: price paid, API credit added and real cost factor, USD
PackYou payAPI credit addedCost per $100 of creditReal cost factorBelow credit face value
Nano PackMinimum top-up$10$100$10.00× 0.190%
Mini Pack$15$160$9.38× 0.093890.63%
Starter PackReference pack$29$320$9.06× 0.090690.94%
Bronze Pack$49$550$8.91× 0.089191.09%
Silver Pack$89$960$9.27× 0.092790.73%
Gold Pack$99$1100$9.00× 0.0991%
Why faborapi

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.

FAQ

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.

Editors

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. 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. 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. 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.

Read the full editor setup and API documentation

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)