# qwen3-coder-flash

> Based on Qwen3, this code generation model inherits the coding agent capabilities of Qwen3-Coder-Plus and supports multi-turn tool interaction. It features focused optimizations on repository-level understanding and enhanced tool-calling stability. This model version is functionally equivalent to the snapshot model qwen3-coder-flash-2025-07-28.

## Inference Service Provider <span id="h-490b2834e6" />

The inference service provider for `qwen3-coder-flash` is Alibaba Cloud Model Studio.

## Model Capabilities <span id="h-861a902ef6" />

<Tabs>
  <Tab title="China (Beijing)">
    <table><thead><tr><th>Capability</th><th>Support</th><th>Capability</th><th>Support</th></tr></thead><tbody><tr><td><p>Input Modality</p></td><td><p><strong>Text</strong></p></td><td><p>Output Modality</p></td><td><p><strong>Text</strong></p></td></tr><tr><td><p>Model Experience</p></td><td><p>Supported</p></td><td><p>Function Calling</p></td><td><p>Supported</p></td></tr><tr><td><p>Structured Outputs</p></td><td><p>Unsupported</p></td><td><p>Web Search</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Prefix Completion</p></td><td><p>Unsupported</p></td><td><p>Context Caching</p></td><td><p>Supported</p></td></tr><tr><td><p>Batch Inference</p></td><td><p>Unsupported</p></td><td><p>Fine-tuning</p></td><td><p>Unsupported</p></td></tr></tbody></table>
  </Tab>

  <Tab title="Singapore">
    Scope: International

    <table><thead><tr><th>Capability</th><th>Support</th><th>Capability</th><th>Support</th></tr></thead><tbody><tr><td><p>Input Modality</p></td><td><p><strong>Text</strong></p></td><td><p>Output Modality</p></td><td><p><strong>Text</strong></p></td></tr><tr><td><p>Model Experience</p></td><td><p>Supported</p></td><td><p>Function Calling</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Structured Outputs</p></td><td><p>Unsupported</p></td><td><p>Web Search</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Prefix Completion</p></td><td><p>Supported</p></td><td><p>Context Caching</p></td><td><p>Supported</p></td></tr><tr><td><p>Batch Inference</p></td><td><p>Unsupported</p></td><td><p>Fine-tuning</p></td><td><p>Unsupported</p></td></tr></tbody></table>
  </Tab>

  <Tab title="Germany (Frankfurt)">
    Scope: Global

    <table><thead><tr><th>Capability</th><th>Support</th><th>Capability</th><th>Support</th></tr></thead><tbody><tr><td><p>Input Modality</p></td><td><p><strong>Text</strong></p></td><td><p>Output Modality</p></td><td><p><strong>Text</strong></p></td></tr><tr><td><p>Model Experience</p></td><td><p>Supported</p></td><td><p>Function Calling</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Structured Outputs</p></td><td><p>Unsupported</p></td><td><p>Web Search</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Prefix Completion</p></td><td><p>Supported</p></td><td><p>Context Caching</p></td><td><p>Supported</p></td></tr><tr><td><p>Batch Inference</p></td><td><p>Unsupported</p></td><td><p>Fine-tuning</p></td><td><p>Unsupported</p></td></tr></tbody></table>
  </Tab>

  <Tab title="US (Virginia)">
    Scope: Global

    <table><thead><tr><th>Capability</th><th>Support</th><th>Capability</th><th>Support</th></tr></thead><tbody><tr><td><p>Input Modality</p></td><td><p><strong>Text</strong></p></td><td><p>Output Modality</p></td><td><p><strong>Text</strong></p></td></tr><tr><td><p>Model Experience</p></td><td><p>Supported</p></td><td><p>Function Calling</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Structured Outputs</p></td><td><p>Unsupported</p></td><td><p>Web Search</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Prefix Completion</p></td><td><p>Supported</p></td><td><p>Context Caching</p></td><td><p>Supported</p></td></tr><tr><td><p>Batch Inference</p></td><td><p>Unsupported</p></td><td><p>Fine-tuning</p></td><td><p>Unsupported</p></td></tr></tbody></table>
  </Tab>
