Blog · Essay · build vs buy vs integrate

build vs buy vs integrate: The hidden cost of stitching third‑party AI components

When I read the announcement that bolttech, AWS and Bain are partnering to scale agentic AI in insurance (2026‑12‑02) news I saw a familiar pattern: a headline‑grabbing partnership, a promise of rapid AI rollout, and a missing piece – the gritty work of integration. The press release celebrates the partnership, but it says nothing about the hidden engineering debt that surfaces when you stitch together a third‑party model, a data pipeline, and legacy underwriting systems.

In the next 20‑plus minutes I’ll walk you through the exact failure points I observed on two separate insurance pilots, the checklist I use on Mondays to surface integration risk, and the concrete steps you can take today to avoid a costly re‑work.


1. Why “just plug‑in ChatGPT” never works for end‑to‑end processes

Most CEOs start a AI project with a simple question: *Can we just use ChatGPT (or another off‑the‑shelf model) to answer underwriting questions?* The answer is always “yes, technically”. The reality is that the model lives in a vacuum – it knows nothing about your policy definitions, risk rules, or compliance checks. When you try to embed it into a real workflow the following cracks appear:

  1. Data schema mismatch – The model expects free‑form text, but your policy data lives in relational tables with complex foreign‑key relationships. Mapping these on‑the‑fly adds latency and error‑prone code.
  2. Regulatory guardrails – In Singapore and many other jurisdictions, AI‑generated decisions must be auditable. Off‑the‑shelf models do not emit traceable provenance metadata.
  3. Latency & SLA breach – A generic model hosted on a public endpoint can’t guarantee the sub‑second response time required for real‑time quote generation.
  4. Vendor lock‑in – Relying on a single API means you are at the mercy of price changes, rate‑limit policies, and future deprecation.

The result is a classic “build vs buy vs integrate” dilemma that quickly turns into a integration nightmare.


2. Real‑world failure: The “quick‑win” underwriting pilot

A mid‑size insurer in Singapore hired a boutique AI vendor to replace manual underwriting with a generative model. The plan was simple:

*Buy* the vendor’s pre‑trained model → *Integrate* via a thin API layer → Deploy to production in six weeks.

What actually happened:

  • Week 2 – Data engineers discovered that the model required a flattened JSON payload, but the insurer’s policy engine emitted nested XML. The transformation layer grew from 200 to 1,200 lines of code, introducing parsing bugs.
  • Week 4 – The compliance team flagged that the model’s output could not be linked back to the original policy fields, violating MAS audit requirements.
  • Week 5 – Latency spiked to 2.3 seconds per request because the API call traversed three cloud regions.
  • Week 6 – The vendor announced a price increase for the API tier needed to meet the latency demand, blowing the budget.

The pilot was scrapped. The insurer spent $250k on engineering time and still had no usable product.


3. What I inspect on Monday: The integration health‑check

When I sit down with a CEO’s office on a Monday, I run a 5‑point health‑check that surfaces hidden integration risk before any code is written.

#CheckWhat I look for
1Data contract clarityA signed schema agreement (field names, types, versioning) between the AI vendor and the internal system owners.
2Compliance metadataDoes the model emit a trace ID, input snapshot, and decision rationale that can be stored in the audit log?
3Latency budgetMeasured end‑to‑end latency at the API gateway level, with a 20 % headroom for peak load.
4Cost modelClear per‑call pricing, tier thresholds, and a “cost‑per‑transaction” forecast aligned to projected volume.
5Exit strategyA documented plan to replace or detach the vendor model without breaking downstream processes.

If any of these items are missing, I recommend pausing the project and filling the gap before any integration work begins.


4. When to build your own model

Building from scratch is rarely the default, but it becomes the right choice when:

  • Domain‑specific knowledge is core to competitive advantage (e.g., actuarial risk scoring). Off‑the‑shelf models lack the nuance.
  • Regulatory auditability is non‑negotiable. You can embed provenance hooks directly into your training pipeline.
  • Latency and cost constraints are tight. A custom model can be hosted on‑prem or in a dedicated VPC, eliminating third‑party network hops.
  • Data sovereignty requirements prevent you from sending raw policy data to external APIs.

