Platform

AI

Amplitude AI
Analytics that never stops working
AI Agents
Sense, decide, and act faster than ever before
AI Feedback
Distill what your customers say they want
Amplitude MCP
Insights from the comfort of your favorite AI tool
AI Assistant
Support powered by product data
Agent Analytics
Measure the real impact of your agents

Insights

Product Analytics
Understand the full user journey
Marketing Analytics
Get the metrics you need with one line of code
Session Replay
Visualize sessions based on events in your product
Heatmaps
Visualize clicks, scrolls, and engagement
Zoning Insights
Overlay performance and revenue metrics on your webpages

Action

Guides and Surveys
Guide your users and collect feedback
Feature Experimentation
Innovate with personalized product experiences
Web Experimentation
Drive conversion with A/B testing powered by data
Feature Management
Build fast, target easily, and learn as you ship
Activation
Unite data across teams

Data

Data Governance
Complete data you can trust
Integrations
Connect Amplitude to hundreds of partners
Security & Privacy
Keep your data secure and compliant
Solutions
Solutions that drive business results
Deliver customer value and drive business outcomes
Amplitude Solutions →

Industry

Financial Services
Personalize the banking experience
B2B
Maximize product adoption
Media
Identify impactful content
Healthcare
Simplify the digital healthcare experience
Ecommerce
Optimize for transactions

Use Case

Acquisition
Get users hooked from day one
Retention
Understand your customers like no one else
Monetization
Turn behavior into business

Team

Product
Fuel faster growth
Data
Make trusted data accessible
Engineering
Ship faster, learn more
Marketing
Build customers for life
Executive
Power decisions, shape the future

Size

Startups
Free analytics tools for startups
Enterprise
Advanced analytics for scaling businesses
Resources

Learn

Blog
Thought leadership from industry experts
Resource Library
Expertise to guide your growth
Compare
See how we stack up against the competition
Glossary
Learn about analytics, product, and technical terms
Explore Hub
Detailed guides on product and web analytics

Connect

Community
Connect with peers in product analytics
Events
Register for live or virtual events
Customers
Discover why customers love Amplitude
Partners
Accelerate business value through our ecosystem

Support & Services

Customer Help Center
All support resources in one place: policies, customer portal, and request forms
Developer Hub
Integrate and instrument Amplitude
Academy & Training
Become an Amplitude pro
Customer Success
Drive business success with expert guidance and support
Product Updates
See what's new from Amplitude

Tools

Benchmarks
Understand how your product compares
Prompt Library
Prompts for Agents to get started
Templates
Kickstart your analysis with custom dashboard templates
Tracking Guides
Learn how to track events and metrics with Amplitude
Maturity Model
Learn more about our digital experience maturity model
Pricing
LoginContact salesGet started

AI

Amplitude AIAI AgentsAI FeedbackAmplitude MCPAI AssistantAgent Analytics

Insights

Product AnalyticsMarketing AnalyticsSession ReplayHeatmapsZoning Insights

Action

Guides and SurveysFeature ExperimentationWeb ExperimentationFeature ManagementActivation

Data

Data GovernanceIntegrationsSecurity & Privacy
Amplitude Solutions →

Industry

Financial ServicesB2BMediaHealthcareEcommerce

Use Case

AcquisitionRetentionMonetization

Team

ProductDataEngineeringMarketingExecutive

Size

StartupsEnterprise

Learn

BlogResource LibraryCompareGlossaryExplore Hub

Connect

CommunityEventsCustomersPartners

Support & Services

Customer Help CenterDeveloper HubAcademy & TrainingCustomer SuccessProduct Updates

Tools

BenchmarksPrompt LibraryTemplatesTracking GuidesMaturity Model
LoginSign Up

How to Balance Inference Cost and User Experience for Agents

We calculated the exact impact of using a cheaper model on user engagement and conversion and were surprised by the results. Agent Analytics is now in beta.
Product

Jun 17, 2026

10 min read

Darshil Gandhi

Darshil Gandhi

Director, Product Marketing, Amplitude

