EN ▾
Get API key

Text Messages API System Pricing: Cost Per Message

If your system generates text messages with a language model, the bill is counted in tokens, not messages. Here is how to turn $0.15 and $0.50 per 1M tokens into a price per message and a monthly budget.

Updated

Message bubbles on a conveyor passing a glowing scale and coin stack, representing per-message API pricing

Key points

  • Input costs $0.15 per 1M tokens and output costs $0.50 per 1M tokens, prepaid, no subscription.
  • A short message exchange of 400 input and 80 output tokens costs $0.0001, so $1 buys 10,000 of them.
  • This is a text generation API, not an SMS delivery gateway: it writes messages, it does not send them.
  • Top-ups run from $20 to $500 with bonuses of 5%, 10% and 15% on larger amounts.

Which kind of text messages this prices

The phrase text messages api system pricing can mean two different things, so settle that first. One meaning is SMS delivery: a carrier-facing service that sends a message to a phone number and charges per segment and per country. This API does none of that. The other meaning is a system that writes text messages, such as auto-replies, support answers, reminders, notifications drafted per customer, or chat turns in an app. That is what this article prices.

The service is a hosted, OpenAI-compatible text API. You send a conversation to POST /v1/chat/completions with the model uncensored and get text back. You then deliver that text through whatever channel you use: your own app, a messaging platform's API, or an SMS gateway you pay separately. The delivery cost belongs to that other provider, so check their current pricing. Everything below covers the writing step only.

The model is one open-weight model run by an independent provider, tuned to answer without content refusals for lawful adult use. It is text only, with no image, audio or video output and no embeddings. Because the price depends on token counts, the work is to estimate how many tokens your typical message uses.

The rates and what a token is

ItemRate
Input tokens (your prompt and history)$0.15 per 1M
Output tokens (the generated reply)$0.50 per 1M
Subscription or monthly minimumNone, pay as you go
Failed or refused requestsNot charged
Credit expiryNever

A token is a piece of a word. English text averages somewhat under one word per token, so a rule of thumb is that 100 tokens is a bit less than 80 words. Treat this as an estimate only; names, code and other languages tokenise differently. The reliable number comes from the usage block in each response, which reports prompt tokens and completion tokens exactly. Log it from day one and your per-message cost stops being a guess.

Two points about the formula. Output tokens cost a little over three times as much as input tokens per token ($0.50 against $0.15), so a short, tight reply is the cheapest lever you have. And input is not only the new message: your system prompt, instructions and any conversation history are billed as input on every single request.

Cost of one message, worked out

Take three typical shapes and compute each exactly. The formula is input tokens x $0.15 / 1,000,000 plus output tokens x $0.50 / 1,000,000.

Short auto-reply

400 input tokens (a 250-token instruction block plus a 150-token customer message) and 80 output tokens. Input: 400 x $0.15 / 1,000,000 = $0.00006. Output: 80 x $0.50 / 1,000,000 = $0.00004. Total: $0.0001. A dollar buys 10,000 of these.

Support answer with history

1,200 input tokens (instructions, a short product note and the last few turns) and 250 output tokens. Input: 1,200 x $0.15 / 1,000,000 = $0.00018. Output: 250 x $0.50 / 1,000,000 = $0.000125. Total: $0.000305. A dollar buys a little over 3,200 answers.

Summary of a long thread

90,000 input tokens (a long archive pasted in) and 2,000 output tokens. Input: 90,000 x $0.15 / 1,000,000 = $0.0135. Output: 2,000 x $0.50 / 1,000,000 = $0.001. Total: $0.0145. The context window is 100,000 tokens for prompt plus completion, so this is close to the ceiling. You pay a lot more per request here, but still only about a cent and a half.

The trial credit is $0.50, claimed with one click on the key page after sign-up, valid for 7 days and needing no payment. At $0.0001 per short reply that is 5,000 replies, which is enough to run a real test with real traffic.

Monthly budgets for common systems

Multiply the per-message cost by your volume. Three examples, with the arithmetic shown so you can swap in your own numbers.

  • Small shop assistant. 2,000 support answers per month at $0.000305 each: 2,000 x $0.000305 = $0.61.
  • Reminder and notification drafts. 50,000 short messages per month at $0.0001 each: 50,000 x $0.0001 = $5.00.
  • Busy chat product. 3,000 conversations per day, 6 replies each, at $0.000305 per reply: 3,000 x 6 = 18,000 replies a day, 18,000 x 30 = 540,000 a month, and 540,000 x $0.000305 = $164.70.

