The Tech Industry is Waking Up to the "Token Tax"
The standard advice for building a SaaS in 2026 is always the same: Spin up a heavy database, set up an auth provider, and hook up an expensive AI agent to "analyze" user data.
But a major corporate shift just proved how fragile and expensive this architecture is: Uber has officially capped its developers' usage of AI tools like Claude Code to cut rising API costs [ube].
The tech industry is finally hitting the wall of the "Token Tax." Letting autonomous agents run infinite, unverified loops in the terminal to solve deterministic problems is a massive financial and structural liability [ube].
When I set out to build DividendFlow—a tax-aware compounding engine for 38,000+ US tickers—I decided to reject this complexity entirely. Here is why I went DB-less, Auth-less, and AI-less to build a highly scalable financial utility.
1. Why Fintech Cannot Tolerate "AI Vibes"
In dividend growth investing, the calculation of future income is recursive. You take a starting principal, calculate the dividend payout, subtract the localized tax drag (Qualified vs. Ordinary rates), purchase fractional shares, and feed the new share count back into the loop for the next month.
If your "runtime" is an LLM agent or a prompt-based state machine, you are dealing with a standard deviation of accuracy.
A tiny 0.1% rounding error in your Qualified vs. Ordinary dividend tax calculation today compounds into a $50,000 shortfall over a 20-year horizon.
In FinTech, a 99% accurate model is 100% dangerous. We built our compounding engine in 100% deterministic TypeScript running on Next.js 15 Server Components (RSC).
// Strictly deterministic, zero-dependency compounding loop
export function calculateNetCompound(payout: number, taxRate: number, isQualified: boolean): number {
const applicableRate = isQualified ? taxRate * 0.75 : taxRate;
return payout * (1 - applicableRate);
}
2. Zero Database is Cheaper Than AI Tokens
While the industry is realizing that letting developers run raw agent loops is a massive financial liability [ube], we decided to go a step further: Zero Database.
Instead of storing user portfolios, contribution amounts, and tax brackets in a database (and dealing with connection limits, migrations, and security audits), I moved the entire application state to the URL address bar.
How the "URL-as-a-DB" Architecture Works:
- Stateless Execution: Every toggle change (Taxable vs. Tax-Free), monthly contribution tweak, or ticker selection instantly serializes into the URL parameters.
- Zero Latency: Since there is no database lookup for a user profile, every request is a pure function. Projections render in under 150ms at the Edge.
- Instant Portability: Users don't need a "Share" button. They copy the browser link, send it to a friend, and the engine re-runs the exact same math in under two seconds.
3. Escaping the Frontend's Lost Decade via Next.js 15
To fight the massive JS bundle bloat, we offloaded 240+ recursive compounding loops to the server.
By utilizing React Server Components (RSC), the user's browser receives zero calculation JavaScript and no heavy JSON arrays. It only receives the final coordinates required to render the chart.
It is lightweight, host-agnostic, and runs securely without requiring any private bank logins or OAuth credentials.
Conclusion
We’ve over-engineered the web. You don't always need a database. You don't always need AI. Sometimes, the most "senior" move you can make as an engineer is to say no to the cloud database tax, avoid the AI hype, and just write fast, accurate, deterministic code.
Test the deterministic Edge speed:
Are we over-complicating simple utility apps for the sake of modern tech-stack checklists? Let's discuss in the comments.
Top comments (0)