Skip to main content

What Is an LLM? Large Language Models, Costs, Tests

What is an LLM? Large language models explained, with a cost check across 208 current models: 10,000 emails cost $0.11 to $234.00. Plus limits and tests.

FHFinn Hillebrandt
Last updated:
Basics
What Is an LLM? Large Language Models, Costs, Tests

A large language model (LLM) is an AI model trained on enormous amounts of text and specialized in predicting the next piece of text. From that one ability come answers, summaries, translations and code. “Large” refers to the number of parameters, the numbers learned during training, which in today's models run into the billions.

The easiest way to picture it is autocomplete. It guesses not just the next word on your phone keyboard, but whole paragraphs that fit the text so far, because the model has seen a large share of everything written on the internet. Type “The capital of France is” and “Paris” is the most likely continuation, which is exactly what the model returns.

If the basic idea is that simple, why does a model sometimes invent sources? The answer lies in how it works. For a ranking of current models, see the model directory and the LLM comparison.

And what does it cost? The same task costs very different amounts depending on the model. We calculated it for all 208 current models with an API price. 10,000 customer emails (about 300 input tokens and 80 output tokens each, the example from section 6) cost $0.11 with the cheapest model, Ling 3.0 Flash, and $234.00 with the most expensive, GPT-5.5 Pro. That is a factor of about 2,063. The eight most popular models fall in between:

Claude Haiku 5.5Anthropic
Input per million tokens
$0.10
Output per million tokens
$0.50
10,000 emails
$0.70
GPT-6 LunaOpenAI
Input per million tokens
$0.10
Output per million tokens
$0.50
10,000 emails
$0.70
GPT-6.1 TerraOpenAI
Input per million tokens
$1.00
Output per million tokens
$5.00
10,000 emails
$7.00
GLM-5.3Z.ai
Input per million tokens
$1.40
Output per million tokens
$4.40
10,000 emails
$7.72
Gemini 4 ArgonGoogle DeepMind
Input per million tokens
$2.00
Output per million tokens
$10.00
10,000 emails
$14.00
GPT-6.1 SolOpenAI
Input per million tokens
$2.00
Output per million tokens
$10.00
10,000 emails
$14.00
Kimi K3Moonshot AI
Input per million tokens
$3.00
Output per million tokens
$15.00
10,000 emails
$21.00
Claude Opus 5.5Anthropic
Input per million tokens
$4.00
Output per million tokens
$20.00
10,000 emails
$28.00
Own calculation from model prices
gradually.ai

1. LLM, ChatGPT and chatbot: the difference

The three terms are constantly mixed up, yet they describe different layers.

The modelLLM
The language model itself, meaning the trained parameters.
GPTClaudeGeminiLlama
The productChatbot
A product with a chat window that wraps an LLM and often adds tools such as web search or file upload.
ChatGPTclaude.aithe Gemini app
The small variantSLM
A small language model with fewer parameters that often runs on your own device.
Llama 3.2 1BQwen 2.5 0.5B
Own classification

So when you say “ChatGPT”, you mean a product. The model underneath can change without the name changing. For an overview of products, see the guide to AI chatbots.

2. LLM or search engine?

An LLM is not a search engine, even though both answer questions. The difference decides when you use which:

What you get
Search engine
Links to pages that exist
LLM
A newly written text
Where the knowledge comes from
Search engine
An index of web pages that is updated continuously
LLM
The training data up to its cutoff, plus material you attach or a web search supplies
Sources
Search engine
Every result has an address
LLM
Only if they are in the context. Otherwise the model can invent sources
Typical error
Search engine
Results do not match the question
LLM
A fluent but wrong answer
Strong at
Search engine
Looking up facts, current news, finding specific pages
LLM
Rewriting, summarizing, translating, drafting, code, analyzing material
Own assessment

How expensive the mix-up can get is shown by Mata v. Avianca. In 2023 a New York lawyer told the court he had wrongly taken ChatGPT for a “super search engine”. The opinions he had filed did not exist, and the court imposed a $5,000 penalty. Our DOI test (section 7) shows the same pattern with invented studies.

3. How does an LLM work?

3.1 Tokens: the building blocks

An LLM does not read words but tokens. These are pieces of text, often a whole short word or a part of a word. Long or rare words are split into several tokens. Google gives a rule of thumb for its Gemini models of about four characters per token, with 100 tokens equal to about 60 to 80 English words. For other languages such as German this is only a rough estimate, and you can count exactly with the token counter.

Because the model sees tokens rather than single letters, it stumbles over tasks like counting letters. In a test gradually.ai ran on November 7, 2026, 5 models had to count how often “e” appears in the German word “Erdbeermarmelade” (strawberry jam, correct answer: 5). DeepSeek V4.1 Flash gave the right number in 0 of 3 attempts. All results are in the entry on tokens.

3.2 Predicting the next token

At each step the model computes a probability for every possible next token. One token is then drawn, appended to the text, and the whole process starts again until the answer is complete.

Step 1: The text is split into tokens (example split, real tokenizers differ by model).

The weather today is very

Step 2: The model scores every possible next token (example values for illustration).

good
38%
nice
24%
bad
14%
changeable
9%
other tokens
15%

Step 3: One token is drawn from this distribution and appended, and the loop starts again.

Because the model does not always take the single most likely token but draws from the distribution (sampling), answers to the same question vary. You control how much with temperature, top-p and top-k.

3.3 Transformers and attention in plain words

The architecture behind practically all of today's LLMs is the transformer, introduced in the 2017 paper “Attention Is All You Need”. First, the model turns every token into a long vector of numbers, a so-called embedding. Words with similar meanings end up in similar places. The core piece is the attention mechanism, which lets the model weigh, for every token, which other tokens in the text matter right now. In “The cat chased the mouse because it was hungry”, the model has to work out what “it” refers to, and attention helps it make that connection across many tokens.

How many tokens a model can look at once is set by its context window. What it knows about the world ends at its knowledge cutoff.

Where does the model get those probabilities in the first place? From training.

4. How an LLM is trained

Modern models go through several stages:

  1. Pretraining: The model reads huge amounts of text from books, websites and code and learns to predict the next token. This is where language and world knowledge come from. The right answer is in the text itself, so nobody has to label the data by hand. It is the most expensive step. Meta trained its largest Llama 3 model, with 405 billion parameters, on up to 16,000 H100 GPUs.
  2. Instruction tuning: The model is trained further on examples of questions and good answers so that it follows instructions instead of just continuing text.
  3. Reinforcement learning: People or other models rate answers, and the model learns to prefer more helpful and safer ones. For reasoning models this is also how step-by-step thinking is trained. The 2022 InstructGPT paper describes the basic idea of learning from feedback.

Why do models keep getting bigger? A 2020 study found that a language model's error falls along a power law as model size, data and compute grow. A follow-up study from 2022 used the Chinchilla model to show that size and data should grow at the same rate. Chinchilla, with 70 billion parameters, beat the four times larger Gopher on the same compute budget because it was trained on four times as much data.

If you want to tailor a finished model to a task or style, you can adapt it afterwards, see the entry on fine-tuning.

5. Types of LLMs

“Which types are there?” has no single answer, because models differ along several independent axes.

Access
Variants
Closed or open weights
What it means for you
You use closed models through a service or API. Open weights can be downloaded and run yourself, though the license sets limits on use.
Thinking
Variants
Standard or reasoning
What it means for you
Reasoning models work through longer chains of thought before answering. That helps with math, logic and code but costs more tokens and time.
Inputs
Variants
Text only or multimodal
What it means for you
Multimodal models also process images, audio or video.
Design
Variants
Text generator (like GPT) or text reader (like BERT)
What it means for you
GPT models generate text token by token from left to right, and chatbots build on them. Models like BERT read text in both directions and mainly serve search and classification.
Architecture
Variants
Dense or mixture of experts (MoE)
What it means for you
An MoE model activates only part of its parameters per token, so it is faster and cheaper to run at similar quality.
Size
Variants
Small (SLM) or large
What it means for you
Small models run locally and cost little, large ones solve harder tasks more reliably.
Own classification

For an overview of open models, see the guide to open-source LLMs.

6. Worked example: summarizing a customer email

This is what a typical task looks like. The example is constructed to show how the model works, and the output does not come from a particular model run.

text
Summarize the following customer email in two sentences and tell me
what I need to do next.

Email: "Hello, my order from October 28 has not arrived. According to
tracking, the parcel has been in the distribution center for four
days. I need the contents by Friday for a gift. Can you help me or
refund the order?"
text
Example answer:
The customer has been waiting four days for a delivery stuck in the
distribution center and needs it by Friday.
Next step: Check the status with the carrier and offer the customer a
solution today, either a replacement shipment or a refund.

This works because the whole text is in the context. The model does not need to “know” anything, it only has to reshape, and tasks like this are where LLMs are most reliable. It gets harder as soon as the model has to know something that is not in the text.

7. Limits of LLMs

  • Hallucinations: An LLM produces plausible-sounding text, not verified truth. When it lacks a fact, it often fills the gap with something that fits. In a test gradually.ai ran on November 7, 2026, GPT-6.1 Terra and Llama 3.1 8B Instruct named three studies with DOIs without web search in the German run, and not a single DOI was correct. More in the entry on hallucination.
  • Outdated knowledge: Anything after the cutoff is known only through tools such as web search.
  • Limited context: Very long inputs are sometimes evaluated less well. The 2023 study “Lost in the Middle” found that models use information from the middle of long inputs less well than information at the start or end.
  • Bias: The model mirrors its training data.
  • Unreliable self-reports: What a model says about itself or its abilities is also predicted text.

Two prompts show the difference for hallucination, again as an illustration.

Knowledge from memory or from context
Instead“Name three studies showing that coffee improves concentration, with links.”
The model may return invented titles and links that look real.
Better“Summarize the three studies in the attached PDF and cite the page for each.”
The sources are in the context, so the model can point to them. Spot checks are still worthwhile.
Own classification

Give the model the material instead of letting it work from memory, and check every number, quote and source you reuse. That is the most useful rule of thumb. For causes and kinds of hallucination, see the 2022 survey in the sources.

8. How to use LLMs

  • Chat: The simplest route through ChatGPT, Claude, Gemini and others. Good prompts make the biggest difference.
  • API: Developers build the model into their own software and pay per token.
  • RAG: Retrieval-augmented generation fetches matching documents from a knowledge base before answering and places them in the context window. The model then answers from your data instead of from memory.
  • Agents: The model calls tools, reads files and works through several steps on its own.
  • Local: Small open models run on your own computer, so no data leaves the device.

In everyday life you meet LLMs mostly in these tasks. The instructions are examples:

Summarizing
Example instruction
“Summarize this email in two sentences.”
What to check
Check figures and names against the original
Rewriting
Example instruction
“Make this paragraph friendlier without changing the content.”
What to check
Is the tone right, are the facts unchanged?
Translating
Example instruction
“Translate this into German for a business contact.”
What to check
Check technical terms and the form of address
Drafting
Example instruction
“Draft a reply to this complaint and offer a refund.”
What to check
Treat it as a draft, never send it unchecked
Explaining
Example instruction
“Explain the difference between gross and net with an example.”
What to check
For tax, legal and health questions only as orientation
Code
Example instruction
“Explain what this function does and suggest tests.”
What to check
Run and test it
Analyzing
Example instruction
“Which three complaints appear most often in this email list?”
What to check
Spot-check against the data
Own assessment, examples

9. What LLMs cost

Chatbots come as a free version and as subscriptions. Through the API you pay per million tokens, separately for input and output, and output tokens usually cost more. Prices vary widely by model, and reasoning models add thinking tokens. Current prices are in the LLM price index, and you can run your own numbers with the API cost calculator.

How big the gap gets is shown by the table at the start of this entry. For a plain summary, a cheaper model is often enough.

10. Which LLM fits you?

  • To get started, a chatbot subscription or the free version from a large provider is enough.
  • For code, research or long documents, look at the benchmarks in the LLM comparison.
  • For many simple API requests, cheap small models are often enough.
  • For confidential data, check privacy and hosting, or run an open model locally.

11. Well-known LLMs at a glance

The table lists models with their parameter counts, filterable by developer, size and model type. Many providers do not publish the size of their current models, so those rows read “Unknown”. Current prices and benchmarks are in the model directory.

20 of 306 models
Kimi K3.1 Pro

Moonshot AI

Parameters:
2.8T
Active:
MoE(104B active)
Type:Open Weights
Released:Oct 23, 2026

Moonshot describes the model as 3T-class. The model card on Hugging Face lists 2.8 trillion total and 104 billion active parameters. The weights are available under the own Kimi K3.1 Pro License, which attaches conditions to some commercial use.

Kimi K3

Moonshot AI

Parameters:
2.8T
Active:
MoE(104B active)
Type:Open Weights
Released:Jul 16, 2026

2.8T total, 104B active, 896 experts with 16 active experts per token, KDA hybrid linear attention, native vision, and a 1,048,576-token context window. Model weights are published.

Qwen 3.8 2.4T A95B

Alibaba

Parameters:
2.4T
Active:
MoE(95B active)
Type:Open Weights
Released:Aug 12, 2026
Qwen 3.8 Max 0902

Alibaba

Parameters:
2.4T
MoE:
MoE
Type:Proprietary
Released:Sep 2, 2026

The Qwen3.8-Max-0902 snapshot released September 2, 2026 improves coding, long-horizon autonomous development, agent collaboration, and visual analysis. Alibaba describes Qwen3.8-Max as a 2.4T-parameter MoE model. Its documentation does not publish an active parameter count for the 0902 snapshot and confirms a 1M-token context window.

Claude 3 Opus

Anthropic

Parameters:
2T*
Type:Proprietary
Released:Mar 2024

Analyst estimate: ~2T parameters

Llama 4 Behemoth

Meta

Parameters:
2T
Active:
MoE(288B active)
Type:Open Weights
Released:Apr 2025

Announced but not yet released; 16 experts, ~2T total

GPT-4

OpenAI

Parameters:
1.76T*
Active:
MoE(220B active)
Type:Proprietary
Released:Mar 2023

Leaked: 8x220B experts MoE, ~1.76T total parameters

DeepSeek-V4-Pro

DeepSeek

Parameters:
1.6T
Active:
MoE(49B active)
Type:Open Weights
Released:Apr 24, 2026

1.6T total, 49B active, 1M context, CSA+HCA attention, MIT-licensed

LongCat 2.0

Meituan

Parameters:
1.6T
Active:
MoE(48B active)
Type:Open Weights
Released:Jun 30, 2026

Open-weights MoE with 1.6T total parameters, about 48B active parameters, and a 1M-token context window.

Mistral Large 4

Mistral AI

Parameters:
1.05T
Active:
MoE(52B active)
Type:Open Weights
Released:Oct 6, 2026

API preview. Weights are announced for the end of October 2026. The launch post and the model page both list 52 billion active parameters. Mistral advertises 1M tokens of context; OpenRouter documents 524,288 tokens.

Ring 2.6 1T

inclusionAI

Parameters:
1T
Active:
MoE(63B active)
Type:Open Weights
Released:May 14, 2026
Kimi K2.5

Moonshot AI

Parameters:
1T
Active:
MoE(32B active)
Type:Open Weights
Released:Jan 2026
Kimi K2 Thinking

Moonshot AI

Parameters:
1T
Active:
MoE(32B active)
Type:Open Weights
Released:Nov 4, 2025
Kimi K2 0711

Moonshot AI

Parameters:
1T
Active:
MoE(32B active)
Type:Open Weights
Released:Jul 11, 2025
Kimi K2 0905

Moonshot AI

Parameters:
1T
Active:
MoE(32B active)
Type:Open Weights
Released:Sep 5, 2025
Kimi K2.6

Moonshot AI

Parameters:
1T
Active:
MoE(32B active)
Type:Open Weights
Released:Apr 20, 2026

1T total, 32B active, 384 experts (8 routed + 1 shared), 262K context, native INT4, Modified MIT

Kimi K2.7 Code

Moonshot AI

Parameters:
1T
Active:
MoE(32B active)
Type:Open Weights
Released:Jun 2026

1T total, 32B active, 256K context, thinking always enabled

Qwen 3.6 Max-Preview

Alibaba

Parameters:
1T*
MoE:
MoE
Type:Proprietary
Released:Apr 2026

Sparse MoE (~1T total), 262K context, integrated thinking mode, API-only

Yi-Large

01.AI

Parameters:
1T
MoE:
MoE
Type:Proprietary
Released:May 2024

MoE with ~1T total parameters

MiMo-V2.5-Pro

Xiaomi

Parameters:
1T
Active:
MoE(42B active)
Type:Open Weights
Released:Apr 27, 2026

1T total parameters, 42B active parameters, and a 1M context window.

* Estimate, not confirmed by the developer

Source: developer figures, linked per model
gradually.ai

Frequently Asked Questions

AI is the umbrella term for systems that reproduce intelligent behavior. An LLM is one kind of AI: a very large neural network that processes and generates language. Every LLM is AI, but most AI is not an LLM. A spam filter or an image classifier is not. The nesting is shown in the entry on artificial intelligence.

Strictly speaking, no. ChatGPT is a chatbot, a product with an interface, memory and tools. Underneath it run LLMs from OpenAI's GPT family. In everyday talk the two are often treated as the same thing, which is fine for most questions.

LLM stands for large language model. “Large” refers to the number of parameters, the numbers learned during training, and to the amount of training data. There is no fixed size at which a language model counts as large.

Yes. LLMs explain code, write functions, find bugs, write tests and translate between programming languages, and coding agents can edit whole projects. Treat the output like a colleague's draft: run it, test it and review it, because models can produce code that looks right but fails or has security holes.

There are two routes. Most big providers offer a free tier of their chatbot with limits. Open-weight models from families such as Llama, Qwen, Mistral and DeepSeek can be downloaded and run on your own hardware, subject to their license terms. The guide to open-source LLMs lists them.

SLM stands for small language model. It has far fewer parameters, is faster and cheaper, and often runs on your own computer or phone. In return it is usually weaker on hard tasks than large models. There is no fixed size boundary between the two.

Well-known model families come from OpenAI (GPT), Anthropic (Claude), Google (Gemini), Meta (Llama), Mistral, DeepSeek and Alibaba (Qwen). Because the list keeps changing, you will find current models with prices and benchmarks in the model directory and the LLM comparison.
Sources and References
FH

Finn Hillebrandt

AI Expert & Blogger

Finn Hillebrandt is the founder of Gradually AI, an SEO and AI expert. He helps online entrepreneurs simplify and automate their processes and marketing with AI. Finn shares his knowledge here on the blog in 50+ articles as well as through the AI Business Club.

Learn more about Finn and the team, follow Finn on LinkedIn, join his Facebook group for ChatGPT, OpenAI & AI Tools or do like 17,500+ others and subscribe to his AI Newsletter with tips, news and offers about AI tools and online business. Also visit his other blog, Blogmojo, which is about WordPress, blogging and SEO.