Model: Qwen: Qwen3 Coder Flash, Context: 128000, Cost: $0.3 per 1M input tokens, $1.5 per 1M output tokens
Note: Calculation is approximate based on public data. Prices may change, check official websites.
Estimate the API token cost for the Qwen3 Coder Flash model from Alibaba.
This calculator helps you determine expenses based on input and output token usage. The Qwen3 Coder Flash model is a fast and cost-efficient coding agent, specializing in autonomous programming with a context window of 128,000 tokens.
The cost calculation is based on:
- Input tokens: $0.3 per 1,000,000 tokens
- Output tokens: $1.5 per 1,000,000 tokens
The formula for total cost is:
Total Cost = ((Input Tokens / 1,000,000) * $0.3 + (Output Tokens / 1,000,000) * $1.5) * Number of Requests
Example: If you use 100,000 input tokens and 50,000 output tokens for a single request:
- Input cost: (100,000 / 1,000,000) * $0.3 = $0.03
- Output cost: (50,000 / 1,000,000) * $1.5 = $0.075
- Total estimated cost: $0.03 + $0.075 = $0.105