AI Engineer Interview Question

How do you choose which model to use for a feature?

What the interviewer is probing, how to structure your answer, and a spoken example you can adapt.

Quick answer

Start from the requirements: the quality bar, the latency budget, cost per request at expected volume, context length, and any privacy or data residency constraints. Shortlist a few models, then run them against your own evaluation set rather than relying on public benchmarks. The answer is often a mix, with a small fast model for routing or simple cases and a larger one for hard requests. Pin versions and keep the choice configurable.

Why interviewers ask this

Model choice drives quality, cost and latency at once, and the interviewer wants to see that you treat it as an engineering decision backed by your own data rather than loyalty to a provider or a leaderboard. They listen for constraints beyond quality, such as privacy, availability and rate limits, and for the idea of routing between models. Building in the ability to switch shows you expect the landscape to keep moving.

How to structure your answer

  • List the requirements that constrain the choice.
  • Shortlist, then test on your own evaluation set.
  • Consider routing between a small and a large model.
  • Pin the version and keep the model configurable.

Example answer

Spoken example, first person

I start from the constraints, not the models. What quality do we need, what latency will users tolerate, how many requests a day, what can we afford per request, and is there anything about the data, like it must stay in a particular region, that rules options out. That usually leaves three or four candidates. Then I run each one against our evaluation set, because public benchmarks measure general ability and our task is specific. I look at quality on the cases we care about, latency at the tail rather than the average, and cost at realistic volume. Quite often the answer is two models. On a document triage feature, a small model handled most requests well, so we routed by difficulty and sent only the hard ones to the larger model, which cut costs a lot without hurting the hard cases. I pin exact model versions so behaviour does not shift under us, and keep the model behind configuration, because a better or cheaper option will appear within months and switching should be an evaluation run, not a rewrite.

Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.

See how it works

Follow-up questions to expect

  • How would you decide which requests go to the smaller model?
  • When would you host an open weights model yourself instead of using an API?
  • How do you handle a provider outage for a model you depend on?

Related ai engineer questions

Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.

Predict my questions

Rehearse the hard questions before they are asked

Practise with a live copilot, then walk in ready. A $29 Session Pass gets you through the interview with no subscription and no lock-in.

Get GhostPilot