Qwen3.8 Flash (Alibaba) API

Alibaba · serves qwen3.8-flash

Pricing

Input / 1M$0.15
Output / 1M$0.47
Blended / 1M$0.62cheapest of 3
Context window1,000,000 tokens
Max output131,072 tokens
LicenseOpen weights · Apache 2.0 permissive
Knowledge cutoffSeptember 2025 · source

textvisionfunction-calling

Price verified 2026-09-05 (0 days ago) · sourcecorroborated

Sources

SourceInput / 1MOutput / 1MVerified
OpenRouter$0.15$0.472026-09-05
LiteLLM$0.15$0.472026-09-03
models.dev$0.15$0.472026-09-04

Two independent sources agree within 20%.

Call it

OpenAI-compatible endpoint — set QWENCLOUD_API_KEY.

curl https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions \
  -H "Authorization: Bearer $QWENCLOUD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.8-flash",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
from openai import OpenAI  # pip install openai

client = OpenAI(
    base_url="https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
    api_key="...",  # QWENCLOUD_API_KEY
)
resp = client.chat.completions.create(
    model="qwen3.8-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Use this data

Raw JSON for this page: qwen3.8-flash.json. Free to reuse under CC BY 4.0 with attribution to apipriceindex.com.