Constrange

The AI model is often the least interesting part of the system

Why production AI depends more on data pipelines, evaluation, retrieval, orchestration, latency, cost and fallback design.

Vendor demos centre the model. Benchmarks centre the model. Steering meetings ask which model you chose, as if the choice explains reliability, cost, adoption, and audit. Production centres everything else: whether the right data arrives on time, whether the join to legacy systems holds, whether evaluation catches drift before customers do, whether latency fits the workflow, whether fallback exists when the model abstains or fails.

That is not an argument against models. Models matter. It is an argument against architecture by model selection — the belief that picking the newest frontier model substitutes for ingestion design, ownership, orchestration, and the boring work of making wrong answers visible before they become incidents.

Constrange reads AI programmes as systems under constraint. The model is rarely the binding constraint. The binding constraint is usually data quality at the join, missing evaluation, or a workflow that cannot absorb two hundred milliseconds of extra latency without breaking.

Why the model gets the attention

Models are legible to executives in ways pipelines are not. A leaderboard movement is easy to discuss. A schema drift problem in the nightly extract is not. Models also ship fast in demo form — paste text, get text — which creates the illusion that production is the same activity with more users.

Procurement reinforces the focus. Licences are priced per token or seat. Vendors compete on model capability. Internal teams inherit a purchase and must retrofit everything the purchase assumed: clean identity, authoritative sources, escalation paths, logging, and humans who remain accountable when the model is wrong.

A large model box dwarfed by surrounding stages: data, retrieval, orchestration, evaluation, fallback and operations
The diagram stakeholders remember is rarely the diagram production runs.
Demo focus versus production reality
What demos optimiseWhat production requires
Fluent outputCorrect, permitted, attributable output
Single-turn interactionMulti-step workflows with state and handoffs
Curated inputsMessy joins and missing fields
Model swap as upgradeSystem regression tests across the chain
Cost abstractedCost per successful outcome, fully loaded

Data pipelines: where answers are won or lost

Models answer from what they are given. In production, what they are given is assembled by pipelines — extracts, transforms, feature stores, caches, enrichment steps, and manual corrections nobody documented. When the pipeline is late, the model is confidently wrong with fresh wording. When the pipeline duplicates records, the model reconciles contradictions by inventing a third truth.

Strong programmes instrument pipelines with the same seriousness as model metrics: freshness SLAs, null rates, anomaly detection on inputs, reconciliation when sources disagree, and explicit ownership when a field's definition changes. The model cannot fix a join that operations stopped trusting years ago.

  • Lineage: which source field produced which model input
  • Freshness: maximum age per input class tied to decision risk
  • Quality gates: block inference when inputs fail validation
  • Idempotency: replays do not double-charge or double-act
  • Shadow comparisons: old pipeline versus new pipeline before cutover

Retrieval and context assembly

Even when the model is capable, the system may retrieve the wrong paragraph, the superseded policy, or a chunk the user is not permitted to see. Context assembly — what enters the prompt, in what order, with what instructions — often determines outcomes more than a incremental model release.

Retrieval programmes need ranking, permissions, deduplication, and abstention when nothing relevant returns. Teams that treat retrieval as 'embeddings plus vector DB' discover the gap at go-live, when users ask about the one regulation number semantic search handles poorly.

Orchestration: the work between prompts

Production AI is rarely one call. It is classify, retrieve, validate, generate, check, route, and maybe call a tool — with retries, timeouts, and compensating actions when a step fails. Orchestration encodes business rules the model should not be trusted to infer: approval thresholds, prohibited actions, mandatory human review, and which system is system of record.

State and side effects

Agents that update tickets, move money, or change records need transactional boundaries. A clever plan that fails halfway through is not a demo inconvenience. It is an operations incident. Orchestration must define what is reversible, what requires confirmation, and what never runs without a human latch.

Tool access is a security surface

Every tool connection is permission design. The model becomes a proxy for whoever owns the runtime credentials. Architecture must constrain tools, log invocations, and reject actions that violate policy — not rely on prompt politeness.