</Tabs>

## Context Limits <span id="h-e78a1dd045" />

<table><thead><tr><th>Parameter</th><th>Value</th><th>Parameter</th><th>Value</th></tr></thead><tbody><tr><td><p>Max Input Length</p></td><td><p>997952</p></td><td><p>Max Output Length</p></td><td><p>65536</p></td></tr><tr><td><p>Context Window</p></td><td><p>1000000</p></td><td /><td /></tr></tbody></table>

## Pricing <span id="h-6238e9df86" />

This page only shows the original pricing for model API calls, excluding any limited-time promotions. Visit [Model Studio Console](https://modelstudio.console.alibabacloud.com/ap-southeast-1/model/market) for promotional offers.

<Tabs>
  <Tab title="China (Beijing)">
    <Accordion title="Input<=32k" defaultOpen>
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.144</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>0.574</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.029</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.18</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.014</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="32k<Input<=128k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.216</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>0.861</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.044</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.27</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.022</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="128k<Input<=256k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.359</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>1.434</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.072</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.449</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.036</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="256k<Input<=1m">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.717</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>3.584</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.144</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.896</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.072</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>
  </Tab>

  <Tab title="Singapore">
    Scope: International

    <Accordion title="Input<=32k" defaultOpen>
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.3</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>1.5</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.06</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.375</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.03</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="32k<Input<=128k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.5</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>2.5</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.1</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.625</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.05</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="128k<Input<=256k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.8</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>4</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.16</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>1</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.08</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="256k<Input<=1m">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>1.6</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>9.6</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.32</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>2</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.16</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>
  </Tab>

  <Tab title="Germany (Frankfurt)">
    Scope: Global

    <Accordion title="Input<=32k" defaultOpen>
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.144</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>0.574</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.029</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.18</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.014</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="32k<Input<=128k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.216</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>0.861</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.044</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.27</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.022</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="128k<Input<=256k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.359</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>1.434</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.072</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.449</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.036</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="256k<Input<=1m">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.717</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>3.584</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.144</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.896</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.072</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>
  </Tab>

  <Tab title="US (Virginia)">
    Scope: Global

    <Accordion title="Input<=32k" defaultOpen>
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.144</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>0.574</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.029</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.18</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.014</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="32k<Input<=128k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.216</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>0.861</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.044</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.27</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.022</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="128k<Input<=256k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.359</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>1.434</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.072</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.449</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.036</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="256k<Input<=1m">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.717</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>3.584</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Input(Implicit Cache)</p></td><td><p>0.144</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Creation</p></td><td><p>0.896</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Explicit Cache Read</p></td><td><p>0.072</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>
  </Tab>
</Tabs>

## Rate Limits <span id="h-ab9bb4d2c4" />

<Tabs>
  <Tab title="China (Beijing)">
    <table><thead><tr><th>Parameter</th><th>Value</th></tr></thead><tbody><tr><td><p>RPM (Requests Per Minute)</p></td><td><p>5000</p></td></tr><tr><td><p>TPM (Tokens Per Minute)</p></td><td><p>5,000,000</p></td></tr></tbody></table>
  </Tab>

  <Tab title="Singapore">
    Scope: International

    <table><thead><tr><th>Parameter</th><th>Value</th></tr></thead><tbody><tr><td><p>RPM (Requests Per Minute)</p></td><td><p>600</p></td></tr><tr><td><p>TPM (Tokens Per Minute)</p></td><td><p>5,000,000</p></td></tr></tbody></table>
  </Tab>

  <Tab title="Germany (Frankfurt)">
    Scope: Global

    <table><thead><tr><th>Parameter</th><th>Value</th></tr></thead><tbody><tr><td><p>RPM (Requests Per Minute)</p></td><td><p>5000</p></td></tr><tr><td><p>TPM (Tokens Per Minute)</p></td><td><p>5,000,000</p></td></tr></tbody></table>
  </Tab>

  <Tab title="US (Virginia)">
    Scope: Global

    <table><thead><tr><th>Parameter</th><th>Value</th></tr></thead><tbody><tr><td><p>RPM (Requests Per Minute)</p></td><td><p>600</p></td></tr><tr><td><p>TPM (Tokens Per Minute)</p></td><td><p>5,000,000</p></td></tr></tbody></table>
  </Tab>
</Tabs>

## Snapshot Versions <span id="h-9d1b200c77" />

### qwen3-coder-flash-2025-07-28 <span id="h-5fd2149c0a" />

Based on Qwen3, this code generation model inherits the coding agent capabilities of Qwen3-Coder-Plus and supports multi-turn tool interaction. It features focused optimizations on repository-level understanding and enhanced tool-calling stability. This version is a snapshot dated July 28, 2025.

#### Inference Service Provider <span id="h-03a3346782" />

The inference service provider for `qwen3-coder-flash-2025-07-28` is Alibaba Cloud Model Studio.

#### Model Capabilities <span id="h-ba6ab54bc2" />

<Tabs>
  <Tab title="China (Beijing)">
    <table><thead><tr><th>Capability</th><th>Support</th><th>Capability</th><th>Support</th></tr></thead><tbody><tr><td><p>Input Modality</p></td><td><p><strong>Text</strong></p></td><td><p>Output Modality</p></td><td><p><strong>Text</strong></p></td></tr><tr><td><p>Model Experience</p></td><td><p>Supported</p></td><td><p>Function Calling</p></td><td><p>Supported</p></td></tr><tr><td><p>Structured Outputs</p></td><td><p>Unsupported</p></td><td><p>Web Search</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Prefix Completion</p></td><td><p>Unsupported</p></td><td><p>Context Caching</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Batch Inference</p></td><td><p>Unsupported</p></td><td><p>Fine-tuning</p></td><td><p>Unsupported</p></td></tr></tbody></table>
  </Tab>

  <Tab title="Singapore">
    Scope: International

    <table><thead><tr><th>Capability</th><th>Support</th><th>Capability</th><th>Support</th></tr></thead><tbody><tr><td><p>Input Modality</p></td><td><p><strong>Text</strong></p></td><td><p>Output Modality</p></td><td><p><strong>Text</strong></p></td></tr><tr><td><p>Model Experience</p></td><td><p>Supported</p></td><td><p>Function Calling</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Structured Outputs</p></td><td><p>Unsupported</p></td><td><p>Web Search</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Prefix Completion</p></td><td><p>Supported</p></td><td><p>Context Caching</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Batch Inference</p></td><td><p>Unsupported</p></td><td><p>Fine-tuning</p></td><td><p>Unsupported</p></td></tr></tbody></table>
  </Tab>

  <Tab title="Germany (Frankfurt)">
    Scope: Global

    <table><thead><tr><th>Capability</th><th>Support</th><th>Capability</th><th>Support</th></tr></thead><tbody><tr><td><p>Input Modality</p></td><td><p><strong>Text</strong></p></td><td><p>Output Modality</p></td><td><p><strong>Text</strong></p></td></tr><tr><td><p>Model Experience</p></td><td><p>Supported</p></td><td><p>Function Calling</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Structured Outputs</p></td><td><p>Unsupported</p></td><td><p>Web Search</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Prefix Completion</p></td><td><p>Supported</p></td><td><p>Context Caching</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Batch Inference</p></td><td><p>Unsupported</p></td><td><p>Fine-tuning</p></td><td><p>Unsupported</p></td></tr></tbody></table>
  </Tab>

  <Tab title="US (Virginia)">
    Scope: Global

    <table><thead><tr><th>Capability</th><th>Support</th><th>Capability</th><th>Support</th></tr></thead><tbody><tr><td><p>Input Modality</p></td><td><p><strong>Text</strong></p></td><td><p>Output Modality</p></td><td><p><strong>Text</strong></p></td></tr><tr><td><p>Model Experience</p></td><td><p>Supported</p></td><td><p>Function Calling</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Structured Outputs</p></td><td><p>Unsupported</p></td><td><p>Web Search</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Prefix Completion</p></td><td><p>Supported</p></td><td><p>Context Caching</p></td><td><p>Unsupported</p></td></tr><tr><td><p>Batch Inference</p></td><td><p>Unsupported</p></td><td><p>Fine-tuning</p></td><td><p>Unsupported</p></td></tr></tbody></table>
  </Tab>
</Tabs>

#### Context Limits <span id="h-b2fa6f9337" />

<table><thead><tr><th>Parameter</th><th>Value</th><th>Parameter</th><th>Value</th></tr></thead><tbody><tr><td><p>Max Input Length</p></td><td><p>997952</p></td><td><p>Max Output Length</p></td><td><p>65536</p></td></tr><tr><td><p>Context Window</p></td><td><p>1000000</p></td><td /><td /></tr></tbody></table>

#### Pricing <span id="h-df04982ada" />

This page only shows the original pricing for model API calls, excluding any limited-time promotions. Visit [Model Studio Console](https://modelstudio.console.alibabacloud.com/ap-southeast-1/model/market) for promotional offers.

<Tabs>
  <Tab title="China (Beijing)">
    <Accordion title="Input<=32k" defaultOpen>
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.144</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>0.574</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="32k<Input<=128k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.216</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>0.861</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="128k<Input<=256k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.359</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>1.434</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="256k<Input<=1m">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.717</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>3.584</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>
  </Tab>

  <Tab title="Singapore">
    Scope: International

    <Accordion title="Input<=32k" defaultOpen>
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.3</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>1.5</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="32k<Input<=128k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.5</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>2.5</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="128k<Input<=256k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.8</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>4</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="256k<Input<=1m">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>1.6</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>9.6</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>
  </Tab>

  <Tab title="Germany (Frankfurt)">
    Scope: Global

    <Accordion title="Input<=32k" defaultOpen>
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.144</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>0.574</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="32k<Input<=128k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.216</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>0.861</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="128k<Input<=256k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.359</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>1.434</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="256k<Input<=1m">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.717</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>3.584</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>
  </Tab>

  <Tab title="US (Virginia)">
    Scope: Global

    <Accordion title="Input<=32k" defaultOpen>
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.144</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>0.574</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="32k<Input<=128k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.216</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>0.861</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="128k<Input<=256k">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.359</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>1.434</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>

    <Accordion title="256k<Input<=1m">
      <table><thead><tr><th>Billing Item</th><th>Price (USD)</th><th>Unit</th></tr></thead><tbody><tr><td><p>Input</p></td><td><p>0.717</p></td><td><p>Per 1M tokens</p></td></tr><tr><td><p>Output</p></td><td><p>3.584</p></td><td><p>Per 1M tokens</p></td></tr></tbody></table>
    </Accordion>
  </Tab>
</Tabs>

#### Rate Limits <span id="h-1ff657ab65" />

<Tabs>
  <Tab title="China (Beijing)">
    <table><thead><tr><th>Parameter</th><th>Value</th></tr></thead><tbody><tr><td><p>RPM (Requests Per Minute)</p></td><td><p>60</p></td></tr><tr><td><p>TPM (Tokens Per Minute)</p></td><td><p>1,000,000</p></td></tr></tbody></table>
  </Tab>

  <Tab title="Singapore">
    Scope: International

    <table><thead><tr><th>Parameter</th><th>Value</th></tr></thead><tbody><tr><td><p>RPM (Requests Per Minute)</p></td><td><p>600</p></td></tr><tr><td><p>TPM (Tokens Per Minute)</p></td><td><p>5,000,000</p></td></tr></tbody></table>
  </Tab>

  <Tab title="Germany (Frankfurt)">
    Scope: Global

    <table><thead><tr><th>Parameter</th><th>Value</th></tr></thead><tbody><tr><td><p>RPM (Requests Per Minute)</p></td><td><p>60</p></td></tr><tr><td><p>TPM (Tokens Per Minute)</p></td><td><p>1,000,000</p></td></tr></tbody></table>
  </Tab>

  <Tab title="US (Virginia)">
    Scope: Global

    <table><thead><tr><th>Parameter</th><th>Value</th></tr></thead><tbody><tr><td><p>RPM (Requests Per Minute)</p></td><td><p>600</p></td></tr><tr><td><p>TPM (Tokens Per Minute)</p></td><td><p>5,000,000</p></td></tr></tbody></table>
  </Tab>
</Tabs>