EN ▾

Uncensored Qwen API, zero refusals.

https://api.abliteratedqwen.com/v1
Get API key

Qwen Abliterated API: Pricing and Limits

A qwen abliterated api is usually priced per token, so the useful questions are how much a request costs, how long it can be and how many you can send. Here are the exact numbers for this hosted service, with worked examples you can check yourself.

Last updated

Summary

  • Price is $0.15 per 1M input tokens and $0.50 per 1M output tokens, prepaid, no subscription.
  • Context is 100,000 tokens for prompt plus completion; the body limit is 8 MB.
  • Full key: 8 concurrent requests and 300 per minute. Trial key: 2 and 60.
  • A hobby workload costs a few dollars a month; a busy chat bot costs tens.
Coins flowing through a glass pipeline into a gauge, illustrating per-token pricing and usage limits

The price list

ItemValue
Input tokens$0.15 per 1M
Output tokens$0.50 per 1M
BillingPrepaid credit, pay as you go
SubscriptionNone
Failed or refused requestsNot charged
Credit expiryNever
Top-up sizeAny whole amount from $20 to $500
Top-up bonus+5% from $50, +10% from $100, +15% from $200
PaymentCrypto: USDT on TRC20 or USDC on Base
Trial$0.50, one click after sign-up, 7 days, no card

To be clear about what you are buying: this is a hosted text API with one open-weight model tuned to answer without content refusals. It is not the official Qwen API from Alibaba Cloud, and it does not route between vendors. For the official service, check the vendor's own current pricing page. The same goes for any other provider you want to compare against.

Limits that affect cost and design

  • Context window: 100,000 tokens, counting the prompt and the completion together.
  • Output: the completion can use the rest of the window. max_tokens is optional.
  • Request body: 8 MB at most.
  • Full key: 8 concurrent requests and 300 requests per minute.
  • Trial key: 2 concurrent requests and 60 requests per minute.

Going over returns HTTP 429. The code rate_limited means too many requests per minute, and concurrency means too many at the same time. A short overload also gives 429 with Retry-After: 5. A streamed request occupies its concurrency slot until the stream ends. If your app opens a stream per user, concurrency is the limit you will notice first.

The ceiling for a single key works out to 300 x 60 = 18,000 requests per hour. In practice 8 concurrent slots matter sooner: if an average reply takes 10 seconds, 8 slots handle roughly 8 x 6 = 48 requests per minute.

How to calculate one request

The formula is simple:

cost = input_tokens x 0.15 / 1,000,000 + output_tokens x 0.50 / 1,000,000

A request with 2,000 input tokens and 500 output tokens costs $0.0003 + $0.00025 = $0.00055. Output costs more than three times as much per token as input ($0.50 versus $0.15), so long answers add up faster than long prompts. A request that nearly fills the 100,000-token window, with a 98,000-token prompt and a 2,000-token reply, costs 0.098 x $0.15 + 0.002 x $0.50 = $0.0147 + $0.001 = $0.0157.

Failed or refused requests are not charged, so retrying after a 429 does not double your bill; only the request that succeeds is billed. If you want to compare this against another provider, convert both to cost per 1,000 requests of your own typical size, because input and output rates differ between services. Check their current pricing rather than relying on an old table.

Three monthly budgets

A hobby script

200 requests a day at 2,000 input and 500 output tokens: 200 x $0.00055 = $0.11 per day, or $3.30 over 30 days. A $20 top-up lasts about six months at that rate.

A roleplay or companion chat bot

100 users send 20 messages each per day, so 2,000 requests. Each carries 3,000 input tokens of history and returns 400 tokens. One request costs 0.003 x $0.15 + 0.0004 x $0.50 = $0.00045 + $0.0002 = $0.00065. A day costs 2,000 x $0.00065 = $1.30, and 30 days cost $39.00. A $200 top-up arrives as $230 of credit with the 15% bonus, which covers about 5.9 months of that traffic.

A document summarizer

500 documents a day, 20,000 input tokens and 800 output tokens each. One document costs 0.02 x $0.15 + 0.0008 x $0.50 = $0.003 + $0.0004 = $0.0034. A day is 500 x $0.0034 = $1.70, and 30 days are $51.00.

What a top-up really buys

Top-ups are whole amounts from $20 to $500, and the bonus raises the credit you receive.

You payBonusCredit you get
$20none$20.00
$50+5%$52.50
$100+10%$110.00
$200+15%$230.00
$500+15%$575.00

In tokens, one dollar of credit buys about 6.67M input tokens (1 / 0.15) or 2M output tokens (1 / 0.50). A $20 top-up therefore covers roughly 133M input tokens or 40M output tokens, split however your traffic splits. At the 15% tier, $200 buys $230 of credit, so each credit dollar costs about 87 cents. Credit never expires, so a larger top-up does not carry a deadline.

Read your real cost from the API

Estimates are fine for planning, but the API also reports what you spent. Every response carries an X-Balance-USD header, and the body has a usage object with token counts. In the Python SDK you can read both:

from openai import OpenAI

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

raw = client.chat.completions.with_raw_response.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Summarize the plot of Hamlet in 3 sentences."}],
    max_tokens=200,
)
resp = raw.parse()
u = resp.usage
cost = u.prompt_tokens * 0.15 / 1_000_000 + u.completion_tokens * 0.50 / 1_000_000
print(f"tokens in/out: {u.prompt_tokens}/{u.completion_tokens}, cost: ${cost:.6f}")
print("balance:", raw.headers.get("X-Balance-USD"))

You can also check credit without making a completion by calling GET /v1/balance, or the OpenAI-style GET /v1/dashboard/billing/credit_grants.

Ways to keep the bill down

  • Trim history. In a chat, every turn resends earlier messages. Keep the last several turns and a short summary instead of the full log.
  • Cap the answer. Set max_tokens for tasks that need a short reply, since output is the more expensive side.
  • Shorten the system prompt. It is sent with every request. A 1,000-token system prompt over 100,000 requests is 100M input tokens, or $15.
  • Measure before you forecast. Send 20 real requests, average the usage numbers, and multiply by your expected volume. A guess based on word counts can be off by a wide margin, especially for code and non-English text.
  • Handle 429s with backoff. Wait for Retry-After when present and avoid tight retry loops.

See the guide to common Qwen API mistakes for pitfalls that waste tokens, such as resending whole documents on every turn.

Getting started

Create an account on the API key page, claim the $0.50 trial and send a request with model uncensored to https://api.abliteratedqwen.com/v1. The pricing page shows the live top-up options, and the docs cover endpoints, streaming and tool calling. Use is for lawful adult purposes, and sexual content involving minors is not allowed.

Common questions

How much does the API cost per 1M tokens?

$0.15 per 1M input tokens and $0.50 per 1M output tokens. It is prepaid with no subscription, and failed or refused requests are not charged.

What is the maximum context length?

100,000 tokens for the prompt and completion combined. The request body can be up to 8 MB.

Is this the official Qwen API?

No. It hosts one independent open-weight model tuned to answer without refusals, and it is not an official service of Qwen, Alibaba Cloud or any other vendor.

How do I pay?

With crypto only: USDT on TRC20 or USDC on Base. Top-ups are whole amounts from $20 to $500, with bonuses from $50.

Get your API key now

Sign up, copy the key, update your base URL. That is all there is.

Table of contents