---
title: "THALAMUS — The Right Model for Every Task: a Router That Reads the Task, Knows the Models and Minds the Quota"
author: "Oscar Serra · Independent Research"
date: "29 September 2026"
version: "v3.0"
---

## Abstract

Imagine asking your assistant anything and knowing that the right expert took the call: a mathematician for the
proof, a careful writer for the letter, a model that will tell you plainly what happened in Tiananmen Square. And
the work never stalls because one of them is busy. Deep in your brain, the thalamus does something like this: it
passes each incoming signal to the part of the cortex built to handle it.

Today's AI models are nothing like interchangeable. They differ in intelligence and price, in how hard they
think, in what they do best, in how much they can read at once, in which topics they refuse or answer with an
official line, and in how much of your subscription is left this week. Sakana AI's Fugu showed that sending each
task to the right model beats every single model in the pool. But Fugu is trained, and its pool is always
available at a fixed price. A personal harness has neither the training budget nor that kind of pool, and the
keyword rules it uses instead misread most tasks.

We present Thalamus, a router that does what Fugu does without training it. A small decision model, Jev, reads
each task and answers typed questions (which domain, how hard, which sensitive topic) in about a quarter of a
second, without writing any text. Thalamus then rules out what cannot serve the task and picks a model and a
thinking effort from the map of intelligence against cost that we publish every day, at the setting of a single
dial that runs from fast to smart.

In your own harness this means that each request goes to the model that fits it, inside the five-hour and weekly
limits your plans already set. A provider that fails hands the task to another instead of stopping the work, and
a topic a vendor censors never reaches that vendor's models. The router, the quota accounting and the fallback
ladder run today in our open-source harness, TinkerClaw. The task reader has so far been tested on a small
synthetic set and is not yet wired in.

If this holds, the daily map of the model market stops being something a person reads and becomes something the
assistant uses on every request.

## 1. Introduction

One afternoon in September 2026, four requests arrive in the same assistant. The first is a proof in group
theory. The second is a short letter in Catalan. The third asks what happened in Tiananmen Square in June 1989.
The fourth is a 600,000-token contract to search for early-termination clauses. On that afternoon one
provider's five-hour allowance is used up, and another has three quarters of its week still unused.

No single model is the right answer to all four. The proof wants the strongest reasoner. The letter wants a good
writer in Catalan and no great depth of thought, so a cheaper model does the job. Our policy keeps the Tiananmen
question away from models built under Chinese state censorship, whatever their benchmark scores. The contract does not fit in
some models at all: on 3 September 2026 our catalogue listed a 500,000-token window for Grok 4.6 and 1,000,000
for Claude Opus 5. And all of it has to happen inside quotas that refill on their own clocks.

This is the problem a harness router has to solve. It is hard for four reasons.

- **There is no single ranking.** A model's value depends on the task, the effort it is asked to spend and the
  price you pay for it, and our own daily map lists 122 models from 13 vendors (§3).
- **The ground moves.** Models arrive and are re-priced every week, and benchmark scores are rescaled.
- **Quotas run on clocks.** Subscription plans meter usage in five-hour, weekly and monthly windows, so the same
  call costs more when a window is nearly spent than when it is about to refill unused.
- **A misread task is routed confidently to the wrong place.** Our router's keyword reader labelled 150 of 166
  real decisions "writing" (§4).

Learned routers answer part of this. Fugu, from Sakana AI, reads each query with a trained model and picks a
worker, or composes several into a short workflow, and beats every model in its own pool on the benchmarks
reported (Tang et al., 2026). Production gateways such as LiteLLM already route around rate limits and fall back
when a request is too long or refused (LiteLLM, 2026). What is missing is the combination a personal harness
needs: a read of the task that needs no training, a choice made on current measurements of every model, and
quotas and policy treated as part of the choice. That is what Thalamus is.

**Contributions.**

1. **A map** of the constraints a router has to navigate, published every day: intelligence against cost per
   task for each model at each thinking effort, what each model does best, and how much each window has left (§3).
2. **A typed task reader** placed before dispatch, and a first measurement of it against keyword rules (§4).
3. **A router that chooses on that map** at the setting of one dial, prices quota by how fast each window is
   being spent, and treats policy and capacity as vetoes (§5).
4. **A fallback ladder across providers** that keeps a failed call from stopping the work (§6), and a design for
   panels of models at the top of the dial (§7).

What runs today and what is only designed is summarised in §8.

