My previous article, 8 New AI Terms You Should Know to Be Ahead of 90% of People, went viral, and I read a bunch of the comments from people who said they didn’t know about those terms before.
As someone who’s been in the industry for over a decade, I can tell you there are a lot more technical terms that you might often hear but not fully understand.
The previous list was mostly about agents and the software around them. This one is about the models themselves, how they’re built, how they’re run, and why they sometimes get slow, expensive, or forgetful.
So in this guide, I compiled 8 more AI terms that are a bit more advanced. I’ll explain them in the best non too technical way I can.
Here’s a quick summary of all the terms:
- Embeddings
- Inference
- Fine-Tuning
- Distillation
- Context Rot
- Speculative Decoding
- Quantization
- KV Cache (Context Caching)
Let’s start.
1. Embeddings
Embeddings are GPS coordinates for meaning.
A computer can’t tell that two sentences mean the same thing, but it can easily tell that two numbers are close. So an embedding model turns a piece of text into a long list of numbers that works like a location on a map.

A simple way to describe it is:
Similar meaning = nearby numbers
If you’ve read about RAG, vector databases, or semantic search, you’ve seen the word embeddings. Tools like Pinecone, Chroma, and pgvector exist mainly to store them.
An embedding is a list of numbers that represents the meaning of a piece of content. You pass a sentence, a paragraph, or even an image to an embedding model, and it returns a vector that is usually a few hundred to a few thousand numbers long.

The model is trained so that content with similar meaning produces similar vectors. “How do I reset my password?” and “I forgot my login details” share no keywords, but their vectors end up close together. Developers measure that closeness with a score called cosine similarity.
Think of it as a map where every piece of text gets coordinates, and texts about the same subject end up in the same neighborhood.
The difference from regular search looks like this:
- Keyword search = finds the same words
- Embedding search = finds the same meaning
This is the retrieval step in RAG. When you ask a chatbot about a 200-page PDF, the app has already split the document into chunks and stored an embedding for each one. It embeds your question, pulls the closest chunks, and sends only those to the model.
The embedding model is also a separate model from the one that writes the answer. Anthropic doesn’t offer one at all. The Claude embeddings documentation says so and points developers to Voyage AI. A document chatbot built on Claude is running at least two models from two different companies.
2. Inference
If you’ve joined AI groups or technical discussions, you’ve probably heard about inference time, inference steps, inference cost, inference throughput, etc.
But what does inference even mean in the context of AI?
When you type a prompt into ChatGPT and it generates a response, that’s inference. When you ask an AI image generator to create a picture, that’s also inference.
Think of AI model training as studying for an exam and inference as taking the exam. Get it?
Training happens before a model is released. It learns from a huge amount of data, which can take weeks or months on thousands of chips. Inference is every time you send a prompt and get a reply.

The cost difference looks like this:
- Training = paid once per model
- Inference = paid on every prompt, by every user
That’s why AI companies talk so much about “inference costs” and “tokens per second.” A model that hundreds of millions of people use every day has to stay cheap and fast to run.
The model also doesn’t learn anything during inference. When ChatGPT remembers your dog’s name, a memory feature saved a note about you and added it back into the prompt. The model is the same as it was before you told it.
So correcting a chatbot fixes the current conversation, and a new chat can make the same mistake again. The last three terms on this list are all ways to make inference cheaper or faster.
3. Fine-Tuning
“Should we fine-tune our own model?” is one of the first questions teams ask when they start building with AI. You’ll also find thousands of fine-tuned models on Hugging Face, made for coding, medical questions, roleplay, and specific languages.
If you’ve generated images with downloadable weights and runs on your local system, they’re probably fine-tuned models.
Fine-tuning takes a model that’s already trained and continues training it on a smaller, more specific dataset.
For example, if you fine-tune a model on 5,000 replies from your best support agent, it starts answering in that tone and format by default.
Think of hiring an experienced writer and giving them a week to study your company’s style guide and past work. They already know how to write, and now they’re learning how you write.

A common mistake is treating fine-tuning as the way to teach a model new facts. It’s much better at changing behavior, like tone, output format, or doing one narrow task consistently. Facts that change, like a price list or product docs, are better handled by retrieval.
Here’s how the three options compare:
- Prompting = tell the model what to do every time
- RAG = give the model the facts every time
- Fine-tuning = change the model itself
Try them in that order, because each one costs more than the one before it. Fine-tuning needs a clean dataset and a training budget, and you have to redo it when a newer base model comes out.
4. Distillation
You’ve probably seen “distill” in model names like DeepSeek R1 Distill Qwen 32B. The word also shows up in headlines whenever one AI lab accuses another of copying its model.

