Artificial Analysis 开源 Tokedex:模型路由与令牌管理网关
搞 Agent 的话可以看看这个:Artificial Analysis 把他们家基准评测直接做成了开源路由网关,能让 Claude Code 跑 GPT-6.2 Astra,还能按 Intelligence Index 自动挑最便宜够用的模型,数据也留在自己手里。跟 LiteLLM 那类工具比,路由决策有基准数据撑腰,适合在意成本和多模型切换的团队。
Artificial Analysis 发布开源项目 Tokedex,定位为模型路由器和令牌管理网关。该项目将其在评测各模型与推理供应商过程中积累的经验产品化,代码开源且数据不出本地。
Tokedex 的核心能力包括:提供统一接口,兼容 ChatCompletions、Responses 和 Anthropic Messages API,可以在 Claude Code 中调用 GPT-6.2 Astra 或 Gemini 4 Neon 等任意模型;基于 Artificial Analysis 的 Intelligence Index 等基准进行自动路由,例如自动选择得分 50+ 且最便宜的模型;还提供本地可观测性、预算告警与 SSO 团队管理、重试和降级模型保障可用性,并提供 Python、TypeScript 和 Rust 的 SDK。
相比 OpenRouter、LiteLLM 等路由方案,Tokedex 的差异化在于将 Artificial Analysis 的基准数据直接接入路由决策,且主打数据自持。对需要多模型切换、成本控制和 Agent 调试的开发者与团队来说,这是一个可直接部署的基础设施组件。
Announcing Tokedex: Artificial Analysis' open-source router and token management gateway
Tokedex packages what we've learned from benchmarking every model and inference provider. It's open source so your data stays your data.
Features that set Tokedex apart: 🧩 One interface to use any model in any agent: use ChatCompletions, Responses or Anthropic’s Messages API with any model. Use your agent, whether a custom agent or Claude Code, with any model. You can now use GPT-6.2 Astra or Gemini 4 Neon in Claude Code
📊 Routing on Artificial Analysis benchmarks: use Artificial Analysis intelligence, speed and cost benchmarks to automatically pick the best model for your constraints e.g. the cheapest model scoring 50+ on the Intelligence Index
🔭 Observability so you can measure and improve your agents: track and inspect traces to debug and improve your agents, with no data sent to a third party
💵 Cost controls and team management: set spend budgets and alerts, scope API keys, enable SSO and organize teams into workspaces
🔁 Retries and fallbacks: increase availability with smart retries and fallback models to ensure your agents don’t go down
📦 SDKs for Python, TypeScript and Rust (plain HTTP / curl works too)
Github: https://t.co/fsYiXCg28G
This report is categorized under AITOP's "Products" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows and US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include Tokedex, Artificial Analysis, Claude Code, model routing.
Source attribution: curated from Artificial Analysis (@ArtificialAnlys).