Alibaba

Alibaba

Qwen 3 Coder

#9 on Kyma

Qwen 3 Coder is a text-only language model optimized for code generation and debugging. Developers building code assistants, automated debugging workflows, or agentic systems should use it when they need strong reasoning and tool-use capabilities at a balanced cost.

Modalities

Text → Text

Input

$0.297 /1M

Output

$1.35 /1M

Cached input

$0.0297 /1M90% off

Context

131K

Speed

medium

Performance

Live production data from real requests on Kyma — not synthetic benchmarks.

Rank

#9

of 87 active models

Tokens served

78.9M

all-time

Success rate

96.3%

last 7 days

Median throughput58 tok/s
Total requests3,989
Platform share3.3%
Tokens · last 15 daysJul 19Aug 2

Top apps using this model

1Node.js App949.0K tok

Public apps sending the most traffic to this model — a signal of what real workloads it fits.

Pricing

Pay per token. Cached input is billed at 10% of the input rate.

$0.297 /1M input$1.35 /1M output
Hobby10 req/day · 2K in / 500 out
~$0.38/mo
Production1,000 req/day · 2K in / 500 out
~$38.07/mo
Scale20,000 req/day · 2K in / 500 out
~$761/mo
+ Estimate your workload
1,000
2,000
500
30%

Estimated monthly cost

$33.26

$1.11 / day on Qwen 3 Coder

Same workload on:

Qwen 3.7 Flash$5.73-83%
Qwen 3.7 Max$269+708%

Estimates use list pricing with cached input billed at the 90%-discount rate. Actual bills depend on real token counts — every response includes its exact cost.

When to use Qwen 3 Coder

Updated 2026-07-29

Where this model earns its cost — and where it doesn't.

Created by Alibaba, this model is purpose-built for code generation and debugging. It supports tool use, structured outputs, and reasoning, with a 131,072-token context window and a 32,768-token maximum output. It processes text-only inputs and outputs.

On Kyma, it routes through an OpenAI-compatible endpoint with automatic failover and a 100% observed success rate. It runs at a median speed of 92 tokens per second. Prompt caching is supported, reducing repeated prefix costs by 90%, and the exact request cost is returned in the usage.cost field.

It does not support vision or multimodal inputs. The medium speed tier means it is not optimized for ultra-low-latency streaming. Output is capped at 32,768 tokens, which may be restrictive for generating extremely large codebases in a single pass.

Automated Code Generation

Translates plain-text requirements into functional code snippets.

Interactive Code Debugging

Identifies logical errors and suggests fixes from stack traces.

Agentic Development Workflows

Coordinates tool calls and structured outputs for multi-step coding tasks.

Conversational Coding Sessions

Maintains context across long debugging sessions within a 131k token window.

Not ideal for: Avoid this model when you need image analysis, multimodal inputs, or ultra-low latency responses for real-time applications.

How it compares

Against the peers people actually weigh it against.

SpecQwen 3 CoderQwen 3.7 FlashQwen 3.7 Max
Input /1M$0.297$0.0458$2.56
Output /1M$1.35$0.1987$7.676
Context131K1M1M
ToolsYesYesYes
ReasoningNoYesYes
Speedmediumfastmedium

Quick start

Up and running in under two minutes.

  1. 1

    Create an API key

    Sign up and grab a key from the dashboard — $0.50 free credit, no card required.

    Get API key →
  2. 2

    Make your first request

    Drop in your key and send a chat completion — fully OpenAI-compatible.

    curl https://kymaapi.com/v1/chat/completions \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "qwen-3-coder",
        "messages": [
          {"role": "user", "content": "Explain prompt caching in one paragraph."}
        ]
      }'
  3. 3

    Stream responses

    Add "stream": true to receive tokens as they arrive.

    curl https://kymaapi.com/v1/chat/completions \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "qwen-3-coder",
        "stream": true,
        "messages": [{"role": "user", "content": "Hello!"}]
      }'

FAQ

Common questions about this model.

What is the context window of Qwen 3 Coder?

Qwen 3 Coder has a 131K-token context window — roughly 193 pages of text in a single request.

How much does the Qwen 3 Coder API cost?

$0.297 per 1M input tokens and $1.35 per 1M output tokens, with cached input at $0.0297/1M — a 90% discount on repeated prompt prefixes. No subscription; you pay only for what you use.

Does Qwen 3 Coder support function calling?

Yes — Qwen 3 Coder supports tool/function calling and structured outputs (JSON mode), so it works with agent frameworks out of the box.

How do I use Qwen 3 Coder?

Kyma is OpenAI-compatible: point your SDK's base URL at https://kymaapi.com/v1, use your Kyma API key, and set the model to qwen-3-coder. Signing up is free and includes $0.50 of credit — no card required.

Does this model support image inputs or vision tasks?

No, it is a text-only language model and does not support vision or multimodal inputs.

How does prompt caching affect pricing on Kyma?

Repeated prompt prefixes are billed at 10% of the standard input rate, providing a 90% discount on cached tokens.

Can I use the alias code to call this model?

Yes, the alias code resolves directly to qwen-3-coder on Kyma.

Start with $0.50 free credit — no card required.Create account →

More models by Alibaba

ModelContextInputOutput
AlibabaQwen 3.7 Flash1M$0.0458$0.1987
AlibabaQwen 3.7 Plus1M$0.4482$1.793
AlibabaQwen 3.7 Max1M$2.56$7.676
AlibabaQwen 3.6 Plus131K$0.4388$2.633
AlibabaQwen3 Embedding 8B33K$0.0135$0.00
AlibabaQwen 3 32B33K$0.108$0.378