# The Model Landscape and Choosing a Model

> Frontier APIs, small fast models and open-weight models each fit different jobs; choose on quality, latency, cost, privacy and license. Free notes, key...

Canonical: https://www.internhack.in/roadmaps/tracks/ai-engineer/choosing-models
Last updated: 2026-11-28

Frontier APIs, small fast models and open-weight models each fit different jobs; choose on quality, latency, cost, privacy and license.

Beginner · about 3 hours · difficulty 2/5

Learn first: [How LLMs Are Trained and Aligned](https://www.internhack.in/roadmaps/tracks/ai-engineer/how-llms-are-trained)

There is no single best model. There is the right model for a task, a budget and a set of constraints, and that choice changes every few months. Build your code so that switching models is a config change, not a rewrite.

### The landscape

- **Frontier hosted models**: the Claude, GPT and Gemini families. Strongest at reasoning, coding, long context and tool use. Usually offered in tiers: a large flagship, a balanced mid tier and a small fast tier.
- **Open-weight models**: Llama, Mistral, Qwen, Gemma, DeepSeek and others. You can run them yourself or through hosting providers. Good for privacy, offline use, fine-tuning and cost control at scale.
- **Specialized models**: embedding models, rerankers, speech-to-text, image generation, moderation classifiers.

### How to choose

1. Start with a strong model to prove the task is possible.
2. Build a small eval set (see the evaluation section).
3. Try cheaper, faster tiers and keep the smallest one that passes.
4. Consider **routing**: a small model for easy requests, a big one for hard ones.

### Other factors

Data residency and privacy terms, rate limits, context size, multimodal support, license terms for open weights, and availability on your cloud provider. Public leaderboards are a starting signal, but **your own eval on your own data** is what decides.

### Good enough to move on

You can justify a model choice for a given use case with numbers from your own small test, and your code reads the model name from configuration.

## Key concepts

- **Frontier model families and tiers**
- **Open-weight models and licenses**
- **Quality vs latency vs cost**
- **Benchmarks and leaderboards**: A signal, not a verdict
- **Model routing**
- **Data privacy and residency terms**

## Mini project

Write a comparison script that runs the same 20 prompts across three models (two hosted tiers and one open model), records latency, token usage and cost, and saves results to a CSV for review.

## Check yourself

Why is a public leaderboard score not enough to pick a model for your product?

## Free resources

- [Anthropic docs: models overview](https://docs.anthropic.com/en/docs/about-claude/models) (Anthropic)
- [OpenAI docs: models](https://platform.openai.com/docs/models) (OpenAI)
- [LMArena leaderboard](https://lmarena.ai/) (LMArena)

Previous: [Reasoning Models and Thinking Budgets](https://www.internhack.in/roadmaps/tracks/ai-engineer/reasoning-models) · Next: [Messages APIs and Provider SDKs](https://www.internhack.in/roadmaps/tracks/ai-engineer/first-api-calls)

## More in How LLMs Work (An Engineer's View)

- [Tokens and Context Windows](https://www.internhack.in/roadmaps/tracks/ai-engineer/tokens-and-context)
- [Transformers and Attention, Intuitively](https://www.internhack.in/roadmaps/tracks/ai-engineer/transformers-attention)
- [How LLMs Are Trained and Aligned](https://www.internhack.in/roadmaps/tracks/ai-engineer/how-llms-are-trained)
- [Sampling, Temperature and Determinism](https://www.internhack.in/roadmaps/tracks/ai-engineer/sampling-and-decoding)
- [Reasoning Models and Thinking Budgets](https://www.internhack.in/roadmaps/tracks/ai-engineer/reasoning-models)
- [The Model Landscape and Choosing a Model](https://www.internhack.in/roadmaps/tracks/ai-engineer/choosing-models)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [AI Engineer Roadmap](https://www.internhack.in/roadmaps/tracks/ai-engineer)
