Why Gemini Chatbots Struggle With Sales Pricing (and How Executable Logic Helps)
Gemini can handle the conversation. Pricing still needs authoritative data, tested executable logic, validation, and a way to recover from mistakes.
A Gemini chatbot can sound completely confident and still quote the wrong price. That is not a reason to abandon Gemini. It is a reason to stop asking a language model to be the calculator.
I learned this before QuotyAI, while building sales and scheduling software. The demo moment was always the same: someone asked for a total, the model produced a number, and everyone waited to see whether it matched the price list.
Sometimes it did. Sometimes it interpolated. Sometimes it invented a discount. The conversation was fluent in both cases.
The fix is not “a better prompt.” The fix is an architecture that gives the model language work and gives code the consequences.
Update note — November 24, 2026: I removed the original 2–8% error-rate claim, the 8–15% revenue-loss estimate, and the 3-second deployment claim. I could not substantiate them as general measurements. The private anecdotes below are illustrations, not benchmarks.
The Real Failure Mode: Fluent Arithmetic
A language model predicts a plausible continuation. For a sales conversation, that is often exactly what you want. For a quote, “plausible” is not the same as “correct.”
Ask a model to combine a base price, a member discount, a date window, a tax rule, and an add-on, and there are several ways to be wrong:
- It reads a stale price from retrieved text.
- It applies a discount that expired.
- It rounds at the wrong step.
- It skips a rule that lives in another document.
- It agrees to a concession the owner never authorized.
A model can also calculate simple arithmetic correctly. The problem is not that every answer is wrong. The problem is that a fluent answer does not carry a proof.
That is why I do not put a universal error percentage on “LLM pricing.” Error rates depend on the model, prompt, data, task, and evaluation set. Measure your own workflow.
What Gemini Is Good At
Gemini is useful for the parts that are genuinely linguistic:
- Understanding a customer’s request.
- Extracting dates, quantities, service IDs, and preferences.
- Asking a clarifying question.
- Turning a structured quote into natural language.
- Working with text, images, audio, and video inputs on supported models.
As of November 24, 2026, Google’s model catalog includes Gemini 4 Hydrogen, Gemini 3.8 Flash, Gemini 3.5 Flash-Lite, and Gemini 3.1 Pro Preview. The current Gemini 4 models and Gemini 3.1 Flash-Lite list an input limit of 1,048,576 tokens. A large context window helps the model see more material; it does not make the material authoritative.
Here are standard paid-tier list prices in USD per million tokens:
| Model | Input | Output |
|---|---|---|
| Gemini 4 Hydrogen | $1.50 | $7.50 |
| Gemini 3.8 Flash | $0.75 | $3.75 |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 |
| Gemini 3.1 Pro Preview, prompts ≤200K | $2.00 | $12.00 |
Gemini 3.8 Flash’s introductory rates are scheduled to double on January 1, 2027. Gemini 3.1 Pro Preview charges $4.00 input and $18.00 output above 200K tokens. Thinking tokens and tool use can add cost. Check the official pricing page before you budget.
Gemini also supports code execution on supported models. That is useful for computation, but a hosted code-execution result is not the same thing as your versioned, tested business rule. For pricing, I want the exact function that produced the quote, with the inputs that produced it.
Deterministic AI, Precisely
“Deterministic AI” is an awkward phrase. The model is still probabilistic. The useful part is the boundary around it.
In QuotyAI, the shape is:
- The owner describes a business rule.
- The coding agent proposes structured artifacts and executable logic.
- The builder validates contracts and dependencies.
- Tests exercise the behavior.
- The owner publishes a versioned release.
- At runtime, the assistant extracts structured inputs and invokes the pricing script.
The current skill catalog has five skills. The checkout skill contains plain JavaScript scripts for quoteOrder, validateOrder, and transformToCheckAvailability, plus a test suite. TypeScript types describe the surrounding schemas; the runtime executes the generated JavaScript in a restricted vm context.
That gives you a repeatable calculation path for the same input, code version, and dependencies. It also gives you a place to record the catalog values the script read.
It does not guarantee that:
- The owner described the rule correctly.
- The agent generated the right rule.
- The extracted service or quantity is correct.
- The catalog is current.
- The external calendar or payment system is available.
Those failures need their own controls.
A Quote Should Come With Evidence
Here is a simplified pricing function. The real system injects a read-only catalog accessor and records which values were read:
// Illustrative shape; category and field names come from the generated catalog schema.
function quoteOrder(catalog, variables) {
const order = variables.order.draft.input;
const service = catalog.findById('services', order.serviceId);
if (!service) {
return { errors: [{ code: 'SERVICE_UNAVAILABLE', message: 'Service not found' }] };
}
const base = service.prices[String(order.minutes)];
if (typeof base !== 'number') {
return { errors: [{ code: 'DURATION_UNAVAILABLE', message: 'No price for this duration' }] };
}
const discount = order.member ? service.memberDiscount : 0;
const total = Math.round(base * (1 - discount) * 100) / 100;
return {
total,
pricingCalculationBacktrace: {
operation: 'member_discount',
description: `Applied ${discount * 100}% member discount`,
},
};
}
The runner attaches the catalog reads to the result. The value is not just $108. It is $108, derived from this service, this duration, this discount, and these catalog values.
That breakdown helps a business owner verify the answer. It also helps an engineer reproduce a complaint later.
The Spa Story, Without the Fake Benchmark
Before QuotyAI, I saw a spa chatbot quote a 60-minute massage at a price between the listed 60- and 90-minute rates. The price list was clear. The model had filled in the gap itself.
I do not have a defensible dataset for how often that happens across businesses, so I will not turn the story into an industry error rate. The architectural lesson is enough: if a duration has no price, the system should return DURATION_UNAVAILABLE or ask a question. It should not interpolate a new commercial policy.
Generic Chatbot vs Executable Pricing
The difference is not “Gemini bad, code good.” It is where each kind of uncertainty is handled.
| Layer | Model’s job | Code’s job |
|---|---|---|
| Language | Interpret the request | Validate the extracted shape |
| Policy | Help draft the rule from the owner’s description | Store, version, test, and execute the rule |
| Quote | Explain the result | Calculate from authoritative inputs |
| Failure | Ask for clarification | Return a typed error and trigger fallback |
| Audit | Provide context | Record inputs, catalog reads, and output |
A generic chatbot can be consistent if someone builds those controls around it. A deterministic pricing function can be wrong if it encodes the wrong policy. The architecture is what improves the odds; no component makes the business correct by itself.
Conceptual diagram from the original article. The current builder uses five skills and configurable models; the key boundary is still conversation versus calculation.
BYOK Cost Control Without Made-Up Totals
The public QuotyAI homepage currently lists:
- BYOK: free, with your own model key, up to 100 quotes per month.
- Standard: $79 per month, with hosted models and higher usage limits.
On BYOK, you pay the model provider directly. QuotyAI’s repository exposes provider configuration for Google, OpenAI, Anthropic, DeepSeek, OpenRouter, and other providers. The exact model and feature support depend on the provider and the selected model.
A provider bill is roughly:
(input tokens × input rate)
+ (output tokens × output rate)
+ tool, audio, caching, and thinking charges
“500 conversations” is not enough information to price that bill. Conversation length, retrieved context, tool calls, and output tokens dominate the result. Measure a representative sample instead of multiplying a guess.
Historical illustration from May 2026. These figures are not current quotes or measured comparisons. Use the current homepage and provider pricing for a real budget.
Why Small Businesses Need This Most
A large company can hire engineers to connect a model to its pricing system. A solo cafe owner usually cannot.
That does not mean the owner should become a programmer. It means the product should make the safe path the easy path: describe the rule, review the change, run the tests, publish, and see the breakdown.
I built QuotyAI after a trip to Bali where a simple homestay availability question turned into days of cross-language messaging. Faster conversation mattered. But speed with a wrong price would not have solved the problem.
Conceptual illustration, not a measured benchmark. Deterministic execution repeats the same path; correctness still depends on the rule, data, and input extraction.
Frequently Asked Questions
Can I use the Gemini API to build a sales chatbot? Yes. Gemini can handle conversation, intent recognition, and structured extraction. For quotes, give it authoritative business data and route calculations through tested code rather than asking the model to do arithmetic in prose. The model can still misclassify a request, so validation and fallback paths matter.
What is deterministic AI versus probabilistic AI? A language model generates probable outputs. Deterministic code repeats execution for the same input, code version, and dependencies. That makes the calculation path repeatable, not automatically correct. A generated function can still encode the wrong discount, and the model can still extract the wrong input.
How do I make an AI chatbot give reliable prices? Separate understanding from calculation. Use the model to interpret the request, validate the extracted fields, read current catalog and policy data, execute a tested pricing function, and return a breakdown. Test boundary cases, monitor mismatches, and keep human review or rollback for business-critical changes.
Can chatbot builders keep pricing consistent? They can, if the builder is connected to authoritative pricing data and a tested calculation or API. A chat flow alone does not guarantee correctness. The important question is not the brand; it is where the number comes from, how it is validated, and what happens when the data or rule is wrong.
Can I bring my own Gemini API key to QuotyAI? Yes. As of November 24, 2026, QuotyAI’s public homepage lists a free BYOK plan with up to 100 quotes per month and a Standard plan at $79 per month with hosted models. You pay your model provider directly on BYOK. Provider usage varies with tokens and tools; confirm current plan availability and limits at signup.
The Bottom Line
Gemini is a strong choice for the conversation. It is not a substitute for a pricing system.
Use it to understand the customer and explain the result. Use tested executable logic to calculate. Keep the data current, validate the inputs, and make the release reversible.
That is how a sales chatbot becomes something more than a fancy autocomplete: not because it always sounds certain, but because the number has a source.
Connect your model key and try QuotyAI.
Sources
- Google Gemini API — Models
- Google Gemini API — Pricing
- QuotyAI — public plans
- Node.js
vmsecurity warning
Tags: gemini chatbot deterministic-ai pricing sales-agent hallucination
Related articles
What Small Businesses Actually Get From QuotyAI
A practical look at what QuotyAI gives a small business owner: business knowledge you can talk to, customer conversations that get finished, and a network that sends work your way. With the limits stated plainly.
Read articleCloudflare Search for Agents: Why an Agent-Readable Web Helps QuotyAI
What Cloudflare's Search for Agents, Markdown for Agents, and AI Search actually do — and why agent-readable websites make QuotyAI's business network more valuable.
Read articleThe Knowledge Factory: Turning Owner Know-How into Agent Context
A single booking question at a Vietnamese restaurant exposes why context engineering alone fails. Here is how we think about knowledge, versions, and the factory that maintains them.
Read article