Skip to content
DigitalNeuron
Tools & Produkte

How to choose an AI model for a real product

Six properties decide whether a model fits a product, and headline quality is only one of them. A practical selection method that ends with a test rather than a preference.

Von DigitalNeuron Desk5 Min. Lesezeit

Kurze Antwort

How do I choose which AI model to use?

Start from the constraints rather than the leaderboard. Write down your latency budget, your cost ceiling per request, your context requirement, whether you need tool calling or structured output, and where the data is allowed to go. Those five usually eliminate most candidates. Test the remaining two or three on fifty real cases from your own traffic, compare per-case rather than on average, and pick the cheapest one that passes.

Das Wichtigste

  • Constraints eliminate candidates faster than quality rankings do. Apply them first and the shortlist is usually two or three.
  • Most production traffic does not need the strongest available model. Routing easy requests to a smaller one is the largest saving available in most products.
  • Latency is a product property, not a technical detail. Time to first token often matters more to users than total generation time.
  • Tool calling and structured output reliability vary far more between models than general quality scores suggest, and they decide whether an integration works at all.
  • Pick for the traffic you have, and design the system so that changing model later is a configuration change rather than a rewrite.

Model selection is usually approached as a ranking problem: find the best model, use it. That framing produces two predictable outcomes — an expensive system doing simple work, or a cheap system that fails in ways nobody tested for.

A better framing is procurement. Constraints first, shortlist second, test third. The constraints do most of the work, and they are properties of your product rather than opinions about models.

The six properties that decide fit

Quality on your task. Not general quality. A model that writes beautiful prose may extract structured fields poorly, and a model that reasons well through mathematics may be needlessly slow at classification. General rankings are a screen for which models to test, not a substitute for testing.

Cost per request. Priced in input and output tokens, multiplied by your actual traffic. The number that matters is monthly spend at projected volume, and it is worth computing before rather than after. Note that reasoning-style models bill their internal deliberation as output tokens, so their effective cost per completed task can be several times the headline rate.

Latency. Two numbers, not one. Time to first token determines perceived responsiveness in any streaming interface. Total generation time determines throughput for batch work. An interactive product usually cares more about the first; a nightly pipeline cares only about the second.

Context window. Measure your real input distribution at the 95th percentile. Selecting for a rare maximum means paying for capacity you use a few times a month on every request you make.

Integration capabilities. Tool calling reliability, schema-enforced output, streaming behaviour, image or audio input if you need it. These vary between models far more than general quality scores imply, and they are frequently the property that decides whether an integration works at all rather than how well it works.

Deployment and data constraints. Where the data may be processed, what the retention terms are, whether a regional endpoint exists, whether the model can run in your own environment. These are often decided outside the engineering team, and they eliminate candidates regardless of every other property.

Test on your own cases

With a shortlist of two or three, the decision is settled by testing, and the test does not need to be elaborate.

Take fifty real cases from your own traffic, run each candidate, and compare per case rather than on average. The average tells you almost nothing; the interesting information is which specific cases each model gets wrong, and whether those cases matter. A model that is slightly weaker overall but never fails on the expensive category is the better choice, and no aggregate score will tell you that.

Two practical warnings. Use the same prompt for each candidate on the first pass, to get a fair baseline — then, before deciding, spend a little time tuning the prompt for the leading candidate, because models differ in what they respond to and a prompt tuned for one can understate another. And measure latency and cost during the same run, so that all three dimensions come from one experiment rather than three.

Most traffic does not need the strongest model

This is the observation with the largest financial consequence, and it is available to almost every product.

Real traffic is not uniformly difficult. A support assistant answers a large number of routine questions and a small number of genuinely hard ones. A classification pipeline sees mostly clear-cut cases. Sending all of it to the strongest available model means paying the hardest-case price for the easiest-case work.

The standard remedy is routing: a small, fast model handles the bulk, with escalation to a larger model when a confidence signal, a category, or a validation failure indicates difficulty. The saving is often large — the high-volume portion is where the money is — and the quality ceiling is preserved for the cases that need it.

Routing has a cost of its own: two models to evaluate, a routing rule to maintain, and a new failure mode where the router sends a hard case to the small model. It is worth it at volume and not worth it below some threshold. The threshold is specific to your traffic, and computing it is a half-day of work.

