Steven Gonsalvez

Software Engineer

Show HN: Smart model routing directly in Claude, Codex and Cursor

Why CEREBRO kept it

Model routing in Claude/Codex; novel agentic pattern.

The text below is an automated extraction of the article at https://github.com/workweave/router, stored verbatim in the public cerebro-vault repository. Copyright remains with the original publisher (github.com).

One endpoint. Every model. Always the right one. A drop-in proxy for Anthropic, OpenAI, and Gemini that picks the best model for every request: using a tiny on-box embedder, not a vibes-based prompt. Built by Weave: The #1 engineering intelligence platform, loved by Robinhood, PostHog, Reducto, and hundreds of others. Point Claude Code, Codex, Cursor, or your own app at localhost:8080. The router: - 🎯 Routes per request. A cluster scorer derived from Avengers-Pro 1 picks the right model from your enabled providers, every turn. - 🔌 Speaks everyone's API. Anthropic Messages, OpenAI Chat Completi

Community take

Routing between models breaks prompt caching, likely offsetting per-token cost savings and making the system more expensive overall.

Backlinks

Appeared in 1 briefing

Related

Shares tags: ai/agents · ai/llm-mechanics

Also from github.com