The upside is higher engineering effort up front, but the downstream integration cost drops dramatically because you own the contract and the runtime environment.


5. When to buy a vendor solution

Buying still makes sense when:

  • The use case is generic (e.g., sentiment analysis of customer chats) and does not require deep domain expertise.
  • You have strong SLAs from the vendor that align with your internal performance targets.
  • The vendor provides built‑in compliance features such as data residency options and audit logs.
  • You can sandbox the model quickly to validate ROI before committing to a full rollout.

In these scenarios, the integration effort is limited to a thin adapter layer, and the primary risk is vendor lock‑in, which you mitigate with a clear exit plan.


6. When to integrate a hybrid solution

Hybrid integration is the sweet spot for many CEOs:

  • Core risk engine stays in‑house (built or legacy) while a third‑party model handles auxiliary tasks like document summarisation or chat‑based customer support.
  • You use model orchestration platforms (e.g., LangChain, Azure OpenAI) to route requests based on business rules.
  • Data never leaves your secure zone – only feature vectors are sent to the vendor, preserving privacy.

The key is to treat the integration as a product: version the API contracts, automate contract testing, and embed observability from day one.


7. Monday‑to‑Friday roadmap for a stalled pilot

Assume you are three weeks into a pilot that has hit the integration wall. Here’s a concrete week‑long plan:

Monday – Run the 5‑point health‑check. Document gaps in a shared Confluence page.

Tuesday – Convene a triage meeting with data engineering, compliance, and the vendor. Prioritize the top two gaps (usually data contract and latency).

Wednesday – Implement a contract‑first API using OpenAPI spec. Generate stubs for both sides and run contract tests.

Thursday – Deploy a canary of the integration in a sandbox environment. Capture latency, error rates, and audit logs.

Friday – Review metrics with the CEO. If latency < 800 ms and audit logs are complete, green‑light a phased rollout. If not, decide whether to build the missing piece in‑house or renegotiate the vendor contract.


8. The broader strategic lens

From a CEO’s perspective, the *build vs buy vs integrate* decision is not just a technical trade‑off; it’s a signal of where you intend to create defensible value. If the AI component is a core differentiator, invest in building and owning it. If it’s a support function, buying and integrating is faster and cheaper – provided you have the integration guardrails in place.

The hidden cost of stitching together third‑party AI is not just dollars; it’s time‑to‑market, operational risk, and future flexibility. Treat integration as a first‑class deliverable, and you’ll avoid the costly re‑work that derailed the two pilots I described.


FAQ

What is the biggest surprise when integrating third‑party AI?

The amount of data transformation code required. A mismatch between your internal schema and the model’s expected payload can double the codebase and introduce silent bugs.

How can I ensure compliance when using an external model?

Require the vendor to emit a trace ID and input snapshot for every inference, and store these alongside the decision in your audit log. Verify this in a contract test.

When does building in‑house become cheaper than buying?

When the annualized cost of API calls (including latency penalties) exceeds the total cost of ownership of a custom model over a 2‑3 year horizon, and when domain expertise is a competitive moat.

Can I start with a buy and later switch to build?

Yes, but only if you have an exit strategy documented from day one. Version your API contracts and keep the data pipelines modular so you can swap the model without a full rewrite.

How do I budget for integration risk?

Add a contingency buffer of 20‑30 % of the vendor license cost to cover engineering effort, testing, and potential re‑architecture.


If you’re standing at the crossroads of *build vs buy vs integrate* and need a pragmatic plan tailored to your organization, let’s talk. I’m happy to walk through your specific constraints and sketch a roadmap that avoids the pitfalls I’ve outlined.

Book a discovery call or explore more insights on my homepage.

In the market

Headlines this post is responding to — not invented stats.