Qwen API · Alibaba · OpenAI-compatible

Qwen3.8 Max API from $1.90 per 1M input tokens.

Alibaba’s Qwen3.8 models on one OpenAI-compatible key: 5% below Alibaba Cloud Model Studio’s International list price from your first request, and up to 25% below as your top-ups grow. No Alibaba Cloud account needed.

  • $1 free when you sign up
  • +10% on your first top-up, up to $100
  • Failed requests are free
984K token context, one price at any lengthImage and video inputPrepaid, no subscription
up to −25%

Qwen3.8 Max · per 1M input tokens

Official $2.00

$1.50Tier 3

Tier 1 for new accounts: $1.90. The more you top up, the lower it goes.

  • Qwen3.8 Flash$0.15$0.113−25%

What a top-up buys

$20 is about 3,000 Qwen3.8 Max chat replies.

Pick a model and an amount. Each number is how many requests of that size your balance covers at Tier 1, before the first top-up’s 10% extra credit.

What you pay for

A discount that grows, a long context, one key.

5–25%

The more you top up, the less you pay

5% below Alibaba’s International list price at Tier 1, 15–20% at $1,000 in top-ups and 25% at $10,000. Every later request bills at the lower rate.

984K

Long context at one price

Both models read up to 984K tokens, with text, image and video input, reasoning and tool calling. The price per token is the same at any prompt length.

1 key

Every major model family

No Alibaba Cloud account, region or console to set up. The same key reaches DeepSeek, GLM, Kimi, Claude, GPT and Gemini, from one prepaid balance in USD.

How pricing tiers work

Every account starts at Tier 1. Top up more to move up.

Your account starts on Tier 1, with the discount below from the first request. At $1,000 in cumulative top-ups it moves to Tier 2, at $10,000 to Tier 3, on its own, and every later request bills at the lower rate.

Tier 1 · you start hereBelow $1,000 in top-ups

Qwen3.8 Max −5%, Qwen3.8 Flash −5% against Alibaba Cloud’s list price. Purchased credits last 12 months.

Tier 2$1,000+ in top-ups

Qwen3.8 Max −15%, Qwen3.8 Flash −20%.

Tier 3$10,000+ in top-ups

The lowest rates: Qwen3.8 Max −25%, Qwen3.8 Flash −25%.

  • 20% or more
  • 11–19%
  • 10% or less

Swipe the table for Tier 2 and 3 →

Per 1M tokensAlibaba list priceTier 1Tier 2Tier 3
Qwen3.8 Max · input$2.00$1.90−5%$1.70−15%$1.50−25%
Qwen3.8 Max · output$6.00$5.70−5%$5.10−15%$4.50−25%
Qwen3.8 Flash · input$0.15$0.143−5%$0.12−20%$0.113−25%
Qwen3.8 Flash · output$0.47$0.447−5%$0.376−20%$0.353−25%

Discounts apply to input and output. Cached input bills at Alibaba Cloud’s list price at every tier (Qwen3.8 Max $0.25, Qwen3.8 Flash $0.016 per 1M). Official price: the model maker's list price. Tier 1–3: OceanToken's standing discounts by cumulative top-up, not limited-time offers. Large volume? Talk to sales.

Which Qwen

Two Qwen models on the same key.

Both take up to 984K tokens of context, with reasoning, tool calling and text, image and video input. Pick by model ID.

Flagship

Qwen3.8 Max

Alibaba’s largest Qwen3.8 model, for complex reasoning and coding. We serve the September 2 snapshot, up to 131K output tokens.

qwen/qwen3.8-max-0902

Fast and low cost

Qwen3.8 Flash

For high-volume work: about 13x cheaper than Max per input token, with the same context length, up to 131K output tokens.

qwen/qwen3.8-flash

Same price either way

Thinking mode

Alibaba prices Qwen3.8 Max the same with thinking on or off, and so do we.

thinking on · off

Setup

From sign-up to first request in a few minutes.

Step 1 · Sign in
Sign in to OceanToken Continue with Googleyou@company.com Continue with email$1 free credit · 14 days · no card
Step 2 · Make your first call
# Your API key from the OceanToken console client = OpenAI( base_url="https://api.oceantoken.ai/v1", api_key="YOUR_API_KEY") client.chat.completions.create( model="qwen/qwen3.8-max-0902", messages=[{"role": "user", "content": "Hi"}])
Only the base URL, key and model ID change. Full quickstart
Step 3 · Add credits when you’re ready
Add credits
$5$20$50$100
Balance
$22.00
+10% on the first top-up
Tier 1 · −5% on Qwen3.8 Max · ≈ 3,300 chat replies
Step 4 · Top up more, pay less
Tier 1Below $1,000−5%
Tier 2$1,000+−15% / −20%
Tier 3$10,000+up to −25%
Large volume? Talk to sales.

Questions

Before you top up

What do I get when I sign up?

An API key and $1 of free credit that lasts 14 days, no card needed: about 150 Qwen3.8 Max or 2,000 Qwen3.8 Flash chat replies of 2,000 input and 500 output tokens. Your first card top-up gets 10% extra credit, up to $100. Have a promo code? Redeem it in the console for more credit.

What does $20 get me?

At Tier 1, about 3,000 Qwen3.8 Max chat replies of 2,000 input and 500 output tokens, about 1,800 agent steps, or about 99 long documents of 100,000 input and 2,000 output tokens. On Qwen3.8 Flash, about 39,400 of the same chat replies. As a first top-up it buys 10% more.

How do your prices compare with Alibaba Cloud’s own API?

Against Alibaba Cloud Model Studio’s International list price, Qwen3.8 Max is −5% at Tier 1 ($1.90 input and $5.70 output per 1M, against $2.00 and $6.00) and Qwen3.8 Flash −5%. At Tier 3, Qwen3.8 Max is −25% and Qwen3.8 Flash −25%. Cached input bills at Alibaba’s list price.

Is Alibaba Cloud’s own price lower?

Sometimes. We compare with Alibaba Cloud Model Studio’s International list price. Alibaba also sells Qwen through its Global deployment at $1.65 input and $4.951 output per 1M for Max: below our Tier 1, below our Tier 2, above our Tier 3. Qwen3.8 Flash there is $0.113 and $0.382: below our Tier 1, below our Tier 2, the same as our Tier 3. Alibaba also offers batch requests at half price, which we do not.

With us you get one key and one USD balance for Qwen and every other model, without an Alibaba Cloud account or region to set up.

When do I move to Tier 2?

When your cumulative top-ups reach $1,000; Tier 3 starts at $10,000. Gifts and credit grants count toward the total; the first top-up’s extra credit does not. Your account moves up on its own and every later request bills at the lower rate; the console shows the rate that applies to you. Expect large volume? Talk to sales.

Is there a subscription?

No. You start on the free sign-up credit, then prepay a balance in USD by card, any amount, and each request is deducted from it. Purchased credits last 12 months.

Do I need to change my code?

Only the base URL and the key. The API is OpenAI-compatible, and the Anthropic Messages format works too.

What happens when my balance reaches $0?

New requests are refused until you add credits. Your key and your code stay the same.

More on OceanToken

Every Qwen model, side by side.

Ready

Get a key and send your first Qwen request today.

Get API Key $1 free credit · no card · prepaid
$1.90 / 1M inQwen3.8 Max · −5% now, up to −25%Get API Key