Weighing between experience and savings.

If you run an AI feature in production, you’re probably asking the same question roughly every month: Is there a cheaper or better model we should be on?

Vendor benchmarks select for the workloads the vendor wants to win. None of them tell you what happens to conversion, retention, or cost when you make the swap for half your users. We hit this exact wall with our own agent.

We wanted to measure exactly how user experience would change when we switched to cheaper models and whether we should do it. This is the story of how we made that call in three days.

We’ve spent over a decade helping teams understand user behavior, so when we shipped our own AI agent, we expected to be able to measure it. We couldn’t. LLM observability tools and product analytics couldn’t tell us whether the agent gave users a good answer, why it failed when it did, or whether a bad session cost us a customer thirty days later. So we built the thing that could: Agent Analytics.

The exact impact of switching to Gemini

This spring, the team behind Global Agent (our in-product agent harness) wanted to answer one question: Could we replace Claude Sonnet 4.6 in production with Google’s Gemini 3 Flash, keep the same quality, and pay a fraction of the price? The goal was to cut costs without making the experience worse.

On paper, it looked obvious. Gemini 3 Flash is priced at roughly one-sixth the input cost and one-fifth the output cost of Sonnet, a per-token reduction of 5–6x. Our offline eval read was encouraging. If it held up in production, we’d get Sonnet-class answers at a fifth of the price.

So we tested it on real traffic. We ran a controlled experiment measuring session cost, end-to-end response latency, messages per user, and downstream conversion. Amplitude Feature Experimentation helped us target specific cohorts, exclude internal users, and hold the result to a statistical significance guardrail.

Metric

Sonnet 4.6 (Control)

Gemini 3 Flash (Treatment)

Change

Session cost per active user

$4.88

$2.33

-52.3%

Average response latency

63.8s

119.7s

+87.7%

Average number of messages per user

5.95

5.36

-10%

Agent conversion to a qualifying valuable action

29.98%

30.42%

Flat 

 

The good news was that session cost dropped from $4.88 to $2.33 per active chat user, already net of token efficiency, retries, and tool-call overhead, and conversion stayed roughly flat.

Let’s take a moment to cover our custom definition of conversion. In this instance, it refers to the percentage of users who sent a message to Global Agent and then completed a “qualifying valuable action” on the same day. These break down into two types of actions:

  • Implicit (the user used the output): viewed, saved, or copied the agent’s response
  • Explicit (the user acted on it): clicked a link or CTA surfaced inside the chat

Amplitude’s Behavioral Graph makes it easy for us to define a custom event that serves as a proxy for whether the agent chat interaction led to meaningful downstream product usage. The metric was set up as a guardrail (not the primary success metric), so the team monitored it to ensure Gemini Flash didn’t hurt downstream value creation, even if it wasn’t expected to improve it.

On the two numbers most teams would check (price and conversion), the cheaper model passed. The bad news was how people actually used it. Response time went from 63.8 to 119.7 seconds, and users on the cheaper model sent 10% fewer messages. The answers were just as good, but Gemini wasn’t orchestrating tool calls as efficiently, and the extra wait was enough that people engaged less.

Interestingly, conversion did not decline because there were several ways a user could convert in this experiment and still find the agent valuable. Each agent interaction can mean different things to different users. By combining these high-value actions, we can demonstrate how the agent meets all our users, wherever they are, and helps them succeed. This way, we’re not looking at conversion through a small lens of just one action (say, chart creation).

✓ 0:30
Sonnet
still thinking… 2:00+
2:00+
Gemini

If conversion had gone up, we would have shipped the cheaper model and taken the latency hit. The experiment told us exactly what the swap would influence. Conversion didn’t change, but users on the cheaper model sent 10% fewer messages so we decided to hold off on the model swap at this time and make up for cost savings in other ways.

Often teams don’t get to make this call on evidence. They take the cheaper model and learn the effects later, or they leave the savings untouched because they can’t prove it’s safe to move. With Agent Analytics, we could see exactly what either choice would do.

What makes this analysis possible

