All jobs / AI engineer / LLM APIs

AI engineer interview question · 5+ years

The assistant’s p95 response time is 9 seconds. Product wants it under 3 and asks you for a date.

What are your levers, in what order, and what do you promise?

The strongest answer

Measure where the time goes first. Then shorten the output, stream, trim or cache the prompt, send easy requests to a smaller model — and promise a date only after the eval set shows the quality cost

Why it works

Exactly — output is generated token by token, so the length of the answer often dominates, but you only know after measuring. Every lever trades quality, and the eval set is how you price it.

What a good answer covers

Answers that fall short

Who gets asked this

More LLM APIs questions