AI No Filter API Pricing Per Token Explained
Ai no filter api pricing per token is $0.15 per 1M input and $0.50 per 1M output. Here are worked examples for chat, summaries, long context and batches.
Last updated

Summary
- Cost = input / 1M x $0.15 + output / 1M x $0.50
- A 2,000 in / 400 out chat turn costs $0.0005
- Chat history makes input grow with every turn
- Top-up bonuses: +5% from $50, +10% from $100, +15% from $200
The formula
Ai no filter api pricing per token is simple: $0.15 for every 1M input tokens and $0.50 for every 1M output tokens. Input is everything you send, meaning the system prompt, the chat history and the new message. Output is what the model writes back. You pay from prepaid credit, with no subscription and no minimum per request.
Cost of one request = input tokens / 1,000,000 x $0.15 + output tokens / 1,000,000 x $0.50.
A token is a piece of a word. In English, a rule of thumb is that 1,000 tokens is roughly 750 words, or about 4,000 characters. Other languages and code often use more tokens per word. For exact numbers, read the usage field in each response.
Worked examples at a glance
| Workload | Tokens in / out | Cost per request | Cost for a batch |
|---|---|---|---|
| Chat turn | 2,000 / 400 | $0.0005 | 10,000 turns: $5.00 |
| Short story scene | 600 / 2,500 | $0.00134 | 1,000 scenes: $1.34 |
| Document summary | 30,000 / 700 | $0.00485 | 500 documents: $2.425 |
| Long-context analysis | 95,000 / 3,000 | $0.01575 | 100 runs: $1.575 |
| Bulk classification | 300 / 20 | $0.000055 | 100,000 items: $5.50 |
The next sections show the arithmetic behind the table so you can reproduce it with your own sizes.
Chat: why history makes it grow
For a single chat turn with 2,000 tokens in and 400 out: 2,000 / 1M x $0.15 = $0.0003, and 400 / 1M x $0.50 = $0.0002. Together, $0.0005. Ten thousand such turns cost $5.00.
The catch is that a chat sends the full history each turn, so input grows as the conversation does. Take a chat with a 500-token system prompt, where each turn adds 100 tokens from you and 200 from the model. On turn k, the input is 500 + (k - 1) x 300 + 100 tokens. Over 20 turns the input adds up to 20 x 600 + 300 x (0 + 1 + ... + 19) = 12,000 + 57,000 = 69,000 tokens. Output is 20 x 200 = 4,000 tokens. Cost: $0.01035 + $0.002 = $0.01235 for the whole 20-turn chat.
The history grows linearly, so the total input across a chat grows with the square of its length. If chats run to hundreds of turns, trim or summarize old messages. That is the single biggest lever on a chat bill. The cost and trade-offs analysis looks at this from the angle of running your own hardware.
Summaries, long context, generation and classification
Summaries are input-heavy. A 30,000-token document with a 700-token summary costs 30,000 / 1M x $0.15 = $0.0045, plus 700 / 1M x $0.50 = $0.00035. That is $0.00485 per document, or $2.425 for 500 documents.
Long-context jobs follow the same maths at a larger scale. The context window is 100,000 tokens, prompt plus completion together, so a 95,000-token prompt leaves room for up to 5,000 tokens of reply. With 3,000 tokens out: $0.01425 + $0.0015 = $0.01575 per run, and $1.575 for 100 runs. Even a full-window input costs about a cent and a half. If your job is mostly reading, output length hardly matters.
A tip: if you ask several questions about the same long document, put the questions in one request. Sending the document again for each question multiplies the input cost.
Generation and classification
Writing is output-heavy, and output costs $0.50 per 1M instead of $0.15. A story scene built from a 600-token brief and a 2,500-token result costs 600 / 1M x $0.15 + 2,500 / 1M x $0.50 = $0.00009 + $0.00125 = $0.00134. A thousand scenes cost $1.34. If you want cheaper output, ask for shorter replies or set max_tokens.
Classification is the reverse: tiny output. With 300 tokens in and 20 out, one item costs $0.000045 + $0.00001 = $0.000055. A hundred thousand items cost $5.50. JSON mode keeps the output compact and parseable.
From per-request cost to a monthly budget
Multiply the per-request figure by your volume. Suppose a small companion app has 300 daily users, and each opens one chat of 20 turns, like the example above at $0.01235. That is 300 x 30 = 9,000 chats a month, so 9,000 x $0.01235 = $111.15.
Now see what trimming does. If you cap history at the last 10 messages, input per turn stops growing after the cap. Each turn then carries about 500 + 10 x 150 = 2,000 input tokens (an average message size of 150), and 20 turns cost at most 20 x 2,000 = 40,000 input tokens: $0.006, plus $0.002 for output, so at most $0.008 per chat. The same 9,000 chats now cost at most $72.00. Longer chats save even more, because the cap holds the cost per turn flat.
Ways to lower the bill
- Trim or summarize old messages once a chat passes a set length.
- Keep the system prompt short and stable.
- Set
max_tokenswhen you need brief answers, since output is the more expensive side. - Batch several questions about one document into one request.
- Watch
X-Balance-USDin a dashboard or log so a runaway loop shows up within minutes, not at the end of the month.
Compute it in code
A few lines of Python turn the usage block into a dollar figure and keep a running total.
from openai import OpenAI
IN_RATE, OUT_RATE = 0.15, 0.50 # dollars per 1M tokens
client = OpenAI(base_url="https://api.filternoai.com/v1", api_key="YOUR_KEY")
total = 0.0
def ask(prompt):
global total
r = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": prompt}],
)
u = r.usage
cost = u.prompt_tokens / 1e6 * IN_RATE + u.completion_tokens / 1e6 * OUT_RATE
total += cost
print(u.prompt_tokens, u.completion_tokens, f"${cost:.6f}", f"running ${total:.6f}")
return r.choices[0].message.content
ask("Give me five names for a ship's cat in a pirate story.")
The response also carries an X-Balance-USD header with your remaining credit, so you can reconcile your own totals against the account. Failed or refused requests are not charged.
Top-ups, bonuses and the effective rate
Credit is bought in whole dollars from $20 to $500 and paid in USDT on TRC20 or USDC on Base. Bonuses apply by size: +5% from $50, +10% from $100 and +15% from $200.
| Top-up | Bonus | Credit received |
|---|---|---|
| $20 | none | $20.00 |
| $50 | +5% | $52.50 |
| $100 | +10% | $110.00 |
| $200 | +15% | $230.00 |
| $500 | +15% | $575.00 |
With the 15% bonus, $1 buys $1.15 of usage, so the effective rates drop to $0.15 / 1.15 = about $0.1304 per 1M input and $0.50 / 1.15 = about $0.4348 per 1M output. Credit never expires, so a larger top-up has no deadline. See pricing for the current table.
To test your own numbers first, claim the $0.50 trial on the API key page. It lasts 7 days, needs no card and covers about 1,000 chat turns of the 2,000 / 400 size above. The documentation shows how to read usage and balance.
More guides
Frequently asked questions
How are tokens counted?
The response usage field reports prompt tokens and completion tokens. Roughly, 1,000 tokens is about 750 English words.
Are input and output priced the same?
No. Input is $0.15 per 1M tokens and output is $0.50 per 1M tokens.
Do I pay for failed requests?
No. Failed or refused requests are not charged.
Does unused credit expire?
No. Credit never expires.