EN ▾
Get API key

Flux Uncensored API Pricing: Text Tokens Explained

Flux uncensored api pricing is simple: you pay per token of text, from prepaid credit, with no subscription. Below are the rates, the arithmetic, and examples for chat, batch jobs and long prompts.

Updated

Key points

  1. Input costs $0.15 per 1M tokens and output costs $0.50 per 1M tokens.
  2. Top-ups are any whole amount from $20 to $500, with a bonus from $50 upward.
  3. A $0.50 trial is claimed with one click after sign-up. There is no free unlimited tier.
  4. Failed or refused requests are not charged, and credit never expires.
Balance scale weighing coins against stacked text blocks, illustrating per-token API pricing

The rates at a glance

ItemPrice
Input tokens$0.15 per 1M
Output tokens$0.50 per 1M
Minimum top-up$20
Maximum top-up$500
Trial credit$0.50, valid 7 days, one per person
SubscriptionNone

That is the whole price list for flux uncensored api pricing. The service is a text API: it writes, rewrites and structures text, and it does not create images, audio or video. If you came here from an image workflow, the text model is the part that drafts prompts, captions and scene notes. The current figures also sit on the pricing page.

A token is a chunk of text, usually a few characters. Short common words are often one token and long or rare words split into several. The API reports exact counts in the usage field of each response, so you never have to guess after the fact.

There is no subscription. You add credit, spend it token by token, and top up again when it runs low, so there is no recurring plan to forget about and cancel.

How a single request is billed

Each request has two parts. Input tokens are everything you send: the system message, the conversation so far, and your new message. Output tokens are what the model writes back. Output is priced higher per token, so long replies cost more than long prompts of the same size.

The formula is:

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

Take a typical chat turn with 2,000 input tokens and 500 output tokens.

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

That is about a twentieth of a cent. The context window is 100,000 tokens, shared by prompt and completion, and max_tokens is optional. A request that fills the window with 90,000 input tokens and gets 4,000 tokens back costs 90,000 x 0.15 / 1,000,000 = $0.0135 plus 4,000 x 0.50 / 1,000,000 = $0.002, so $0.0155.

You can check any bill by hand. Multiply the token counts by the two rates, add the results, and compare with the X-Balance-USD change between two calls.

Worked examples for real jobs

A batch of 1,000 requests

Say you expand 1,000 short ideas into full descriptions. Each call uses 1,500 input tokens and 600 output tokens. Total input is 1,500,000 tokens, which costs 1.5 x $0.15 = $0.225. Total output is 600,000 tokens, which costs 0.6 x $0.50 = $0.30. The batch costs $0.525, or about $0.000525 per call.

A 20-turn roleplay session

Chat apps cost more than they look because every turn resends the history. Assume an 800-token system prompt, 150 new user tokens per turn and 350 reply tokens per turn, so the history grows by 500 tokens each turn. Turn 1 sends 950 input tokens, turn 2 sends 1,450, and so on, adding 500 each time. Over 20 turns the input adds up to 20 x 950 + 500 x (0 + 1 + ... + 19) = 19,000 + 95,000 = 114,000 tokens. Output is 20 x 350 = 7,000 tokens.

  • Input: 114,000 x 0.15 / 1,000,000 = $0.0171
  • Output: 7,000 x 0.50 / 1,000,000 = $0.0035
  • Total: $0.0206

So a long session costs about two cents. The cost per turn rises as the history grows, which is why trimming or summarising old messages pays off in long-running apps.

One million in, one million out

A round number for planning: 1M input tokens and 1M output tokens together cost $0.15 + $0.50 = $0.65.

Top-ups, bonuses and what $20 buys

You add credit in whole dollar amounts from $20 to $500. Larger top-ups earn a bonus on the amount you pay:

Top-upBonusCredit you receive
$20 to $49nonesame as paid
$50+5%$52.50
$100+10%$110
$200+15%$230
$500+15%$575

