Products & Tools

Tokedex Routes AI Requests by Benchmark Score and Price

Artificial Analysis released Todeskex on December 3, 2026: an MIT-licensed self-hosted router that picks models by Intelligence Index score and cost, with tracing, budgets and fallbacks built in.

Tokedex Routes AI Requests by Benchmark Score and Price
imgix / unsplash
By Elena Vasquez5 min read

Why it matters

  • Artificial Analysis announced Todeskex, an MIT-licensed AI router and token management gateway, on December 3, 2026.
  • One documented routing rule selects the cheapest model scoring at least 50 on the Artificial Analysis Intelligence Index.
  • The gateway supports OpenAI Chat Completions, OpenAI Responses and Anthropic Messages API formats, with SDKs for Python, TypeScript and Rust.
  • The latest release is v0.1.1; deployment supports Docker Compose and Kubernetes, fully self-hosted.
  • Outside pull requests are rejected; contributions go through GitHub issues and private vulnerability reports only.

A new open-source gateway called Tokedex now picks your AI model for you, using benchmark scores and dollar costs as the actual routing logic. Artificial Analysis announced the project on December 3, 2026. It is an MIT-licensed router and token management gateway for applications and coding agents that work across multiple AI model providers, combining benchmark-based model selection with request tracing, spending controls, retries and fallback models.

Why does this matter? Model choice has become an operational decision, not a research one. Teams juggle a growing roster of providers, prices change frequently, and coding agents fire off thousands of requests per day. Tokedex moves that decision into infrastructure, and it comes from Artificial Analysis — the company whose benchmarks already inform how many buyers compare models in the first place.

What does Todeskex actually do?

The router applies Artificial Analysis's intelligence, speed and cost benchmarks to live request routing. Users define constraints and let the router pick the model. One documented example in the project's materials chooses the cheapest model that scores at least 50 on the company's Intelligence Index. That single example captures the whole pitch: benchmark performance and cost collapse into one automated decision, made per request, rather than debated once at architecture time and then forgotten.

Tokedex sits as a self-hosted server between applications and model providers, according to the company's documentation. The gateway holds the provider credentials. Clients authenticate with API keys issued through the gateway itself. Teams therefore centralize provider access and routing rules inside infrastructure they already operate, which keeps credentials and request traces out of third-party hands — a selling point for organizations with data-handling or compliance constraints around AI usage.

Which tools and APIs does it support?

The compatibility surface is deliberately wide. Tokedex accepts three API formats:

  • OpenAI Chat Completions
  • OpenAI Responses
  • Anthropic Messages

Artificial Analysis says these interfaces let supported models run across custom agents and coding tools. Its examples include running GPT-6.2 Astra or Gemini 4 Neon through Claude Code — a configuration that would ordinarily require adapters or vendor lock-in to pull off. The dashboard generates connection setup for Claude Code, Codex, Cursor and other coding agents, and existing OpenAI or Anthropic clients can also point at the gateway.

For developers who want code-level access, the project ships SDKs for Python, TypeScript and Rust. All three support streaming, structured output and tool calling. Plain HTTP and curl work too. The integration model is flexible: a developer can call providers directly using credentials from the local environment, or route the same code through the gateway by supplying its address and a Tokedex API key.

How does it handle tracing and budgets?

Every request through the gateway produces a trace. Each trace records the model used, token usage, latency and cost. Artificial Analysis says these traces can be tracked and inspected without sending data to a third party. For teams debugging agent behavior, that gives a consistent record of what ran, how fast it ran and what it cost — across every provider the agent touched.

Workspaces add the administrative layer. Each team gets separate API keys, roles and budgets. Spending alerts, scoped keys and single sign-on wrap administrative controls around the same request path. The result is that a single gateway handles both the routing intelligence and the governance layer, which companies otherwise assemble from separate tooling.

Resilience gets explicit treatment as well. Artificial Analysis describes smart retries and fallback models as a way to increase availability for agent requests. For coding agents that run unattended for hours, a provider outage no longer has to mean a failed run — the gateway can fall back to another model under the same constraints.

How do you deploy it?

The source repository lists Todeskex v0.1.1 as its latest release. The quickstart is deliberately short: it clones the repository and starts the gateway with Docker Compose, with no build step. An npm-based startup path is also documented. For larger deployments, the production documentation covers Kubernetes, and the gateway can run as a container in an organization's own cloud.

The self-hosting requirement is the other half of the story. Nothing runs on Artificial Analysis's servers. Teams that want the benchmark-driven routing have to operate the infrastructure themselves, which means owning the operational burden — uptime, upgrades, key management — that a managed router vendor would normally absorb.

Is it really open source?

The license is MIT, but the contribution policy is not fully open. Outside pull requests are not accepted. Artificial Analysis invites bug reports, feature requests and documentation fixes through GitHub issues, and asks for private vulnerability reports. The project therefore pairs public source code and self-hosting with a company-controlled process for accepting changes.

That model has precedent — publish the code for trust and auditability, keep the commit pipeline closed — but it does mean the "open-source" label comes with an asterisk. Anyone can read, fork or run Tokedex. Only Artificial Analysis decides what lands in the mainline.

What's the trade-off for adopters?

The calculus is concrete. Todeskex centralizes model choice, request records and spending rules in one place, and it makes benchmark data operational rather than advisory. In exchange, teams operate the infrastructure themselves and route proposed code changes through issues rather than pull requests.

For engineering organizations already running their own gateways or evaluating AI routing layers, the December 3 release puts a benchmark-backed, self-hosted option on the table at version 0.1.1. Whether Artificial Analysis turns its measurement business into routing infrastructure that teams standardize on will depend on what the project ships next — and on whether the closed contribution model holds up as adoption grows.

By Elena Vasquez

Source: unite.ai

Share this article:

More from Elena Vasquez

Elena Vasquez

Show full bio

Market editor covering technology and product news in artificial intelligence and machine learning at AI In Context.

1,057 articles

Related articles

  1. DeepSeek's V4.1-Flash-1017 Hits 77.0 on DeepSWE, Beats Opus 5 in Its Table
  2. AWS launches Bedrock Gateway with smart routing to cut AI inference costs
  3. TD SYNNEX takes its Destination AI program global for SMBs
  4. Multi-Agent AI Teams Cost Up to 5.1x More for Marginal Gains
  5. Only 4 of 13 agent gateways govern all three AI traffic types

« Previous articleNext article »