EN ▾
Get API key

AI Model Pricing Comparison: A Method That Holds Up

An ai model pricing comparison goes wrong when it compares list prices and stops there. The number that matters is the monthly bill for your own prompts, so the method below turns any provider's rates into dollars per request and per month, using this API's $0.15 and $0.50 per million tokens as the worked example.

Updated

Three balance scales weighing token stacks against coins, illustrating a pricing comparison across providers

Key points

  • Compare cost per request and per month, not just per-million rates.
  • Input and output tokens are priced separately, so your ratio decides the winner.
  • Hidden multipliers: resent history, minimum top-ups, failed-call billing, rate limits.
  • Here: $0.15 in, $0.50 out per 1M tokens, prepaid, credit never expires.

Start with one formula

Every token-priced API charges by the same arithmetic. You send some input tokens, you receive some output tokens, and each side has its own rate per million:

cost per request = input_tokens × input_rate / 1,000,000 + output_tokens × output_rate / 1,000,000

Plug in this API's rates and a request with 1,500 input tokens and 300 output tokens costs 1,500 × 0.15 / 1,000,000 = $0.000225 for input, plus 300 × 0.50 / 1,000,000 = $0.00015 for output. The total is $0.000375. Multiply by your monthly request count and you have the bill.

That is the whole method. The work lies in getting honest numbers for the variables, and in noticing what the formula leaves out.

Measure your own tokens first

Vendors quote prices per million tokens because that is how they bill, but your workload is measured in requests. The bridge is the usage block that comes back with every response. Run twenty to fifty representative prompts and record the averages. The script below does that against this API and applies whatever rates you give it, so you can rerun the same measurement with another provider's numbers once you have looked up their current pricing.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uncensoredaimodel.com/v1",
    api_key=os.environ["UNCENSORED_API_KEY"],
)

prompts = [
    "Summarize the causes of the 1929 stock market crash in 120 words.",
    "Rewrite this sentence in a formal tone: we need that report asap.",
    "Draft a polite refusal to a vendor who asked for a meeting.",
]

def run(input_rate, output_rate):
    tin = tout = 0
    for p in prompts:
        r = client.chat.completions.create(
            model="uncensored",
            messages=[{"role": "user", "content": p}],
        )
        tin += r.usage.prompt_tokens
        tout += r.usage.completion_tokens
    n = len(prompts)
    per_request = (tin * input_rate + tout * output_rate) / 1_000_000 / n
    print(f"avg input {tin/n:.0f}, avg output {tout/n:.0f}, ${per_request:.6f} per request")

run(input_rate=0.15, output_rate=0.50)

Measure with the real shape of your traffic. A chat app that resends history looks nothing like a one-shot classifier, and a test with three toy prompts will mislead you in both directions.

Fill in a comparison table

Make one row per candidate and keep the columns identical. For this API the known values are below. For other providers, copy the numbers from their own pricing pages on the day you compare, because rates, tiers and discounts change.

ItemThis APICandidate BCandidate C
Input price per 1M tokens$0.15check their current pricingcheck their current pricing
Output price per 1M tokens$0.50check their current pricingcheck their current pricing
Context window100,000 tokenscheck their docscheck their docs
Subscription or minimumnone; top-ups from $20check their termscheck their terms
Charged for failed requestsnocheck their termscheck their terms
Credit expirynevercheck their termscheck their terms
Default rate limit300 requests/min, 8 concurrentcheck their docscheck their docs

Keep the table in a spreadsheet and revisit it every few months. Prices move, new tiers appear, and your own traffic changes shape as the product grows. A comparison that was right at launch can be wrong at ten times the volume.

The rows below the two prices matter more than people expect. A cheap rate with a tight concurrency cap can cost you engineering time, and a prepaid balance that expires is a hidden surcharge.

Three workloads, priced exactly

Here are three common shapes of usage, calculated at $0.15 input and $0.50 output per million tokens.

Support-style assistant, 10,000 requests a day

Each request carries 1,500 input tokens (instructions plus history) and returns 300 output tokens. Daily input is 15,000,000 tokens, which costs 15 × $0.15 = $2.25. Daily output is 3,000,000 tokens, which costs 3 × $0.50 = $1.50. That is $3.75 a day, or $112.50 over 30 days.

Batch summarizer, 2,000 documents a month

Each document is 12,000 tokens in and 600 tokens out. Monthly input is 24,000,000 tokens, costing 24 × $0.15 = $3.60. Output is 1,200,000 tokens, costing 1.2 × $0.50 = $0.60. The month comes to $4.20.

Long-context research calls

