EN ▾

Limitless LLM API.

Start with free trial credit

With email and password, the key appears on screen immediately.

Get API key
Base URL
https://api.sansursuzapi.com/v1
Model
uncensored

AI API Pricing: Token Cost Calculator

AI API prices are usually set per token and look confusing at first glance. In this article, we calculate our API's price with real examples and show ways to reduce the bill.

Benefits and Cost Analysis of Using Uncensored AI

Updated

Gold coins flowing through a glass pipeline into a transparent meter, token cost icon

Highlights

  • Input is $0.15 for 1 million tokens, output is $0.50 for 1 million tokens.
  • No subscription: you top up, it deducts as you use, and never expires.
  • In chat, what increases cost is usually the long history, not the answer.
  • Failed or rejected requests are not charged.

Price in one sentence

The fee consists of two line items. The text you send to the model is input tokens at $0.15 per million tokens. The answer generated by the model is output tokens at $0.50 per million tokens. There is no monthly fixed fee, per-seat fee, or usage commitment. The balance is prepaid, and requests deduct from this balance.

The formula is:

maliyet = (girdi_token × 0,15 + çıktı_token × 0,50) / 1.000.000

Current amounts and bonus table are always on the pricing page. We do not list other providers' tariffs here; if you want to compare, you must check their current pricing pages.

What is a token, how many tokens do I spend?

A token is the piece into which the model splits text. It is hard to guess the exact count from the text; in agglutinative languages like Turkish, a sentence usually takes more tokens than in English. The easy way is to look at the usage field returned in every response. The small Python function below calculates the cost from this field:

from openai import OpenAI

client = OpenAI(base_url="https://api.sansursuzapi.com/v1", api_key="ANAHTARIN")

def maliyet(girdi, cikti):
    return (girdi * 0.15 + cikti * 0.50) / 1_000_000

r = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Bana kısa bir hikâye fikri ver."}],
)
u = r.usage
print(u.prompt_tokens, u.completion_tokens)
print(f"Bu istek: {maliyet(u.prompt_tokens, u.completion_tokens):.6f} dolar")

Also, the X-Balance-USD header in every response shows your remaining balance. You can also query the balance with GET /v1/balance.

There are three common mistakes when calculating cost. First, counting only the user message and forgetting the system prompt and history. Second, confusing the unit: the price is for 1 million tokens, not for 1,000 tokens. 1,000 input tokens cost 0.00015 dollars; reading this as 0.15 multiplies the cost by a thousand. Third, multiplying the output by the same price as the input. Keeping a small table and writing input and output separately for each scenario makes these mistakes naturally apparent.

If you want a more detailed measurement, write the usage value of every request to your own log for a week and multiply the total by the formula above at the end of the day. Compare with the balance drop to see if your calculation is correct.

Four example calculations

1. Small chatbot

Assume 2,000 input and 400 output tokens per message. Input: 2,000 × 0.15 / 1,000,000 = 0.0003 dollars. Output: 400 × 0.50 / 1,000,000 = 0.0002 dollars. 0.0005 dollars per message. 10,000 messages cost 5.00 dollars.

2. Batch summarization

10,000 documents, each with 3,000 input and 300 output tokens. Total input 30 million tokens: 30 × 0.15 = 4.50 dollars. Total output 3 million tokens: 3 × 0.50 = 1.50 dollars. All together 6.00 dollars.

3. Long document analysis

The context window is 100,000 tokens, and input and output share this window. 90,000 input and 2,000 output tokens: 90,000 × 0.15 / 1,000,000 = 0.0135 dollars, 2,000 × 0.50 / 1,000,000 = 0.001 dollars. 0.0145 dollars per request; 100 requests cost 1.45 dollars.

4. Ten-turn chat

Assume a 200-token system prompt. In each turn the user writes 300 tokens, the model replies with 300 tokens, and the history is sent every time. The input for turn k is 200 + (k − 1) × 600 + 300 tokens. The total input for 10 turns is 10 × 500 + 600 × 45 = 32,000 tokens, total output is 3,000 tokens. Cost: 32,000 × 0.15 / 1,000,000 = 0.0048 dollars, 3,000 × 0.50 / 1,000,000 = 0.0015 dollars; total 0.0063 dollars. A thousand such chats cost 6.30 dollars.

