EN ▾
Get API key

Grokunfiltered API Pricing: Token Costs Explained

For grokunfiltered api pricing, the short version is $0.15 per 1M input tokens and $0.50 per 1M output tokens, paid from prepaid credit with no subscription. Below are worked examples so you can estimate your own bill before you top up.

Updated

Key points

  • Input costs $0.15 per 1M tokens and output costs $0.50 per 1M tokens.
  • A typical chat turn of 2,000 tokens in and 500 out costs $0.00055.
  • Top-ups run from $20 to $500 with +5%, +10% or +15% bonuses at $50, $100 and $200.
  • There is no free unlimited tier; new users get a one-time $0.50 trial valid for 7 days.
Scale balancing coins against a ribbon of token blocks, illustrating per-token API pricing

The price list in one table

ItemPrice
Input tokens (your prompt, history, system text)$0.15 per 1M
Output tokens (the model's reply)$0.50 per 1M
Subscription or monthly feeNone
Failed or refused requestsNot charged
Credit expiryCredit never expires

There is one model, with the ID uncensored, so there is no tier table to compare. Every request is priced the same way: count the tokens you send, count the tokens you get back, multiply by the two rates. The current numbers also live on the pricing page.

Output tokens cost a little over three times as much as input tokens ($0.50 against $0.15). That ratio decides which workloads are cheap. Long prompts with short answers, such as classification or extraction, are very cheap. Long generated stories cost more per request, but still small amounts in absolute terms.

How to compute a request cost

The formula has two terms:

cost = input_tokens x 0.15 / 1,000,000 + output_tokens x 0.50 / 1,000,000

Every response includes a usage block with the exact prompt and completion token counts, so you never have to guess after the fact. Responses also carry an X-Balance-USD header that shows what is left in your account, which makes it easy to log spend per call.

Here is a quick calculator you can paste into any project:

IN_PRICE = 0.15 / 1_000_000   # USD per input token
OUT_PRICE = 0.50 / 1_000_000  # USD per output token

def cost(tokens_in, tokens_out):
    return tokens_in * IN_PRICE + tokens_out * OUT_PRICE

print(round(cost(2_000, 500), 6))   # 0.00055
print(round(cost(50_000, 1_000), 6))  # 0.008

If you call the API from code, the base URL is https://api.grokunfiltered.cc/v1 and the model is uncensored; the docs page has the full quickstart. Tokens are counted by the model's tokenizer, not by words. As a rough guide in English, 1,000 tokens is about 750 words, but code and non-English text use more tokens per word.

Worked examples with real numbers

A single chat turn

A message with 2,000 tokens of system prompt and history, answered with 500 tokens:

  • Input: 2,000 x $0.15 / 1M = $0.0003
  • Output: 500 x $0.50 / 1M = $0.00025
  • Total: $0.00055

A thousand turns like this cost $0.55.

A long-document question

You paste a 50,000-token document and get a 1,000-token answer:

  • Input: 50,000 x $0.15 / 1M = $0.0075
  • Output: 1,000 x $0.50 / 1M = $0.0005
  • Total: $0.008

A request that fills the window

The context window is 100,000 tokens, prompt plus completion. Take 90,000 in and 10,000 out:

  • Input: 90,000 x $0.15 / 1M = $0.0135
  • Output: 10,000 x $0.50 / 1M = $0.005
  • Total: $0.0185

Even the largest single request stays under two cents.

A hundred-turn roleplay session

Chat front ends resend the history with every turn, so input grows. Suppose the average prompt is 6,000 tokens and the average reply is 300 tokens, over 100 turns:

  • Input: 100 x 6,000 = 600,000 tokens x $0.15 / 1M = $0.09
  • Output: 100 x 300 = 30,000 tokens x $0.50 / 1M = $0.015
  • Total: $0.105

That is about ten and a half cents for a long evening of fiction.

A month of an app in production

Say your app makes 10,000 requests a month, each with 1,500 tokens in and 400 out:

  • Input: 15,000,000 tokens x $0.15 / 1M = $2.25
  • Output: 4,000,000 tokens x $0.50 / 1M = $2.00
  • Total: $4.25

Topping up: amounts, bonuses and payment

You prepay credit and spend it down. Top-ups are any whole amount from $20 to $500, and larger top-ups add a bonus:

Top-upBonusCredit you receive
$20none$20.00
$50+5%$52.50
$100+10%$110.00
$200+15%$230.00
$500+15%$575.00

Payment is in crypto: USDT on TRC20 or USDC on Base. The bonus applies from $50 upward, and the tiers step at $50, $100 and $200, so a $199 top-up gets the +10% tier and a $200 top-up gets +15%.

To see what a top-up buys, take the $20 minimum and the single-turn example above. At $0.00055 per request, $20 covers about 36,000 such requests. Or look at it by volume: $20 buys 40M output tokens if you only count replies, or roughly 133M input tokens if you only count prompts. Real use is a mix, so the earlier worked examples are a better guide to your own bill.

Credit never expires, so there is no pressure to spend it by a certain date, and no recurring charge to cancel.

Estimating a budget before you top up

Most people overestimate what they need. A reliable way to size a top-up is to run your real workload for a day on the trial credit or a minimum top-up, read the totals from the usage blocks, and multiply. If you do not have real traffic yet, write down three numbers for your app: requests per day, average tokens in and average tokens out. Then plug them into the formula.

For example, a companion chat app with 200 active conversations a day, each averaging 25 turns of 4,000 tokens in and 250 tokens out:

  • Turns per day: 200 x 25 = 5,000
  • Input per day: 5,000 x 4,000 = 20M tokens x $0.15 / 1M = $3.00
  • Output per day: 5,000 x 250 = 1.25M tokens x $0.50 / 1M = $0.625
  • Daily total: $3.625, so about $108.75 over 30 days

In that workload, input is more than 80 percent of the cost, so trimming history gives a better return than limiting replies. A workload that writes long stories from short prompts flips the picture: output dominates, and max_tokens is the main lever.

A $200 top-up covers about 55 days of that app ($200 / $3.625), and with the +15% bonus the $230 credit covers about 63 days. Because credit never expires, there is no penalty for buying more than you use this month. Start with $20 if you are unsure, and move up once the usage blocks show your real numbers.

The trial and what is not free

New users can claim $0.50 of trial credit with one click on the API key page after sign-up. It is one per person, valid for 7 days, and needs no payment. Sign-up is with Google or with email and password. See the API key page for the steps.

At the single-turn example rate of $0.00055, $0.50 covers roughly 900 requests (909 to be exact). That is plenty for checking that your integration works, testing streaming and trying tool calls. The trial key has lower limits than a paid key: 2 concurrent requests and 60 requests per minute, against 8 and 300 on a full key.

To be plain about it: there is no free unlimited tier. When the trial runs out or expires, you add prepaid credit to continue. If you are looking for an endless free plan, this is not it. If you want a cheap, predictable meter, it is.

Ways to keep the bill small

  • Trim history. Input tokens repeat on every turn. Drop or summarize old messages once a chat gets long. In the 100-turn example, input was 86 percent of the bill.
  • Cap the reply. max_tokens is optional, but setting it protects you from a runaway answer at the higher output rate.
  • Do not retry blindly. A 429 is not charged, but a loop that resends large prompts after every real answer is. Respect the Retry-After header.
  • Watch the balance header. Log X-Balance-USD from responses, and alert when it drops below a level you choose.
  • Keep system prompts short. A 3,000-token system prompt sent 10,000 times is 30M input tokens, or $4.50.

Failed or refused requests are not charged, so errors do not eat your credit. Only completed answers count toward spend.

Questions and answers

How much does the API cost per token?

Input costs $0.15 per 1M tokens and output costs $0.50 per 1M tokens. There is no subscription, you spend down prepaid credit.

Is there a free tier?

There is no free unlimited tier. New users can claim a one-time $0.50 trial credit, valid for 7 days, with one click on the API key page.

What is the minimum top-up?

$20, in any whole amount up to $500. Bonuses of +5% from $50, +10% from $100 and +15% from $200 are added to the credit.

Does unused credit expire?

No. Credit never expires, and failed or refused requests are not charged.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Start with trial credit

Email and password, key on screen right away.