# Qwen3.8 Flash API Pricing

As of October 10, 2026, Qwen3.8 Flash costs $0.15 per 1M input tokens and $0.47 per 1M output tokens on Alibaba Cloud Model Studio, with cache reads at $0.016 and cache writes at $0.20 per 1M tokens. Across 4 providers on LiteLLM, the input price ranges from $0.1126 to $0.15. It has a 991,808-token context window and returns up to 131,072 tokens per response.

- Page: https://models.litellm.ai/models/qwen3.8-flash
- Lab: Alibaba
- LiteLLM model name: `dashscope/qwen3.8-flash`
- Context window: 991,808 tokens
- Max output: 131,072 tokens
- Added to LiteLLM: September 1, 2026
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Alibaba Cloud Model Studio | `dashscope/qwen3.8-flash` | $0.15 | $0.47 | $0.016 | – | – | 992K |
| AIHubMix | `aihubmix/qwen3.8-flash` | $0.1126 | $0.38 | $0.01408 | – | – | 1M |
| Qianwen AI Platform | `qwen_ai_platform/qwen3.8-flash` | $0.15 | $0.47 | $0.016 | – | – | 992K |
| Together AI | `together_ai/Qwen/Qwen3.8-Flash` | $0.15 | $0.47 | – | – | – | 1M |

## Cost examples

1,000 requests with 2,000 input and 500 output tokens each:

- Alibaba Cloud Model Studio: $0.535
- AIHubMix: $0.4152
- Qianwen AI Platform: $0.535
- Together AI: $0.535

100 long-document requests with 100,000 input and 2,000 output tokens each:

- Alibaba Cloud Model Studio: $1.594
- AIHubMix: $1.202
- Qianwen AI Platform: $1.594
- Together AI: $1.594

## Features

Supported: Function calling, Structured output, Image input, Video input, Reasoning, Prompt caching, Web search.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="dashscope/qwen3.8-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does Qwen3.8 Flash cost?

Qwen3.8 Flash costs $0.15 per 1M input tokens and $0.47 per 1M output tokens on Alibaba Cloud Model Studio, with cache reads at $0.016 and cache writes at $0.20 per 1M tokens. Across 4 providers on LiteLLM, the input price ranges from $0.1126 to $0.15.

### What is the context window of Qwen3.8 Flash?

Qwen3.8 Flash has a 991,808-token context window and returns up to 131,072 tokens per response.

### Which providers offer Qwen3.8 Flash?

Qwen3.8 Flash is available from 4 providers through LiteLLM: Alibaba Cloud Model Studio, AIHubMix, Qianwen AI Platform and Together AI. The lowest price is on AIHubMix.

### How do I call Qwen3.8 Flash with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="dashscope/qwen3.8-flash", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### What features does Qwen3.8 Flash support?

Qwen3.8 Flash supports function calling, structured output, image input, video input, reasoning, prompt caching and web search.

### When did LiteLLM add Qwen3.8 Flash?

Qwen3.8 Flash was added to LiteLLM's model price file on September 1, 2026.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
