QuestionQ62

VerifiedImplement generative AI and agentic solutions

You have a Microsoft Foundry project that serves a high-volume chat application. Most of the requests are simple FAQs, but some require advanced reasoning.

You need to reduce cost and latency for the common queries without degrading the quality of responses to the complex questions.

What should you do?

Explanation

A model cascade (model routing) evaluates each request and forwards simple queries to a small, fast, inexpensive model while escalating requests that need advanced reasoning to a larger, more capable model, so common FAQ traffic is served cheaply and quickly while complex questions still reach a capable model, preserving their answer quality. Routing every request to a smaller model would degrade the complex answers, routing everything to the most capable model keeps cost and latency high even for simple queries, and increasing max_tokens changes how much output a response can contain, not which model handles the request or its cost and latency profile.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!