Qwen API access, OpenAI-compatible — and the enable_thinking switch

Qwen is Alibaba's model family — strong, cheap, and awkward to sign up for from abroad. Through DaoXE it's a plain OpenAI-compatible call behind your one key, with a family-specific thinking switch worth knowing.

Updated 2026-09-15

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. Thinking behavior changed across the family: Qwen3 hybrids toggle reasoning with the non-standard enable_thinking field, while newer Qwen3.5+ models think by default — send enable_thinking: false for plain output; some builds require streaming when thinking is on.

bash
# Qwen "thinking": Qwen3 hybrids toggle it with enable_thinking (an extra
# field, not standard OpenAI); Qwen3.5+ models think BY DEFAULT — send
# enable_thinking: false for plain 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
  }'
bash
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.
  • Newer Qwen3.5+ models think by default. On Qwen3 the enable_thinking switch decides; on Qwen3.5 thinking is on unless you explicitly send enable_thinking: false — don't assume a plain call returns plain output. (The old /think//no_think soft switches are gone in Qwen3.5.)
  • 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 from GET /v1/models; don't copy a version string from a blog.

What it costs#

One balance, one top-up rate

Top-up runs at a flat 1 RMB = $1 of credit on every payment method, and each model then bills at its own USD rate — live per-model rates are on the live pricing page. That rate is the same on Alipay, WeChat Pay, USDT, bank card (Visa · Mastercard), Apple Pay and Google Pay — one balance, shared by every model in the catalog, with no plan to choose and no monthly minimum. Rates are account-scoped and do change, so confirm with one small top-up rather than trusting a number in a guide.

Verify you actually get the model#

Prove the endpoint works before blaming the client — if this fails, no setting will fix it:

bash
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 Qwen '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. On Qwen3 this toggles the hybrid mode; on Qwen3.5+, which thinks by default, this is how you opt out.

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. Top-up is a flat 1 RMB = $1 of credit on every payment method.

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.