How to choose an LLM for your tasks and constraints

Content Product Manager at inDrive. Tair Sultanov

Brief description

How to choose AI models for specific tasks without overpaying for excess power.


Details

Level: for beginners

Language: Russian

Duration: 4:35


Lesson transcript

Hi! Today we'll look at how to choose AI models for specific tasks without overpaying for excess power.

Three axes of choice and constraints

When choosing a model, we always balance three parameters: quality, price and speed.

It is also important to consider technical and regional constraints:

  • Privacy: can your data be sent to a third-party provider's cloud?
  • Languages: how well does the model handle Russian and Kazakh (which is essential for our region)?
  • Latency: do you need an answer in a fraction of a second in real time, or is it fine to wait?

Three classes of models

  1. Flagship — for complex logic, deep reasoning and analysis of large amounts of data. They are the most expensive and slowest.
  2. Mid-tier fast — the sweet spot for price and speed. They cover most typical business tasks: classification, summarization and answers based on a knowledge base.
  3. Small (including open-source) — for simple routine operations. They can be deployed locally on your own servers and are cheap to run, but weak on complex tasks. On top of that, out of the box such models hold context worse and don't understand tasks that mid-tier and flagship models handle easily — they require serious prompt engineering and fine-tuning.

What's relevant in practice: names and pricing change every quarter, so there's no point in tying yourself to specific names forever. At the time of recording (end of November 2026), for daily work in Claude Code I use Claude Opus 5.5 — it covers most of my tasks.

For larger and more complex tasks that require a deep understanding of a huge context, there is Claude Fable 5.2 (in the ChatGPT ecosystem, the Astra line matches it in level, and the Sol line matches the Opus level).

A four-step selection method

  1. Collect 10–20 real examples of your work task.
  2. Run the same prompt on 2–3 different models.
  3. Grade each result with a binary criterion: right / wrong.
  4. Calculate the total cost of 1,000 such requests for each model.

Example comparison in practice (Demo)

Let's say we ran 10 test examples on three models:

Model classAccuracy (out of 10)Speed and costOperational nuances
Expensive (flagship)10 / 10Slowest and most expensiveMaximum quality without extra work
Mid-tier9 / 10Several times cheaper and fasterOptimal balance for production
Small (open-source)7 / 10Fastest and cheapest per tokenNo fixed subscription (pay per token via API or for your own server), plus hidden time costs for prompt engineering and fine-tuning

Cascade setup (savings without losing quality)

The optimal production architecture is a cascade:

  1. An incoming request is first handled by a cheap/mid-tier model — it quickly covers the main flow of simple and typical cases.
  2. If the model is not confident in its answer or the case falls outside the template, the request is automatically routed to an expensive flagship model, which is brought in only for complex cases.

Homework

Collect 10 real examples of your task and run them on two different models. Repeat this mini-test once a quarter: it takes only 20 minutes but lets you know exactly which model handles your product's tasks better and more cost-effectively right now.


Author
Tair Sultanov Content Product Manager at inDrive
Timecodes
0:00 Three axes of choice and constraints
0:28 Three classes of models
1:19 What's relevant in practice
2:20 A four-step selection method
2:38 Example model comparison
3:36 Cascade setup
4:12 Homework

Please take 5 minutes to leave us a review

Оставьте обратную связь