“The model proposes. Orchestration disposes — or refuses, or escalates, or rolls back.”Constrange

Latency, cost, and workload shape

A model that answers in three seconds may be unusable in a call centre workflow that allows one. A model that answers in three hundred milliseconds may be unusable if each answer costs more than the margin on the transaction it supports. Production design starts from workload shape: peak concurrency, acceptable wait, budget per successful outcome, and what can be precomputed or cached.

Cost optimisation is not only smaller models. It is routing easy queries to cheaper paths, caching stable retrievals, batching where real time is unnecessary, and refusing to generate when retrieval confidence is low. Programmes that measure cost per API call instead of cost per resolved case optimise the wrong number.

Constraints that models do not remove
ConstraintTypical owner
Latency budgetWorkflow and channel design
Unit economicsProduct and finance
Peak loadPlatform and capacity planning
Fallback capacityOperations and support
Regulatory loggingRisk and compliance

Evaluation: the discipline demos skip

Without evaluation, improvement is opinion. With weak evaluation, teams chase benchmark wins while incident volume rises. Production evaluation combines offline golden sets — grounded questions with expected answers — with online monitoring: escalation rates, human correction frequency, abstention patterns, and user outcomes that operations recognise as success.

Evaluation must survive model swaps. If your tests break every time you change model version, you are testing the model, not the system. System-level tests cover retrieval, tools, permissions, and orchestration — the parts that persist across vendors.

  1. Define success in operational terms, not model terms
  2. Separate retrieval failures from generation failures in incident review
  3. Track regressions when any layer changes — not only when the model changes
  4. Publish thresholds that trigger rollback or human takeover
  5. Review wrong answers with lineage, not blame

Fallback design: what happens when the model fails

Models fail openly — timeouts, refusals, nonsense — and quietly — plausible wrong answers. Fallback design covers both. Open failures need retry logic, degraded modes, and clear user messaging. Quiet failures need evaluation, sampling, and humans in the loop where the cost of being wrong exceeds the cost of review.

The worst fallback is 'always show an answer' because the UI requires text. That trains users to distrust the system and hides the signal that retrieval or inputs are broken. Better fallbacks route to search, forms, or people — and measure when those paths activate.

Ownership across the chain

Model teams rarely own the CRM extract, the policy wiki, or the approval workflow. Production AI without cross-functional owners becomes a platform project that operations tolerate. Name owners for data freshness, retrieval quality, orchestration rules, evaluation thresholds, and incident response — before scaling traffic.

When something goes wrong in public, executives ask about the model. Root cause usually lives two boxes left on the diagram. Organisations that learn slowly repeat the same upgrade cycle without fixing the join.

A production-first sequencing

  1. Define the decision, non-goals, and cost of being wrong
  2. Instrument inputs and retrieval before tuning prompts
  3. Build orchestration with explicit prohibitions and audit logs
  4. Add evaluation that survives model changes
  5. Scale traffic only when fallback and ownership are real

Choosing the model is a step in month two, not a substitute for month one.

Questions for your next architecture review

  • If we swap models tomorrow, what breaks besides prompts?
  • What input freshness does this decision require — and who owns it?
  • Where does the system abstain, and where does it escalate?
  • What does a wrong answer cost — and how do we detect it early?
  • What is the fully loaded cost per successful outcome, not per token?

If the room can only discuss model names, the programme is optimising the least interesting part of the system — and the most expensive surprises remain unpriced.

Frequently asked questions

Should we wait for better models before building?

No — build the data, orchestration, and evaluation layers now. They persist across model generations.

How much should we spend on the model versus infrastructure?

Spend enough that unit economics work at expected volume. Often the larger cost is bad inputs, rework, and incidents — not the licence line.

Can a better prompt fix pipeline problems?

Prompts can mask small gaps. They cannot fix stale data, wrong retrieval, or missing permissions reliably.

Who should own production AI?

A shared model: product or operations accountable for outcomes, platform for runtime, data for inputs, risk for constraints — not a single 'AI team' in isolation.

Share

LinkedInXWhatsAppFacebookRedditBlueskyEmail
Keep reading

Related posts