Using the batch example above at $0.000525 per call, a $20 top-up pays for 20 / 0.000525, which is about 38,000 calls. Credit never expires, so there is no pressure to spend it by a date. You can pay with crypto (USDT on TRC20, USDC on Base). The balance after each request is returned in the X-Balance-USD response header, which makes it easy to alert yourself when credit runs low.

The trial and the free question

People often ask whether there is a free plan. There is a trial, and there is no free unlimited tier. After sign-up, you can claim $0.50 of trial credit with one click on the API key page. It needs no card, it is valid for 7 days, and it is limited to one per person. Sign-up is with Google, or with email and password.

The trial key is capped at 2 concurrent requests and 60 requests per minute. At the 2,000-in, 500-out rate from earlier, $0.50 covers around 900 chat turns (0.50 / 0.00055 is about 909), which is plenty for checking the model's tone, testing your integration and measuring token use. A full key allows 8 concurrent requests and 300 per minute. Go to the API key page when you are ready to claim it.

Estimating your own bill

Do not guess at token counts. Send a handful of real requests and read the usage block. Then multiply. This script prints the cost of one call from the numbers the API returns:

import os
from openai import OpenAI

client = OpenAI(base_url="https://api.fluxuncensored.cc/v1", api_key=os.environ["API_KEY"])

IN_PRICE = 0.15 / 1_000_000
OUT_PRICE = 0.50 / 1_000_000

r = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Draft a 200-word scene opening in a rainy city."}],
)
u = r.usage
cost = u.prompt_tokens * IN_PRICE + u.completion_tokens * OUT_PRICE
print(u.prompt_tokens, "in,", u.completion_tokens, "out, cost $%.6f" % cost)

Run that on ten representative prompts, take the average, and multiply by your expected daily volume. Add a margin for retries, since a failed request is not billed but your retry is a new call. The docs describe the usage fields in more detail.

Reading the numbers on a budget

Per-token prices look tiny, so it helps to turn them into a monthly figure. Suppose your app sends 5,000 requests a day, each with 1,000 input tokens and 300 output tokens. Daily input is 5,000,000 tokens, costing 5 x $0.15 = $0.75. Daily output is 1,500,000 tokens, costing 1.5 x $0.50 = $0.75. That is $1.50 a day, or $45 over 30 days. If you double the reply length to 600 tokens, output cost doubles to $1.50 and the day costs $2.25, which shows how much the output side matters.

The same app on a full key stays within the limits as long as it averages under 300 requests per minute. 5,000 requests spread over a day is about 3.5 per minute, so the cap only matters for bursts. Keep an eye on concurrency instead: a streamed reply holds one of your 8 slots until the last token arrives, so slow, long replies use slots for longer.

Ways to keep costs down

  • Trim history. In chat, drop old turns or replace them with a short summary once the thread passes a few thousand tokens.
  • Cap the reply. Set max_tokens when you only need a short answer. Output is the expensive side.
  • Keep system prompts short. They are resent on every call.
  • Stop sequences. The stop parameter ends generation early when you only need a fixed-format answer.
  • Watch the balance header. Read X-Balance-USD in your logs so a runaway loop shows up within minutes, not at month end.

Prompts are not used for training, and the one hard content rule is no sexual content involving minors. Lawful adult use is otherwise what the model is tuned for.

Questions and answers

Is there a free plan?

There is a one-time trial of $0.50, claimed with one click after sign-up, valid for 7 days. There is no free unlimited tier.

How much does one million tokens cost?

One million input tokens cost $0.15 and one million output tokens cost $0.50. Both together come to $0.65.

Do refused or failed requests cost money?

No. Failed or refused requests are not charged.

Does credit expire?

No. Prepaid credit never expires, and there is no subscription.

What is the smallest top-up?

$20, in any whole amount up to $500. A bonus of 5% applies from $50, 10% from $100 and 15% from $200.

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.

$0.15per 1M input tokens

$0.50Output tokens / 1M

100,000token context

$0.50trial credit

300requests per minute