# Model

> The Model in AI is the result of training an algorithm on data, used to make predictions or generate content.

## What is a model in AI?

The program produced by training an algorithm on data. It stores learned patterns in its parameters and uses them to make predictions or generate content for new input. Models differ in size, speed, cost and quality.

- Topic: Basics
- Type: concept

## Interview questions

### What is the difference between a model and an algorithm?

The algorithm is the training method. The model is what training produces: the learned parameters that turn input into output.

### What is a model file?

It is the file that stores a model's learned weights and often its configuration. Loading it into the right runtime lets you run inference.

### Can one model do many tasks?

Yes. Large general models like LLMs handle many tasks through prompts, while smaller models are often trained for a single task.

## Related cards

- [Training](https://wonderium.dev/ai/training.md)
- [Inference](https://wonderium.dev/ai/inference.md)
- [Parameters](https://wonderium.dev/ai/parameters.md)
- [LLM](https://wonderium.dev/ai/llm.md)

---

- Level: [Artificial Intelligence](https://wonderium.dev/ai.md)
- HTML version: https://wonderium.dev/ai/model
- Last updated: 2026-11-25
