Qwen 3.8 27B API Pricing & Cost Calculator

By TechCompare · Updated · How we check

Qwen 3.8 27B at $0.425/$2.55 undercuts Qwen 3.8 Max with a 1M context. For utility pipelines it's the pick over Qwen 3.8 Max when the reasoning ceiling doesn't matter.

Calculator

Cost Comparison

Based on 30,000 input tokens (50% cached), 3,000 output tokens, and 1,000 requests.Prices come live from OpenRouter at each maker's own price where it's listed. Temporary deals are left out.

Loading model prices

Qwen 3.8 27B is the open-weights mid-size option in the Qwen 3.8 family, hosted by Alibaba Cloud International at $0.425/$2.55 with a 1M context window, and downloadable for self-hosting under open terms.

Qwen: Qwen3.8 27B

Alibaba's own price

Input
$0.425
Output
$2.55
Cached
$0.085

per 1M tokens

Batch available

Price checked 2026-11-19

How this is calculated

Qwen 3.8 27B is priced at $0.425 per million input tokens and $2.55 per million output tokens on Alibaba Cloud International, the proprietary hoster, with a prompt caching discount of 80% ($0.085 per million cached reads).

Third-party hosts on OpenRouter undercut that, with Chutes at $0.039 input and $1.25 output per million, but latency and uptime differ by host, so check them before you move traffic. As with the rest of Alibaba's catalog, cache and batch discounts cannot apply simultaneously.

Verdict

At $0.425/M input and $2.55/M output a 30K-input, 3K-output call costs about $0.0204, 74% less than Qwen 3.8 Max's $0.078 and 89% less than GPT-5.6 Sol's $0.18. Cached input drops to $0.085/M, which drives stable-prompt utility workloads (classification, routing, formatting) almost to zero on the input side.

Cheaper third-party OpenRouter hosts list the same weights, with Chutes at $0.039 input and $1.25 output, but throughput, uptime and quantization differ by host, so check them before you move traffic. Self-hosting is the other alternative: at Q4_K_M and a 128K context, the weights and cache fit on one 48 GB GPU.

More API Standalones scenarios

Frequently asked questions

Is Qwen 3.8 27B open source?
Yes, the weights are downloadable and you can self-host, which is unusual for a model with a 1M native context. The hosted Alibaba Cloud International endpoint is $0.425/$2.55 per million tokens if you'd rather not run it on your own GPU, and cheaper third-party OpenRouter hosts such as Chutes list it at $0.039 input, though uptime and throughput differ by host.
Qwen 3.8 27B API or self-host?
Self-host once your monthly spend crosses a modest GPU rental bill. At $0.425/$2.55 a month of 50M input and 5M output runs $34 on the API, so compare that with what a single 48 GB card costs you to rent. For bursty or low-volume work the API wins. For steady 24/7 load with 128K-or-less context, self-hosting pays back fast.