What does it mean to distill a model?
Distillation is training a smaller model on the outputs of a larger one. The large model is called the teacher, and the small one is the student. The teacher generates a huge number of answers, and the student is trained to reproduce them.
The student ends up with much of the teacher’s ability at a fraction of the size and running cost. The idea comes from a 2015 paper by Geoffrey Hinton, Oriol Vinyals, and Jeff Dean.
Think of a junior analyst who learns from a senior analyst’s finished reports. The junior doesn’t repeat the ten years of research behind those reports, and still learns to reach similar conclusions.

People often mix this up with fine-tuning, so here’s the difference:
- Fine-tuning = changes how one model behaves
- Distillation = moves ability from a big model into a smaller one
AI labs do this to their own flagship models to produce the smaller, cheaper versions they sell. Anthropic describes distillation as a widely used and legitimate training method.
The trouble starts when the teacher belongs to someone else. In February 2026, Anthropic accused DeepSeek, Moonshot, and MiniMax of distilling Claude without permission. Anthropic says the three labs generated more than 16 million exchanges with Claude through about 24,000 fraudulent accounts.
That’s Anthropic’s account of what happened, and it shows what the dispute is about. Nobody is arguing over the technique. The argument is over whose model gets copied and whether they agreed to it.
When a new model gets close to a top model at a much lower price, distillation is one of the first explanations people look for.
5. Context Rot
Every major model launch now leads with the size of its context window, whether that’s 200K or 1 million tokens. If you’ve run a long session in Claude Code or Cursor, you’ve also seen the agent get less careful the longer it works.
Developers call this context rot, and it explains why a bigger context window doesn’t automatically give you better results.
Context rot is the drop in a model’s accuracy and recall as the amount of text in its context window grows. It happens well before the window is full.

The term comes from a July 2025 report by Chroma. The researchers tested 18 models from Anthropic, OpenAI, Google, and Alibaba on simple tasks, like finding one sentence inside a long document. Every model became less reliable as the input got longer.
In one test, every model scored better when given only the relevant 300 or so tokens than when given the full 113,000-token conversation history. The answer was in both versions, and the extra text made it harder to find.
Anthropic’s own context windows documentation says the same thing. More context isn’t automatically better, and accuracy and recall degrade as the token count grows.
These two terms are easy to confuse:
- Context window = how much text the model accepts
- Context rot = how much worse the model gets as that window fills up
The usual explanation is that the model has to spread its attention across everything in the window. Each file, tool result, and old message you add makes the important instructions a little harder to pick out.
This is why a chatbot forgets a rule you set two hours ago, and why a coding agent starts repeating a mistake you already corrected. It’s also why skills from my previous article load their full instructions only when a task needs them.
To avoid context rot, start a new chat when the topic changes. For long projects, ask for a summary and continue in a new conversation.
In Claude Code, the /compact and /clear commands do the same job.
“Compact” frees up context by summarizing the conversation. This setting actually automatically happens when the conversation is already too long.

The “Clear” command starts a new session with empty context.

When working on big projects, it’s a good idea to compress the context instead of clearing the conversation to avoid re-caching the context of the project and wasting tokens.
6. Speculative Decoding
If you run models locally, you may have noticed a “draft model” option in LM Studio or llama.cpp. If you use Google Search, you’ve already used this technique through AI Overviews.
So what is speculative decoding, and how does it make a model faster without changing its answers?
An LLM generates text one token at a time, and each token requires a full pass through the model. For a large model, that pass is slow and expensive, which is why long answers take a while.
Speculative decoding pairs the large model with a much smaller and faster one. The small model drafts the next several tokens, and the large model checks all of them in a single pass.

