Compare appsAny device5 min read

Cheapest Qwen API in 2026 (Qwen 3.8 Price per Million Tokens Compared)

NanoGPT is the cheapest Qwen3.8-27B API at $0.15 in and $0.70 out per million tokens. DeepInfra is cheapest for Qwen3.8 Flash. Every price compared.

On this page
  1. Qwen3.8-27B price on every provider
  2. Your mix of tokens picks the winner
  3. Qwen3.8 Flash and Qwen3.8 Max prices
  4. A flat Qwen bill
  5. Paying more than you should? Symptom, check, fix
  6. More price pages
  7. FAQ

The cheapest Qwen API in 2026 is NanoGPT for Qwen3.8-27B, at $0.15 per million input tokens and $0.70 per million output tokens. For the smaller Qwen3.8 Flash, DeepInfra is cheapest at $0.113 / $0.382. Input-heavy coding agents cost less on OpenRouter’s $0.039 route. For a flat bill, Off Grid AI Boost is a pre-order from $4.99 a month.

See the Boost plans

Qwen3.8-27B price on every provider

Price per 1M tokens, input / output, in US dollars. Each price links to the provider’s own pricing. Blended assumes 3 input tokens for every output token. The last column is the bill for 50M input and 10M output tokens in a month.

Provider In / out per 1M Blended per 1M 50M in + 10M out
NanoGPT $0.15 / $0.70 $0.29 $14.50
OpenRouter, lowest route, plus 5.5% fee $0.039 / $1.25 $0.36 $15.25
Hugging Face, lowest route $0.04 / $1.35 $0.37 $15.50
DeepInfra $0.15 / $1.875 $0.58 $26.25
Synthetic, usage-based $0.45 / $2.20 $0.89 $44.50
Featherless, pay as you go $0.40 / $3.00 $1.05 $50.00
Alibaba Cloud Model Studio, Singapore $0.50 / $3.00 $1.13 $55.00
Together AI, Fireworks AI Not served    
Off Grid AI Boost Flat plan, usage worth 2x the price Flat plan $4.99, $9.99 or $49.99 a month (cohort 1)

How the last column works on NanoGPT: 50 × $0.15 + 10 × $0.70 = $7.50 + $7.00 = $14.50. On OpenRouter: 50 × $0.039 + 10 × $1.25 = $14.45, plus the 5.5% credit fee, which makes $15.25.

Two things stand out. Qwen3.8-27B’s output costs more than 30 times its input on the cheapest input routes, so output decides most bills. And Alibaba, the company behind Qwen, charges the most for it.

Your mix of tokens picks the winner

NanoGPT has the lowest output price. OpenRouter’s lowest route has the lowest input price. Which one wins depends on how much your app reads compared with how much it writes.

Suppose you run a coding agent that sends 100M input tokens and gets 3M output tokens back in a month:

  • OpenRouter, lowest route with fee: 100 × $0.041 + 3 × $1.32 = $4.11 + $3.96 = $8.07
  • NanoGPT: 100 × $0.15 + 3 × $0.70 = $15.00 + $2.10 = $17.10

Now suppose a writing app that sends 10M input and gets 10M output:

  • NanoGPT: 10 × $0.15 + 10 × $0.70 = $8.50
  • OpenRouter, lowest route with fee: 10 × $0.041 + 10 × $1.32 = $13.60

The rule: once you send more than about 5.7 input tokens for every output token, OpenRouter’s lowest route costs less than NanoGPT. Below that, NanoGPT wins.

Qwen3.8 Flash and Qwen3.8 Max prices

Qwen 3.8 comes in more than one size. Qwen3.8 Flash is the small, fast one. Qwen3.8 Max is the largest.

Model Provider In / out per 1M 50M in + 10M out
Qwen3.8 Flash DeepInfra $0.113 / $0.382, cached input $0.0141 $9.47
Qwen3.8 Flash Together AI $0.15 / $0.47 $12.20
Qwen3.8 Flash Alibaba Cloud, Singapore $0.15 / $0.47 $12.20
Qwen3.8 Max DeepInfra $1.65 / $4.951 $132.01
Qwen3.8 Max Alibaba Cloud, Singapore $2.00 / $6.00 $160.00

Where Alibaba wins: Model Studio gives 1 million free tokens on qwen3.8-flash, qwen3.8-27b and qwen3.8-max, valid for 90 days. That’s enough to test before you pay anyone.

A flat Qwen bill

Per-token Qwen is cheap, but the bill moves with every request. Three ways to fix the number in advance:

  • Synthetic, live today: Go at $9, Standard at $30 or Big at $90 a month, with Qwen3.8-27B on the model list. Each plan has a weekly credit limit, and the amount isn’t published.
  • NanoGPT PRO, live today: $12 a month with 60M input tokens a week and free output on the models PRO includes.
  • Off Grid AI Boost, a pre-order: Starter $4.99, Pro $9.99 or Max $49.99 a month for cohort 1, half the regular price for as long as you stay. Each plan includes usage worth its full regular price ($9.99, $19.99 or $99.99) every month, counted at each model’s token rate. Top up any time.

Boost runs Qwen 3.8, DeepSeek V4.1 Flash and more open models, with one OpenAI-compatible key for text, vision, speech, embeddings, images and video. We don’t keep your prompts or train on them. You pay now and your API key arrives by email in January 2027. If January slips, you get all your money back. Until then, use NanoGPT or OpenRouter’s lowest route.

The same Qwen models also run free in the Off Grid AI apps on your own phone or computer. See how to run Qwen 3.8 27B on your Mac.

Paying more than you should? Symptom, check, fix

Symptom Check Fix
Your Qwen bill is mostly output Output costs about 5 to 34 times input, depending on the route Move to NanoGPT, the lowest output price at $0.70
An agent’s bill is mostly input You resend files and history on every call Use OpenRouter’s lowest route at $0.039 in, or DeepInfra’s cached price on Qwen3.8 Flash
OpenRouter charges more than the lowest route Default routing balances price and speed Add :floor to the model name to sort routes by price
Model not found on Together or Fireworks Neither serves Qwen3.8-27B Use NanoGPT, DeepInfra, Hugging Face or OpenRouter
The 27B is more than you need Short replies, simple tasks Try Qwen3.8 Flash at $0.113 / $0.382 on DeepInfra
The bill changes every month Per-token billing Move to a flat plan once spend passes its price

More price pages

FAQ

What is the cheapest Qwen API? For Qwen3.8-27B, NanoGPT at $0.15 in and $0.70 out per million tokens. For Qwen3.8 Flash, DeepInfra at $0.113 in and $0.382 out. If your work is mostly input, such as a coding agent, OpenRouter’s lowest Qwen3.8-27B route at $0.039 in costs less than NanoGPT.

Is Alibaba Cloud’s own Qwen API cheaper? Not for Qwen3.8-27B. Alibaba Cloud Model Studio charges $0.50 in and $3 out in Singapore, the highest price in this comparison. It does give 1 million free tokens per model, valid for 90 days.

Can I use Qwen3.8-27B on Together AI or Fireworks? No. Neither serves Qwen3.8-27B. Together sells Qwen3.8 Flash at $0.15 in and $0.47 out.

Is there a flat monthly price for Qwen? Off Grid AI Boost is a pre-order from $4.99 a month that names Qwen 3.8, with usage worth twice the price each month and the API key by email in January 2027. Synthetic and NanoGPT sell flat plans that work today.

Lock in Boost at half price

DID THIS LAND?
UPDATES FROM THE CREATOR