Base has become the de facto home for onchain AI agents in 2026. Everywhere you look—Coinbase’s AgentKit bots, autonomous DeFi strategies, LLM-orchestrated keeper systems—they’re running on Base. With 250,000+ daily active agents and 48% of all L2 TVL, Base won the agent infrastructure race.
But here’s the problem: we just got hit with an $8,200 RPC bill for three weeks of agent testing.
I’m not complaining about the cost itself—infrastructure has value. What bothers me is that we had no way to predict it. Our test agent was designed to monitor liquidation opportunities and execute when conditions were right. During normal market conditions, it hummed along at ~500 requests per hour. Then volatility hit, and it spiked to 50,000 requests per hour for six hours straight. Our bill exploded.
Problem #1: Billing Models Designed for Humans, Not Agents
Traditional RPC pricing is built around human usage patterns: developers testing smart contracts, users checking wallet balances, dApps serving consistent traffic. Agents are fundamentally different—they make autonomous decisions that can cause 100x request spikes based on market conditions you can’t predict.
Credit-weighted pricing makes this worse. Some providers charge different rates for different RPC methods (eth_call vs eth_getLogs vs eth_subscribe). An agent that suddenly needs to scan historical events during a market event can rack up thousands of dollars in minutes. You can’t forecast agent infrastructure costs the way you budget human API usage.
Problem #2: WebSocket Reliability (Or Lack Thereof)
Agents need persistent connections for real-time data—price feeds, mempool monitoring, liquidation events. A dropped WebSocket isn’t just an annoyance; it’s a business failure. Last week, our connection to a major RPC provider dropped six times. Each drop lasted 15-90 seconds. During one of those drops, we missed a $12,000 liquidation opportunity.
Here’s the kicker: the provider’s status page showed 99.9% uptime. They were technically “up”—their HTTP endpoints worked fine. But our WebSocket event stream kept dying. When you reconnect, you have to implement recovery logic: Did we miss events during the 60-second gap? Do we query the last 50 blocks? What if the provider’s historical data lags their realtime stream?
The Paradox: We Optimized for TPS, Not Operations
Base crushes throughput. Flashblocks give us 200ms preconfirmations. We can process thousands of transactions per second. But we can’t reliably stream events to agents or predict our infrastructure costs.
It’s like building a Formula 1 race car with bicycle brakes and no fuel gauge. We focused on the sexy performance metrics (TPS! Low latency! Preconfirmations!) and ignored operational basics (stable connections, predictable billing, agent-friendly infrastructure).
What We’re Doing About It
We’re switching to flat-rate pricing—Chainstack and BlockEden both offer per-request models without method weighting. It won’t be cheaper, but at least we can forecast it. We’re also implementing dual providers with automatic failover, adding 40% more code complexity but hopefully preventing WebSocket drops from costing us liquidations.
We’re building internal monitoring—RPS percentiles, cost-per-agent tracking, WebSocket uptime metrics. Stuff that should have been built into provider dashboards but isn’t.
The Question
Did we scale transaction throughput without solving infrastructure fundamentals?
Solana’s AI Agent Hackathon in February (21,000 agents, 38 million transactions in 10 days) showed that agents can work at massive scale. But they also had sub-second finality and sub-cent fees, which simplifies agent economics significantly.
Base has the advantage of the EVM ecosystem and established DeFi protocols. But if we want agents to be production-ready—not just hackathon demos—we need infrastructure that’s built for autonomous, bursty, unpredictable workloads.
Should protocols prioritize agent-specific infrastructure (dedicated WebSocket pools, flat billing models, agent-optimized rate limits) before pushing mass adoption? Or is this just growing pains that’ll get solved as the market matures?
How are other builders handling this? What’s your agent’s request-to-revenue ratio? Are your WebSocket connections stable? What percentage of agent revenue goes to RPC costs?
I want to believe Base is the right foundation for onchain agents. But right now, it feels like we’re building skyscrapers on sand.