Skip to content
检查中

一个网关,统一所有 模型

Claude Code 走 anyr,自带 Key(BYOK),闲置 Key 捐进共享池。一个 OpenAI 兼容 API。Go 每月 $4 额度。

免费起步 — Go 每月 $4 额度;捐一把可用 Key 就不用绑卡。开通共享池:$2/月捐一把能用的 Key

可用于OpenAIxAIAnthropic+ 183 个模型,覆盖 17 家供应商
anyrouter ~ openai (python)
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://anyrouter.dev/api/v1",
    api_key=os.environ["ANYROUTER_API_KEY"],
)

resp = client.chat.completions.create(
    model="anthropic/claude-sonnet-4.6",
    messages=[{"role": "user", "content": "Hi"}],
)
ANYROUTER_API_KEY领取 Key

社区众筹的免费 Token

我们把大家的免费/试用 Key汇进一个共享池 — 人人都有免费 Token。捐一把 Key,池子变大,免费用

01

一个接口,所有模型。

继续用你的 SDK。某一路上游限流了,你的请求不会察觉。

把 SDK 指到一个 base URL,模型写作 provider/model。每次调用走同一条流水线:鉴权、选上游、失败就试下一个、重复内容走缓存、每次尝试都记日志。

从你的调用到模型 · 每次请求

Key 负载均衡

在你的 Key 之间分摊负载,自动隔离烧坏的 Key — 不用改客户端。

自动故障转移

一旦出错或限流,立刻在供应商和池内 Key 之间重试、回退。

Prompt 缓存

跨调用复用已缓存上下文,降低重复 token 成本和首字时间。

按请求记日志

每次尝试的回退跳转、token 数和费用都会记下 — 可追踪、可查询。

03

一个网关里的全部能力

一把 Key。否则你得自己拼的所有能力。

没有插件,基础能力不按套餐上锁。下面每项都走同一个 base URL 和同一把 API Key。自带 Key、捐 Key、anyr CLI。

04

团队为什么换过来

三件结构上很难抄的事。

从不抽成

自带 Key,一分不抽。

走你自己的供应商 Key,AnyRouter 不抽成 — 没有入金费、不按 token 加价、没有上限。你付给上游多少,就是多少。

可观测

调试任意请求。

每次尝试的回退跳转、状态、延迟、token 数和费用都会记下。这个档位别人很少给的「调试这次请求」追踪。

可带走

配置跟着你走。

Key、预设和 Skills 住在 AnyRouter 里,需要时注入本地,退出时清干净。笔记本、服务器、CI、同事的机器,同一套。

05

免费模型,大家一起供

共享 Key 池

每位成员去注册供应商的免费/试用档 — NVIDIA NIM、Gemini 免费档、Groq 免费档等 — 再把那把 Key 捐进来。配额加总成一个池,每位成员(包括你)都能调用。捐一把 Key,Go 免订阅费。

06

开通 Go — 两扇门,同一间房

如何加入

AnyRouter.dev 跑在 Go 上 — $2/月,或 捐一把免费档供应商 Key(捐献者免订阅费)。每个 Go 都有 每月 $4 额度

创建账户

几秒注册 — 不用绑卡。进控制台就能复制第一把 API Key。

07

最便宜的入门方式

三种起步方式

Go 含每月 $4 额度和免费模型 — $2/月,或捐一把供应商 Key 免订阅费。也可以自带 Key、不抽成、不用绑卡。免费套餐没有每月额度。

Go 套餐

每月 $4 额度

Go 上 — $2/月或捐一把 Key。$4 在快速模型上能跑多远。

$4 的 Token 量,按 75% 输入 / 25% 输出混合计价。

Go 套餐

免费模型,每天 1000 次

在 Go 上走 anyrouter/free — 每 token $0,每天最多 1000 次请求。

Apple Foundation Model (on-device)
$0 in · $0 out
Dots3-Note Preview
$0 in · $0 out
Gemma 4 31B
$0 in · $0 out
Ling-3.0-flash-Fin
$0 in · $0 out
Ling-3.0-flash-Sante
$0 in · $0 out
Ling-3.0-flash-VL
$0 in · $0 out
Ling-3.0-tiny
$0 in · $0 out
LFM 2.5 2.6B
$0 in · $0 out
Nex-N2.5-Mini
$0 in · $0 out
Nex-N2.5-Pro
$0 in · $0 out
Ising Calibration 1.5 31B
$0 in · $0 out
Nemotron-3 Nano 30B
$0 in · $0 out
浏览免费模型
自带 Key

