
· 3 min read
How we kept LeadVector's inference costs predictable
The routing, caching, and evaluation decisions that stopped model spend from scaling with usage.
Ship AI features customers adopt and pay for, built on tenant-aware data, repeatable evaluation and inference costs your pricing can carry, while the core product keeps the reliability customers bought it for.

Technology, media and telecom
Software companies face a product question and an operating question at once. Customers expect AI inside the workflows they already pay for: drafting, summarizing, searching and acting on their behalf. Each feature changes the cost of goods sold, because every request carries a model call, and it changes the risk profile, because a multi-tenant system now reasons over data that belongs to many different customers.
AI earns a place in a software product when it shortens a task the user performs often and can check easily, using data the product already holds under the permissions it already enforces. It loses money and trust when it ships as a free extra, is judged by demonstration rather than measurement, or reads across tenant boundaries. The deciding questions sit between product, engineering and finance: what to build, how to measure it, and how to charge for it.
Valtair works alongside product, engineering and finance leaders at software companies to pick the AI features worth shipping, engineer them for multi-tenant production, and model their unit economics next to pricing options. Valtair also builds its own AI software, LeadVector for sales intelligence and Taseer as an AI CMO, so the trade-off between model quality and margin is one it faces as a product owner too.
Not every roadmap request deserves a model. Leaders need to decide which features remove real work for users, which are better solved with search, rules or better defaults, and which carry enough risk of a wrong action that they should begin as drafts a person reviews.
Every AI request consumes inference that grows with adoption. Product and finance leaders have to choose between bundling, usage tiers, credits and premium editions, and they need cost per completed task by feature and customer segment to make that choice from evidence rather than from model providers' list prices.
Retrieval indexes, caches, tuned models and logs can each blend data from different customers unless someone designs against it. Leadership has to set the rule for every component, including whether any customer data may improve shared models, and make that rule visible in contracts and in the product itself.
A prompt or model change can lift average quality while breaking the edge cases of a large account. Teams need agreed evaluation sets, quality thresholds and staged rollout by tenant or edition, so each release decision rests on measured behavior and a working rollback rather than a persuasive demo.
Answer user questions and draft work from records inside the customer's own workspace, respecting the roles and permissions the application already enforces, with sources shown beside each answer.
Let users hand off bounded multi-step tasks, such as preparing a report or updating records in bulk, with a preview, an approval step and an audit trail the customer's administrators can review.
Summarize account health, ticket history and product usage for support and success teams, and draft replies that cite current documentation and the customer's own configuration.
Send each request to the smallest model that meets its quality bar, reuse cached intermediate work, and attribute spend to features and tenants so cost trends surface before the margin review.
Answer integration questions from current reference documentation, changelogs and code samples, and flag answers that depend on deprecated versions or undocumented behavior.
Combine usage, support and billing data to surface accounts at risk or ready to expand, with the product activity behind each signal visible to the account team that acts on it.
Multi-tenant architecture is efficient until a retrieval index, cache or tuned model lets one customer's data shape another customer's answer. We design isolation into each AI component as deliberately as into the database: tenant-scoped indexes and keys, permission checks at retrieval time, and automated tests that attempt cross-tenant access before each release.
A feature users love can erode gross margin as adoption climbs. Cost is treated as a design input from the first architecture decision: cost per completed task is measured, budgets are set per feature and tenant, and cheaper routes are compared against the evaluation set so savings do not quietly reduce quality.
Customers build their own processes on a platform and notice when its behavior shifts. AI components are versioned with the application, released behind flags by edition or tenant, watched for quality and latency after launch, and paired with a fallback that keeps the underlying product usable when a model provider slows down or fails.

· 3 min read
The routing, caching, and evaluation decisions that stopped model spend from scaling with usage.

· 7 min read
A practical guide to measuring whether a RAG system finds the right sources and answers from them, before and after it ships.
Tell us what you want to achieve, which systems are involved, and where you need a partner.