# Qwen3.5 397B A17B API Pricing

As of October 10, 2026, Qwen3.5 397B A17B costs $0.1644 per 1M input tokens and $0.9864 per 1M output tokens from AIHubMix, the lowest of 7 providers. It has a 262,144-token context window and returns up to 65,536 tokens per response.

- Page: https://models.litellm.ai/models/qwen3.5-397b-a17b
- Lab: Alibaba
- LiteLLM model name: `aihubmix/qwen3.5-397b-a17b`
- Context window: 262,144 tokens
- Max output: 65,536 tokens
- Added to LiteLLM: March 2026
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| AIHubMix | `aihubmix/qwen3.5-397b-a17b` | $0.1644 | $0.9864 | – | – | – | 256K |
| DeepInfra | `deepinfra/Qwen/Qwen3.5-397B-A17B` | $0.45 | $3.00 | $0.22 | – | – | 256K |
| Nebius AI Studio | `nebius/Qwen/Qwen3.5-397B-A17B` | $0.60 | $3.60 | – | – | – | 256K |
| Novita AI | `novita/qwen/qwen3.5-397b-a17b` | $0.60 | $3.60 | – | – | – | 256K |
| Scaleway | `scaleway/qwen/qwen3.5-397b-a17b` | $0.60 | $3.60 | – | – | – | 256K |
| Together AI | `together_ai/Qwen/Qwen3.5-397B-A17B` | $0.60 | $3.60 | $0.35 | – | – | 256K |
| Tensormesh (fp8) | `tensormesh/Qwen/Qwen3.5-397B-A17B-FP8` | $0.60 | $3.60 | $0 | – | – | 256K |

## Cost examples

1,000 requests with 2,000 input and 500 output tokens each:

- AIHubMix: $0.822
- DeepInfra: $2.40
- Nebius AI Studio: $3.00
- Novita AI: $3.00

100 long-document requests with 100,000 input and 2,000 output tokens each:

- AIHubMix: $1.841
- DeepInfra: $5.10
- Nebius AI Studio: $6.72
- Novita AI: $6.72

## Features

Supported: Function calling, Structured output, Image input, Reasoning, Prompt caching, Web search.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="aihubmix/qwen3.5-397b-a17b",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does Qwen3.5 397B A17B cost?

Qwen3.5 397B A17B costs $0.1644 per 1M input tokens and $0.9864 per 1M output tokens from AIHubMix, the lowest of 7 providers.

### What is the context window of Qwen3.5 397B A17B?

Qwen3.5 397B A17B has a 262,144-token context window and returns up to 65,536 tokens per response.

### Which providers offer Qwen3.5 397B A17B?

Qwen3.5 397B A17B is available from 7 providers through LiteLLM: AIHubMix, DeepInfra, Nebius AI Studio, Novita AI, Scaleway, Together AI and Tensormesh. The lowest price is on AIHubMix.

### How do I call Qwen3.5 397B A17B with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="aihubmix/qwen3.5-397b-a17b", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### What features does Qwen3.5 397B A17B support?

Qwen3.5 397B A17B supports function calling, structured output, image input, reasoning, prompt caching and web search.

### When did LiteLLM add Qwen3.5 397B A17B?

Qwen3.5 397B A17B was added to LiteLLM's model price file in March 2026.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