你的 Key,不抽成

12 家供应商提供免费档 — 只由供应商计费,我们不收。

添加你的 Key
08

用 AnyRouter 登录

给应用加 AI — 用户自带 AnyRouter.dev

一个 OAuth 按钮按用户发给你一把有范围的临时 Key。每次请求记在该用户自己的 AnyRouter.dev 账户上 — 你不用收集、保存或付 API Key。

应用的登录界面

点一下 — 看看你的用户会看到什么。

  • OAuth 2.1 + PKCE

    标准授权码流程、public client、没有可泄露的 secret。纯浏览器应用也能用。

  • 仅限推理的受限 Key

    Token 只能跑 AI 请求和读取基本资料 — 碰不到 Key、账单或账户设置。

  • 按用户计费与撤销

    每位用户用自己的额度或免费档付费,随时可在控制台撤销你的应用。

09

183+ 个模型 · 17 家供应商 · 2026年9月21日

一份持续增长、始终最新的目录

xAI's Grok 4.7 joins the catalog — 500K context, adjustable reasoning, vision in, and six BYOK upstream routes.

$1.60 in
$4.80 out
500K

SpaceXAI's frontier model for coding, agentic tasks, and knowledge work — succeeds Grok 4.6 with mandatory adjustable reasoning (low/medium/high/xhigh, default high).

$0.04 in
$0 out
128K

TypeSafe Jev is a System One decision model: send application state and typed questions (noul / choice / score) and get structured answers with probabilities — not generated chat text. Call POST /api/v1/systemone. Requires a TypeSafe BYOK key (dashboard → BYOK → TypeSafe). List price is $0.042 per million input tokens; output tokens are free upstream. This hop is user-key only (0/0 on AnyRouter credits).

262K

Union Alpha is a stealth preview multimodal model for research, coding, and agentic workflows. It offers frontier-level general-purpose performance with vision in and text out. OpenRouter lists tools and structured output; it does not advertise reasoning on this SKU.

512K

Agnes 3.0 Flash is designed for real-world agent tasks and development workflows, covering the full execution chain from task understanding and planning to tool invocation and final delivery. The model focuses on improving stability, instruction-following, factual grounding, and output completeness in complex tasks, with vision in and text out via an OpenAI-compatible Chat Completions interface.

8KFree

NVIDIA Nemotron Parse 2.0 is a document-understanding VLM: page image in, structured text out (markdown, layout classes, bounding boxes, reading order). Served via NVIDIA NIM OpenAI-compatible /v1/chat/completions. Not image generation.

262K

Ling-3.0-flash-Fin is inclusionAI's finance-focused mixture-of-experts model, built on Ling-3.0-flash (124B total / 5.1B active). It is designed for real-world investment research, market analysis, and financial reasoning, while retaining general reasoning, coding, and agentic skills. Distinct from text-only inclusionai/ling-3.0-flash, the VL listing, and the health/medicine Sante SKU. Served free via the platform free pool, with BYOK as a fallback.

262K

Ling-3.0-flash-Sante is inclusionAI's health and medicine-focused mixture-of-experts model, built on Ling-3.0-flash (124B total / 5.1B active). It is designed for medical knowledge reasoning, clinical safety, evidence-based retrieval, and long-horizon medical tasks, while retaining general reasoning, coding, and agentic skills. Distinct from text-only inclusionai/ling-3.0-flash and the VL listing. Served free via the platform free pool, with BYOK as a fallback. Command Code lists the same product as a free-while-it-lasts promo — that is the upstream's credit, not AnyRouter Free monthly credits.

262K

Ling-3.0-flash-VL is inclusionAI's native multimodal instruct model, a 124B-parameter Mixture-of-Experts model with roughly 5.5B activated parameters per token. Built on Ling-3.0-flash, it adds native image and video understanding (up to 256K context) for visual reasoning, document and chart reading, and agentic GUI tasks. Distinct from the text-only inclusionai/ling-3.0-flash listing. Served free via the platform free pool, with BYOK as a fallback.

262K

