Interview Process & Behavioral·Question 14 of 56Intermediate

How do you decide between building in-house, buying a vendor product, and calling a model API?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

What they're probing: engineering judgment and business sense - whether you make this call with a framework or by resume-driven development. It's also a seniority test: juniors default to building; seniors ask what's differentiating.

Full worked answer with diagram

What they're probing: engineering judgment and business sense - whether you make this call with a framework or by resume-driven development. It's also a seniority test: juniors default to building; seniors ask what's differentiating.

Strong answer structure: state your framework, then immediately ground it in a real decision you made - including one where you decided against building. Framework dimensions worth naming: is this capability core to our differentiation; do we have the data advantage to beat the vendor; total cost of ownership including evals and maintenance, not just build time; switching costs and vendor risk; time-to-signal.

Example sketch: "My default: API for intelligence, build the layers that touch our data and users, buy only where a vendor's whole business is the problem. Concretely: for our doc-processing product, we called frontier APIs for the extraction itself - no data moat that justified training. We built the eval harness, retrieval, and orchestration, because those encode our domain and are the durable asset. We evaluated buying a RAG-in-a-box vendor and declined after a two-week bake-off: it demoed beautifully but we couldn't inspect retrieval failures, and being unable to debug your core loop is an unacceptable operational position. One reversal: we initially built our own observability, then migrated to a vendor once the market matured - maintaining it was costing a day a week and differentiated nothing."

Pitfalls: ideology in either direction ("never trust vendors" / "never build"); ignoring maintenance in build costs - the build estimate that omits evals, on-call, and upgrades is off by 3x; no story where you killed your own preference; forgetting switching costs and what happens when the vendor deprecates, pivots, or gets acquired.

Worth sketching. Drawing the branch conditions stops the answer sounding like ideology and shows the call is repeatable.

flowchart TD
    A["New capability"] --> B{"Core to our<br/>differentiation?"}
    B -->|"no"| C{"Is a vendor's whole<br/>business this problem?"}
    C -->|"yes"| D["Buy"]
    C -->|"no"| E["Call a model API"]
    B -->|"yes"| F{"Data advantage<br/>a vendor cannot match?"}
    F -->|"no"| E
    F -->|"yes"| G["Build, and budget for evals,<br/>on-call and upgrades"]

What a good answer covers

  • What they're probing: engineering judgment and business sense - whether you make this call with a…
  • It's also a seniority test: juniors default to building; seniors ask what's differentiating
  • Strong answer structure: state your framework, then immediately ground it in a real decision you made -…
  • Framework dimensions worth naming
  • Example sketch: "My default: API for intelligence, build the layers that touch our data and users, buy…

Key terms: What they're probing · Strong answer structure · Example sketch · Pitfalls

Interviewer follow-ups to expect

  1. When would fine-tuning your own model beat a frontier API?

  2. Tell me about a build/buy call you got wrong.

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep