Qwen spans open-weight releases (Qwen2.5, Qwen3) and commercial tiers (qwen-max / plus / turbo). Instead of a DashScope key and Alibaba Cloud console, DaoXE puts Qwen behind the same key as GPT, Claude and DeepSeek. Call /v1/chat/completions with a qwen-* ID; see the cheapest APIs guide for where it fits a cost split.
Call Qwen through DaoXE#
Use /v1/chat/completions with an exact qwen-* ID from GET /v1/models. Qwen3 has a hybrid reasoning mode toggled by the non-standard enable_thinking field — set it false for plain output; some builds require streaming when it's on.
# Qwen3 "thinking" is toggled by enable_thinking (an extra field, not standard
# OpenAI). Turn it OFF for plain, cheaper output; some builds require streaming
# when thinking is ON.
curl --fail-with-body --show-error --silent \
https://daoxe.com/v1/chat/completions \
-H "Authorization: Bearer ${DAOXE_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_EXACT_MODEL_ID",
"max_tokens": 64,
"messages": [{"role": "user", "content": "Reply with OK."}],
"enable_thinking": false
}'curl --fail-with-body --show-error --silent \
https://daoxe.com/v1/chat/completions \
-H "Authorization: Bearer ${DAOXE_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_EXACT_MODEL_ID",
"max_tokens": 64,
"messages": [{"role": "user", "content": "Say hello in one sentence."}]
}'Qwen-specific notes#
- enable_thinking is non-standard. It's an extra field beyond the OpenAI spec; not every client forwards it. Send it in the request body, or via your SDK's extra-body escape hatch.
- Thinking may force streaming. With thinking ON, some Qwen builds only return via streaming — expect a stream, or turn thinking OFF for a simple call.
- Open vs commercial variants differ. qwen-max/plus/turbo and the open Qwen2.5/Qwen3 IDs behave and price differently — pick deliberately.
- Exact IDs only. Read
qwen-*IDs fromGET /v1/models; don't copy a version string from a blog.
Payment & real cost#
Alipay / WeChat Pay / USDT — a flat 1 RMB = $1
Every method tops up at a flat 1 RMB = $1 of credit, while models bill at their official USD price. At a real ~7 RMB/USD rate, Western flagships (GPT / Claude / Gemini / Grok) come out around 1/7 of official cost (≈85% off) — and because USDT tops up the same way, USD holders abroad get the same deal. Honest caveat: cheaper domestic models (DeepSeek / Qwen / GLM) still beat going direct, just by less — it is not “everything is 1/7”. Rates move; daoxe.com/pricing is authoritative, and a small top-up verifies it.
Verify you actually get the model#
Prove the endpoint works before blaming the client — if this fails, no setting will fix it:
export DAOXE_API_KEY="your_api_key"
# List the exact model IDs your account can call
curl --fail-with-body --show-error --silent \
https://daoxe.com/v1/models \
-H "Authorization: Bearer ${DAOXE_API_KEY}"Confirm connectivity, then diff a hard prompt against the official Qwen/DashScope API at temperature 0 to confirm the model class:
Verify us — don't trust us
Point the open benchmark at DaoXE and at the official API and compare at temperature 0. Then learn to detect model swapping so a cheaper endpoint can't quietly swap you to a smaller model.
Frequently asked questions#
Do I need an Alibaba Cloud/DashScope account?
No — through DaoXE, Qwen sits behind your single DaoXE key, skipping the DashScope signup.
How do I turn Qwen3 'thinking' off?
Send enable_thinking: false in the request body. It's a non-standard field, so use your SDK's extra-body option if needed.
Why do I only get a streamed response?
Some Qwen builds require streaming when thinking is ON. Turn thinking off for a simple call, or handle the stream.
How much does Qwen cost here?
Per model, account-scoped — see live pricing. Advantage vs official: typically ~30–80% below list via low-price groups.
Try DaoXE — and benchmark it yourself
One key for GPT, Claude, Gemini, DeepSeek and more. Point the open benchmark at us and compare — don't take our word for it.