> ## Documentation Index
> Fetch the complete documentation index at: https://docs.routerbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Qwen Chat API

> Alibaba Qwen chat models via RouterBase, OpenAI-compatible chat completions.

## Overview

Qwen's chat models on RouterBase, served through the standard
OpenAI-compatible chat completions endpoint with streaming and tool calling.

|              |      |
| ------------ | ---- |
| **Provider** | Qwen |
| **Modality** | Chat |
| **Input**    | Text |
| **Output**   | Text |

## Models

* `qwen/qwen3-235b-a22b-instruct-2507`
* `qwen/qwen-2.5-72b-instruct`
* `qwen/qwen3-vl-30b-a3b-instruct`
* `qwen/qwen3-coder-30b-a3b-instruct`
* `qwen/qwen3-coder-480b-a35b-instruct`
* `qwen/qwen3-coder-next`
* `qwen/qwen3.5-397b-a17b`
* `qwen/qwen3.5-27b`
* `qwen/qwen3.5-122b-a10b`
* `qwen/qwen3.5-35b-a3b`
* `qwen/qwen3.5-plus`

Pricing is deliberately not reproduced here. Rates are set per model in the
RouterBase catalogue and can be overridden per account, so any figure copied
into this page is a snapshot that goes stale the next time a rate changes.
Fetch the current rate for any model from the [Models API](/api-reference/models):

```http theme={null}
GET /api/models/{model}/pricing
```

URL-encode the slash in the model id — e.g. `qwen%2Fqwen3-235b-a22b-instruct-2507`.

## Endpoint

```http theme={null}
POST https://routerbase.com/v1/chat/completions
```

## Quickstart

```bash theme={null}
curl https://routerbase.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTERBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen3.5-plus",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
```