![The four steps of a routing decision. Jev reads the task; the router rules out what cannot serve it, prices what is left by how fast each quota window is being spent, and chooses on the frontier of the daily map at the dial's setting. The result is a model, a thinking effort and a ladder of other providers; if the call fails, the next rung takes the same task.](figures/fig1-pipeline.pdf){width=92%}

## 2. Related work

**Fugu** (Tang et al., 2026) is the closest work and the one this paper follows. It routes and composes other
frontier models: its single-worker version picks one model per query, and its composing version, Fugu-Ultra,
builds a workflow of up to five steps in which each step sees earlier steps only through a declared list. Fugu
learns which model is good at what by running every worker on training queries and scoring the results. Thalamus
keeps the idea (route by what each model does best, compose only when it pays) and replaces the training with
public benchmark measurements and a typed task reader (§4, §5.3). It also adds what Fugu's setting does not
have: quotas that expire and topics some vendors will not handle (§5.2, §5.4).

**RouteLLM** (Ong et al., 2024) learns from preference data when a cheaper model is good enough and when to call a
stronger one. Thalamus chooses among many models, each at several thinking efforts, and leaves the trade-off to
the operator's dial instead of a learned threshold (§5.1).

**FrugalGPT** (Chen, Zaharia and Zou, 2023) tries a cheap model first and escalates when the answer looks weak.
Thalamus does not cascade on quality; its ladder escalates only on failure (§6).

**Adaptive routing under budget constraints** (Panda et al., 2025) combines a prior from offline data, feedback
from use, and a budget. It is the nearest relative of the learning loop planned for Thalamus (§10). The budgets
here are subscription windows with their own clocks, not a single spending limit.

**Self-MoA** (Li et al., 2025) found that mixing outputs from different models often loses to sampling the single
best model several times at the same cost. This is why Thalamus keeps panels of several models off by default
and opens them only at the top of the dial (§7).

**LiteLLM** (2026) is a production gateway with rate-limit-aware routing, cooldowns for failing deployments, and
separate fallbacks for requests that are too long or blocked by a content policy. Thalamus's ladder does the same
job (§6). What differs is how the next model is chosen: from the same map and dial as the first choice.

The map itself rests on two public sources: the Artificial Analysis Intelligence Index (Artificial Analysis,
2026) for general capability, and the Epoch AI benchmarking hub (Epoch AI, 2026) for per-domain strength. The
task reader is Jev, TypeSafe AI's decision model (TypeSafe AI, 2026).

## 3. The map we publish every day

Every morning a scheduled job re-reads the public benchmarks and prices, rebuilds the map and publishes it at
thetinkerzone.com/ai-analysis. The page is written for people. Thalamus reads the same data from the same code,
so the router and the page cannot disagree. Five things on it matter for routing.

**Intelligence against cost per task.** Each model appears once for every thinking effort its vendor documents,
from "low" to "max". We call each such point a *rung*. Height is the Artificial Analysis Intelligence Index,
measured at that effort where the index publishes it and estimated from other public runs where it does not.
Width is the estimated cost of one task: the tokens a typical task uses at that effort multiplied by the price.
Counting per task instead of per token matters, because a model that thinks at length costs more per task than
its token price suggests.

**Two prices.** A plan and a price list answer different questions. The list price says what a model costs
anyone; the plan price says what a token costs *us*, given a subscription already paid for. On 29 September 2026
the page showed 61 of 122 models discounted by a plan we hold, by up to 66 times. Thalamus routes on the plan
price where a plan applies, and on the list price everywhere else.

**The frontier.** A rung is on the frontier when no other rung is both cheaper and at least as smart. On 29
September 2026 the router's 48 configured models gave 137 rungs, 13 of them on the frontier (Figure 2). Every
rung below the line is beaten on both counts by something on it, so the router only ever needs to choose along
the line.

![The map on 29 September 2026: each grey point is one configured model at one thinking effort; the orange line is the frontier, where nothing is both cheaper and smarter. Blue rings mark where three settings of the dial land today: fast, balanced and smart. Cost is estimated per task, at plan prices where a plan applies.](figures/fig2-frontier.pdf){width=92%}

**What each model does best.** Beside the chart, a table lists each model's strength in 15 kinds of work: code,
web front-end, tool-using agents, data analysis, mathematics, science, reasoning, writing, languages,
interpersonal questions, following strict formats, long documents, images, stable facts and current events. A
strength is the model's percentile across the public benchmarks in that domain. Seven of the fifteen (front-end,
data, writing, languages, interpersonal, strict formats and current events) have no public benchmark in the
source tables, and the page says so. There the router has no measured reason to prefer one model over another.

**Size and quota.** The page also shows each model's context window. What it cannot show is how much of each plan
is left, because that changes by the minute; the router reads it live from the providers. On 3 September 2026 at
15:39 UTC, for example, Claude had used 71% of its weekly window, ChatGPT 100% of its five-hour window and 92% of
its week, GitHub Copilot 100% of its monthly allowance, and xAI only 28% of a window that is weekly with no
five-hour limit at all.

The map is the vision in data form: everything a person would weigh before choosing a model, in one place. The
rest of this paper is about letting the assistant do that weighing.

## 4. Reading the task

A router is only as good as its reading of the task. If it cannot tell a proof from a letter, the strength table
of §3 is decoration.

**What keyword rules do.** Thalamus has logged one row per routing decision since 25 September 2026. Of the 166
decisions logged to 29 September, the keyword reader labelled 150 "writing", 13 "general" and one each "web
front-end", "stable facts" and "code" (Figure 3a). The log shows concentration, not proof of error, because
nobody labelled those requests by hand. But the effect is certain: writing has no benchmark (§3), so for nine
requests in ten the router had no measured reason to move the task to a specialist.

**What Jev is.** Jev is a decision model from TypeSafe AI, released in September 2026. It reads text and returns
typed answers instead of prose: a choice among up to 255 named options, a score on an ordered scale, or the
probability that a statement is true, each with its own confidence. It cannot write text. Input is priced per
token and output is free, and the vendor reports answers in 70 to 500 milliseconds. The speed and accuracy
figures are the vendor's; the numbers below are ours.

**What Thalamus asks.** One call per task, before dispatch, carries a few questions:

- **Domain:** which of the 15 kinds of work of §3 the task mainly is. This selects the strength column.
- **Difficulty:** where the task sits on five levels, from a trivial lookup to research-grade work.
- **Sensitive topic:** whether the task touches a topic some vendors refuse or answer with an official line,
  and which class of topic it is.
- **Private material:** whether the task carries personal data that may only go to approved services.

Each question names its options and says in plain words what each one covers. The exact wording is kept with the
code and the pilot data and is available on request; it is meant to improve with use, so it is not printed here.

**How the answers are used.** The domain picks the strength column for §5.3. A low-confidence domain answer
switches nothing, and the dial's own choice stands. The sensitive topic feeds the policy veto of §5.4, and the
private-material answer restricts the task to approved services. Difficulty is advisory for now, for the reason
below.

**A first measurement.** We wrote 48 short tasks, three for each of the 15 domains and three on Chinese politics,
labelled each one, and asked both readers (Figure 3b). Jev named the labelled domain for 46 of 48 tasks and had
it among its top two answers for all 48; the keyword reader named 17. Its two misses went to "writing": a strict
formatting request, with confidence 0.97, and a news summary about Xinjiang, with confidence 0.48. Jev flagged all
three Chinese-politics tasks and none of the 45 others. Difficulty was the weak answer: Jev separated trivial
from routine tasks but placed hard and research-grade tasks in the middle of the scale, with a rank correlation of
0.39 against our labels. The median answer took 0.24 seconds, and the 48 calls used about 39,000 input tokens.

![(a) The keyword reader on real traffic labelled 150 of 166 routing decisions "writing", a domain with no benchmark. (b) On 48 synthetic tasks written and labelled by the author, Jev named the labelled domain 46 times, the keyword reader 17.](figures/fig3-reader.pdf){width=92%}

These are the author's own clean, single-domain examples, so they show that Jev can separate the domains, not
how often it will be right on real requests. That test is in §10.

## 5. Choosing

Once the task is read, Thalamus chooses in four steps (Figure 1): rule out what cannot serve it, price what is
left, choose on the frontier at the dial's setting, and prefer the model best at the task's domain.

### 5.1 The dial

The operator sets one dial with seven stops: fast, quick, lean, balanced, deep, wide and smart. Each stop sets the
thinking effort and how far below the best intelligence the router may trade down to save cost. Balanced is
anchored on a reference model, Claude Opus, so that it means the same thing from one week to the next; without an
anchor, every new release at the top would move what "balanced" buys. The strongest model family is held back
for the top stop, so it is never reached by drifting.

On 29 September 2026 the three settings chose as follows (Figure 2): fast chose Grok 4.7 at medium effort for about €0.10
per task, balanced chose Claude Opus 5.5 at high effort for about €0.68, and smart chose Opus 5.5 at maximum
effort for about €2.73. Smart is simply the top of the dial: the most thinking the plans allow, and panels of
several models where §7 applies. It is where the dial goes when there is quota to spare. The operator can also
pin a preferred model for each band of the dial (low, middle, high), and a pin beats the frontier.

