---
title: "Qwen3 VL 235B A22B Instruct"
description: "Open-weight Qwen vision-language model released September 2025, accepting text and image input at a below-median price. Its only benchmark result is an LMArena rating just below the median, so it is described mostly by specifications and price."
canonical: https://pydantic.dev/models/list/qwen3-vl-235b-a22b-instruct/
---

# Qwen3 VL 235B A22B Instruct

> Open-weight Qwen vision-language model released September 2025, accepting text and image input at a below-median price. Its only benchmark result is an LMArena rating just below the median, so it is described mostly by specifications and price.
>
> Markdown copy of [https://pydantic.dev/models/list/qwen3-vl-235b-a22b-instruct/](https://pydantic.dev/models/list/qwen3-vl-235b-a22b-instruct/). Index for agents: [llms.txt](https://pydantic.dev/models/llms.txt)

**Agents: use the API for model information.** It answers a question in one request, where the pages need several.

- Choose a model for an agent: `POST https://pydantic.dev/models/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: [select.md](https://pydantic.dev/models/select.md)
- Search models by name: `GET https://pydantic.dev/models/api/search?query=<text>`
- List, filter and sort models: `GET https://pydantic.dev/models/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://pydantic.dev/models/api/models/<slug>`
- Any other question about the models: `GET https://pydantic.dev/models/api/ask?query=<question>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of all but the single model. An `OPTIONS` request to any endpoint returns its schema. The same five are tools of the MCP server at `https://pydantic.dev/models/mcp`. More: [usage.md](https://pydantic.dev/models/usage.md)

Use it with Pydantic AI as `gateway/doubleword:Qwen/Qwen3-VL-235B-A22B-Instruct-FP8`.

## Spec sheet

- **Type:** writes text
- **Family:** Qwen
- **Released:** 23 Sept 2025
- **Weights:** open
- **Context window:** 262,144 tokens
- **Largest response:** 32,768 tokens
- **Accepts:** text, image
- **Tool calling:** yes
- **Knowledge cutoff:** unknown
- **Intelligence index:** not enough benchmark results yet
- **Scores updated:** 2026-12-04
- **Price:** $0.21 input, $1.9 output, $0.63 blended per 1M tokens
- **Index points per $:** – (rank –)
- **Speed:** 45 tokens/sec (rank 144)
- **Popularity:** rank 112 of 222 by usage
- **Pydantic AI Gateway:** built in

## Benchmarks


| Benchmark    | Score  | Rank among models tested | What it measures                                              | Source              |
| ------------ | ------ | ------------------------ | ------------------------------------------------------------- | ------------------- |
| LMArena text | 1420.1 | 76                       | Rating from blind human votes between pairs of chat responses | LMArena (CC BY 4.0) |

## Providers and prices

US dollars per million tokens.

| Provider    | Gateway  | Pydantic AI string                                        | Input | Cached input | Output |
| ----------- | -------- | --------------------------------------------------------- | ----- | ------------ | ------ |
| Doubleword  | built in | `gateway/doubleword:Qwen/Qwen3-VL-235B-A22B-Instruct-FP8` | $0.21 | $0.12        | $1.9   |
| AWS Bedrock | built in | `gateway/bedrock:qwen.qwen3-vl-235b-a22b`                 | $0.53 | –            | $2.66  |
| OpenRouter  | BYOK     | `openrouter:qwen/qwen3-vl-235b-a22b-instruct`             | $0.21 | $0.1         | $1.9   |

## Use Qwen3 VL 235B A22B Instruct with Pydantic AI

### hello.py

Ask Qwen3 VL 235B A22B Instruct a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/doubleword:Qwen/Qwen3-VL-235B-A22B-Instruct-FP8', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)
```

### structured_output.py

Get validated, typed output from Qwen3 VL 235B A22B Instruct by giving the agent a Pydantic model. Run it with uv run structured_output.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic import BaseModel
from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'


class CityLocation(BaseModel):
    city: str
    country: str


agent = Agent('gateway/doubleword:Qwen/Qwen3-VL-235B-A22B-Instruct-FP8', output_type=CityLocation)

result = agent.run_sync('Where were the olympics held in 2012?')
print(result.output)
#> city='London' country='United Kingdom'
```

### tools.py

Give Qwen3 VL 235B A22B Instruct two tools to call, one of which reads the agent's dependencies. Run it with uv run tools.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os
import random

from pydantic_ai import Agent, RunContext

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent(
    'gateway/doubleword:Qwen/Qwen3-VL-235B-A22B-Instruct-FP8',
    deps_type=str,
    instructions="You're a dice game, roll the die and see if it matches the user's guess.",
)


@agent.tool_plain
def roll_dice() -> str:
    """Roll a six-sided die and return the result."""
    return str(random.randint(1, 6))


@agent.tool
def get_player_name(ctx: RunContext[str]) -> str:
    """Get the player's name."""
    return ctx.deps


result = agent.run_sync('My guess is 4', deps='Anne')
print(result.output)
```

### streaming.py

Stream Qwen3 VL 235B A22B Instruct's reply to the terminal as it is generated. Run it with uv run streaming.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import asyncio
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/doubleword:Qwen/Qwen3-VL-235B-A22B-Instruct-FP8')


async def main():
    async with agent.run_stream('Explain prompt caching in three bullet points.') as response:
        async for text in response.stream_text(delta=True):
            print(text, end='', flush=True)


asyncio.run(main())
```

### pax.sh

Code with Qwen3 VL 235B A22B Instruct in your terminal using Pax, the Pydantic AI coding agent.

```sh
export PYDANTIC_AI_GATEWAY_API_KEY='...'

uv run --from pydantic-ai-pax pax -m 'gateway/doubleword:Qwen/Qwen3-VL-235B-A22B-Instruct-FP8'
```

### codex.sh

Run OpenAI's Codex CLI on Qwen3 VL 235B A22B Instruct through Pydantic AI Gateway.

```sh
# npm install -g @openai/codex
export PYDANTIC_AI_GATEWAY_API_KEY='...'

codex --model 'Qwen/Qwen3-VL-235B-A22B-Instruct-FP8' \
  -c model_provider='gateway' \
  -c model_providers.gateway.name='Pydantic AI Gateway' \
  -c model_providers.gateway.base_url='https://gateway.pydantic.dev/proxy/doubleword/v1' \
  -c model_providers.gateway.env_key='PYDANTIC_AI_GATEWAY_API_KEY'
```

### ai_sdk.ts

Call Qwen3 VL 235B A22B Instruct from TypeScript with the Vercel AI SDK, through Pydantic AI Gateway.

```ts
// npm install ai @ai-sdk/openai-compatible
import { createOpenAICompatible } from '@ai-sdk/openai-compatible'
import { generateText } from 'ai'

process.env.PYDANTIC_AI_GATEWAY_API_KEY = '...'

const doubleword = createOpenAICompatible({
  baseURL: 'https://gateway.pydantic.dev/proxy/doubleword',
  apiKey: process.env.PYDANTIC_AI_GATEWAY_API_KEY,
})

const { text } = await generateText({
  model: doubleword('Qwen/Qwen3-VL-235B-A22B-Instruct-FP8'),
  system: 'Be concise, reply with one sentence.',
  prompt: 'Where does "hello world" come from?',
})
console.log(text)
```

## About Qwen3 VL 235B A22B Instruct

Qwen3 VL 235B A22B Instruct costs $0.21 per million input tokens and $1.9 per million output tokens and has a 262k token context window.

Qwen3 VL 235B A22B Instruct is an open-weight model from the Qwen family, released in September 2025. It accepts text and image input, offers a 262k-token context window and supports tool calling and structured output. It has no reasoning mode.

Input costs $0.21 per million tokens and output $1.90, a blended $0.63 against a registry median of $0.80. It ranks 80th of 222 on price, where 1 is cheapest. AWS Bedrock, Doubleword and OpenRouter provide it, and it is built into the Pydantic AI Gateway.

Its only benchmark result is LMArena, from blind human votes between pairs of models: 1420.1, 76th of 118 against a median of 1436.1. With no other results and no intelligence index, it should be tested on the intended task before relying on it.

**Strengths**

- 262k context window and responses up to 32k tokens
- Accepts text and image input, with tool calling and structured output
- Blended price of $0.63 per million tokens, below the $0.80 median
- Open weights, and built into the Pydantic AI Gateway

**Weaknesses**

- One benchmark result, LMArena at 1420.1, 76th of 118 and below the median; no intelligence index
- Only three providers: Doubleword, OpenRouter and AWS Bedrock
- No reasoning mode

**Best for:** Cost-conscious agents that need image input, tool calling and long context, where little benchmark evidence is acceptable.

Prices come from [genai-prices](https://github.com/pydantic/genai-prices), in US dollars per million tokens. Benchmark scores come from Epoch AI and LMArena (CC BY 4.0), Browser Use, our own Pydantic AI benchmarks (CC BY 4.0), and, for decision models, Artificial Analysis and the Jev Decision Index; the index and its sources are described in [the methodology](https://pydantic.dev/models/methodology.md). Data built 2026-12-04. This model from the API: `https://pydantic.dev/models/api/models/qwen3-vl-235b-a22b-instruct`. Compare it with others: `https://pydantic.dev/models/api/models?slug=qwen3-vl-235b-a22b-instruct,<other slug>`