If we only focused on offline evals, we would have missed out on a lot of factors that went into our final decision. We needed the cost vs. latency tradeoff for the production query mix. We also had to learn how real users react to slower responses, whether session counts stay flat or drop, whether negative feedback rates change, and whether the token efficiency gap translates 1:1 into a latency gap.

Agent Analytics instruments every AI session with the metrics that actually move a model decision: per-session cost in dollars, end-to-end latency in milliseconds, token usage, tool call counts, error rates, and negative feedback flags. They come with the instrumentation, and they live as queryable metrics next to the rest of your product data.

Experimentation runs the controlled rollout on the same data: targeting, splits, sequential testing, multiple comparison correction, and variance reduction. The same cost and latency metrics from Agent Analytics appear as primary and guardrail metrics in the experiment.

With Agent Analytics, AI session data and product behavior share one user identity and one event stream. Neither a model provider nor an observability tool can get there alone. The model provider has no downstream user data, and the observability tool has no product analytics.

From traces to revenue in one place

AI Quality
What the agent did
Product Outcomes
What the user did next
01 Observe
03 Decide
02 Evaluate
04 Deploy

The model swap is only one example of what Agent Analytics does. We think about its capabilities across four stages:

  • Observe: Capture end-to-end traces with every prompt, turn, tool call, and context retrieval, plus latency and cost per session. When something looks wrong, jump from the trace to Session Replay at the exact moment the agent started failing.
  • Evaluate: Score every production interaction with code-based checks for exact rules and LLM-as-a-judge for subjective quality. Catch regressions before they become systemic, and build a failure taxonomy from what you actually observe instead of vibe checks.
  • Quantify: Tie sentiment, errors, topics, cost, and latency back to the rest of the user journey. This is where you answer the questions no eval tool can: Did the new model improve sign-up conversion? Which failure modes hurt retention most? What do users do after a poor agent response?
  • Deploy: Roll out improvements with the experimentation suite, target behavioral guides to the users who need them, and measure the impact in the same place.

Most teams start with tracing and telemetry, just seeing what happened. Assertions and evals come next: Did it do the job correctly? Above that sits semantic intelligence (what the agent actually does across many runs) and behavioral analytics (how agent usage shapes the user journey). The top of the curve is revenue attribution, or what the AI is actually worth in dollars. The model swap above is a revenue attribution question answered with every layer underneath it, in one platform.

So what are the pieces that make this work?

  • Performance monitoring is the surface the model experiment ran on. Compare models by cost, latency, error rate, and reliability, and see whether a cheaper model holds up on product outcomes.
  • Traces give you the full record of a run, with one-click navigation to Session Replay.
  • Evals ship with templates and support custom code-based or LLM-as-a-judge scoring.
  • Semantic filtering isolates sessions by task success, technical failures, tool-call issues, or semantic matches, and lets you drill into any cohort, such as your power users.
  • Datasets and runs make analysis repeatable. Define a slice of agent activity (one model, one product surface, or one user segment) and execute checks against it on a schedule.
  • Human review lets the whole team annotate sessions, classify topics and errors, and close tickets from a finding.

If you already run LangSmith, Braintrust, Langfuse, or another eval and tracing stack, keep it. Those tools are great for offline evals and engineering tests. But production traces should live in your product analytics tool so you can easily blend evals with user behavior.

That’s what Agent Analytics solves today. It adds the layer that other eval tools can’t reach (identity, cohorts, journeys, replays, experimentation, and activation), so you can connect agent quality to product and business outcomes.

Now in beta

Agent Analytics is in beta. It started as the unglamorous work of making our own agent better, then went through a Partner Design Program where design partners pushed on it against their own production agents and shaped what it became.

We’ve been writing about what we found along the way: the eval signal that predicted 3x better retention for new users who had a clean first session and saved an artifact, how people actually use agents, and what changed when we shipped Global Agent at a 76% offline pass rate and then hit the ceiling of offline evals. The model decision in this post is the newest entry in that same line of work.

If you’re shipping an agent and can’t yet answer what it’s worth, you can get in line early. We’re collecting the waitlist now and will reach out as we open access ahead of general availability.