Nex-N2.5-Mini is Nex AGI's smaller agentic coding model (35B total / 3B active MoE), built for high-speed instruction following, real-time tool execution, and visually assisted computer use. Distinct from Nex-N2.5-Pro and the retired Nex-N2-Pro listing. OpenRouter lists a :free SKU only — that wire is an alias, not the catalog id. Served free via the platform free pool, with BYOK as a fallback.

262K

Nex-N2.5-Pro is Nex AGI's larger agentic coding model (397B total / 17B active MoE), built to turn goals into working, verified outcomes with a visual feedback loop. Distinct from Nex-N2.5-Mini and the retired Nex-N2-Pro listing. OpenRouter lists a :free SKU only — that wire is an alias, not the catalog id. Served free via the platform free pool, with BYOK as a fallback.

1M

DeepSeek V4.1 Flash is the cost-efficient sparse MoE tier of the V4.1 family (1M context, vision in, text out). Official API id is `deepseek-flash`; OpenRouter lists the same product as `deepseek/deepseek-v4.1-flash`.

1.1M

OpenAI GPT-6 Astra reasoning/chat model with ~1.05M context; Experiential Cloud promotional free daily tier.

1M

Meta's Muse Spark 1.3 is a multimodal reasoning model for complex agentic tasks. It accepts text, images, video, audio, and PDF documents, returns text, and offers a 1M-token context window.

1M

Google's Gemini 3.8 Flash is a multimodal model for fast agentic workflows, coding, and complex multi-step reasoning, with a 1,048,576-token context window.

260K

Inception Labs Mercury 2.5 Preview is a text model with thinking and tool use and a 260,000-token context window.

1M

Anthropic's Claude Fable 5.1 is the successor to Claude Fable 5 for long-running agentic coding, knowledge work, and research. Same $10/$50 list rates as Fable 5, with cache reads at $0.25 per million tokens and a 1M-token context window.

1M

Alibaba Qwen native vision-language model for coding, office, long-context reasoning, and agents. 1M context.

1M

Hy4 Preview is Tencent Hunyuan's 770B/49B-active MoE for agents, coding, office automation, and complex tool use, with a 1M-token context window.

512K

Agnes 2.5 Flash is Agnes AI's fast and efficient language model, optimized for coding tasks, agent workflows, tool calls, multi-turn dialogue, reasoning, and image understanding via an OpenAI-compatible Chat Completions interface.

1M

Agnes 2.5 Pro Alpha is Agnes AI's paid inference model for advanced coding, scientific reasoning, long-context analysis, agent workflows, and multimodal understanding via an OpenAI-compatible Chat Completions API.

1M

Agnes 2.5 Pro is Agnes AI's paid inference model and the commercially stable version of the Agnes 2.5 Pro Alpha ranking model, suited for advanced coding, scientific reasoning, long-context analysis, agent workflows, and multimodal understanding.

256K

MAI-Thinking-1 is Microsoft's first inference model in the MAI series, built for enterprise-scale workloads with strong reasoning, mathematical, and general intelligence capabilities at high throughput.

1M

GLM-5.3-Flash is a native multimodal model from Z.ai (320B-A18B, MIT License, 1M-token context). It is suited for efficient coding and long-horizon agent tasks. Its hybrid sparse and linear attention architecture maintains accurate long-context behavior while reducing compute overhead.

$0.06 in
$0.22 out
1M

GLM-5.3 is Z.AI's reasoning model for coding and agentic workflows, built for complex software engineering, long-running agents, and vulnerability analysis. It uses the same base model as GLM-5.2 with scaled post-training for stronger coding performance, task execution, and token efficiency.

10

常见问题

常见问题

AnyRouter 是什么?

Claude Code 走 anyr,自带 Key(BYOK),闲置 Key 捐进共享池。一个 OpenAI 兼容 API。Go 每月 $4 额度。

怎样通过 AnyRouter 调用模型?

把 SDK 指到一个 base URL,模型写作 provider/model。每次调用走同一条流水线:鉴权、选上游、失败就试下一个、重复内容走缓存、每次尝试都记日志。

自带 Key 会被抽成吗?

走你自己的供应商 Key,AnyRouter 不抽成 — 没有入金费、不按 token 加价、没有上限。你付给上游多少,就是多少。

怎么开始?

几秒注册 — 不用绑卡。Go 是打开 AnyRouter.dev 的套餐:付 $2 / 月,或捐 1 把免费 Key。Go 每月 $4 额度、不限量免费模型,以及共享 Key 池。