EN ▾
Get API key

Unrestricted AI Chatbot Cost per Month, Worked Out

The unrestricted ai chatbot cost on this API comes down to $0.15 per 1M input tokens and $0.50 per 1M output tokens, so a chat session of 30 turns costs under three cents. Below are the monthly numbers for a personal bot, a heavy user and a shared community bot.

Updated

Stack of speech bubbles shaped like a bar chart beside a jar filling with tokens, showing chatbot running cost

Key points

  1. A 30-turn chat session costs about $0.0265 with full history resent each turn.
  2. Trimming history to the last 10 exchanges cuts that to about $0.0167, roughly 37% less.
  3. One heavy user at 10 sessions a day spends about $7.95 a month; 100 daily users about $159.
  4. Credit never expires, so a $20 top-up is not a monthly commitment.

The short answer

For a personal chatbot, expect cents to a few dollars a month. For a bot with a hundred active users, expect about a hundred and fifty dollars. Those figures depend on one assumption that this article states openly: how many tokens each turn carries. Change the assumption and the total moves in a straight line.

The service is pay as you go from prepaid credit. There is no subscription and no monthly fee, so the monthly cost is exactly what your users generate. Credit never expires, failed or refused requests are not charged, and the model is a single one called uncensored at https://api.unrestrictedaichatbot.top/v1. There is no free tier, but new users can claim a one-time $0.50 trial credit, valid for 7 days. Details are on the pricing page.

Why chat costs more than the last message suggests

The model has no memory between requests. To keep a conversation going, your app resends the system prompt and every previous message each turn. That means input grows with every exchange, while each reply stays roughly the same size.

Input is the cheaper side, at $0.15 per 1M tokens, versus $0.50 per 1M for output. But the input side grows quickly, and in a long session it is the bigger share of the token count. The right way to estimate a bot is to model one full session, then multiply.

Assumptions for the worked example: a system prompt of 500 tokens, a user message of 60 tokens, a reply of 250 tokens, and a session of 30 turns. Each full exchange adds 310 tokens (60 + 250) to the history.

One session, calculated step by step

On turn n, the input is the system prompt plus the new user message (560 tokens) plus every earlier exchange, which is (n - 1) x 310 tokens. Summed across 30 turns:

  • Fixed part: 30 x 560 = 16,800 tokens.
  • History part: 310 x (0 + 1 + 2 + ... + 29) = 310 x 435 = 134,850 tokens.
  • Total input: 151,650 tokens.
  • Total output: 30 x 250 = 7,500 tokens.

Input cost: 151,650 x $0.15 / 1,000,000 = $0.0227475. Output cost: 7,500 x $0.50 / 1,000,000 = $0.00375. Session total: $0.0264975, or about 2.65 cents.

Notice that input tokens outnumber output tokens twenty to one, yet the output still makes up about 14% of the bill because it costs more than three times as much per token. That balance shifts as sessions get longer.

Monthly scenarios

ScenarioSessions per monthMonthly cost
Casual personal use, 3 sessions a day90about $2.38
Heavy personal use, 10 sessions a day300about $7.95
Community bot, 100 users, 2 sessions a day each6,000about $159

The first row is 90 x $0.0264975 = $2.38. The second is 300 x $0.0264975 = $7.95. The third is 6,000 x $0.0264975 = $158.99. These all use the same 30-turn session, so if your users chat in short bursts of five or six turns, your real number will be much lower, and if they roleplay for hours it will be higher.

Revenue matters too. If you charge users for access to a companion or roleplay app for adults, the cost per active user per month in the third row is $159 / 100, which is $1.59. Compare that with your pricing before you launch, and add a margin for peak days.

Cut the bill without hurting the chat

Trim history to a window

