NLP (natural language processing) is the whole field of getting computers to work with human language. NLU (natural language understanding) is the part that works out what text means, such as intent, entities and sentiment. NLG (natural language generation) is the part that produces text. In 2026 one large language model often does all three, but the distinction still matters for design, testing and risk.
Updated October 2026
What changed in 2026
- LLMs merged NLU and NLG into one model. IBM's explainer on NLP vs NLU vs NLG still treats them as distinct capabilities, and that remains the clearest way to reason about them.
- Understanding now drives actions, not just replies. AWS moved Bedrock Agents Classic into maintenance mode on 30 July 2026 and points new builds to Amazon Bedrock AgentCore, where the model's understanding of a request decides which tool runs.
- Generation risk is now regulated. The EU's Digital Omnibus on AI, published in July 2026, moved most high-risk AI Act obligations to 2 December 2027, giving teams a clear date to document how their language systems behave.
- Generated output keeps growing in volume, so checks on NLG (factuality, tone, PII) have become a standard release gate.
The short answer: a comparison table
| NLP | NLU | NLG | |
|---|---|---|---|
| What it is | The umbrella field | Reading for meaning | Writing or speaking |
| Direction | Both ways | Language → structured meaning | Structured data or intent → language |
| Typical tasks | Tokenization, parsing, translation, search | Intent detection, entity extraction, sentiment, classification | Summaries, replies, reports, product descriptions |
| Example | A customer-service bot as a whole | Knowing "my order hasn't come" means a delivery complaint | Writing a polite reply with the tracking update |
| Main risk | Pipeline errors | Misreading intent or context | Hallucinated or off-tone text |
| How you test it | End-to-end task success | Precision, recall, F1 on labelled examples | Factuality, faithfulness to source, human or LLM-judge ratings |
What is NLP?
NLP covers every technique that lets software handle language: splitting text into tokens, tagging grammar, translating, searching and answering questions. It includes both understanding and generation, plus plumbing like speech-to-text. Our guide to NLP techniques walks through the full toolkit.
What is NLU?
NLU is the "comprehension" layer. It handles the hard parts of language:
- Intent: what the user wants ("cancel", "track", "complain").
- Entities: the specific things mentioned (order number, product, date).
- Context: what "it" or "that one" refers to earlier in the conversation.
- Sentiment and tone: whether the writer is happy, angry or sarcastic. See sentiment analysis with NLP.
Before LLMs, NLU meant training intent classifiers and entity extractors, as in frameworks like Rasa or Dialogflow. Today a prompted LLM can usually detect intent and pull entities without task-specific training, though a small fine-tuned classifier is still cheaper and more predictable at high volume.
What is NLG?
NLG turns data or an internal decision into readable language. Early NLG used templates ("Your order {id} ships on {date}"). Then came statistical models and recurrent networks. Since the transformer, generation has become fluent enough to write full reports, emails and code.
The trade-off: templates never invent facts, while LLMs can. Many production systems in 2026 still use templates for numbers and legal wording, and let the LLM handle the surrounding prose.
How NLP, NLU and NLG work together
A support assistant shows the flow:
- NLP preprocessing: speech is transcribed, text is cleaned and personal data is masked.
- NLU: the system detects the intent (late delivery) and entities (order 4471).
- Decision: an agent calls the order system, checks policy and decides on a refund or update.
- NLG: the reply is written in the customer's language and tone.
In an LLM-based agent, steps 2 to 4 may happen inside one model call, but you should still log and test each step separately. That is where most failures hide.
NLU vs NLP vs LLM: where do LLMs fit?
An LLM is a model, not a field. It is one way to do NLP, and it happens to be good at both NLU and NLG. So "LLM vs NLP" is a false choice: LLMs are the current state of the art inside NLP. For the wider family of models, see our guide to generative AI models.
Choosing the right approach in 2026
| Need | Good fit |
|---|---|
| Route millions of short messages cheaply | Small fine-tuned NLU classifier |
| Understand long, messy documents | LLM with structured output |
| Generate regulated text (prices, legal terms) | Templates for facts + LLM for prose |
| Answer questions from company knowledge | RAG: retrieval + LLM generation with citations |
| Take actions on behalf of users | Agent with NLU for intent, tools for action, NLG for confirmation |
Where it's heading: 2026 → 2030
| Period | NLU | NLG |
|---|---|---|
| 2020 (history) | Intent classifiers and entity extractors trained per task | Templates and early neural generation |
| 2026 (now) | LLMs read intent, entities and context from prompts | LLMs write fluent text; templates kept for facts |
| 2028 (expected) | Gartner expects at least 15% of day-to-day work decisions to be made autonomously through agentic AI (Gartner), so NLU becomes the input to decisions | Generated text carries provenance and citations by default |
| 2030 (our view) | Understanding spans text, voice, images and sensor data together | Output adapts to each reader and channel, under policy controls |
How NexaStack helps
NexaStack runs language models and agents on your own cloud, data centre or edge, so both the understanding and generation steps stay inside your security boundary. You can deploy small NLU models next to larger generative models, route traffic between them and monitor quality in one place. Where generated output feeds a business decision, ElixirData, the decision harness for enterprise AI agents, adds policy checks and an audit trail.
FAQ
What is the difference between NLP and NLU?
NLP is the whole field of language processing. NLU is the subset focused on understanding meaning, such as intent, entities and sentiment.
Is ChatGPT NLP or NLU?
Both, plus NLG. ChatGPT is built on an LLM, which is an NLP technique that performs understanding (reading your prompt) and generation (writing the answer).
What are the four types of NLP?
There is no single official list. A common split is rule-based, statistical, neural and LLM-based approaches. Another split is by task: understanding, generation, speech and translation.
Is NLP a dead field?
No. LLMs are the newest generation of NLP, and the field is larger than ever. What faded is hand-built, task-by-task pipelines for every problem.
What are the latest NLU and NLG trends in 2026?
Agents that act on understood intent, RAG with citations, small private models for high-volume NLU, and stronger evaluation of generated text. See NLP applications for real examples.
Run NLU and NLG models in one governed stack
Need understanding and generation models that stay inside your environment? Book a NexaStack demo to see how to deploy, route and monitor private language models.