Skip to main content
TokenCost logoTokenCost

Alibaba Token Counter

Count Alibaba tokens online and see what your text costs across all 17 models, including Qwen3.5-9B, Qwen3.5-397B-A17B and Qwen3.5-27B. Everything runs in your browser and nothing you paste leaves the page. Counts are estimates made with the cl100k_base encoding, since Alibaba has not released a browser-ready tokenizer. Estimated counts are marked with a tilde (~).

ModelTokensInput CostOutput Cost
Qwen3.5-9B———
Qwen3.5-397B-A17B———
Qwen3.5-27B———
Qwen3.5-Omni Plus———
Qwen3.5-Omni Flash———
Qwen3.6-Plus———
Qwen3.6-Max-Preview———
Qwen3.7 Max———
Qwen3.7 Plus———
Qwen3.7 Flash———
Qwen4-Max———
Qwen3.8 Max———
Qwen3.8 Max Prime———
Qwen3.8 Flash———
Qwen3-Next-80B-A3B-Thinking———
Qwen3 Coder Next———
QwQ-Plus———

Type or paste text above to see token counts and per-request costs for every Alibaba model.

Alibaba Model Pricing

ModelInput /1MOutput /1M
Qwen3.5-9B$0.100$0.150
Qwen3.5-397B-A17B$0.600$3.60
Qwen3.5-27B$0.300$2.40
Qwen3.5-Omni Plus$0.400$4.80
Qwen3.5-Omni Flash$0.400$2.20
Qwen3.6-Plus$0.500$3.00
Qwen3.6-Max-Preview$1.30$7.80
Qwen3.7 Max$2.50$7.50
Qwen3.7 Plus$0.400$1.60
Qwen3.7 Flash$0.030$0.130
Qwen4-Max$1.50$4.50
Qwen3.8 Max$2.00$6.00
Qwen3.8 Max Prime$4.00$12.00
Qwen3.8 Flash$0.150$0.470
Qwen3-Next-80B-A3B-Thinking$0.150$1.20
Qwen3 Coder Next$0.120$0.800
QwQ-Plus$0.800$2.40

Frequently Asked Questions

Common questions about counting Alibaba tokens

Which tokenizer does Alibaba use?
Alibaba uses its own tokenizer, which is not publicly available to run in a browser. This counter estimates counts with OpenAI's cl100k_base encoding, which is typically within roughly 10 to 20 percent of the real count for English text.
Are these Alibaba token counts exact or estimated?
Estimated. Alibaba has not released its tokenizer for browser use, so this tool approximates counts with OpenAI's cl100k_base encoding. Estimates are usually close for English text but can drift for code, JSON, and non-English languages. Estimated counts are marked with a tilde (~).
How is Alibaba API cost calculated?
Cost equals tokens divided by one million, multiplied by the model's per-million-token rate. Each Alibaba model has separate input and output rates, and this page shows both: what your text would cost as a prompt (input) and what the same number of tokens would cost as a response (output).
Why do token counts matter for Alibaba API costs?
Alibaba bills API usage per token, not per word or character. A token is roughly 4 characters or about three quarters of a word in English. Knowing the token count of your prompts lets you predict spend, stay inside context windows, and compare Alibaba models like Qwen3.5-9B, Qwen3.5-397B-A17B and Qwen3.5-27B before you commit.

Related Tools