# Stop Wasting AI Tokens
<!--
ref: @content/youtube/yc-root-access/2026-11-04-stop-wasting-ai-tokens
version: 1
updated_at: 2026-11-08T13:48:52.908Z
-->
**[Watch on YouTube](https://www.youtube.com/watch?v=eN92Oatzzks)**
*Synthesized from Andrew and a co-founder of Weave in conversation with a YC host on YC Root Access, 2026-11-04.*
The guests are the two founders of Weave, a YC Winter 2025 company that measures engineering work and recently raised a Series A from Standard Capital. Only Andrew is named in the conversation. The host is an unnamed YC interviewer.
## Core Thesis
Andrew and his co-founder argue that AI-assisted engineering has moved past adoption and "token maximization" into an optimization phase. In that phase, value comes from three things: sending each task to the right model, measuring cost per unit of output, and building verification systems that keep autonomous agents from shipping low-quality code. Weave Router is their answer to the first problem. It is an open-source, learned router trained on real coding-agent sessions and their downstream production outcomes. They predict that routing will replace manual model selection, and that managing an engineering team will become a matter of allocating tokens.
## Key Insights
- **What Weave does:** Weave builds models that evaluate engineering work, aiming to turn a software company into a "software factory." It optimizes the work of both humans and agents.
- Named customers include Robinhood, PostHog, Telnyx, Extra Space Storage and Reducto.
- Customers range from one-person startups to Fortune 100 companies.
- **How Weave Router works:** It sits between your coding agent and the model providers. For each request, it picks the best model, such as Opus, "Astra" or DeepSeek, so the user doesn't have to choose.
- The founders say recent tests matched "Astra-level" performance at half the cost.
- **Supported agents:** Claude Code, Codex, OpenCode, Pi, or essentially any CLI agent. Each connects with a single command.
- **Open source:**
- The router is fully open source.
- A hosted cloud version is the easiest way to start.
- Self-hosting requires configuring your own provider keys.
- Paid tiers are named "Max" and "Boost."
- **Uses your existing subscriptions first:** Many startups are already paying for $200/month Anthropic and OpenAI plans. The router can log into multiple accounts and switch between them to use the subsidized plans first. It adds open-source models only where they perform best. The founders claim users get roughly 2x the work for the same plan spend.
- **"A bazooka isn't needed where a pistol will do":** Heavy users tend to send everything to the biggest model. Many subtasks don't need that.
- Example: a subagent finding where authorization lives in a codebase can run on a cheap model like "Luna."
- The result is the same or faster, and it uses less of your plan's usage limit.
- **Open-source models on the Pareto curve:** The founders say these models aren't at the frontier but aren't far behind, and their price-performance is hard to beat.
- Weave routes most simple-task traffic to **DeepSeek, Kimi and GLM**, which performed best in Weave's internal benchmarks.
- Good fits: centering a button or a simple CRUD backend.
- Poor fit: building an ML system to classify a billion images, which they would give to a frontier model.
- **Router vs. OpenRouter:** The founders describe OpenRouter as more of an "OpenGateway." It is valuable for broad model access and fallbacks, but its auto-router performed poorly in Weave's tests, and coding-agent routing isn't its priority.
- **How the routing model is trained:**
- It learns from hundreds of thousands of real agent coding sessions.
- It looks at downstream effects, not just the session itself: PR outcomes, what happens when the code is merged to production, and how the code looks a month later.
- It is then refined with reinforcement-style training, where tasks are routed through different models and the system is rewarded for successful completion.
- Model strengths are learned automatically, not hand-assigned.
- **Quality evidence from their own team:** The Weave team uses the router internally. They report that productivity keeps rising, they rank in the top 1% of teams on their own data, and bugs reaching the product have not increased.
- **Origin story:** In the W25 batch, Weave only measured human engineering work. Historically the industry had only lines of code, PR counts and DORA metrics, which the founders call metrics "to make executives feel good."
- W25 was the batch where Cursor took off. Customers began asking how Cursor affected their output, which pushed Weave to evaluate agents too.
- LLMs did two things at once. They made true productivity measurement possible, because models could read and understand code. They also changed how engineers write code.
- **Early sales:** Every early call met complete skepticism. Weave won customers by connecting their own data and showing it matched reality.
- Working with fast-growing startups kept Weave about six months ahead of what larger companies would later need.
- **The adoption curve:** The questions engineering managers ask have shifted in three stages:
1. "How fast are we moving vs. benchmarks?"
2. "Does AI actually make us faster?"
3. "How do we use AI more efficiently?"
Alongside that runs a transformation curve: adoption, then token maximization ("spend, spend, spend"), then optimization. Startups mostly sit in token maximization and care about productivity more than cost. Late-stage companies are closer to optimization.
- **Cost per unit of output:** This is Weave's headline metric, measured as AI dollars per equivalent hour of human engineering work.
- $10,000 spent for 10,000 hours of output is $1 per hour, a great deal.
- $10,000 spent for 10 hours of output is $1,000 per hour. That usually signals the wrong models or a token-burning agent loop.
- Spend alone tells you nothing. You need spend and output together.
- **Surprises on first view:** When teams first connect their data, they often find people spending around $10k/month or more who deliver a matching return. Weave lets managers drill down to the individual request to see what those people do differently, then spread it across the organization.
- **Parallelization is the #1 lever (Andrew):** The biggest returns come from engineers who run work in parallel well. This doesn't mean launching 10 Claude Code sessions and walking away. It means building safeguards so agents do the right work and pull the human in at the right moments. The skill changes with every new model release.
- **How top-performer practices spread:**
- Sharing configurations and skills.
- Refactoring parts of the codebase into architectures agents handle well.
- **Weave's "coach" reviews every session and gives daily tips, such as:**
- Push back on your agent when it's wrong; people don't do this enough.
- Restart sessions more often, because each session gets more expensive as the context window grows.
- **Software factories and verification:** Agents will produce as much code as you ask for, so verification is the hard part. Weave lets teams compare agent-driven "factories" with human or parallel teams on output, bugs created and customer feedback. Teams then fix whole classes of failure in an ongoing loop.
- **Weave's own factory:**
- The top priority is choosing the right tasks. The second is building the system that builds the product.
- Agents run both locally and in the cloud, with strong instructions.
- An in-house CLI feeds agents token-efficient context for new features, bug fixes, and iterating on CI or test feedback.
- **Four AI code reviewers on every PR:** Cryptile, Parameter, Cursor Bugbot and Cubic. Three of the four are YC companies.
- Running all four is worth it as long as each catches something the others miss, which Weave's data says is currently the case.
- The founders expect the tools to converge, at which point they'll pick the best using their own product.
- **Architecture-level quality control:** Lightweight factories fail at the system level. Each PR looks reasonable alone, but together they become incoherent and full of hacks.
- Weave encodes what a senior Weave engineer would flag in review as automated checks on every PR. Agents don't remember review feedback the way humans learn from it.
- Example: an **over-abstraction check** that supplies context plus good and bad examples, because agents often build elaborate abstractions for simple tasks.
- Agents sometimes copy good patterns from the codebase and sometimes bad ones, which then compound. The checks counter that.
- **The future of model choice:** Today most people pick Claude or Codex and stick with it until they manually switch. The founders expect everyone to move to routers. A router that truly understands each model's strengths could outperform any single model by combining them.
- **Where AI programming is heading:** The founders expect managing a development team to become a token-allocation exercise. The winners will be people with taste who spot problems and direct an AI swarm to solve and verify them, not people who are best at inverting a binary tree.
## Actionable Takeaways
1. **Stop sending every request to the biggest model.** Put a router (e.g., Weave Router) in front of Claude Code, Codex, OpenCode or Pi; it connects with one command.
- Send exploration subtasks, like finding where auth is implemented, and simple CRUD or UI work to cheaper models.
- The founders recommend DeepSeek, Kimi or GLM for these.
2. **Use subsidized subscriptions first.** If you pay for $200/month Anthropic and OpenAI plans, configure routing to use those accounts before falling back to open-source models. This stretches your usage limits.
3. **Self-host if you need to.** The router is open source. Use the cloud version for a fast start, or self-host and configure your own provider keys.
4. **Measure cost per unit of output, not spend.** Track AI dollars per equivalent hour of engineering work.
- Around $1 per hour is excellent.
- Hundreds or thousands of dollars per hour means the wrong models or a runaway agent loop. Investigate.
5. **Invest in parallelization with guardrails.** Run multiple agent sessions, and add safeguards so agents escalate to you only at decision points.
6. **Spread what top performers do.** Share their configurations and skills, and refactor messy areas into architectures agents handle well.
7. **Restart agent sessions often.** Cost per turn rises as the context window grows.
8. **Push back on your agent** when it's wrong instead of accepting its output.
9. **Layer multiple AI code reviewers on every PR.** Weave runs Cryptile, Parameter, Cursor Bugbot and Cubic. Keep each one only while it catches unique issues.
10. **Turn senior-reviewer judgment into automated PR checks.** Start with an over-abstraction check that includes good and bad examples, since agents can't learn from past review comments.
11. **Compare agent "factories" against human or parallel teams** on bugs created and customer feedback, then fix whole failure classes iteratively.
12. **Stay grounded in the work.** Understand the system two levels of abstraction above and below where your agents operate, so you can direct them and catch nonsense.
## Notable Quotes
> "A bazooka is not always needed where a pistol is enough." — A Weave co-founder
> "OpenRouter might be better called OpenGateway." — A Weave co-founder
> "PR, DORA metrics—these are all very fancy metrics to make executives feel good." — A Weave co-founder
> "Parallelization is not just about launching 10 cloud sessions of code and leaving them to run on their own." — Andrew
> "Each PR looks logical individually, but together it turns into something globally nonsensical." — A Weave co-founder
> "The best engineers understand everything two levels of abstraction below and two levels above what they are currently working on." — A Weave co-founder, citing a professional they respect
> "Managing a development team will become a token allocation exercise." — A Weave co-founder
---
*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*
*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*