Choosing for change

Whatever you pick will be superseded. The models available in a year will be cheaper, faster, or better, and the decision you make now should not be expensive to revisit.

Three habits keep that cost low. Keep prompts, tool definitions and output parsing in your own code, so that switching provider is a configuration change rather than a rewrite. Keep the eval set, because it is the thing that makes evaluating a new candidate a one-day task instead of a project. And pin the model version explicitly rather than tracking a moving alias, so that a change in behaviour is something you schedule rather than something you discover.

That last one deserves emphasis. A system that follows a provider's latest alias inherits every behaviour change automatically, including the ones that break a carefully tuned prompt. Pin the version, run the eval when a new one appears, and upgrade deliberately.

The short method

  1. Write down the five constraints as numbers.
  2. Screen for candidates that satisfy them — usually two or three.
  3. Run fifty real cases through each, measuring quality per case, latency and cost together.
  4. Tune the prompt for the leader and re-run.
  5. Choose the cheapest candidate that passes, not the highest scorer.
  6. Pin the version, keep the eval set, and revisit when something new ships.

Step five is where most of the money is saved, and it is the step people skip, because choosing the strongest model feels safer than choosing the sufficient one. On a per-request basis, over a year, it usually is not.

Häufige Fragen

Should I always use the most capable model available?
No. It is the right default while you are still discovering what the task needs, because it removes model quality as a variable. Once the task is understood, most traffic is usually handled correctly by something smaller, cheaper and faster.
How much context do I actually need?
Measure your real inputs at the 95th percentile rather than the maximum you can imagine. Teams routinely select for a context size they use a few times a month and pay for it on every request through a more expensive model tier.
What is time to first token and why does it matter?
The delay before the first visible output appears. In a streaming interface a user perceives responsiveness from that moment, not from when generation finishes, so it is usually the more important latency number for interactive products.
How do I avoid being locked into one provider?
Keep prompts, tool definitions and parsing in your own code rather than in provider-specific abstractions, and keep an eval set that can be run against any candidate. Portability comes from having a way to test alternatives, not from an abstraction layer.
Is a cheaper model with a better prompt competitive?
Frequently. A smaller model with examples, a clear output schema and good retrieval often beats a larger model with a vague prompt, and it costs a fraction as much.

Quellen

  1. API pricingOpenAI
  2. PricingAnthropic
  3. Chatbot Arena: An Open Platform for Evaluating LLMs by Human PreferencearXiv
Schlagwörtermodel selectionlatencycostcontext windowroutingprocurement

Passend dazu

Analysis: getting machine-readable output from a language model, and why 'return JSON' is not a specification

Use the platform's constrained decoding or schema-enforced mode where it exists, because it makes malformed syntax impossible rather than unlikely. Then design the schema for the model: flat, few required fields, explicit enums, an explicit way to express uncertainty, and no field that requires arithmetic. Validate every response against the schema, and treat semantic correctness — right values, not just valid shape — as a separate problem that validation does not solve.

6 Min. Lesezeit

Mistral stellt Agentic Search für die komplexe Dokumentensuche vor

Mistral hat Agentic Search vorgestellt, eine Retrieval-Schicht, die es KI-Modellen ermöglicht, Informationen in komplexen Dokumenten wiederholt zu durchsuchen, zu prüfen und zu verifizieren. Das Unternehmen gibt an, dass dies die Benchmark-Genauigkeit verbessert und gleichzeitig Token-Nutzung und Latenz reduziert. Es ist über Mistral Search Toolkit und Libraries in Studio und Vibe verfügbar.

2 Min. Lesezeit

Anthropic führt den Economic-Index-Connector für Claude ein

Anthropic hat einen Connector eingeführt, mit dem jeder Claude Fragen zum Anthropic Economic Index stellen kann, der erfasst, wie KI in der Wirtschaft eingesetzt wird. Nutzer aktivieren ihn über das Connectors-Menü in claude.ai und stellen Fragen wie etwa, welche Berufe KI am häufigsten nutzen, wobei die Antworten auf den Daten des Index basieren.

1 Min. Lesezeit