Past
The Most Expensive Component on Your Page: how frontend decisions set the AI bill
Keep it in your events and share photos, links and comments.
About the Event
In an AI feature, the frontend decides how many model calls happen, how big they are, and how many end in something a person kept. So the AI bill is partly a UI decision. I'll explain tokens in plain English, introduce one metric (cost per successful outcome), and walk through levers in a demo (a simulated model with real published prices), most of the decisions made in the frontend, from debouncing to AbortController to caching. Then we'll put it on four servers, deploy halfway, and watch what happens to every lever that needs to remember something.
What you'll learn:
1. How to read an AI bill in plain English: tokens, output versus input, thinking, images
2. Why "cost per successful outcome" beats cost per token, and how to log the outcome event
3. Patterns that cut spend, and their trade-offs: send on intent, caching, AbortController, structured outputs, right-sized output
4. Why caches and quotas quietly break on more than one server, and the one question to ask in code review
5. A checklist for reviewing AI features
About the speaker: Mani is an Open Source TPM at AWS working at the intersection of AI, open source, and developer communities. She brings maintainers, contributors, and organizations together to turn emerging technologies into practical, sustainable impact. Her work focuses on Valkey, AI adoption, contributor experience, and creating stronger ecosystems around developers. She also builds AI agents and shares what she learns with other developers.
This event is hosted by Frontend Queens. For our Slack channel, event recordings, upcoming events, and more, check us out on https://beacons.ai/frontendqueens.
No sessions scheduled yet.
Maria Admin is interested
Comments
Follow this event to join the conversation.
No comments yet.