Alibaba Qwen

Qwen3.8 Flash API

CN Alibaba Qwen | released 2026-10
Try in Playground → Get API key

Qwen3.8 Flash is the newest Qwen generation’s speed tier: a multimodal model with a native million-token context window that ingests entire codebases or document sets in one call. Strong understanding and generation at a price that undercuts most fast-tier rivals, ideal for long-document RAG and high-volume chat.

visionFastTool Use

Pricing (official list, per 1M tokens)

Input
$0.15/M
Output
$0.45/M

Specifications

Context window1000K tokens Input modalitiesText StreamingYes APIOpenAI-compatible

How to use Qwen3.8 Flash

Drop-in OpenAI replacement. Change only the base_url and model.

# Python -pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://meshtok.com/v1",
    api_key="sk-your-MeshTok-key",
)

resp = client.chat.completions.create(
    model="ali/qwen3.8-flash",
    messages=[{"role":"user","content":"Hello!"}],
)
print(resp.choices[0].message.content)
# cURL
curl https://meshtok.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-MeshTok-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"ali/qwen3.8-flash","messages":[{"role":"user","content":"Hello!"}]}'

Related models

Other models you might consider.