Qwen3 Coder API Pricing
ollama/qwen3-coder:480b-cloud- Price
- Free
- Context
- 256K tokens
- Max output
- 256K tokens
As of November 24, 2026, Qwen3 Coder is free to use from Ollama, the lowest of 3 providers. It has a 262,144-token context window and returns up to 262,144 tokens per response.
Qwen3 Coder pricing by provider
3 listings across 3 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Context |
|---|---|---|---|---|---|
| Ollama | ollama/qwen3-coder:480b-cloud | $0 | $0 | – | 256K |
| Kyma API | kyma/qwen-3-coder | $0.3546 | $1.612 | $0.135 | 128K |
| Vercel AI Gateway | vercel_ai_gateway/alibaba/qwen3-coder | $0.40 | $1.60 | – | 256K |
What Qwen3 Coder costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Ollama | $0 |
| Kyma API | $1.515 |
| Vercel AI Gateway | $1.60 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| Ollama | $0 |
| Kyma API | $3.868 |
| Vercel AI Gateway | $4.32 |
Qwen3 Coder features
Input: text. Output: text.
- Function calling
- Structured output
- Prompt caching
Use Qwen3 Coder with LiteLLM
Call Qwen3 Coder through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="ollama/qwen3-coder:480b-cloud",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: qwen3-coder
litellm_params:
model: ollama/qwen3-coder:480b-cloud
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "qwen3-coder",
"messages": [{"role": "user", "content": "Hello!"}]
}'Qwen3 Coder FAQ
How much does Qwen3 Coder cost?
Qwen3 Coder is free to use from Ollama, the lowest of 3 providers.
What is the context window of Qwen3 Coder?
Qwen3 Coder has a 262,144-token context window and returns up to 262,144 tokens per response.
Which providers offer Qwen3 Coder?
Qwen3 Coder is available from 3 providers through LiteLLM: Ollama, Kyma API and Vercel AI Gateway. The lowest price is on Ollama.
How do I call Qwen3 Coder with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="ollama/qwen3-coder:480b-cloud", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does Qwen3 Coder support?
Qwen3 Coder supports function calling, structured output and prompt caching.
When did LiteLLM add Qwen3 Coder?
Qwen3 Coder was added to LiteLLM's model price file in July 2025.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change.
LiteLLM docs: Ollama, Kyma API, Vercel AI Gateway.
Provider pages: Ollama, Kyma API, Vercel AI Gateway.