Jon Moshier / Notes / Multi-LLM Coordinator — Idea seedling
Note · From the Notebook

Multi-LLM Coordinator — Idea

Cost Aware agent harness that runs in the command line. Claude Code clone project written in Rust.

Multi-LLM Coordinator — Idea

Update, this became Pantheon which is a fun little project written in Rust. I punted on the original idea once I found out about OpenRouter Auto and now Pantheon lives on as a Claude Code “clone” that can support multiple models.


Status: Built, pivoted from original idea.

Core angle: Personal LLM proxy with cost-aware routing

The Problem

Claude Pro ($20/mo) hits token limits too fast. Upgrading to $100/mo is wasteful when most prompts don’t need that level of intelligence. Most LLM usage is routine — summarizing, rephrasing, casual Q&A, simple lookups — and free/cheap models handle that just fine.

The Idea

A unified chat frontend that routes each request to the cheapest model capable of handling it well. You chat normally; the system decides what goes to Gemini Flash vs Claude Haiku vs Claude Sonnet behind the scenes.

Not cheating — this is exactly what Cursor, Perplexity, and similar products do internally.


Architecture

You → Chat UI / CLI

    Task Classifier (cheap model or heuristic)

  ┌──────┼──────────┐
  ↓      ↓          ↓
Flash  Haiku     Sonnet
(free) (cheap)  (when needed)

    Response streamed back

Routing Tiers

TierModelUse When
FreeGemini 2.0 Flash, Groq/Llama 3Casual chat, rephrasing, summarizing, factual Q&A
CheapClaude Haiku, GPT-4o-miniLight coding, structured tasks, short writing
FullClaude SonnetComplex reasoning, nuanced writing, hard coding problems

Classifier Options


Interesting Extensions (later)


Prior Art to Study


Free/Cheap Model Options


If Building: Start Small

  1. CLI that accepts a prompt + optional --tier flag
  2. LiteLLM as the backend abstraction layer (handles all provider APIs)
  3. Simple keyword classifier to start
  4. Add cost tracking (log model used + token count per request)
  5. Build toward automatic routing once you have data on what you actually ask

Open Questions

Solved / Non-Issues

← All notes Read recent essays →