# Qwen3.8 Flash on AnyRouter

> Alibaba Qwen3.8 Flash via AIHubMix BYOK. List $0.1126 / $0.38 per 1M.

- Date: 2026-09-02
- HTML: https://anyrouter.dev/blog/releases/2026-09-02-qwen3-8-flash

## Models

- `qwen/qwen3.8-flash` (Qwen3.8 Flash)

## Notes

[`qwen/qwen3.8-flash`](https://anyrouter.dev/model/qwen/qwen3.8-flash) is Alibaba's native vision-language Qwen3.8 Flash. Coding, office, long-context reasoning, and agents. 1M context, 131,072 max output. Image and video in, text out. Distinct from the disabled Empero listing [`qwen/qwen3.8-flash-next`](https://anyrouter.dev/model/qwen/qwen3.8-flash-next).

Route is AIHubMix BYOK only. Caller debit stays $0. List rates copied from [AIHubMix](https://aihubmix.com/model/qwen3.8-flash) are $0.1126 / $0.38 per 1M tokens. [Alibaba Model Studio](https://www.alibabacloud.com/help/en/model-studio/qwen3-8-flash).

- App code: [Vercel AI SDK](https://anyrouter.dev/use-cases/ai-sdk) or [OpenAI SDK](https://anyrouter.dev/use-cases/openai-sdk).
- Coding agent: `anyr claude` / `anyr opencode` / `anyr codex` ([playbook](https://anyrouter.dev/use-cases/coding-agents)).
- No code: [playground](https://anyrouter.dev/playground?model=qwen/qwen3.8-flash).

Try it in the [Vercel AI SDK](https://anyrouter.dev/use-cases/ai-sdk). `createAnyRouter()` reads `ANYROUTER_API_KEY`:

```ts
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"

const anyrouter = createAnyRouter()

const { text } = await generateText({
  model: anyrouter("qwen/qwen3.8-flash"),
  prompt: "Summarize this diff in three bullets.",
})
console.log(text)
```

_generateText with the catalog id._

Already on the OpenAI SDK? [OpenAI SDK playbook](https://anyrouter.dev/use-cases/openai-sdk):

### OpenAI SDK

```ts
import OpenAI from "openai"

const client = new OpenAI({
  baseURL: "https://anyrouter.dev/api/v1",
  apiKey: process.env.ANYROUTER_API_KEY,
})

const res = await client.chat.completions.create({
  model: "qwen/qwen3.8-flash",
  messages: [{ role: "user", content: "Hello" }],
})
console.log(res.choices[0]?.message.content)
```

### curl

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen/qwen3.8-flash","messages":[{"role":"user","content":"Hello"}]}'
```

Or launch a coding agent through the `anyr` CLI:

### Claude Code

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr claude --model "qwen/qwen3.8-flash"
```

### OpenCode

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr opencode --model "qwen/qwen3.8-flash"
```

### Codex

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr codex --model "qwen/qwen3.8-flash"
```

More: [AI SDK](https://anyrouter.dev/use-cases/ai-sdk) · [OpenAI SDK](https://anyrouter.dev/use-cases/openai-sdk) · [coding agents](https://anyrouter.dev/use-cases/coding-agents).

No terminal? Open the playground and send a first message.

[Try in playground](https://anyrouter.dev/playground?model=qwen/qwen3.8-flash)