Keep the system prompt and only the last 10 exchanges. Over the same 30-turn session, the first 10 turns carry 0 to 9 earlier exchanges and the remaining 20 turns carry 9 each, which is 45 + 180 = 225 exchanges of history. Input becomes 30 x 560 + 310 x 225 = 16,800 + 69,750 = 86,550 tokens. Cost: 86,550 x $0.15 / 1M = $0.0129825, plus $0.00375 for output, so $0.0167325. That is about 37% cheaper than keeping everything, and for most characters the chat still feels coherent.

Summarise instead of dropping

Once the history passes a set length, ask the model to condense the oldest messages into a 200-token note, and keep that note in place of the raw turns. You pay for one extra short call and then save on every later turn.

Keep the system prompt lean

The system prompt rides along on every turn, so every extra token in it is paid for 30 times in our example session. A 500-token character sheet costs 500 x 30 x $0.15 / 1M = $0.00225 per session. Shrinking it to 250 tokens saves $0.001125 per session, which is about $6.75 a month across the 6,000 sessions of the community bot. Move rarely needed background into short notes that you add only when the scene calls for them.

Cap the reply

max_tokens is optional, but a cap of 300 stops rambling replies. Output is the dear side at $0.50 per 1M, so a habit of shorter answers also saves money. For streaming chat UIs, you can still let users press "continue" if they want more.

Measure real usage from the first day

Estimates are only as good as the token counts behind them. Every response includes a usage object, so log it and compute actual cost per session.

import os
from openai import OpenAI

client = OpenAI(base_url="https://api.unrestrictedaichatbot.top/v1", api_key=os.environ["UNRESTRICTED_API_KEY"])

def turn_cost(usage):
    return usage.prompt_tokens * 0.15 / 1_000_000 + usage.completion_tokens * 0.50 / 1_000_000

history = [{"role": "system", "content": "You are a friendly fantasy innkeeper in an adult roleplay app."}]
session_cost = 0.0

for text in ["Hello there.", "What is on the menu tonight?", "Any rumours worth hearing?"]:
    history.append({"role": "user", "content": text})
    r = client.chat.completions.create(model="uncensored", messages=history, max_tokens=250)
    history.append({"role": "assistant", "content": r.choices[0].message.content})
    session_cost += turn_cost(r.usage)

print(f"session cost: ${session_cost:.6f}")

Group the log by feature as well as by user. Companion chats, scene generation and memory summaries have different shapes, and the cheapest one to fix is often the one you did not suspect.

The X-Balance-USD header on each response shows your remaining balance, which is a handy cross-check against your own numbers. Compare the two after a day of real traffic and adjust your model of the average session.

Planning top-ups

Top-ups take any whole amount from $20 to $500. You can pay by by crypto (USDT on TRC20, USDC on Base). Bonuses are +5% from $50, +10% from $100 and +15% from $200, so $200 buys $230 of credit and $500 buys $575.

For the personal scenarios above, a single $20 top-up lasts years at the casual rate (about $2.38 a month) and a little over two and a half months at the heavy rate. The community bot needs roughly $159 a month, so a $200 top-up with its 15% bonus gives $230 of credit and covers about a month and a half. Since credit never expires, buying a larger block is a way to capture the bonus, not a commitment.

Keys also differ in limits: a full key gets 8 concurrent requests and 300 requests per minute, so a community bot with many simultaneous chats should queue requests and show a typing indicator. A streamed reply holds its slot until the stream finishes. Per-user daily caps are a cheap guard against one account using far more than the rest: if you set a limit of 40 messages a day, you know the worst-case cost of a user before they sign up. Start on the key page with the trial and read the documentation for the request format. If you want to compare against another provider, check their current pricing and run the same session math.

Questions and answers

How much does this chatbot cost per month?

A casual personal bot at 3 sessions a day costs about $2.38 a month on these rates, and a heavy user about $7.95. A community bot with 100 daily users costs about $159.

Is there a monthly fee?

No. Billing is per token from prepaid credit, and credit never expires.

What is the cheapest way to try it?

Claim the one-time $0.50 trial credit on the key page. At about $0.0265 per 30-turn session, it covers around 18 full sessions.

Do refused or failed requests cost anything?

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

Get API key