APIMart
Back to all models

Qwen-Turbo API

AlibabaModel ID qwen-turboText model

Use Qwen-Turbo to tag thousands of support messages by intent, answer common questions from your knowledge base, or rewrite product notes into short copy in one fixed format.

Max input
129,024 tokens
Max output
16,384 tokens
Input → output
Text → Text
  • Streaming
  • OpenAI SDK compatible

Qwen-Turbo API use cases

Each use case comes with an illustrative example: source material, a prompt and a hand-written sample answer, not actual model output. Copy the prompt, swap in your own material and try it on Qwen-Turbo.

Try Qwen-Turbo with your own material

Tag support messages by intent

Send Qwen-Turbo the label list with each message and ask for exactly one label and a one-line reason. Before launch, compare a few hundred results with human labels and tighten the definitions where they disagree.

Example: Which intent does this message belong to?

Material

Label list
Refund, Shipping status, Change address, Product question, Other.
Support message
I ordered yesterday and it hasn’t shipped yet. Can I change the delivery address to my office?

PromptPick one intent label from the list for this support message and output JSON with label and reason; keep reason under 12 words.

Sample answer · written by hand to show the reasoning

{"label": "Change address", "reason": "Wants a new delivery address before shipping"}. The note that it hasn’t shipped only describes the order status; what the customer asks for is a new address, so this is not Shipping status.

About the Qwen-Turbo API

  • The Turbo tier of the Qwen3 series

    Alibaba says its reasoning rivals QwQ-32B with a smaller parameter size, reaching the top level among models of the same scale.

  • The lightest of the three Qwen tiers

    Qwen comes in Max, Plus and Turbo tiers, with Plus between Max and Turbo. Turbo fits high-volume, well-defined tasks such as intent tagging, FAQ answers and short rewrites.

  • Text only

    Input and output are both text; it doesn’t read images, audio or video. For images or very long documents, switch to Qwen3.8-Flash.

  • Qwen-Turbo API key and access

    You don’t need a separate Qwen-Turbo API key: one APIMart key calls every model. Qwen Turbo API access goes through an OpenAI Chat Completions-compatible endpoint with the model ID qwen-turbo; Qwen-Turbo API pricing is in the table on this page.

How to call the Qwen-Turbo API

To call Qwen-Turbo, you only need an APIMart API key and your existing OpenAI SDK, or send plain HTTP requests.

POST /v1/chat/completions
curl https://api.apimart.ai/v1/chat/completions \
  -H "Authorization: Bearer $APIMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen-turbo",
  "messages": [
    {
      "role": "user",
      "content": "Describe how to design a clear API in three sentences."
    }
  ],
  "stream": false
}'

Qwen-Turbo access details

Model IDqwen-turbo
Base URLhttps://api.apimart.ai/v1
Endpoint/chat/completions

Common parameters

model
Required
messages
Required
stream
Optional
max_tokens
Optional
temperature
Optional
All request parameters, response fields and error codes

Qwen-Turbo API request parameters

Qwen-Turbo uses the general chat endpoint, POST /v1/chat/completions, with a JSON body. model and messages are required; every other parameter is optional.

ParameterTypeRequiredDescription
modelstringYesModel ID. Use qwen-turbo for this model.
messagesarrayYesConversation messages. Each message has a role (system, user, or assistant) and content. Include earlier messages for multi-turn conversations.
streambooleanNoWhether to stream the output. true returns chunks over SSE, false returns the full response at once. Default: true.
temperaturenumberNoOutput randomness, 0–2. Default: 1.0. Lower values give more deterministic output.
top_pnumberNoNucleus sampling, 0–1. Default: 1.0. Adjust this or temperature, not both.
max_tokensintegerNoMaximum number of tokens to generate for the reply.
frequency_penaltynumberNoFrequency penalty, -2.0 to 2.0. Default: 0. Positive values reduce repeated wording.
presence_penaltynumberNoPresence penalty, -2.0 to 2.0. Default: 0. Positive values encourage new topics.
stopstring | arrayNoUp to 4 stop sequences. Generation stops when any of them appears.
nintegerNoNumber of replies to generate. Default: 1.

Response fields

The response contains the fields below. Token usage is returned in usage, which you can use to check costs.

FieldTypeDescription
idstringUnique identifier for the request.
modelstringThe model that handled the request.
choicesarrayList of replies. Each item contains message (role and content) and finish_reason.
usageobjectToken usage: prompt_tokens, completion_tokens, and total_tokens.

Error codes

Failed requests return an error object with code, message, and type.

StatusTypeMeaning
400invalid_request_errorInvalid request parameters.
401authentication_errorThe API key is invalid or missing.
402payment_requiredInsufficient account balance.
403permission_errorNo permission to access this resource.
429rate_limit_errorToo many requests. Retry later.
500server_errorInternal server error.
502bad_gatewayGateway error. The service is temporarily unavailable.

Qwen-Turbo API pricing

The Qwen-Turbo API is billed by token usage, and prices depend on your membership tier. Prices below are per million tokens; 1 US dollar = 10 credits.

ItemGoldCurrent pricePlatinumDiamondOfficial priceYou save
Input2.4Credits~$0.242.28Credits~$0.2282.16Credits~$0.2163Credits~$0.320%
Output24Credits~$2.422.8Credits~$2.2821.6Credits~$2.1630Credits~$320%

Prices are for reference only. View full pricing

Why call Qwen-Turbo API through APIMart

  • 20% below official pricing

    Qwen-Turbo API pricing is billed by token usage. Gold to Diamond member prices are 20%–28% below Alibaba's official prices.

    See membership prices
  • One API key for 500+ models

    Qwen-Turbo, the rest of its family and 500+ models from GPT, Claude, Gemini and more share one API key and one account balance. Switching models is just a change to the model parameter.

  • Change two lines of existing code

    If you already use the OpenAI SDK, point base_url at https://api.apimart.ai/v1 and swap in your APIMart API key. Requests and responses keep the same format.

  • Try it online before you code

    Try Qwen-Turbo with your own material in the Playground, no code or setup needed, and integrate once you like the results.

    Open Playground

Which Alibaba model should you choose?

Base prices per 1M tokens (USD). Your Qwen-Turbo API key works for every model in the table; just change the model parameter.

Differences between Alibaba models
ComparisonQwen-Turbo CurrentQwen3.6-FlashQwen3.6-PlusQwen3.7-FlashQwen3.7-PlusQwen3.7-MaxQwen3.8-27BQwen3.8-FlashQwen3.8-2.4T-A95BQwen3.8-Max-0902Qwen3.8-MaxQwen4-Max
Best forQwen3 series Turbo, Text in, text out, High-volume short-text tasksAgentic coding, Object detection, Math & code reasoningAgentic coding, Front-end from screenshots, OCR and localizationImage & video input, Multimodal agents, High-volume tasksScreenshots and video, Code from designs, Balanced costLargest Qwen3.7 model, Coding and office work, Text onlyOpen weights, Coding & office work, Image & video inputHigh-volume calls, Coding & agents, Image & video inputOpen-weight flagship, Deep reasoning, Text onlyUpgraded Qwen3.8-Max snapshot, Coding and multi-tool agents, Charts and documentsFlagship model, Images, video & PDF, Web searchComplex coding, Agent tasks, Image & video input
Input typesTextText, Image, VideoText, Image, VideoText, Image, VideoText, Image, VideoTextText, Image, VideoText, Image, VideoTextText, Image, VideoText, Image, VideoText, Image, Video
Max input129,024 tokens991,808 tokens991,808 tokens983,616 tokens991,808 tokens991,808 tokens983,616 tokens983,616 tokens983,616 tokens983,616 tokens983,616 tokens991,808 tokens
Max output16,384 tokens65,536 tokens65,536 tokens131,072 tokens131,072 tokens131,072 tokens131,072 tokens131,072 tokens131,072 tokens131,072 tokens131,072 tokens131,072 tokens
Input price$0.24$0.1371$0.2286$0.0229$0.2286$1.3714$0.3429$0.0914$1.3714$1.3714$1.3714$1.4286
Output price$2.4$0.8227$1.3718$0.0914$0.9146$4.1141$1.3714$0.3086$4.1143$4.1143$4.1143$4.2857

Qwen-Turbo FAQ

How does Qwen-Turbo relate to Qwen-Plus and Qwen-Max?

They are Qwen’s three tiers by capability and price. Alibaba’s release notes place Qwen-Plus between Qwen-Max and Qwen-Turbo in reasoning and speed, so Turbo is the lightest tier and fits high-volume, simple tasks. Move up a tier when quality falls short; on APIMart you only change the model parameter.

Should a new project use Qwen-Turbo or Qwen3.8-Flash?

Try Qwen3.8-Flash first for new projects. Alibaba’s current list of recommended models names Qwen3.8-Flash for the lightweight tier and no longer lists Qwen-Turbo; Qwen3.8-Flash also reads images and has a longer context. Workloads already running well on qwen-turbo can stay on it; compare outputs on your own data before switching.

Can Qwen-Turbo read images or files?

Not directly. Qwen-Turbo accepts text and returns text; convert files to text in your own code and put it in the message. For images, use a Qwen model with image input such as Qwen3.8-Flash.

How can I try this model online?

Click Start chatting or Open Playground to visit the existing APIMart Playground. Select Qwen-Turbo in the text category to start exploring.

Which model ID does the Qwen-Turbo API use?

Set model to qwen-turbo. Copy the exact ID from the page heading or the integration details panel.

Is it compatible with the OpenAI SDK?

You can keep the OpenAI SDK. Set base_url to https://api.apimart.ai/v1, provide your APIMart API key, and use the model ID on this page.

What is the context window of Qwen-Turbo?

On APIMart, Qwen-Turbo accepts up to 129,024 input tokens per request. Your prompt, earlier messages, and file content all count toward it.

How many tokens can it output at once?

Qwen-Turbo can output up to 16,384 tokens in a single reply. Use the max_tokens parameter to set a lower limit.

How much does the Qwen-Turbo API cost?

The Qwen-Turbo API on APIMart is billed by token, and prices depend on your membership tier. Gold: $0.24 per million input tokens and $2.4 per million output tokens. Diamond: $0.216 per million input tokens and $2.16 per million output tokens. Prices may change; the pricing page has the current rates.

Does it support streaming?

Yes. The general chat endpoint streams over SSE by default. Set stream to false to receive the complete response at once.

How do I get an API key?

Sign in to APIMart and create a key on the API Keys page, then send it in the Authorization: Bearer header. The same key also works for other models on the platform.