# Qwen/Qwen3-30B-A3B

Qwen3 30B A3B is Alibaba's Qwen3 mixture-of-experts language model, with 30.5B parameters in total and 3.3B active. It switches between a thinking mode for reasoning, math and coding and a non-thinking mode for general dialogue, and supports tool use and over 100 languages.

- **Model id:** `opencheap/qwen3-30b-a3b`
- **Price per 1M tokens:** $0.11 input / $0.47 output
- **Cached input:** $0.017 per 1M tokens
- **Context:** 40K tokens, 32K max output

## Providers

6 providers. Prices are per 1M tokens. As of 2026-12-04 12:07 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| DeepInfra · Route 1 · fp8 · Snapshot 0428 | $0.10 | $0.10* | $0.42 | 2.35 s | 77 tok/s | 100 % | 40K | 36K |
| DeepInfra · Route 2 · fp8 · Snapshot 0428 | $0.13 | $0.13* | $0.53 | 0.38 s | 118 tok/s | 100 % | 40K | 16K |
| DeepInfra · Route 3 · fp8 · Snapshot 0428 | $0.19 | $0.19* | $0.79 | — | — | — | 40K | 36K |
| Surplus · quantization unknown · Snapshot not stated | $0.11 | $0.017 | $0.47 | — | — | — | 256K | 32K |
| Greenference · quantization unknown · Snapshot not stated | $0.11 | $0.057 | $0.34 | — | — | — | 8.1K | 8.1K |
| Hugging Face · deepinfra · fp8 · Snapshot not stated | $0.12 | $0.12* | $0.50 | — | — | — | 40K | — |
| NanoGPT · quantization unknown · Snapshot not stated | $0.12 | $0.12 | $0.50 | — | — | — | 41K | 32K |
| Qubax · quantization unknown · Snapshot not stated | $0.13 | $0.019 | $0.53 | — | — | — | 256K | 32K |

\* No cache discount from this provider: cached tokens cost the input price.

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **DeepInfra · Route 1 · fp8:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `reasoning`, `include_reasoning` (tools not confirmed)
- **DeepInfra · Route 2 · fp8:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **DeepInfra · Route 3 · fp8:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `logit_bias`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `reasoning`, `include_reasoning` (tools not confirmed)
- **Surplus:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Greenference:** `temperature`, `top_p`, `top_k`, `min_p`, `seed`, `repetition_penalty`, `frequency_penalty`, `presence_penalty`, `stop` (tools not confirmed)
- **Hugging Face · deepinfra:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format` (tools not confirmed)
- **Qubax:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/qwen3-30b-a3b#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/qwen3-30b-a3b`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/qwen3-30b-a3b", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/qwen3-30b-a3b",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/qwen3-30b-a3b",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About Qwen/Qwen3-30B-A3B

Qwen/Qwen3-30B-A3B costs from $0.11 per 1M input tokens and $0.47 per 1M output tokens on OpenCheap, with cached input at $0.017 per 1M tokens. Its list price is $0.12 per 1M input tokens and $0.50 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 6 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0016, and 1,000 such requests about $1.60. Prices as of 2026-12-04 12:06 UTC.

6 providers serve Qwen/Qwen3-30B-A3B on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 40K tokens (40,960), room for roughly 31,000 words of English in one request.

