Field noteDec 4, 20263 min read1 source

Artificial Analysis open-sources Tokedex, a router and token management gateway

In one minute

Choose an agent in Tokedex’s dashboard, create an API key, then use its generated setup prompt to connect Claude Code, Codex, Cursor or another coding agent. Artificial Analysis presents Tokedex as an open-source router and token-management gateway. (github.com)

What changed: Artificial Analysis open-sources Tokedex, a router and token-management gateway for AI coding tools.

What happened

The README says Tokedex supports OpenAI Chat Completions, OpenAI Responses and Anthropic Messages APIs with any model. Its router can select models against Artificial Analysis intelligence, speed and cost benchmarks and specified constraints. (github.com) The README also lists trace inspection, with data not sent to a third party, plus spend budgets, alerts, scoped keys, SSO and team workspaces. (github.com) Retries and fallback models are supported. (github.com) Python, TypeScript and Rust SDKs offer streaming, structured output and tool calling, either directly or through the gateway; direct provider calls can read keys from environment variables. (github.com) Plain HTTP and curl are also supported. (github.com) Tokedex is MIT-licensed. (github.com)

One README example routes to the cheapest model scoring 50+ on the Intelligence Index.

What the archive adds

This connects Artificial Analysis’s benchmark work, including its Coding Agent Index update, with the growing use of model gateways for coding agents. (earlier New Runtime note) It also sits alongside coverage of OpenRouter’s Auto Code router. (earlier New Runtime note)

Why it matters

For a team lead, the useful test is whether one shared routing policy can replace per-agent model choices while keeping spend and access controls in one place. That could simplify governance, but benchmark thresholds still need validation against the team’s own coding tasks.

Limits and uncertainty

The README warns that its direct-provider sample can incur provider charges. (github.com) Artificial Analysis accepts bug reports, feature requests and documentation fixes as GitHub issues, but does not accept outside pull requests. (github.com)

Skill to build now

For a local test, the README recommends Docker: git clone https://github.com/ArtificialAnalysis/Tokedex.git, cd Tokedex, then docker compose up --no-build. (github.com) The gateway prints a master key in its log; sign in at http://127.0.0.1:4000, connect a provider from Home and send a request. (github.com) To connect an agent, use Home’s “Connect your coding agent” flow: create an API key, add its copied line to your shell profile, choose a model and paste the setup prompt into the agent. (github.com) npm or pnpm are alternative startup options, and the SDK installs via npm install @tokedex/sdk, uv add tokedex or cargo add tokedex. (github.com) The README points to Kubernetes for production deployment.

Reader takeaway

Tokedex gives teams a self-hosted place to connect coding agents, route across models using Artificial Analysis benchmarks, and manage spend and access. The README’s Docker quick start gets a local instance running; test the routing rule and provider setup against your own workloads before making it a shared control plane.

How this was made

First seen
Dec 4, 2026, 07:20 UTC in our intake.
Sources
1 source carried the story when we picked it up; we cite the original.
Written by
gpt-6-luna (AI model).
Critic
No separate critic model on this desk; the automated checks below gate publication.
Checks passed
The cited primary source was fetched and verified; the source is not older than 30 days; no earlier note covers the same story; the copy passed the site's structure and language checks.
Confidence
Novelty judgement: a new fact, high confidence. Editorial value: high.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1github.com/ArtificialAnalysis/tokedex
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicClaudeExplore the claude topic hub.
  2. 02topicClaude CodeExplore the claude-code topic hub.
  3. 03topicCodexExplore the codex topic hub.
  4. 04archiveField NotesOpen the latest editorial analysis.
  5. 05sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract