If you've been hearing terms like "LLM," "foundation model," "transformer," and "token" but aren't sure what they actually mean — this guide is for you. We'll explain how modern AI language models work in plain English, and give you the practical knowledge to start using them for real projects without needing a machine learning degree.
What Is a Foundation Model?
A foundation model is a large AI model trained on a massive amount of data — text, code, images, audio — that can be adapted for a wide variety of specific tasks. The word "foundation" captures the idea that it serves as a base layer you can build on, rather than a single-purpose tool.
GPT-4, Claude 3, Gemini, and Llama are all foundation models. You can use them directly via a chat interface, or access them via an API to power your own applications.
What Is an LLM?
LLM stands for Large Language Model. It's a type of foundation model trained specifically on text data to understand and generate human language. The "large" refers to the number of parameters — the adjustable numerical values inside the model that were tuned during training. Modern LLMs have billions to hundreds of billions of parameters.
LLMs are the technology behind ChatGPT, Claude, Gemini, and every modern AI writing, coding, and analysis tool.
How Do LLMs Actually Work? (Simplified)
LLMs are trained by showing them enormous amounts of text and teaching them to predict the next word in a sequence. Do this billions of times across trillions of words, and the model develops a deep statistical understanding of language, facts, reasoning patterns, and even code.
When you ask an LLM a question, it doesn't "look up" the answer — it generates a response one token at a time, with each new token predicted based on everything that came before it. This is why LLMs can sometimes "hallucinate" facts: they're generating plausible-sounding text, not retrieving verified data from a database.
Key Terms You Need to Know
- Token: The basic unit an LLM processes. Roughly 0.75 words. "Hello world" = 2 tokens.
- Context window: The maximum amount of text (in tokens) an LLM can process in one go. Think of it as the model's working memory.
- Prompt: The instruction or question you give to the model.
- Inference: The act of running a model to generate a response (as opposed to training, which is the initial learning process).
- Parameters: The billions of numerical values inside a model. More parameters generally means more capability — but also more compute required.
- Fine-tuning: Training an existing foundation model further on a smaller, specific dataset to specialise it for a particular task.
- Quantisation: A technique to compress a model's parameters so it runs on less hardware, at some cost to quality.
Commercial API vs Open-Source: What's the Difference?
Commercial APIs (OpenAI, Anthropic, Google) let you access powerful models by sending your data to their servers over the internet. You pay per token. Setup takes minutes. Your data is processed by a third-party.
Open-source models (Llama, Mistral, DeepSeek) are models whose weights are freely available. You download them and run them on your own hardware. No per-token cost, no data leaves your machine, but you need to manage the infrastructure yourself.
How to Start Using AI Models Today — No Code Required
- ChatGPT (chat.openai.com) — The most accessible starting point. Free tier available. GPT-4o access with a Plus subscription ($20/month).
- Claude.ai — Anthropic's chat interface. Particularly strong for writing and analysis. Free tier with generous limits.
- Google AI Studio (aistudio.google.com) — Free access to Gemini models including the powerful Gemini 1.5 Pro. Ideal for developers.
- Ollama — For running models locally. Download at ollama.ai, then run
ollama run llama4:scoutin your terminal.
What Can You Actually Build?
With access to an LLM API, you can build:
- A customer support chatbot for your business
- A document summarisation tool that processes PDFs
- An AI writing assistant tailored to your brand's tone
- A code review bot that comments on pull requests
- A personal knowledge base you can query in natural language
All of these are achievable with a basic understanding of APIs and a few hundred lines of code. The technology has become accessible enough that a solo developer can build production-quality AI tools in days, not months.
Ready to Find Your First AI Model?
ModelFinder helps you discover the right model for your use case — with clear explanations of cost, capability, and where to get started.
Find a Model →