Qwen/Qwen3-30B-A3B is one of [110 Qwen models](https://opencheap.si/models/lab/qwen) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the Qwen/Qwen3-30B-A3B API cost per 1M tokens?

Qwen/Qwen3-30B-A3B costs from $0.11 per 1M input tokens and $0.47 per 1M output tokens on OpenCheap, with cached input at $0.017 per 1M tokens. Prices as of 2026-12-04 12:06 UTC.

### What does one Qwen/Qwen3-30B-A3B request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.0016, and 1,000 such requests about $1.60. Every answer reports its own cost in usage.cost.

### Is Qwen/Qwen3-30B-A3B cheaper on OpenCheap than its list price?

Its list price is $0.12 per 1M input tokens and $0.50 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 6 % less here.

### Which providers serve Qwen/Qwen3-30B-A3B?

6 providers serve Qwen/Qwen3-30B-A3B on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of Qwen/Qwen3-30B-A3B?

Its context window is 40K tokens (40,960), room for roughly 31,000 words of English in one request.

### How do I call the Qwen/Qwen3-30B-A3B API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/qwen3-30b-a3b. One OpenCheap key works for every model; the rest of your code stays the same.

## More from Qwen

- [Qwen3.8 Flash](https://opencheap.si/models/qwen3.8-flash) (`qwen3.8-flash`): $0.14 / $0.44 per 1M · 1M context
- [Qwen 3 Coder 480B](https://opencheap.si/models/qwen3-coder) (`qwen3-coder`): $0.075 / $0.25 per 1M · 262K context
- [Qwen3 Coder Next](https://opencheap.si/models/qwen3-coder-next) (`qwen3-coder-next`): $0.03 / $0.20 per 1M · 262K context
- [Qwen3 235B A22B Instruct 2507](https://opencheap.si/models/qwen3-235b-a22b-2507) (`qwen3-235b-a22b-2507`): $0.0014 / $0.0075 per 1M · 262K context
- [Qwen3.6 27B](https://opencheap.si/models/qwen3.6-27b) (`qwen3.6-27b`): $0.0053 / $0.053 per 1M · 262K context
- [Qwen/Qwen3-32B](https://opencheap.si/models/qwen3-32b) (`qwen3-32b`): $0.0096 / $0.032 per 1M · 131K context
- [Qwen 2.5 7B](https://opencheap.si/models/e2ee-qwen-2.5-7b-p) (`e2ee-qwen-2.5-7b-p`): $0.052 / $0.14 per 1M · 32K context
- [Qwen 3.6 35B A3B](https://opencheap.si/models/e2ee-qwen3.6-35b-a3b) (`e2ee-qwen3.6-35b-a3b`): $0.19 / $1.24 per 1M · 128K context

[All 110 Qwen models](https://opencheap.si/models/lab/qwen)

## Similar models

- [Llama 4 Scout](https://opencheap.si/models/llama-4-scout): Meta · 328K context · $0.10 / $0.32 per 1M, 31 % cheaper · [Compare with Qwen/Qwen3-30B-A3B](https://opencheap.si/compare/qwen3-30b-a3b-vs-llama-4-scout)
- [Doubao Seed 2.0 Mini](https://opencheap.si/models/doubao-seed-2.0-mini-260215): ByteDance · 256K context · $0.10 / $0.48 per 1M · [Compare with Qwen/Qwen3-30B-A3B](https://opencheap.si/compare/qwen3-30b-a3b-vs-doubao-seed-2.0-mini-260215)
- [Gemma 4 31B Fabled](https://opencheap.si/models/gemma-4-31b-it-fabled): Google · 262K context · $0.10 / $0.45 per 1M · [Compare with Qwen/Qwen3-30B-A3B](https://opencheap.si/compare/qwen3-30b-a3b-vs-gemma-4-31b-it-fabled)
- [Gemma 4 31B Garnet](https://opencheap.si/models/gemma-4-31b-it-garnet): Google · 262K context · $0.10 / $0.45 per 1M · [Compare with Qwen/Qwen3-30B-A3B](https://opencheap.si/compare/qwen3-30b-a3b-vs-gemma-4-31b-it-garnet)
- [GPT 5.4 Nano](https://opencheap.si/models/gpt-5.4-nano): OpenAI · 400K context · $0.082 / $0.51 per 1M · [Compare with Qwen/Qwen3-30B-A3B](https://opencheap.si/compare/qwen3-30b-a3b-vs-gpt-5.4-nano)
- [jamba-1.5-mini](https://opencheap.si/models/jamba-1.5-mini): AI21 · 256K context · $0.21 / $0.42 per 1M · [Compare with Qwen/Qwen3-30B-A3B](https://opencheap.si/compare/qwen3-30b-a3b-vs-jamba-1.5-mini)

[Compare Qwen/Qwen3-30B-A3B with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/qwen3-30b-a3b · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