Think of a junior writer drafting the next few words and a senior editor approving or correcting them in one read. Approving a draft takes the editor less time than writing it.
One cycle looks like this:
- The small model drafts the next few tokens
- The large model checks all of them in one pass
- Every token up to the first disagreement is kept
- The large model supplies its own token at that point, and the cycle repeats
This saves time because checking several tokens at once costs the large model about the same as generating one. A lot of text is also predictable. After “the United States of,” even a tiny model knows the next word.
The large model approves every token, so the output is the same one it would have produced alone.
The speedup depends on how often the small model guesses correctly. If most of its drafts get rejected, the large model does nearly all the work anyway, and you gain very little.
7. Quantization
Quantization is the JPEG of AI models.
A model is billions of numbers, and each one is normally stored with 16 bits of precision. Quantization rounds those numbers so they can be stored with fewer bits, usually 8 or 4.

For a model with 7 billion parameters, the difference is:
16-bit = about 14 GB of memory
4-bit = about 4 GB of memory
With that change, the model fits on a normal laptop. Like a JPEG, the smaller version looks almost the same until you compress it too far. Quality holds up well down to about 4 bits and drops quickly below that.
Quantization also explains the odd file names on Hugging Face. In a name like Q4_K_M, Q4 means 4 bits per number, K is the compression method, and M is the medium version.

The file names follow a pattern. Here’s how to read Q4_K_M:
- Q4 = 4 bits per weight
- K = the quantization method
- M = the medium variant, with S for small and L for large
A common rule in the local AI community is that a bigger model at 4-bit usually beats a smaller model at 8-bit. If your hardware is limited, pick the largest model that fits at 4-bit.
If you’ve run a model with Ollama or LM Studio, you were almost certainly using a quantized copy. Benchmark scores usually come from the full version, so expect your local results to be slightly lower.
8. KV Cache (Context Caching)
API pricing pages now list a “cached input” price next to the normal input price, and developers talk about cache hits and cache misses when they compare bills.
Here’s an example from OpenAI’s model pricing page.

Both come from something inside the model called the KV cache.
What is being cached, and why does it make a request cheaper?
Each time a model generates a token, it looks back at every token before it. To do that, it computes two sets of numbers for each earlier token, called keys and values. That’s the K and the V.

Without a cache, writing token number 1,001 would mean recalculating all 1,000 tokens before it. The KV cache saves those numbers once, so each new token only adds its own.
Context caching, also called prompt caching, uses the same idea between separate requests. If your next request starts with the same long system prompt or document, the provider reuses the saved work and charges you less.
With Anthropic’s prompt caching, reading cached tokens costs a tenth of the normal input price. OpenAI’s version is automatic, and at launch it cut the price of reused input tokens in half.
The rule to remember is:
Same beginning = discount
Any change at the top = full price
A timestamp or a user’s name at the very top of a prompt breaks the cache for everything after it. If you build on these APIs, put the parts that never change first and the parts that change last.
The cache also grows with every token in the conversation. That’s one reason long chats use so much memory when you run a model on your own computer.
I hope you learned something new in this post.
The next time a company brags about a 1-million-token context window, you’ll know to ask how well the model handles the end of it. If a small model suddenly performs like a big one, you can guess that distillation was involved. If a local model feels a little worse than its benchmark scores, you’ll know to check which quantized version you downloaded.
You’ll also have an easier time following AI news. A headline about inference costs or a lab accusing another of distillation will make more sense when you know what those words mean and who pays for what.
And if you build with these tools, you now know two ways to lower your bill. Keep the beginning of your prompts the same so caching works, and try a better prompt before paying for fine-tuning.
That’s about it. Which terms should I cover in the next edition of this AI terms post? Let me know in the comments.
Sources (12)
- 01generativeai.pub8 New AI Terms You Should Know to Be Ahead of 90% of People (opens in a new tab)
- 02developers.google.comEmbeddings (opens in a new tab)
- 03docs.claude.comClaude embeddings documentation (opens in a new tab)
- 04huggingface.coDeepSeek R1 Distill Qwen 32B (opens in a new tab)
- 05arxiv.org2015 paper by Geoffrey Hinton, Oriol Vinyals, and Jeff Dean (opens in a new tab)
- 06anthropic.comAnthropic accused DeepSeek, Moonshot, and MiniMax (opens in a new tab)
- 07research.trychroma.coma July 2025 report by Chroma (opens in a new tab)
- 08platform.claude.comcontext windows documentation (opens in a new tab)
- 09huggingface.coHugging Face (opens in a new tab)
- 10developers.openai.compricing page (opens in a new tab)
- 11docs.anthropic.comAnthropic’s prompt caching (opens in a new tab)
- 12openai.comOpenAI’s version (opens in a new tab)