On this page (9 sections)
- Start from the task, not the model
- Quality: measured on your evaluation set
- Building a useful evaluation set
- Latency: what users actually feel
- Cost: the drivers, not the price list
- Data residency and privacy
- API models or open-weight models?
- Routing: rarely one model
- Stability and lifecycle
- How Gepton decides
In short: do not choose a model from a leaderboard. Build an evaluation set from your own work, then compare a few candidate models on four things: quality on that set, latency for your user experience, cost per task at your volumes, and whether the model can run where your data is allowed to go. Decide between API models and open-weight models on control and data needs, not ideology. For most production systems the answer is not one model but a route: a smaller model for easy steps, a stronger one for hard cases, and a fallback if a provider fails. Revisit the choice regularly, because models change every few months.
Start from the task, not the model
"Which model is best?" has no answer without a task. A model that leads public benchmarks on math and coding may be no better than a smaller one at classifying support tickets in Hindi and English, and it may be slower and more expensive. Before comparing models, write down:
- The task: what goes in, what must come out, and what a correct output looks like.
- The shape of the work: a single call, a multi-step agent with tools, or a long document analysis.
- Volume: requests per day now and in a year, and how spiky they are.
- Latency needs: a person waiting in a chat or on a call, or a batch job overnight.
- Data constraints: what personal or confidential data is involved and where it may be processed.
- The cost of errors: a wrong product suggestion costs little; a wrong figure in a financial document is not.
Quality: measured on your evaluation set
Public benchmarks are useful for a shortlist. They are poor at predicting performance on your documents, your language mix and your edge cases, and some benchmark results are inflated because test data leaked into training. The only reliable measure is your own evaluation set.
Building a useful evaluation set
- Collect real examples: typically 50 to 200 to start, covering common cases, difficult cases and the edge cases that matter most.
- Agree the correct output for each with the people who do the work today.
- Decide how to score: exact match for fields, rubric scoring for text (by people, or by a model checked against people), and task success for agents, such as whether the right tool was called with the right arguments.
- Include safety cases: prompt injection attempts, requests the system should refuse, and inputs in every language you serve.
- Keep a held-out portion that nobody tunes prompts against, so you can detect overfitting.
Then run each candidate model with the same prompts and tools, and compare. Tune prompts per model where it is fair to do so; models respond differently to the same instructions. Our AI evaluation and observability service builds these suites and runs them on every change.
Latency: what users actually feel
Latency has several parts. Time to first token decides how responsive a chat feels, and streaming the answer hides much of the rest. Total generation time matters when the output feeds another step. For agents, latency adds up across every model call and tool call in the loop, so a five-step agent with a slow model can take a long time even if each call seems quick.
- Reasoning modes improve accuracy on hard problems but add thinking time before the answer. Use them where accuracy is worth the wait and turn them down elsewhere.
- Voice is the least forgiving case: a pause of more than a second or so feels broken, which usually rules out large reasoning models in the live conversation loop.
- Region matters: calling a model hosted on another continent adds network delay to every call.
- Measure at the percentiles, not just the average. The slowest 5% of requests are the ones users complain about.
Cost: the drivers, not the price list
Provider prices change often, so compare cost per completed task at your expected volumes rather than headline rates. What drives that cost:
- Input tokens: system prompts, retrieved documents, conversation history and tool results. Long contexts are usually the largest cost in retrieval and agent systems.
- Output tokens: generally priced higher than input tokens, so verbose answers cost more.
- Reasoning tokens: thinking models generate internal tokens that are billed even though you do not see them.
- Agent loops and retries: every extra step or failed tool call repeats the context. A loose loop can cost several times more than a tight one.
- Caching and batching: most major providers offer prompt caching for repeated context and discounted batch processing for work that can wait.
- Self-hosting: with open-weight models you pay for GPUs whether or not they are busy, so cost depends on how well you keep them utilized, plus the engineering time to run them.
For methods to keep running costs predictable, see our guide on AI agent running costs and our AI cost optimization service.
Data residency and privacy
Where the model runs can rule candidates in or out before quality is even measured. Questions to answer with your legal and security teams:
- Which data is involved? Personal data, health or financial records, source code, or confidential contracts each carry different rules.
- Where may it be processed? India's Digital Personal Data Protection Act allows transfers abroad except to countries the government restricts, but sector rules can be stricter. For example, the Reserve Bank of India requires payment system data to be stored in India. EU personal data brings GDPR transfer rules.
- What does each provider offer? Options differ widely and change often. Microsoft's Azure OpenAI offers global, data zone and regional deployments with different processing guarantees. Anthropic's API lets customers restrict inference to the US on newer models. Cloud platforms such as AWS Bedrock and Google Vertex AI offer models in specific regions, including India regions for some models. Check model-by-region availability, not just the provider.
- Retention and training: confirm the provider's data retention period, whether zero-retention options exist for your plan, and that your data is excluded from training.
Our AI Deployment Options page describes the options we typically design for, from public APIs to fully private deployment.
API models or open-weight models?
Open-weight models, whose weights you can download and run yourself, have become strong. Examples include Meta's Llama family, Mistral's open models, Alibaba's Qwen, Google's Gemma, DeepSeek's models and OpenAI's gpt-oss models, released under the Apache 2.0 license in August 2025. The trade-offs:
| Factor | API (hosted) models | Open-weight models |
|---|---|---|
| Top-end quality | Usually the strongest on hard reasoning and agent tasks | Close on many tasks; check on your evaluation set |
| Data control | Depends on provider terms and regions | Full: runs in your cloud, data center or device |
| Operations | None; the provider runs it | You run GPUs, scaling, upgrades and security |
| Cost pattern | Pay per token; scales with use | Pay for capacity; efficient only at steady, high use |
| Customization | Prompting; fine-tuning for some models | Full fine-tuning and distillation |
| Stability | Provider can deprecate or change models | You decide when to change versions |
| Licensing | Provider terms of service | Varies by model; some licenses restrict use |
Open-weight models make most sense when data cannot leave your environment, when volume is high and steady, when you need deep customization, or when you must control exactly when the model changes. Hosted APIs make most sense for the hardest tasks, spiky or low volume, and teams without GPU operations skills. Many organizations use both. See our private AI deployment service for the self-hosted path.
Routing: rarely one model
Production systems often use several models, each where it is strongest:
- By step: a small, fast model classifies or extracts; a stronger model handles planning or the final answer.
- By difficulty: a cascade tries the lower-cost model first and escalates when confidence is low or a check fails.
- By data: requests with sensitive data go to a private model; others can use a hosted one.
- For resilience: a fallback provider takes over during outages or rate limits.
Routing needs a gateway layer that logs every call, enforces budgets and makes switching a configuration change. It also needs the evaluation set, because each route must be proven good enough for the traffic it receives.
Stability and lifecycle
A model choice is not permanent. Hosted providers retire older models, sometimes with only a few months of notice, and a new version with the same name can behave differently on your prompts. Plan for this from the start:
- Pin exact model versions in production rather than using aliases that move to the newest release.
- Track deprecation notices from each provider you use and put retirement dates in your team's calendar.
- Rerun the evaluation set on the replacement before switching, and compare cost and latency as well as quality.
- Roll out gradually: send a small share of traffic to the new model and watch the metrics before moving everything.
Teams that do this treat a model change as a routine release. Teams that do not often discover the change from user complaints.
How Gepton decides
When we recommend a model for a client system, we follow a set of working principles:
- Evidence over reputation. We shortlist two to four candidates and compare them on the client's evaluation set, with quality, latency and cost per task side by side.
- Constraints first. Data residency, security requirements and the client's approved providers are applied before quality comparisons, so we never recommend a model that cannot be used.
- The smallest model that meets the bar. If a smaller model passes the agreed quality threshold, we prefer it for speed and cost, and reserve larger models for the steps that need them.
- Swappable by design. We design so that the model sits behind an interface, prompts are versioned, and a switch is a tested configuration change rather than a rebuild.
- Independence. We have no reason to favor a provider. We recommend what fits, including options we would not build ourselves.
- Re-evaluation on change. We pin model versions, rerun the evaluation set before any upgrade, and review the choice when a provider announces a deprecation or a significantly better option appears.
If you want a second opinion on a model or platform decision, our technology and vendor evaluation service runs this process on your use case and data.
Frequently asked questions
How big should our evaluation set be?
Large enough to cover your common cases, your hard cases and the edge cases that matter. Typically 50 to 200 examples is a useful start, grown over time from real production failures. For classification or extraction with many categories or fields, you need enough examples per category to see differences between models. Keep a held-out portion that nobody tunes prompts against.
Should we just use the most capable model for everything?
Usually not. The most capable models are slower and cost more per task, and on many steps a smaller model performs just as well. Start with a strong model to establish the quality bar, then test whether smaller models meet it for each step. Reserve the larger model for the steps where the evaluation shows it is needed.
Can we keep data in India when using AI models?
Often, yes. Some cloud platforms offer certain models in India regions, and open-weight models can run in your own India-region cloud account or data center. Availability depends on the specific model and region and changes over time, so check it for each candidate. Your legal team should confirm which rules apply to your data.
Are open-weight models safe to use in business?
They can be, with the same care as any software. Check the license for commercial-use terms, get weights from the official source, run the model in a secured environment, and test it on your evaluation set, including safety and prompt-injection cases. Unlike hosted APIs, you are responsible for patching, scaling and access control.
How often should we revisit our model choice?
Review it when a provider announces a deprecation, when a notably better or lower-cost model appears, or on a regular schedule such as each quarter. Because new models appear frequently, a well-maintained evaluation set is what makes these reviews quick: you rerun it on the new candidate and compare.
Do we need to fine-tune a model?
Less often than people expect. Better prompts, retrieval of the right documents and good examples solve most quality problems. Fine-tuning helps for consistent formats or style, specialized vocabulary, or distilling a large model's behavior into a smaller, lower-cost one. Try the simpler options first and let the evaluation set show whether fine-tuning is worth it.