The third example shows where costs rise: chat history. Each reply in a conversation includes the earlier turns as input, so a 12-turn chat costs far more than twelve independent one-liners. Cap the history you send, summarise old turns, and keep the system prompt short. Halving a 1,200-token prompt to 600 tokens saves 600 x $0.15 / 1,000,000 = $0.00009 per request, which at 540,000 requests is $48.60 a month.

It is also worth testing the output length. If your messages are meant to be short, say so in the prompt and set max_tokens as a guard; it is optional on this API, and otherwise the completion can use the rest of the window.

Top-ups, bonuses and what they buy

Credit is prepaid. You add any whole amount from $20 to $500, and larger amounts earn a bonus: +5% from $50, +10% from $100 and +15% from $200. Payment is in crypto: USDT on TRC20 or USDC on Base. Credit never expires, and there is no monthly fee, so a top-up you do not use this month is still there next month.

You payBonusCredit you getShort auto-replies at $0.0001
$20none$20.00200,000
$50+5% ($2.50)$52.50525,000
$100+10% ($10)$110.001,100,000
$200+15% ($30)$230.002,300,000
$500+15% ($75)$575.005,750,000

The full current terms are on the pricing page. Failed or refused requests are not charged, so if a request errors out after you retry, you pay once for the success and nothing for the failures. Each response also carries an X-Balance-USD header, which lets your system watch its own balance and alert you before it reaches zero.

Rate limits set your throughput ceiling

Price is only half of capacity planning. A full key allows 8 concurrent requests and 300 requests per minute. A trial key allows 2 and 60. At 300 per minute the ceiling is 18,000 requests an hour, or 432,000 a day, which fits most small and mid-sized systems. If you need to send a burst, spread it out or queue it.

When you exceed a limit, the API returns HTTP 429. The error code rate_limited means too many requests in a minute, and concurrency means too many at the same time. A temporary overload also returns 429, with a Retry-After: 5 header. A streamed request keeps its concurrency slot until the stream ends, so if your system streams replies to users, count open streams when you size your worker pool.

Here is a minimal request with a retry on 429, using the OpenAI SDK:

import time
from openai import OpenAI, RateLimitError

client = OpenAI(base_url="https://api.unfilteredvideo.cc/v1", api_key="YOUR_KEY")


def draft_message(customer_text):
    for attempt in range(4):
        try:
            r = client.chat.completions.create(
                model="uncensored",
                messages=[
                    {"role": "system", "content": "Reply in at most two short sentences."},
                    {"role": "user", "content": customer_text},
                ],
                max_tokens=80,
            )
            u = r.usage
            print("tokens", u.prompt_tokens, u.completion_tokens)
            return r.choices[0].message.content
        except RateLimitError:
            time.sleep(5)
    raise RuntimeError("still limited after retries")

The printed token counts are what you log to compute your real price per message. The documentation lists all parameters and error codes.

Checking your estimate before you commit

The safest plan is to measure before you budget. Claim the trial from the key page, run a few hundred representative messages, and compute the average of prompt tokens and completion tokens from the logs. Plug those two averages into the formula, multiply by your monthly volume, and add a margin of 20 to 30 percent for retries, longer-than-usual threads and growth.

If your project is a video pipeline, the same maths applies to the text steps around it, such as scripts, captions and prompts; see the page on the AI video API for how text fits next to video tools. Note that this endpoint does not generate video itself. Prompts are not used for training, which is useful when the messages contain customer text. And since the content rules are the same for every use, remember the hard limit: no sexual content involving minors.

Questions and answers

Does this API send SMS messages?

No. It generates text with a language model. Delivery to phones is a separate service that you would pay for to its own provider.

How much does one short reply cost?

A reply with 400 input tokens and 80 output tokens costs $0.00006 plus $0.00004, which is $0.0001. One dollar covers about 10,000 of them.

Is there a monthly fee or minimum?

No. It is pay as you go from prepaid credit that never expires. Top-ups start at $20.

How can I see what I have spent?

Each response includes an X-Balance-USD header and a usage block with exact token counts, so you can log both.

Your key is one form away

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