### 5.2 Inside the limits the providers set

The spending limits already exist: they are the plans' own windows, five hours and seven days for most, a month
for some. Thalamus does not add a budget of its own. Inside those windows it normally spends for the most
intelligence the dial allows, and when the operator wants to spend less for a while, the dial goes down.

Within a window the router prices each call by pace. For each window it compares the share already used with the
share of time already gone. A window being spent faster than it refills makes that provider's models dearer; one
being spent slower makes them cheaper, because under a subscription whatever is left at the reset is lost. Credit
bought by the token is never made cheaper this way, since it does not expire. And a short window with room to
spare does not make a provider cheap when a longer window of the same account is nearly spent, because every
token counts against both. The effect is that work spreads across plans instead of draining one and limping on
the others until the week ends.

### 5.3 What each model does best

Among the rungs the dial allows, the router looks at the strength column for the task's domain. If a model is
measurably stronger in that domain (at least ten percentile points) and costs no more than five times the dial's
choice, it takes the task. Where the domain has no measurement, nothing switches. This is the step that depends
most on reading the task correctly, and the one the keyword reader has kept idle (§4).

### 5.4 What must not reach a model

Some choices are vetoes, not preferences, and they run before anything is compared:

- **Policy.** A plain table set by the operator says which provider families may handle which classes of topic:
  questions on the history and politics that the Chinese state censors never go to models from Chinese labs, for
  instance. Jev detects the topic; the table decides. An exclusion is the operator's choice. It does not prove
  that the excluded model would refuse or distort that particular answer.
- **Capacity.** A task too long for a model's context window, with a fifth of the window kept for the answer, is
  ruled out for that model. A window the vendor does not publish is treated as unknown and passes.
- **Quota.** A provider whose window is spent, or whose credit is not funded, is ruled out until it refills.
- **Privacy.** Personal material goes only to services approved for it.

A second, slower source of vetoes learns from experience: when a model family declines legitimate work in a
topic class twice within a month, it is skipped for that class. The operator's table acts before the first
request; this record acts only after refusals have happened, and a model that answers with an official line
never registers as a refusal. That is why both exist.

## 6. Staying up: the fallback ladder

Every decision comes with a ladder: at most one rung from each *other* provider, none below the fast stop's
floor, cheapest first. A second rung from the same provider would not survive a rate limit, so diversity of
providers matters more than length. When a call fails, the next rung takes the same task. The ladder is tried in order today; the design lets the
reason for the failure set the direction (a rate limit moves to another provider, a task too long to a larger
window, a refusal to another family, a timeout to a cheaper, faster rung), and that part is not wired in yet. A model the user has pinned gets
no ladder: an explicit choice is never answered by a different model.

