Skip to content
All releases
Added

Qwen4 Max through Token Harbor

Qwen4 Max now has a Token Harbor route. Add your Token Harbor key and call qwen/qwen4-max with no markup.

Add a Token Harbor key under Dashboard → BYOK to reach qwen/qwen4-max, the preview of Alibaba's Qwen4 family. Token Harbor lists it at $2 per 1M input and $6 per 1M output and bills you directly. AnyRouter charges nothing for a BYOK route.

AI SDK
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"
const anyrouter = createAnyRouter()
const { text } = await generateText({ model: anyrouter("qwen/qwen4-max"), prompt: "Hello" })
Coding agent
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr opencode --model "qwen/qwen4-max"

Playbooks: AI SDK, coding agents, BYOK setup.

Qwen4 announcement artwork
Announcement image from the Qwen team post on X. Source: Alibaba Qwen.

Looking for the full catalog? Browse all models.