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

# Qwen 3.5 397B

> Qwen 3.5 397B on the AI Reserve gateway — model id, aliases, pricing, limits and a copy-paste request.

**Chat** · Qwen · served by Tensormesh

> [!WARNING]
>
> **Requires an organization opt-in:** Unverified-retention opt-in. Until an administrator enables it from the admin console the model is hidden from pickers and API requests to it are refused. See [organization consent gates](/models#organization-consent-gates).

## Call it

Endpoint: `POST /v1/chat/completions` — set `model` to `qwen-3.5-397b`.

```bash cURL theme={"dark"}
curl https://api.aireserve.com/v1/chat/completions \
  -H "Authorization: Bearer $AIRESERVE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen-3.5-397b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
```

```python Python theme={"dark"}
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aireserve.com/v1",
    api_key=os.environ["AIRESERVE_API_KEY"],
)

res = client.chat.completions.create(
    model="qwen-3.5-397b",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(res.choices[0].message.content)
```

```typescript TypeScript theme={"dark"}
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.aireserve.com/v1",
  apiKey: process.env.AIRESERVE_API_KEY,
});

const res = await client.chat.completions.create({
  model: "qwen-3.5-397b",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(res.choices[0].message.content);
```

Full request and response reference: [Quickstart](/getting-started/quickstart).

## IDs & aliases

| Send as `model` | What it is |
| - | - |
| `qwen-3.5-397b` | Canonical gateway id |
| `claude-air-qwen-3.5-397b` | Claude Code picker id |

Every alias resolves at the gateway and is disclosed back as `requestedModelAlias` in usage metadata. Routing variants also apply: `qwen-3.5-397b:nitro` picks the fastest provider serving these weights and `qwen-3.5-397b:floor` the cheapest ([details](/models#provider-routing-variants)).

## Specs

| Spec | Detail |
| - | - |
| Modality | Text & chat — Chat |
| Model maker | Qwen |
| Served by | Tensormesh |
| Context window | 262,144 tokens |
| Max output | 235,929 tokens |
| Pricing | \$0.6 in / \$3.6 out per 1M tokens |
| Capabilities | Streaming, Tool use |
| Hosting | United States |
| Opt-ins | Unverified-retention opt-in |

Prices are public list rates at generation time and may lag the provider card; `GET /v1/models` and the portal's pricing page are authoritative for billing.

> **[Browse all models](/models)**
>
> Search and filter every model by modality, maker, capability and price.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.