EMPVResearch NotesIT
EMPV / RESEARCH NOTESNOTE / 032

TECH NOTE / AI INFRASTRUCTURE

Tokedex: choosing AI models and controlling costs

Artificial Analysis introduces an open-source gateway that selects models using benchmarks and prices. Cost effectiveness still needs to be measured against the business workflow, not just tokens.

Published2026-12-03 ยท 3 min
TokedexArtificial AnalysisLLM routingAI costs
01 / Gateway

One access point for multiple models

On December 3, Artificial Analysis announced Tokedex, an MIT-licensed router and gateway for language model requests. The official documentation identifies version 0.1.1; Python package 0.1.0 had already been available since November 24.

The gateway sits between applications and model providers, holds provider credentials and issues its own access keys. It supports several API interfaces, including OpenAI Responses and Anthropic Messages. Teams can operate it on their own infrastructure or use its SDKs directly in application code.

02 / Routing

Selecting by quality, cost and constraints

The strategy documentation describes rules based on model order, catalogue price, the Intelligence Index or custom conditions. One built-in strategy, for example, excludes models scoring below 40 and ranks the remaining models by benchmark task cost.

The cost used in that ranking comes from Artificial Analysis evaluations, rather than processing a particular company's documents. The router can switch to another model for certain failures; that does not mean it automatically recognises an incorrect answer.

03 / Costs

From token pricing to the cost of completed work

Consider a workflow that extracts line items from requests for quotations received by email. A low-cost model might handle regularly structured messages, while ambiguous cases might need a different model or human review. This is a design example, not an EMPV test.

Comparing alternatives requires a representative sample of requests: measure field accuracy, processing time, additional attempts and operator corrections. The cost per correctly captured quotation is more informative than the price per million tokens alone. The distinction between price and cost per task also appears in our Research Note on Qwen4-Max.

Tokedex documents team budgets and request traces containing model, token usage, latency and estimated cost. These records can support measurement; they cannot replace checking output quality.

04 / Data and limitations

Operating a gateway does not mean running models locally

Self-hosting gives teams control over the gateway infrastructure. If a request is forwarded to an externally hosted model, the data required for inference still goes to that provider. Access, content logging, retention and permitted destinations need separate consideration.

The documentation states that the project does not accept external pull requests, although users can file issues. EMPV has not independently tested Tokedex for reliability or savings. Before adoption, compare its routing rules against a fixed-model baseline using representative business tasks.

EMPV / TAKEAWAY

Select AI models by measuring the cost per correctly completed task, with explicit quality and data-handling constraints.

EMPV / SHARE

Share this Research Note.

Research Notes