Skip to content
  1.  
  2. © 2023 – 2025 OpenRouter, Inc

    Qwen: Qwen3 Coder 30B A3B Instruct

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

    Created Jul 31, 2025262,144 context
    $0.06/M input tokens$0.25/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 Qwen3 architecture, it supports a native context length of 256K tokens (extendable to 1M with Yarn) and performs strongly in tasks involving function calls, browser use, and structured code completion.

    This model is optimized for instruction-following without “thinking mode”, and integrates well with OpenAI-compatible tool-use formats.

    Sample code and API for Qwen3 Coder 30B A3B Instruct

    OpenRouter normalizes requests and responses across providers for you.

    OpenRouter provides an OpenAI-compatible completion API to 400+ models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.

    In the examples below, the OpenRouter-specific headers are optional. Setting them allows your app to appear on the OpenRouter leaderboards.

    Using third-party SDKs

    For information about using third-party SDKs and frameworks with OpenRouter, please see our frameworks documentation.

    See the Request docs for all possible fields, and Parameters for explanations of specific sampling parameters.