Between 10 and 29 September 2026, 136 calls failed in our harness. Ninety-five of them had a next rung, and 77 tasks
were finished by a model other than the one first chosen. The failures were expired credentials (77, many
from one provider's token expiring during long night-time jobs), timeouts (29), unclassified errors (17), rate
limits (11), and one each of a format and a billing error.

We do not claim that falling back is new; gateways such as LiteLLM do it well. A plain, fixed fallback list
would have rescued many of these tasks too, and it is the baseline any claim about continuity has to beat (§10).
What Thalamus adds is that the ladder is built for each task, from the same map, dial and vetoes as the first
choice.

## 7. More than one model: panels and critics

Fugu's composing version showed that a small team of different models can beat each of them alone. Self-MoA
showed that it often does not. Thalamus therefore composes only at the upper stops of the dial, and only where
the situation calls for it:

- **Panel.** When the best model's lead over the best model from another vendor is small, a few models from
  different vendors answer independently and the leader writes the final answer, seeing the others only at that point.
- **Builder and critic.** For code and tool-heavy work, a model from a different vendor reviews the builder's
  output, because a model is a poor judge of its own blind spots.
- **Fan-out.** When a job splits into many independent parts, the parts go to the provider with the most room
  and no short window, and one strong model collects them. The collector is one call, but its input grows with
  the number of parts.

Three different signals are at play here, and they should not be confused: one model's clear advantage in a
domain, uncertainty about which model leads, and models whose mistakes do not overlap. Similar benchmark scores
only nominate a panel; they say nothing about whether its members fail on different tasks. Only measured
outcomes can show that, which is part of §10.

## 8. What runs today

| Part | State on 29 September 2026 |
| --- | --- |
| Daily map: rungs, frontier, strengths, context sizes | Running; published every morning |
| Dial, reference anchor, strongest family held for the top | Running |
| Pace pricing on live quota windows | Running |
| Capacity and spent-quota vetoes | Running |
| Fallback ladder handed to the runtime | Running for interactive requests; tried in order |
| Reordering the ladder by the reason for a failure | Designed |
| One logged row per routing decision | Running since 25 September |
| Domain switch by measured strength | Running; rarely fires with the keyword reader |
| Jev task reader | Tested on 48 synthetic tasks; not wired in |
| Operator policy table for sensitive topics | Designed |
| Keeping personal material on approved services | Designed |
| Record of observed refusals | Designed; nothing writes to it yet |
| Pausing a provider after it fails | Designed; not built |
| Panels, critics and fan-out | Chosen per task; not executed yet |
| Learning from outcomes | Designed; needs an outcome signal |

## 9. Conclusions

Thalamus sends each task to the model that fits it. Jev reads the task and answers typed questions. The router
rules out what policy, size or quota forbid, prices the rest by how fast each quota window is going, and
chooses along the frontier of the daily map at the dial's setting, favouring the model measurably best at the
task's domain. A ladder of other providers keeps a failure from stopping the work, and panels of models wait at
the top of the dial for the problems that justify them. It is Fugu's idea without Fugu's training, applied to a
pool whose quotas run on clocks and whose vendors do not all answer every question.

The limits are plain. The only measurement of the task reader uses 48 tasks the author wrote and labelled;
nothing yet shows how often it will be right on real requests, or that better reading produces better answers.
Its difficulty answer is not reliable enough to drive the thinking effort. The strength table borrows public
benchmarks, which may not match any one person's work, and seven of its fifteen columns are empty. Plan prices
are estimates from measured use. The policy table is a choice, not a measurement of how vendors behave. And the
results come from one operator's harness.

The vision stands: an assistant that knows the market as well as a careful person who reads the daily map, and
applies that knowledge to every request, in a quarter of a second.

## 10. Next steps

These tests would settle what is not yet known:

1. **The reader on real requests.** Label a few hundred real requests by hand, with personal details removed
   before anything is sent out, and compare Jev's answers with the labels and with the keyword reader's.
2. **Outcomes against honest baselines.** Record whether each task succeeded, then compare Thalamus with a fixed
   fallback list and with the single best model at the same cost. Continuity claims are measured against the
   first, quality claims against the second.
3. **What vendors actually do.** Keep a standing set of prompts for each sensitive topic class and run it on every
   model at each release, so the policy table can be checked against real refusals and official lines.
4. **Difficulty.** Rephrase or calibrate the difficulty question against recorded outcomes until it can safely
   nudge the thinking effort within the dial's band.
5. **Learning.** Let each night's outcomes update the strength table and the refusal record, and test each
   update on past decisions before it is used.

Thalamus is a TinkerClaw feature. The task reader, the policy table, pausing failed providers and the panel
executor will be built and tested in that harness, and an updated version of this paper will report what they do.

## References

Artificial Analysis (2026). *Artificial Analysis Intelligence Index.* <https://artificialanalysis.ai/>

Chen, L., Zaharia, M., and Zou, J. (2023). *FrugalGPT: How to Use Large Language Models While Reducing Cost and
Improving Performance.* arXiv:2305.05176. <https://arxiv.org/abs/2305.05176>

Epoch AI (2026). *Benchmarking hub.* <https://epoch.ai/benchmarks>

Li, W., Lin, Y., Xia, M., et al. (2025). *Rethinking Mixture-of-Agents: Is Mixing Different Large Language Models
Beneficial?* arXiv:2502.00674. <https://arxiv.org/abs/2502.00674>

LiteLLM (2026). *Routing* and *Reliability: fallbacks, retries and cooldowns.* <https://docs.litellm.ai/docs/routing>;
<https://docs.litellm.ai/docs/proxy/reliability>

Ong, I., Almahairi, A., Wu, V., et al. (2024). *RouteLLM: Learning to Route LLMs with Preference Data.*
arXiv:2406.18665. <https://arxiv.org/abs/2406.18665>

Panda, P., Magazine, R., Devaguptapu, C., et al. (2025). *Adaptive LLM Routing under Budget Constraints.*
arXiv:2508.21141. <https://arxiv.org/abs/2508.21141>

Tang, Y., Cetin, E., Xu, J., et al. (2026). *Sakana Fugu Technical Report.* arXiv:2606.21228.
<https://arxiv.org/abs/2606.21228>

TypeSafe AI (2026). *Introducing System One models and Jev.*
<https://typesafe.ai/blog/introducing-system-one-models-and-jev>

---

_J-series paper J19 | Version 3.0 | 29 September 2026_