ScenarioUnit costScaleTotal
Chat message0.0005 dollars10,000 messages5.00 dollars
Document summary0.0006 dollars10,000 documents6.00 dollars
Long document0.0145 dollars100 requests1.45 dollars
10-turn chat0.0063 dollars1,000 chats6.30 dollars

Why is the invoice larger than expected?

See example 4: the output was only 3,000 tokens in 10 turns, but the input was 32,000 tokens. As the chat grows, each new request carries everything from before. So the cost is often determined not by the length of the answer, but by the size of the history.

The second trap is the system prompt. If you resend a 1,500-token prompt in 100,000 requests, just this part equals 150 million input tokens: 150 × 0.15 = $22.50. Shortening the prompt is direct savings.

The third is retries. If a request returns an invalid format and your code retries, you pay twice. If you need structured data, use JSON mode (response_format: {"type":"json_object"}) to reduce such retries.

Practical ways to save costs

  1. Prune the history. Keep the last few turns, summarize what came before into a paragraph.
  2. Shorten the prompt. Review the text sent in each request once; remove repeating rules.
  3. Limit the output. Output tokens are about three times more expensive than input tokens. Specify the length you want in the request, and set max_tokens if needed.
  4. Don't ask the same question twice. Cache frequent query results on your side.
  5. Test with a small sample first. Measure with 20 records, then multiply. Take the average of usage values before starting the batch job.
  6. Maintain throughput. Requests that hit limits and return 429 are not charged, but they waste time; set up a queue.

Remember that failed or rejected requests are not charged, so your balance does not deplete while debugging. Limits and other details are in the documentation.

How do you plan your monthly budget?

Four numbers are enough to estimate monthly cost: daily user count, messages per user, average input tokens per message, and output tokens. Take the numbers from the real data of the first week, do not start with estimates.

Example: 500 users per day, each sending 5 messages. This makes 2,500 messages per day. If the cost per message is $0.0005 as in the first example, daily spending is 2,500 × 0.0005 = $1.25, and over 30 days it becomes $37.50. Leave a 30% margin in case your estimates are off: 37.50 × 1.3 = $48.75. In this case, a $50 top-up (with bonus $52.50 credit) is comfortably enough for a month.

If traffic increases, the equation scales linearly: if the number of messages doubles, the cost doubles. As the balance decreases, it is good practice to subscribe to the X-Balance-USD header in your monitoring script and get alerts when it falls below a threshold.

Factor in speed

If work progresses slowly even though you have enough money, check the limits. A full key accepts 8 requests simultaneously and 300 requests per minute. A batch job of 10,000 documents will take at least 10,000 / 300 ≈ 34 minutes at a maximum of 300 requests per minute; if each request takes a few seconds, the concurrency limit extends this in practice. Therefore, running batch jobs with a queue and a fixed number of workers both prevents 429s and provides predictable speed.

Balance top-up and bonus

You can top up the balance in any integer amount between $20 and $500. The bonus works as follows:

Top-upBonusCredited to account
$20none$20.00
$505%$52.50
$10010%$110.00
$20015%$230.00

For example, the summarization task in the second scenario cost $6.00 for 10,000 documents; a $20 balance is enough for about 33,333 documents, a $100 top-up ($110 credit) for about 183,333 documents. Payment is crypto only: USDT on TRC20 or USDC on Base. The credit never expires, so idling for a month is not a loss.

Try it for free first

New users can get a $0.50 free trial credit with one click on the key page after signing in. One per person, valid for 7 days, no payment info required. With the message cost from the first example, this credit is enough for about 1,000 messages (0.50 / 0.0005). The trial key has a rate limit of 60 requests per minute and 2 parallel requests; the full key has 300 requests and 8 parallel requests. You can get the key here.

Other guides

Frequently asked questions

Is there a monthly fee for the AI API?

No. There is no subscription; you top up the balance and pay only for the tokens you use. The credit never expires.

Why are input and output token prices different?

Input is $0.15 for 1 million tokens, output is $0.50. Your invoice includes two separate line items, so long answers accumulate cost faster than input.

Are you charged for a failed request?

Failed or rejected requests are not charged.

How do I see my remaining balance?

You can check the X-Balance-USD header in every response, or query GET /v1/balance or the OpenAI-style credit_grants endpoint.

Your key is just one form away

Create an account, copy the key, and change the base URL. That's all it takes to set up.

Get API key