EN ▾
Get API key

ChatGPT API Model Pricing: How to Read and Compare

ChatGPT API model pricing is quoted per million tokens, with separate rates for input and output, and the bill depends mostly on how much text you resend. Here is how to read those rates, price your own workload, and compare it with our flat prepaid rates.

Updated

Key points

  • Pricing is per 1M tokens, split into input (prompt) and output (completion) rates.
  • Here: $0.15 per 1M input tokens and $0.50 per 1M output tokens, prepaid, no subscription.
  • Chat history is resent every turn, so input tokens usually dominate the bill.
  • For any other provider, plug their current rates into the same formula.
Balance scale weighing glowing tokens against coins, illustrating per-token API pricing

The formula behind every price list

Every large-language-model API bills the same way. You pay for tokens going in and tokens coming out, and the two have different rates. A token is a chunk of text, roughly three quarters of an English word. A 1,000-word email is around 1,300 to 1,400 tokens.

When you plan a budget, work backwards from a unit you understand: cost per user session, per generated article, or per processed document. Run ten real examples, record the token counts, and take the average plus a margin for the long tail. Long outliers matter, because one prompt that fills the window costs as much as dozens of short ones. A simple rule of thumb for English is that 100 tokens is about 75 words, but code, other languages and unusual formatting use more tokens per word, so measure rather than assume.

The cost of one request is:

cost = input_tokens x input_rate / 1,000,000 + output_tokens x output_rate / 1,000,000

That is all. Model names change, tiers get added and discounts come and go, but the arithmetic stays the same. OpenAI publishes the official rates for its ChatGPT API models, and those change over time, so check their current pricing page before you budget anything. This article does not quote them. Instead it shows you how to compute your own cost, then applies the formula to the rates on this site so you can put the two side by side.

Our rates and what they cost in practice

This service runs one open-weight model, ID uncensored, through an OpenAI-compatible API. It is not OpenAI's service. The prices are $0.15 per 1M input tokens and $0.50 per 1M output tokens, charged from prepaid credit. There is no subscription and credit never expires. Failed or refused requests are not charged.

RequestInputOutputMathCost
Short question2003000.00003 + 0.00015$0.00018
Summarise an article4,0004000.0006 + 0.0002$0.0008
Long document review60,0001,5000.009 + 0.00075$0.00975
Story chapter2,0003,0000.0003 + 0.0015$0.0018

To verify one row: the document review sends 60,000 input tokens, so 60,000 x 0.15 / 1,000,000 = $0.009. It returns 1,500 tokens, so 1,500 x 0.50 / 1,000,000 = $0.00075. The sum is $0.00975, under one cent for a document that fills more than half of the 100,000-token window.

Why chat history is the hidden multiplier

The API does not remember anything. In a chat, your code resends earlier messages on every request, and each resend is billed as input. A conversation that feels cheap per message can add up because turn 20 pays again for turns 1 through 19.

Take a chat with a 500-token system prompt, where every turn adds 150 tokens from the user and 250 from the model. Input on turn n is 500 + 400 x (n - 1) + 150 tokens. Over 20 turns that sums to 20 x 650 + 400 x (0 + 1 + ... + 19) = 13,000 + 76,000 = 89,000 input tokens. Output is 20 x 250 = 5,000 tokens.

  • Input: 89,000 x 0.15 / 1,000,000 = $0.01335
  • Output: 5,000 x 0.50 / 1,000,000 = $0.0025
  • Total for the whole 20-turn chat: $0.01585

Notice that input is almost eighteen times the output in tokens, yet the output rate is higher per token, so input still costs only about five times as much as output. If you doubled the length of that chat to 40 turns, input would roughly quadruple, not double, because the history keeps growing. Trimming or summarising old turns is the biggest saving available to you.

Measure your real usage in code

Estimates are fine for planning, but the response tells you exactly what a call used. The usage object has prompt and completion token counts. This script turns them into dollars with the rates above.

import os
from openai import OpenAI

IN_RATE = 0.15   # dollars per 1M input tokens
OUT_RATE = 0.50  # dollars per 1M output tokens

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

def cost(usage):
    return (usage.prompt_tokens * IN_RATE + usage.completion_tokens * OUT_RATE) / 1_000_000

resp = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Summarise the plot of Hamlet in 100 words."}],
)
print(resp.choices[0].message.content)
print(f"tokens in/out: {resp.usage.prompt_tokens}/{resp.usage.completion_tokens}")
print(f"cost: ${cost(resp.usage):.6f}")

Every response also carries an X-Balance-USD header with the credit left on your key, which gives you a second check against your own arithmetic. For streamed responses, usage comes at the end of the stream. Set max_tokens if you want a hard cap on the output side; without it, a completion can use the rest of the window.

To compare against another provider, change only the two constants to their current published rates. Run the same prompts through both and you have a like-for-like number from your own traffic, which beats any spreadsheet guess.

Top-ups, bonuses and the effective rate

You prepay in any whole amount from $20 to $500. Bigger top-ups carry a bonus: +5% from $50, +10% from $100 and +15% from $200. The effective price per token falls accordingly.

Top-upBonusCreditEffective input rateEffective output rate
$20none$20.00$0.15$0.50
$50+5%$52.50about $0.143about $0.476
$100+10%$110.00about $0.136about $0.455
$200+15%$230.00about $0.130about $0.435

The effective rate is the list rate divided by the credit multiplier, for example 0.15 / 1.10 = 0.136. This site accepts crypto only: USDT on TRC20 or USDC on Base. Full details are on the pricing page.

New users can also claim $0.50 of trial credit with one click after sign-up. It is valid for 7 days and needs no payment details, and at the short-question cost above it covers nearly 2,800 requests. Claim it on the API key page.

Cost levers that apply to any provider

Cut the input first

Shorten the system prompt, drop old turns, and send only the file sections or documents the question needs. Input is where the tokens pile up.

Cap the output

Ask for a length in the prompt and set max_tokens where a runaway answer would hurt. Output tokens cost more per token here, 0.50 against 0.15.

Batch by design, not by hope

A full key allows 8 concurrent requests and 300 per minute. That is ample for a parallel job if you queue work and respect the limits. A 429 with rate_limited or concurrency means slow down; add a short retry delay. See the integration docs for headers and error codes.

Pick the model for the job

Price per token is only half of value. A cheaper model that needs three tries costs more than a pricier one that gets it right. This service offers one model only, tuned to answer without content refusals for lawful adult use, with text output only. If your task needs images, embeddings or a particular vendor model, price that elsewhere using the formula above.

Questions and answers

How much does the ChatGPT API cost?

OpenAI sets and changes those rates, so check their current pricing page. The formula is input tokens times the input rate plus output tokens times the output rate, per million tokens.

What does this API cost per request?

$0.15 per 1M input tokens and $0.50 per 1M output tokens. A request with 4,000 tokens in and 400 out costs $0.0008.

Is there a minimum top-up?

Yes, $20, in any whole amount up to $500. Credit never expires and there is no subscription.

Do failed requests cost anything?

No. Failed or refused requests are not charged.

Is there a free trial?

New users can claim $0.50 of trial credit with one click after sign-up. It is valid for 7 days and needs no payment details.

Your key is one form away

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

Get API key