An evaluation firm steps into routing: Tokedex turns leaderboards into a model gateway
As model integrations become increasingly fragmented, how do you manage keys, budgets, and model-selection rules? Artificial Analysis turns its evaluation experience into an open-source gateway, Tokedex.
Artificial Analysis has released Tokedex, an open-source routing and token management gateway under the MIT license. The organization has long evaluated models and inference providers; this time it has packaged that evaluation experience into a middleware layer: applications don't need to integrate directly with every model. They go through the gateway first, which then distributes requests according to rules.
Model integrations are becoming increasingly fragmented. An agent may use three interfaces at once—OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages—with keys scattered across different providers and separate implementations needed for budgets and failure handling. Tokedex aims to bring these under one entry point. According to the official description, you can run any agent with any model, including calling GPT-6.2 Astra or Gemini 4 Neon from Claude Code.
In the feature list, routing is the core. Tokedex can automatically select models based on Artificial Analysis's intelligence, speed, and cost benchmarks; the example given is finding the cheapest model with an Intelligence Index score above 50. It makes sense for an evaluation firm to do routing: model selection already relies on leaderboards, and now the leaderboards directly become routing conditions. Another differentiator is observability and cost control. It provides trace viewing and debugging, and data is not sent to third parties; you can set budgets and alerts, scope API keys, enable SSO, and manage teams by workspace. There are also smart retries and fallback models. SDKs cover Python, TypeScript, and Rust, and it also supports plain HTTP and curl. The project is on GitHub: https://github.com/ArtificialAnalysis/Tokedex/, and the documentation is at https://tokedex.artificialanalysis.ai .
Installation isn't complicated. For Docker, docker compose up --no-build is recommended, or run npm install and then npm start. The gateway prints the master key in the logs; open http://127.0.0.1:4000 to log in, and follow Quick start on the homepage to connect providers. The CLI is npm install --global @tokedex/cli, then log in with tdx auth login --host http://127.0.0.1:4000. The documentation also covers the steps for connecting the gateway in Claude Code, Codex, and Cursor.

Several follow-up questions under the tweet are more interesting than the feature list. One user asked why it doesn't compare subscription prices by default, but rather API prices. Another asked whether it can escalate to a larger model after a cheap model's answer fails a check, rather than only falling back when a provider fails. Someone else asked whether it can route to models running on Ollama at home, sending overnight file-reading work to the local GPU and sending hard problems to hosted models. Public materials do not directly answer these. What can be confirmed is that Tokedex documents smart retries and fallback, benchmark-based routing, and keeping data on your side. Local models and more granular failure-escalation strategies will be things self-hosted users watch.
The routing gateway space is not empty. One user said outright that the market is getting crowded. Tokedex's differentiator is that it turns evaluation data into routing conditions. There are already many proxy layers that only forward requests. Whether this approach can hold up in production depends on two things: whether routing rules are transparent enough, and whether enterprises are willing to put the gateway on critical paths. Open source and MIT lower the barrier to trial, and GitHub also states that it only accepts issues and does not accept external PRs. For teams, getting keys, budgets, and traces under control first may be more practical than arguing over which model is strongest.
发布时间: 2026-12-04 03:30