DzRouter

Qwen Flash

ReasoningTool use

Alibaba's fastest, most cost-efficient model with a 1M-token context window. Hybrid thinking model supporting text and PDF inputs and structured output.

Model id — paste this in your code
qwen/qwen-flash

Pricing · per 1M tokens

Show prices in
Input6.6 DA$0.0264
Output64.8 DA$0.259
Cached input1.5 DA$0.006
Context window1MMax output: 33K

Capabilities

  • Reasoning — Thinks step by step before answering
  • Tool use — Can call your functions / tools

Estimate your cost

Estimated cost

Use this model

Create an account, top up in dinars and call it with your key:

from openai import OpenAI

client = OpenAI(
    base_url="https://dzrouter.com/v1",
    api_key="sk-dz-…",
)

reply = client.chat.completions.create(
    model="qwen/qwen-flash",
    messages=[{"role": "user", "content": "Salam!"}],
)
print(reply.choices[0].message.content)
Create a free account

More from Qwen (Alibaba)

Start building with AI today

Create your account, top up from 500 DA and send your first request in minutes.

Create a free account