EN ▾

Uncensored text AI for developers

Get API key

Flux Dev Free API: What Is Free and What Is Not

Flux is an image model family, and this site does not generate images. It sells an uncensored text API, so here is what a free tier looks like on the text side and what real usage costs.

Updated

Isometric illustration of tokens flowing into a jar beside a coin stack, representing pay-per-token pricing

Key points

  • This API is text only. It does not run Flux or any other image model.
  • There is no free unlimited tier. New users get a one-click $0.50 trial, valid for 7 days, with no payment details.
  • Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens, from prepaid credit.
  • A typical image-prompt rewrite costs about $0.00012, so $20 covers well over 100,000 of them.

The short answer

If you came here looking for a flux dev free api, the honest answer has two parts. First, Flux is a family of image generation models, and nothing on this site generates images. Second, the thing we do sell, a text LLM API, has no free unlimited tier either. What it has is a small trial and a very low per-token price.

The trial is $0.50 of credit that you claim with one click on the API key page after you sign up. It is valid for 7 days, it needs no payment details, and it is limited to one per person. After that you pay as you go from prepaid credit. Credit never expires, there is no subscription, and failed or refused requests are not charged.

That may sound like a bad answer to a query that starts with the word free. The numbers further down show why it usually is not: text prompts are cheap, and the trial alone covers a few thousand small requests.

Image model or text model: which one do you need?

People who search for a free Flux endpoint usually want one of two things. Some want to render pictures. Others already render pictures somewhere and want help writing the prompts that go into the image model. Those are different products, and it helps to be clear about which one you are shopping for.

For rendering, you need an image host or a local install of the model. We do not offer that, and you should check the licence and the current pricing of whichever host you pick, because terms for open-weight image models differ and change.

For prompt writing, a text model is the right tool. Image models respond to the wording of the prompt, and a language model can draft, expand, vary and clean up that wording in bulk. Our API is built for that side of the pipeline. It is a single open-weight text model run by an independent provider, tuned to answer without content refusals for lawful adult use. Because it does not refuse in the middle of a batch, a long run of prompt drafts does not stall on a canned apology.

Two limits apply no matter how you use it. The model is text only, so there is no image, audio or video output, no embeddings and no fine-tuning. And sexual content involving minors is never allowed.

What the text API costs per token

Billing counts tokens. A token is a short chunk of text, roughly three quarters of an English word on average, though the exact count depends on the text. You pay for what you send and what the model writes back, at two rates:

  • Input: $0.15 per 1M tokens.
  • Output: $0.50 per 1M tokens.

Output is the more expensive side, and for prompt writing it is usually the smaller side too. A short brief goes in and a few sentences come out. To get a cost per request, multiply input tokens by 0.15 and output tokens by 0.50, then divide by 1,000,000.

The context window is 100,000 tokens, prompt plus completion together. The completion may use whatever is left of the window, and max_tokens is optional, so you set it only when you want a hard ceiling on the reply length.

Worked examples with the math

Here are four request sizes, each computed from the two rates above.

JobInput tokensOutput tokensCost per request
Expand a one-line idea into a prompt300150$0.00012
Write a longer prompt with notes800400$0.00032
Rework a 50,000-token style bible into 2,000 tokens of output50,0002,000$0.0085
Fill most of the window: 90,000 in, 10,000 out90,00010,000$0.0185

Row one: 300 x $0.15 / 1M = $0.000045 for input, plus 150 x $0.50 / 1M = $0.000075 for output, which gives $0.00012. Row two: $0.00012 for input plus $0.0002 for output is $0.00032. Row three: $0.0075 plus $0.001 is $0.0085. Row four: $0.0135 plus $0.005 is $0.0185.

Scaling up

One thousand requests of the first kind cost $0.12. Ten thousand cost $1.20. If you run 2,000 of them a day, that is $0.24 a day, or $7.20 over 30 days. One thousand requests of the second kind cost $0.32.

These are token counts you choose for the sake of the example. Your own prompts will differ, and the response includes usage figures so you can measure real traffic after a first small run.

What the $0.50 trial actually buys

Divide the trial by the per-request costs above. At $0.00012 a request, $0.50 covers 4,166 requests, since 0.50 / 0.00012 is about 4,166.7. At $0.00032 a request it covers 1,562 requests, since 0.50 / 0.00032 is 1,562.5. Either way, that is enough to wire up a script, run a few hundred real prompts, and judge the output before you spend anything.

The trial key has tighter limits than a full key: 2 concurrent requests and 60 requests per minute, against 8 concurrent and 300 per minute on a full key. If you exceed them the API answers with HTTP 429 and a rate_limited or concurrency error code, so keep a small worker pool while you test. A streamed request holds its concurrency slot until the stream ends.

The credit expires after 7 days, so claim it when you are ready to test, not months ahead. To start, get an API key and press the trial button on that page. Sign-up is with Google or with email and password.

Topping up when the trial runs out

Paid credit starts at $20 and goes up to $500 in any whole-dollar amount. Larger top-ups add a bonus: 5% from $50, 10% from $100, and 15% from $200. A $100 top-up therefore credits $110, which at $0.00012 a request is roughly 916,000 prompt expansions. A $50 top-up credits $52.50.

This site takes crypto only: USDT on TRC20 or USDC on Base. The pricing page has the current table of amounts and bonuses.

Because credit does not expire and there is no monthly fee, a quiet month costs nothing. That is the closest the product comes to free: you pay only for the tokens you actually use, and an idle account costs zero.

Keeping the bill low

A few habits cut cost without cutting quality.

  • Keep the system prompt short. It is sent on every call, so 500 extra tokens repeated across 10,000 calls is 5M input tokens, or $0.75.
  • Trim chat history. If you replay a long conversation each turn, input grows with every turn. Send only what the next reply needs.
  • Cap the reply when you can. Set max_tokens for jobs where you know the answer is short.
  • Watch the balance. Each response carries an X-Balance-USD header, so a script can stop itself before credit runs out.
  • Test on a handful first. Run 20 requests, read the usage numbers, then multiply.

Setup takes a few minutes, since any OpenAI SDK works once you change the base URL and key. The quickstart in the docs has the exact values, and everything on the page applies to the trial key as well.

Questions and answers

Is there a free Flux dev API here?

No. This site runs a text LLM API and does not generate images with Flux or any other model. For text, new users can claim a $0.50 trial credit with one click, valid for 7 days.

Is there a free unlimited tier for the text API?

No. After the one-per-person trial you pay as you go from prepaid credit at $0.15 per 1M input tokens and $0.50 per 1M output tokens.

Does the trial need payment details?

No. You sign up with Google or with email and password, then claim the credit on the API key page.

How do I pay after the trial?

Top up any whole amount from $20 to $500 with USDT on TRC20 or USDC on Base. Bonuses are 5% from $50, 10% from $100 and 15% from $200.

Am I charged for failed requests?

No. Failed or refused requests are not charged, and prompts are not used for training.

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.