A call that fills most of the 100,000-token window, say 90,000 in and 10,000 out, costs 90,000 × 0.15 / 1,000,000 = $0.0135 plus 10,000 × 0.50 / 1,000,000 = $0.005, so $0.0185. A hundred such calls cost $1.85.

Look at the ratios. In the first workload, input is 60% of the bill. In the summarizer, input is 86% of it. Providers whose output rate is far above their input rate punish verbose answers; providers with a high input rate punish long prompts. Your own ratio of input to output decides which pricing structure suits you.

Which rate moves your bill most

Before deciding that one price column matters more than the other, test the sensitivity of your own workload. Take the support assistant from above: 10,000 requests a day, 1,500 tokens in and 300 out, currently $3.75 a day.

  • Cut the input rate in half, from $0.15 to $0.075, and the input line falls from $2.25 to $1.125. The day costs $2.625.
  • Double the output rate, from $0.50 to $1.00, and the output line rises from $1.50 to $3.00. The day costs $5.25.
  • Shorten the prompt by 500 tokens, from 1,500 to 1,000, and input drops to 10,000,000 tokens, which is $1.50. The day costs $3.00.

The third change is free and beats a 50% discount on a competitor's input price in this example. Prompt hygiene is often the cheapest optimization you have. Do the same exercise for your own numbers before negotiating with yourself over fractions of a cent per million.

Costs that never show up in a rate card

  • Resent history. Chat endpoints are stateless. Every turn bills the whole conversation again as input, so cost per turn grows with conversation length. Trimming or summarizing old turns often saves more than switching providers.
  • Retries and failures. If failed calls are billed, flaky networks raise your cost. Here, failed or refused requests are not charged.
  • Verbose models. A model that writes twice as much for the same task doubles your output spend. Compare real outputs, not only rates.
  • Minimums and expiry. Prepaid credit that expires or a large minimum deposit changes the effective price. Top-ups here are any whole amount from $20 to $500, with +5% from $50, +10% from $100 and +15% from $200, and the credit never expires.
  • Rate limits. Throughput caps shape how much work you can push through. A full key here allows 8 concurrent requests and 300 per minute.
  • Quality per dollar. A cheaper model that needs two attempts is not cheaper. Run the same prompts through each candidate and judge the answers.

The bonus changes the effective rate too. A $100 top-up yields $110 of credit, so the input rate behaves like $0.15 / 1.10, about $0.136 per million, and output like about $0.4545 per million. At $200 you receive $230, which works out to roughly $0.130 and $0.435.

A short checklist before you pick

  1. Write down average input and output tokens from real requests.
  2. Estimate monthly requests, including retries and peak days.
  3. Compute the monthly cost for every candidate with the same formula.
  4. Check limits: requests per minute and concurrent requests must cover your peak.
  5. Read the terms on failed calls, credit expiry, minimum deposits and data use.
  6. Run the same twenty prompts through each option and compare answers.
  7. Pick the cheapest option whose answers you would actually ship.

The last line is the important one. A comparison that ends with the lowest number and ignores the quality of the output has not compared the products.

When another option is the better fit

Price is only one axis, and this API is deliberately narrow. It serves one open-weight text model, run by an independent provider and tuned to answer without content refusals for lawful adult use. There is no image, audio or video generation, no embeddings and no fine-tuning, and it is not the official API of any model vendor. If you need those features, a vendor-specific platform is the right comparison, and you should price it on its own terms.

This API is a good match when your work is text generation, your content would trip filters elsewhere, you want to pay per token with no subscription, or you prefer to move an existing OpenAI-style client by changing only the base URL and key. Prompts are not used for training. Crypto (USDT on TRC20, USDC on Base) is accepted for top-ups.

To test the comparison with real money at risk of exactly $0.50, claim the trial credit from the API key page: one click, no card, valid for 7 days. Current figures sit on the pricing page, request formats in the documentation, and a related overview is in the page on the uncensored LLM API, pay per token and OpenAI compatible.

Questions and answers

How do I compare AI model prices fairly?

Convert every price into dollars per request using your own average input and output token counts, then into dollars per month. Also compare context window, rate limits, minimums and whether failed calls are billed.

Why are input and output tokens priced separately?

Providers bill them at different rates because generating tokens costs more than reading them. On this API input is $0.15 and output is $0.50 per million tokens.

What does 10,000 requests a day cost here?

With 1,500 input and 300 output tokens each, it is $3.75 per day, or $112.50 over 30 days. Your own token counts will move that number up or down.

Does this API charge for refused or failed requests?

No. Failed or refused requests are not charged, and prepaid credit never expires.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API key