Join the waitlist and learn more about Agent Analytics. Stop shipping on vibes. Start measuring what your AI is worth.

About the author
Darshil Gandhi

Darshil Gandhi

Director, Product Marketing, Amplitude

More from Darshil

Darshil Gandhi is a Director of Product Marketing at Amplitude looking after product and partner launches. He was previously a solutions engineering team principal, helping dozens of Amplitude customers turn data into actionable insights. Darshil graduated from Dartmouth College with a Masters in Engineering Management.

More from Darshil
Topics

AI

Amplitude Agent Analytics

Recommended Reading

article card image
Read 
Customers
Putting A Number On AI Quality

Jun 29, 2026

5 min read

article card image
Read 
Customers
Meet the Winners of the 2026 Amplitude AI Impact Awards

Jun 26, 2026

9 min read

article card image
Read 
Product
Beyond Last-Touch Attribution: Find Out Which Interactions Really Matter

Jun 25, 2026

3 min read

article card image
Read 
Product
Agent Connectors Are Better Together

Jun 24, 2026

6 min read

Platform
  • AI Agents
  • Agent Analytics
  • AI Feedback
  • Amplitude MCP
  • AI Assistant
  • Product Analytics
  • Web Analytics
  • Feature Experimentation
  • Feature Management
  • Web Experimentation
  • Session Replay
  • Guides and Surveys
  • Activation
Compare us
  • Adobe
  • Google Analytics
  • Contentsquare
  • Fullstory
  • Heap
  • LaunchDarkly
  • Mixpanel
  • Optimizely
  • Pendo
  • PostHog
Resources
  • Resource Library
  • Blog
  • Agent Prompt Library
  • Product Updates
  • Amp Champs
  • Amplitude Academy
  • Events
  • Glossary
Partners & Support
  • Status
  • Contact Us
  • Customer Help Center
  • Community
  • Developer Docs
  • Partner Program
  • Partner Directory
  • Become an affiliate
Company
  • About Us
  • Careers
  • Press & News
  • Investor Relations
  • Diversity, Equity & Inclusion
View markdown
Terms of ServicePrivacy NoticeAcceptable Use PolicyLegal
EnglishJapanese (日本語)Korean (한국어)Español (LATAM)Español (Spain)Português (Brasil)Português (Portugal)FrançaisDeutsch
© 2026 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.
Blog
InsightsProductCompanyCustomers
Topics

101

AI

APJ

Acquisition

Adobe Analytics

Agents

Amplify

Amplitude AI

Amplitude Academy

Amplitude Activation

Amplitude Agent Analytics

Amplitude Analytics

Amplitude Audiences

Amplitude Community

Amplitude Feature Experimentation

Amplitude Full Platform

Amplitude Guides and Surveys

Amplitude Heatmaps

Amplitude Made Easy

Amplitude Session Replay

Amplitude Web Experimentation

Amplitude on Amplitude

Analytics

B2B SaaS

Behavioral Analytics

Benchmarks

Churn Analysis

Cohort Analysis

Collaboration

Consolidation

Conversion

Customer Experience

Customer Lifetime Value

Customer Support

DEI

Data

Data Governance

Data Management

Data Tables

Digital Experience Maturity

Digital Native

Digital Transformer

EMEA

Ecommerce

Employee Resource Group

Engagement

Engineering

Event Tracking

Experimentation

Feature Adoption

Financial Services

Funnel Analysis

Getting Started

Google Analytics

Growth

Healthcare

How I Amplitude

Implementation

Integration

LATAM

LLM

Life at Amplitude

MCP

Machine Learning

Marketing Analytics

Media and Entertainment

Metrics

Modern Data Series

Monetization

Next Gen Builders

North Star Metric

Partnerships

Personalization

Pioneer Awards

Privacy

Product 50

Product Analytics

Product Design

Product Management

Product Releases

Product Strategy

Product-Led Growth

Recap

Retention

Revenue

Startup

Tech Stack

The Ampys

Warehouse-native Amplitude