Vidu Q3 Pro is online — try it now
alibaba
qwen/qwen3-coder-30b-a3b-instruct

qwen/qwen3-coder-30b-a3b-instruct

160,000 context · $0.07/M input tokens · $0.27/M output tokens

Qwen3-Coder-30B-A3B-Instruct is a 30.5B parameter Mixture-of-Experts (MoE) model with 128 experts (8 active per forward pass), designed for advanced code generation, repository-scale understanding, and agentic tool use. Built on the...

Pricing

Pay-per-use

No upfront costs, pay only for what you use

Input$0.07 / M Tokens
Output$0.27 / M Tokens

Try the model

qwen/qwen3-coder-30b-a3b-instruct
Online
alibaba
Hi! I am a helpful AI assistant. What can I do for you?

API Usage

Use the following code examples to integrate with our API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="qwen/qwen3-coder-30b-a3b-instruct",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Model Introduction

Qwen qwen3-coder-30b-a3b-instruct

qwen qwen3-coder-30b-a3b-instruct


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 160000 context window for long document handling
  • Competitive pricing at $0.1/$0.3 per million tokens

Key Features

  • Context Window: 160000 tokens
  • Max Output: 32768 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderQwen
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window160000 tokens
Max Output32768 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.1
Output$0.3

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: qwen/qwen3-coder-30b-a3b-instruct


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="qwen/qwen3-coder-30b-a3b-instruct",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "qwen/qwen3-coder-30b-a3b-instruct",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: qwen/qwen3-coder-30b-a3b-instruct
  • Provider: Qwen

Info

Provideralibaba
Typellm

Supported Functionality

Input
Text
Output
Text
Context160,000
Max Output32,768
Vision-
Function Calling✓ Supported

API Access Guide

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDqwen/qwen3-coder-30b-a3b-instruct

Qwen3 Coder 30b A3b Instruct API

qwen/qwen3-coder-30b-a3b-instruct

Qwen3-Coder-30B-A3B-Instruct is a 30.5B parameter Mixture-of-Experts (MoE) model with 128 experts (8 active per forward pass), designed for advanced code generation, repository-scale understanding, and agentic tool use. Built on the...

Input

$0.07 /M

Output

$0.27 /M

Context

160K

Max Output

33K

Tool Use

Supported

Try Qwen3 Coder 30b A3b Instruct on WaveSpeedAI

Access Qwen3 Coder 30b A3b Instruct through our unified API — OpenAI-compatible, no cold starts, transparent pricing.

Frequently Asked Questions about Qwen3 Coder 30b A3b Instruct

How much does Qwen3 Coder 30b A3b Instruct cost via the API?+

Pricing on WaveSpeedAI: $0.07 per million input tokens and $0.27 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.

What is the context window of Qwen3 Coder 30b A3b Instruct?+

Qwen3 Coder 30b A3b Instruct supports up to 160K tokens of context with up to 33K tokens of output per request.

Is Qwen3 Coder 30b A3b Instruct OpenAI-compatible?+

Yes. WaveSpeedAI exposes Qwen3 Coder 30b A3b Instruct through an OpenAI-compatible endpoint at https://llm.wavespeed.ai/v1. Point the official OpenAI SDK at this base URL with your WaveSpeedAI API key — no other code changes required.

How do I get started with Qwen3 Coder 30b A3b Instruct?+

Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with model id set to the value shown above. New accounts receive free credits to evaluate Qwen3 Coder 30b A3b Instruct before paying per token.

Related LLM APIs