新增内容
2026 年 9 月 20 日至 10 月 10 日加入目录的公开模型,现在都有发布说明,价格取自目录,并附带试用代码。同一系列的模型共用一篇说明。
试一试
聊天模型可直接用 Vercel AI SDK 和 OpenAI SDK。Decisions 模型使用 POST /api/v1/decisions。
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"
const anyrouter = createAnyRouter()
const { text } = await generateText({
model: anyrouter("anthropic/claude-haiku-5-5"),
prompt: "Classify these support tickets by urgency.",
})
console.log(text)curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr login
anyr claude --model "anthropic/claude-haiku-5-5"
anyr decision --model microsoft/microsoft-decision-1更多:编程助手 · Decisions 应用 · 全部发布说明。
相关文章
Use AnyRouter with the Vercel AI SDK
@anyr/ai-sdk-provider wraps the AnyRouter gateway as a standard Vercel AI SDK provider. Call createAnyRouter(), pass a provider/model id, and generateText, streamText, and generateObject work unchanged — switching models is a one-string edit.
Run coding agents through one gateway
Point Claude Code, Codex, OpenCode, Cursor, or any OpenAI-compatible tool at AnyRouter and get one key for every model, unified billing, per-request audit logs, and app attribution. Two environment variables — or one npx command with the anyr CLI launcher.
anyr decision:在终端运行结构化决策
用一条原生 CLI 命令运行 TypeSafe Jev、Fastino GLiNER2.5-Decide 或 anyrouter/decision,不再把决策模型塞进聊天代理。