All models

Qwen

qwen3-30b-a3b

Qwen3, the latest generation in the Qwen large language model series, features both dense and mixture-of-experts (MoE) architectures to excel in reasoning, multilingual support, and advanced agent tasks. Its unique...

textAPI availablestreaming requiredreasoningfunction tools
qwen3-30b-a3b

Tokely price / 1M tokens

$0.55input
$0cached input
$2.2output

USD · Published rate · Updated 2026-10-06

OpenRouter reference$0.12 input · $0.5 output / 1M tokensStandard listed rates · 2026-10-06

Context window

131,072tokens · model specification

Model max output

16,384tokens

First request

Available
curl -N https://tokely.me/v1/chat/completions \
  -H "Authorization: Bearer $TOKELY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3-30b-a3b",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 1024,
    "stream": true
  }'

Set TOKELY_API_KEY to your dashboard key. Requests require a funded Tokely balance. Base URL: https://tokely.me/v1.

Compare nearby prices

USD per million tokens. Compare price and context; these are not quality benchmarks.
ModelInputOutputContext
qwen3-30b-a3bQwen · this model$0.55$2.2131,072
qwen3-30b-a3b-instruct-2507Qwen$0.55$2.2262,144
qwen3-vl-30b-a3b-instructQwen$0.55$2.2262,144
deepseek-v4.1-flashDeepSeek$0.5625$2.251,048,576
gpt-5.4-nano-2026-03-17OpenAI$0.36765$2.297813400,000

Capabilities & limits

Provider
Qwen
API model ID
qwen3-30b-a3b
Category
Text
Endpoints
POST /v1/chat/completions
Tokely max output
16,384 tokens / request, including reasoning tokens
Default output
256 tokens. Set an explicit limit for longer responses.
Request limits
256 KB JSON body · 128 messages · 32 function tools
Rate limit
60 requests / minute / account, across its keys
Supported input
Text messages and function tool results
Model modalities
text. Tokely currently accepts text input.

The context includes your instructions, conversation history, tool definitions and generated output. Keep the input and requested output within the model’s context window.

OpenRouter model reference

API reference

Authenticate with Authorization: Bearer YOUR_TOKELY_API_KEY. Use an OpenAI SDK with the Tokely base URL.

model
Required string: qwen3-30b-a3b
messages
An array of system, developer, user, assistant and tool messages.
max_tokens
Optional integer, 1–16,384. Defaults to 256.
stream
Required: set true. This model supports streaming requests only.
reasoning_effort
Optional reasoning effort. Supported values depend on the model; omit to use its default.
tools
Function definitions executed by your application. Provider-hosted tools are not enabled.

The response contains choices with message or tool_calls, finish_reason, and usage (prompt_tokens, completion_tokens, total_tokens). Streaming sends chat completion chunks.

400 / 415
Invalid request, parameter, endpoint for this model, or content type.
401 / 403
Invalid, revoked or restricted API key.
402
Insufficient account balance or API key budget.
429
Request limit reached. Retry after the indicated delay.
502 / 503 / 504
Upstream failure, temporary service unavailability or request timeout.

Frequently asked questions

How much does qwen3-30b-a3b cost?

$0.55 per million input tokens, $2.2 per million output tokens and $0 per million cached input tokens. Usage is charged to your Tokely balance.

Do I need a separate Qwen account?

Use your Tokely API key and balance. A separate provider key is not required.

How do I switch to this model?

Set model to qwen3-30b-a3b and use /v1/chat/completions. Keep your Tokely base URL and API key.

What is the context window?

131,072 tokens, including input and output. The Tokely request body and output limits listed above also apply.

Related versions