AI Glossary for Executives: 43 Terms Explained in Plain English
RaftLabs built this AI glossary for executives evaluating AI investments. It defines 43 key terms — from large language models and RAG to inference cost and model governance — with plain-English definitions, real examples, and guidance on when each approach pays off.
Key Takeaways
- AI is a category, not a product. The question is always which specific task is worth automating.
- Most AI projects fail on data quality, not model quality. Budget for data work before model work.
- RAG is the default architecture for knowledge-based AI tasks. Fine-tuning is the last resort.
- Inference cost is a running bill per use, not a one-time build cost. Design for it from day one.
- Hallucination is a known failure mode to engineer against, not an inherent AI property.
- Shadow AI is where most corporate data leaks happen. A ban without approved alternatives makes it worse.
This is an AI glossary written for decision-makers, not engineers. It covers the terms that come up when you are evaluating an AI investment, from foundations like large language models and retrieval-augmented generation to the governance and cost concepts that decide whether a project pays off. For each term you get one clear definition, a plain-language analogy, a real business example, guidance on when to use the approach, and when to avoid it.
According to McKinsey's 2024 State of AI report, 72 percent of organizations have adopted AI in at least one business function — yet the gap between adoption and real ROI remains wide. The missing piece, in most cases, is not better tooling. It is shared vocabulary between the business side and the engineering team.
The executives we work with are not trying to learn to code. They are trying to ask the right questions in a room full of engineers and vendors who already know the answers. Knowing the vocabulary changes that dynamic completely.
Foundations
The core ideas behind modern AI, in plain terms.
- Artificial Intelligence (AI)AI
Artificial intelligence is software that performs tasks normally requiring human judgment, such as reading documents, answering questions, or predicting outcomes from data. AI is a category, not a product. The useful question for a business is never whether to buy AI, but which specific task is slow or costly enough to be worth automating.
Think of AI as a new category of employee: one that never sleeps, scales instantly, and costs per output, but needs very specific instructions and cannot handle judgment calls it was never trained for.
A logistics company uses AI to read delivery exceptions, classify them by type, and route each one to the right handler, cutting triage time from 20 minutes to under a minute.
When a task is high-volume, repetitive, and based on patterns a computer can learn from examples. Document processing, classification, and prediction are natural fits. When the problem is novel, requires genuine empathy, or when the cost of a wrong answer is high and the AI has no way to know when it is wrong.
AI development- Machine Learning (ML)ML
Machine learning is a way of building software that learns patterns from examples instead of being programmed with explicit rules. ML fits problems where the rules are too messy to write by hand, like fraud detection or demand forecasting. It needs clean historical data to work, which is usually the real constraint.
Traditional software is a recipe with exact steps. Machine learning is a chef who learns what 'good' tastes like by eating thousands of dishes and then makes new ones from that understanding.
A SaaS company trains a churn model on two years of customer behavior. It now flags accounts at risk three weeks before they cancel, giving the sales team time to intervene.
When you have historical examples of the right answer and the pattern is too complex to write as rules. Fraud detection, recommendations, and forecasting are textbook fits. When you lack clean historical data, when the environment changes faster than you can retrain, or when you need the model to explain its reasoning to regulators.
Machine learning development- Large Language Model (LLM)LLM
A large language model is an AI system trained on vast amounts of text that can read, write, summarize, and answer questions in natural language. LLMs power most of the recent AI wave, from chatbots to document processing. They are rented by usage, so cost scales with how much text you send and receive.
An LLM is like a brilliant generalist who has read every book, manual, and website ever published. They summarize and draft with confidence, but they sometimes confuse what they read with what is true.
A legal firm uses an LLM to draft first-pass responses to routine client queries, cutting paralegal hours on standard correspondence by 60 percent.
For any task involving reading, writing, summarizing, or classifying natural language: customer support drafts, document review, internal Q&A, and code generation. For precise numerical calculations, real-time data lookups, or anywhere a confident-sounding wrong answer could cause harm without a human check in place.
LLM integration- Generative AIGenAI
Generative AI is AI that produces new content, such as text, images, code, or audio, rather than only classifying or scoring existing data. It is the difference between software that answers a fixed set of questions and software that drafts a proposal, a reply, or a design. The output still needs review before it reaches a customer.
Traditional software retrieves or transforms. Generative AI composes. It is the difference between a search engine finding a document and a copywriter writing a new one from scratch.
A property management company uses generative AI to produce tailored lease renewal letters from a simple data record, cutting manual drafting from 45 minutes to 2 minutes per letter.
When the output needs to be original, varied, or adapted to context: drafts, summaries, design variations, and personalised communications at scale. When the output needs to be exact, deterministic, or auditable. Generative output must be reviewed before it reaches a customer in any regulated or high-stakes context.
Generative AI development- Neural Network
A neural network is the underlying structure most modern AI models use to learn patterns, loosely inspired by how the brain connects signals. You rarely need to think about neural networks directly, but they explain why AI models are so capable and also why they can be hard to predict or explain.
A neural network is a series of filters stacked in layers. Each layer learns to detect slightly higher-level patterns than the last: raw pixels to edges to shapes to faces. No one programs the filters; the network discovers them from data.
A retailer's quality control system uses a neural network to spot defective products on a conveyor belt at 300 items per minute, catching defects a human inspector would miss at that speed.
For tasks involving images, audio, or natural language, where the signal is too complex for explicit rules and you have enough labeled data to train on. When you need to explain why the system made a specific decision, when data is scarce, or when a simpler model would do the job at a fraction of the compute cost.
Machine learning development- Training Data
Training data is the collection of examples an AI model learns from, and its quality sets the ceiling on how well the model can perform. Most AI project delays trace back to data that is missing, messy, or locked in systems that do not talk to each other. Budget for data work before model work.
Training data is the school curriculum. If the curriculum is biased, outdated, or incomplete, the graduate will be too, no matter how smart they are.
A healthcare startup spent three months sourcing and cleaning labeled medical transcripts before touching a model. That work directly determined the ceiling on what the model could achieve.
Every supervised AI project needs labeled data. Invest in data quality before model selection. The best model trained on bad data will underperform a simple model trained on good data. You cannot skip data preparation. If you do not have sufficient, representative, and clean historical data for the task, no model architecture will compensate for that gap.
Data engineering- Inference
Inference is the act of running a trained AI model to get an answer, as opposed to training, which is the earlier work of building the model. Inference is what you pay for every time a user interacts with your AI feature. A feature that is cheap to prototype can still be expensive to run at scale.
Training is learning to drive. Inference is every trip you take after passing the test. The exam happens once; the road charges you per mile.
A customer service tool processes 50,000 messages a day through an LLM for intent classification. At current token pricing, the monthly running cost exceeds the original build cost within six months.
Inference is always involved when users interact with an AI feature. The question is whether you have designed for the running cost from day one. You cannot avoid inference if you want a live AI feature. But you can cut cost by caching frequent answers, shrinking prompts, and routing simple tasks to smaller, cheaper models.
Cost signalA recurring cost per use, not a one-time build cost.
MLOps- Foundation Model
A foundation model is a large, general-purpose AI model, such as GPT or Claude, trained once by a major lab and then adapted to many specific uses. Building on a foundation model means you rent proven capability instead of training from scratch, which is why serious AI features can now ship in weeks rather than years.
A foundation model is like a power grid. You do not generate electricity from scratch for every appliance. You tap into existing infrastructure and adapt it for your specific need.
A fintech company accesses an LLM via API to power its contract analysis feature, skipping the years and tens of millions of dollars it would cost to build a comparable model from scratch.
For almost all business AI use cases. Building from scratch is reserved for organizations with a specific data advantage, regulatory constraint, or extreme scale that justifies the cost. When data sovereignty or industry regulation prohibits sending data to a third-party provider. In those cases, open-weight models running on your own infrastructure become the alternative.
LLM integration
Building & tuning
How AI systems are built, adapted, and connected to your data.
- Fine-tuning
Fine-tuning is further training a foundation model on your own examples so it adopts a specific tone, format, or task. Powerful, but usually the wrong first move. For most business problems, retrieval and prompting are cheaper and far easier to update than a fine-tuned model.
Fine-tuning is taking a highly educated generalist and putting them through a specialist apprenticeship using your own documents, tone, and processes.
A customer support team fine-tunes a model on 10,000 of their own resolved tickets. The result handles tier-1 queries with the company's exact phrasing and escalation logic, without any prompt engineering overhead.
When a specific tone, format, or domain vocabulary is critical and cannot be achieved through prompting alone. Works best when you have hundreds of high-quality examples of the target output. As a first step. Try prompting and RAG first. Fine-tuning is expensive to set up, requires high-quality labeled data, and is painful to update when your content or policies change.
Cost signalHigher setup and upkeep cost than prompting or RAG.
LLM fine-tuning- Retrieval-Augmented Generation (RAG)RAG
Retrieval-augmented generation lets an AI model answer using your own documents by fetching the relevant passages at the moment of the question. RAG is how you get an AI assistant that knows your policies, contracts, or product docs without retraining a model. It is the default approach for most business knowledge tasks.
Without RAG, an LLM is a well-read expert answering from memory. With RAG, that expert pulls the relevant pages from a file cabinet before answering, so the answer is grounded in your actual documents.
An insurance company builds a claims assistant that searches their policy library in real time. Adjusters get answers grounded in the exact policy version, reducing escalations and errors.
Whenever the AI needs to answer from your specific content: policies, product docs, contracts, knowledge bases. It is the default architecture for enterprise knowledge work. When the task does not require specific factual retrieval, such as creative drafting or general summarization. Adding retrieval to those tasks adds latency and cost without meaningful benefit.
RAG development- Prompt Engineering
Prompt engineering is the practice of writing clear instructions and examples that reliably get the output you want from an AI model. It is the cheapest lever for improving AI quality and often closes most of the gap before any expensive model work is needed.
Prompt engineering is the instruction manual you write for a very capable but very literal new hire. Vague instructions produce vague work. Precise, structured instructions produce consistent, useful output.
A sales team improves their AI email generator by adding company tone guidelines, a required output format, and three strong examples to the prompt. Quality improves without touching the model or the infrastructure.
Before trying anything more expensive. Better prompting often solves 80 percent of output quality problems at near-zero cost and can be updated instantly when requirements change. When the failure is systematic, not just about wording. If the model lacks the knowledge, no amount of prompt craft will make it accurate. That signals a RAG or fine-tuning problem.
Prompt engineering- Embeddings
Embeddings are numerical representations of text, images, or other data that let software measure how similar two things are in meaning. Embeddings are the engine behind semantic search and RAG. They are why a search for cancel my plan can find a document titled subscription termination.
Embeddings turn meaning into coordinates on a map. Related concepts cluster nearby; unrelated ones sit far apart. That is how a search for 'cancel my account' can find a document titled 'subscription termination policy.'
A B2B SaaS company reindexes its entire documentation library as embeddings. Support queries now surface the right article even when the user's phrasing matches nothing in the title or tags.
Whenever you need semantic search, document similarity, or the retrieval layer of a RAG system. Embeddings are what make meaning-aware search possible. For exact-match lookups, such as a database query by ID, or for very short structured data where traditional keyword search is simpler and faster.
Semantic search- Vector Database
A vector database stores embeddings and finds the closest matches quickly, so an AI system can retrieve the most relevant information in real time. A vector database is the storage layer that makes semantic search and RAG fast at high volume. For small datasets you may not need a dedicated one; at enterprise volume you will.
A vector database is a library where books are shelved not by title but by topic proximity. Finding everything related to contract termination is instant, even if no book uses those exact words.
A legal tech startup stores thousands of case summaries as vectors. Their AI retrieves the five most relevant precedents for any new query in milliseconds, powering a real-time research assistant.
When your RAG system operates at meaningful volume or needs sub-second retrieval. At small scale, a simple file-based approach may suffice until volume demands the upgrade. Before you have defined and tested your embedding and retrieval strategy. A vector database is infrastructure, not a strategy. Get the retrieval logic right on small data first.
Vector database development- Context Window
The context window is the amount of text an AI model can consider at once, covering both your input and its response. It sets a hard limit on how much a model can read in a single pass. Larger windows cost more per use, which is why retrieval is often smarter than pasting everything in.
The context window is the AI's short-term memory. It holds everything in front of it, but once the conversation or document exceeds its capacity, earlier content starts to fall off the edge.
A company building a contract review tool discovers the model misses a key clause on page 40 because the full contract exceeds the context window. They switch to chunked retrieval to solve it.
Understanding context window limits is essential when designing any system that processes long documents or multi-turn conversations. It determines your retrieval and chunking architecture. Pasting an entire knowledge base into the context window to avoid building a retrieval layer is an anti-pattern. It is slower, more expensive, and less accurate than selective retrieval.
LLM integration- Tokens
Tokens are the small chunks of text that AI models read and generate, roughly three-quarters of a word each, and the unit most AI usage is billed in. Your AI running cost is essentially a token bill. Longer prompts and longer answers cost more, so cost control is a design decision, not an afterthought.
Tokens are to AI what minutes are to a phone plan. You are billed for every word in, every word out, and every system prompt. Volume is what drives the bill.
A team builds a reporting assistant that summarizes 10-page PDFs. At scale the per-report token cost makes the unit economics break. Redesigning the prompt to send only key sections cuts running cost by 70 percent.
Token counting belongs in every AI cost model from day one. Map your typical input and output sizes before you pick a model and before you price any product feature. You cannot avoid tokens; you can optimize them. Caching repeated system prompts, truncating unnecessary context, and routing simple tasks to smaller models are the main levers.
Cost signalThe primary unit of ongoing AI cost.
- Temperature
Temperature is a setting that controls how varied or predictable an AI model's output is, from strict and repeatable to loose and creative. Low temperature suits tasks that need consistency, like data extraction. Higher temperature suits brainstorming. The wrong setting is a common cause of unreliable output.
Temperature is the dial between a strict accountant and a creative director. For the accountant you want the same answer every time. For the creative director you want variety and surprise.
A team discovers their contract data extraction tool occasionally produces different field values for the same document. Lowering the temperature from 0.7 to 0.1 makes extraction deterministic and auditable.
Set temperature near zero for any task requiring consistent, repeatable output: data extraction, classification, structured responses. Set it higher for creative tasks where variety is welcome. High temperature on analytical or factual tasks introduces noise that looks like intelligence. Varied answers in those contexts are a reliability problem, not a feature.
- System Prompt
A system prompt is the standing instruction that sets an AI assistant's role, rules, and boundaries for every conversation. It is where you encode brand voice, guardrails, and what the assistant must never do. A weak system prompt is a common source of off-brand or unsafe answers.
The system prompt is the employee handbook handed to a new hire on day one. It sets the role, the rules, what to do, and critically, what never to do, before any customer interaction begins.
A fintech company's AI assistant initially gives generic financial advice. After tightening the system prompt to forbid specific investment recommendations and define the assistant's scope, compliance concerns drop significantly.
In every AI feature that has a defined role, audience, or set of constraints. The system prompt is the primary mechanism for enforcing brand voice, safety limits, and behavioral guardrails. System prompts are not a substitute for proper access control or data security. They reduce the likelihood of bad outputs but cannot block determined adversarial use on their own.
Prompt engineering
Agents & automation
The tools that let AI take action, not just answer.
- AI Agent
An AI agent is software that plans and takes actions toward a goal, calling tools and other systems, rather than only answering a single question. Agents move AI from advice to action, like processing a refund end to end. That power raises the stakes, so they need clear limits and human oversight on consequential steps.
A chatbot is a knowledgeable receptionist who answers questions. An AI agent is a contractor who takes the brief, makes the calls, fills the forms, and reports back with the completed job.
A logistics firm deploys an AI agent that monitors inbound customer emails, classifies the issue, retrieves order status from the warehouse system, and drafts a resolution, all without a human on standard cases.
When a task has multiple distinct steps, requires external systems, and the steps are defined well enough that errors carry limited risk or can be caught before they propagate. For tasks that touch high-stakes irreversible actions, when the failure modes are not well understood, or when the workflow varies too much for the agent to navigate reliably.
AI agent development- Agentic AI
Agentic AI describes systems that operate with a degree of autonomy, deciding the next step themselves instead of following a fixed script. It is the current frontier and the current hype magnet. The practical version is narrow and well-supervised, not a fully autonomous employee.
Traditional AI answers the question you asked. Agentic AI decides which question to ask next, takes the steps to answer it, and adjusts its plan when it hits an obstacle.
A research team uses an agentic system to perform competitive analysis. It searches the web, retrieves documents, synthesizes findings, and produces a report, each step informed by what the previous step found.
For complex, multi-step tasks where the exact sequence of steps cannot be fully predicted in advance. Research, analysis, and multi-system processes are good starting points. Where predictability matters more than flexibility. Agentic systems are harder to audit, more likely to go off-rails, and more expensive than deterministic pipelines for well-defined tasks.
AI agent development- Multi-agent System
A multi-agent system splits a complex job across several specialized AI agents that coordinate, such as one researching and another writing. It can handle workflows too broad for a single agent, but every added agent adds cost and points of failure. It is worth it only when the task genuinely has distinct roles.
A multi-agent system is a project team rather than a solo employee. Each agent has a specialist role. They hand off work, check each other's output, and combine into a result no single agent could produce.
A content production system uses one agent to research, one to outline, one to write, and one to fact-check. The hand-offs are automatic. A human reviews the final draft, not every intermediate step.
When a task is genuinely too complex or too large for a single agent, or when parallel processing would significantly cut the time. Keep it simple until the simpler design breaks. Do not use multi-agent by default. Each added agent adds failure points, latency, and cost. A single well-designed agent handles most tasks more reliably than a premature team.
Multi-agent systems- Orchestration
Orchestration is the coordination layer that decides which model, tool, or step runs when, and passes information between them. The gap between a demo and a dependable system lives here. Most of the engineering effort in a real AI product goes into orchestration, not the model itself.
Orchestration is the conductor in an orchestra. The musicians are the models and tools. Without a conductor, each plays brilliantly in isolation. Orchestrated together, they produce something coherent.
A financial services company's loan processing workflow uses an orchestration layer that calls a document extraction model, a credit scoring API, and a decision model in sequence, with conditional routing based on each result.
In any AI system with more than one model, tool, or external data source. Orchestration is not optional in production; it is the layer that makes the whole system dependable. Over-orchestrating simple tasks adds complexity without benefit. A single model call with a well-crafted prompt often needs no orchestration layer.
AI orchestration- Tool Use / Function CallingFunction Calling
Tool use, also called function calling, is an AI model's ability to trigger real actions, like querying a database or sending an email, instead of only producing text. It is what connects an AI model to your actual systems. Without it, an assistant can describe an action; with it, the assistant can perform one.
An LLM without tool use is a brilliant advisor locked in a room. Tool use is the telephone, the keyboard, and the filing cabinet that lets the advisor act on their advice.
A customer-facing assistant uses tool use to call a live inventory API, check real-time stock levels, and confirm a delivery estimate in the same conversation, without any human lookup in the middle.
Whenever the AI needs to take action beyond producing text: querying databases, updating records, sending notifications, or calling third-party APIs. Tool use requires careful permission design. Do not grant an AI access to irreversible or sensitive actions without a human confirmation step at those specific decision points.
AI agent development- Model Context Protocol (MCP)MCP
The Model Context Protocol is an open standard for connecting AI models to external tools and data sources through a consistent interface. MCP reduces the custom plumbing needed to give AI access to your systems, which lowers integration cost and avoids lock-in to one vendor's connectors.
Before MCP, connecting an AI to every new tool required custom wiring each time. MCP is the universal power socket: one standard interface and any compatible plug fits.
A company standardizes all internal AI integrations on MCP. Their engineering team adds a new data source in hours instead of weeks, because the interface contract is already defined and reused.
When building AI systems that need to connect to multiple internal or third-party tools, and you want to avoid rebuilding integrations for every new model or vendor. For simple, single-tool integrations where the overhead of a protocol is not worth the standardization benefit. MCP pays off at scale and across multiple integrations.
MCP server development- Workflow Automation
Workflow automation is software that carries a multi-step business process from start to finish with little or no manual handling. AI lets automation reach steps that used to need a person, like reading a varied invoice. The savings come from the whole process, not any single clever step.
Workflow automation is the assembly line. Each station does one job reliably. The product moves forward automatically. No one carries it manually from station to station.
An accounts payable team automates invoice receipt, data extraction, three-way matching, and approval routing. What took two people four days now runs overnight with one person reviewing exceptions.
For any repeating, multi-step business process where the steps are defined and the handoffs are predictable. High volume makes the ROI clear and measurable. For processes that change frequently, require real human judgment on most steps, or where exceptions are the rule. Rigid automation breaks noisily when the underlying process shifts.
AI workflow automation- Robotic Process Automation (RPA)RPA
Robotic process automation uses software bots to mimic the clicks and keystrokes a person would perform in existing applications. RPA is reliable for rigid, repetitive tasks but brittle when screens or rules change. Pairing it with AI handles the judgment steps it cannot.
RPA is a macro that runs at the speed of a robot. It clicks the buttons, copies the data, and fills the forms exactly as a person would, just thousands of times faster and without fatigue.
A healthcare administrator uses RPA to pull patient data from a legacy system and enter it into a new one. The systems have no API bridge. RPA fills the gap without a costly integration project.
For stable, repetitive tasks in existing systems that have no API. Particularly useful in legacy environments where building real integrations would take years. When the screens or workflows change frequently, RPA breaks immediately and requires manual intervention. It also cannot handle any step that requires reading an unstructured document or making a judgment call.
RPA services- Human-in-the-loop
Human-in-the-loop is a design where a person reviews or approves an AI system's output before it takes effect on high-stakes steps. It is the practical answer to AI mistakes: let the model do the volume, and keep a human on the decisions that carry real cost or risk.
Human-in-the-loop is the same principle as a surgeon with an AI-powered tool. The AI handles the precision and scale. The human holds the scalpel for the decisions that carry irreversible consequences.
A financial firm's AI flags suspicious transactions for human review rather than auto-blocking them. The AI handles 200,000 daily checks; a human investigator reviews the 40 that are flagged.
On any step where a mistake has material cost, is hard to reverse, or carries legal or regulatory weight. Design the AI to handle the volume and the human to make the consequential calls. Do not place humans in the loop on every step out of excessive caution. That defeats the automation. Reserve human oversight for the steps where it genuinely matters.
AI agent development
Reliability & risk
What makes AI trustworthy, and what goes wrong when it isn't.
- Hallucination
A hallucination is when an AI model states something false with full confidence, inventing a fact, source, or number that looks completely plausible. Hallucination is the central trust problem with AI. Grounding answers in your own data and citing sources is how serious systems keep it rare and catchable.
Hallucination is an AI confidently stating the wrong flight time. The tone, format, and surrounding context look completely reliable. The specific fact is invented.
A legal tech tool, without grounding, cites a case that does not exist. The lawyer who submits the brief faces a professional conduct review. One hallucination with no guardrail became a serious liability.
Hallucination is not a feature. It is a known failure mode to design against. Build grounding, source citations, and human review checkpoints into any high-stakes AI output. Do not accept hallucination as an inherent property of AI you cannot address. Grounding, RAG, and evals reduce it dramatically. The question is whether you have invested in those safeguards.
RAG development- Guardrails
Guardrails are the rules and checks that keep an AI system inside safe, on-brand, and compliant behavior. They are what stop an assistant from giving legal advice, leaking data, or going off-script. For any AI that faces customers, guardrails are a requirement, not a nice-to-have.
Guardrails are the barriers along a mountain road. They do not stop the car from going where it needs to go, but they prevent the catastrophic off-road outcomes no one planned for.
A healthcare chatbot without guardrails starts giving specific medication dosage advice. Adding topic-scope guardrails restricts it to general guidance and routes any clinical question to a professional.
On every AI system that faces end users, processes sensitive data, or operates in a regulated industry. Guardrails are the basic engineering practice for safe AI, not an optional extra. Over-restricted guardrails make an AI useless. If every response is deflected to 'I cannot help with that,' the product fails the user. Calibrate to genuine risks, not theoretical ones.
AI governance- Evals (Evaluation)Evaluation
Evals are structured tests that measure how well an AI system performs on your specific task, using real examples and clear pass or fail criteria. Without evals, AI quality is a matter of opinion and every change is a gamble. They are how you know an update improved things rather than quietly broke them.
Evals are the quality control station at the end of the production line. Without them, you are shipping product and hoping customers find the defects instead of you.
A team builds evals using 200 real customer queries with expected answers. After every model change or prompt update, the eval suite runs automatically and no update ships if it drops below the quality threshold.
Before launch, after every significant change, and on a recurring schedule as the model or data drifts. Evals turn 'it seems to be working' into a measurable, defensible fact. Evals only catch what they were designed to test. A strong eval suite for one task provides no coverage for a new task the system has been extended to handle. Expand evals when the system expands.
AI consulting- Model Drift
Model drift is the gradual decline in an AI system's accuracy as the real world moves away from the data it learned from. An AI feature is not done at launch. Without monitoring, performance decays silently, which is why running AI is an ongoing operating cost, not a project that ends.
Model drift is what happens when you train a weather forecasting model in summer and try to use it in winter. The world changed; the model did not.
A demand forecasting model trained before a major market shift underperforms after it. The team that monitors drift catches it in weeks. The team that does not discovers it from a stockout.
Monitoring for drift is part of every production AI deployment. Budget for it at design time, not as a reactive fix after quality has already declined in production. Do not assume a model that was accurate at launch will remain accurate without monitoring. All production AI systems require ongoing evaluation as the world they predict keeps changing.
MLOps- Bias
Bias in AI is systematic unfairness in a model's outputs, usually inherited from patterns in its training data. Beyond the ethics, biased AI is a legal and reputational liability in hiring, lending, and healthcare. It has to be tested for, because it rarely announces itself.
If every example of 'a good candidate' in your training data was a 45-year-old man, the model learns that pattern, not what actually makes a candidate qualified.
A lending company deploys a credit scoring model that inadvertently penalizes applicants from certain postal codes. The pattern existed in historical data; the model amplified it into a discriminatory outcome.
Bias testing is mandatory before deploying any AI used in hiring, lending, healthcare, or any decision that affects people differently based on protected characteristics. Bias is not a hypothetical risk to address after launch. Do not deploy high-stakes AI in people-affecting decisions without documented fairness testing and ongoing monitoring in place.
AI governance- Explainability
Explainability is the ability to understand and communicate why an AI system produced a particular result. Regulators, auditors, and customers increasingly expect a reason, not just an answer. Low explainability limits where you can safely deploy AI, especially in regulated sectors.
Explainability is the AI equivalent of showing your work. A black box that gives the right answer sometimes is not the same as a system that can trace any answer back to its reasoning.
A bank deploys a loan rejection model. A regulator asks why a specific application was declined. Without explainability, the bank cannot answer. With it, the decline reason is traceable and documentable.
In any context with regulatory reporting requirements, credit decisions, medical diagnosis support, or anywhere users or auditors have a right to understand a decision that affects them. Requiring full explainability on every AI feature adds cost and complexity. Apply it where the stakes demand it. General recommendation engines have a much lower bar.
AI governance- Red Teaming
Red teaming is deliberately attacking your own AI system to find ways it can be tricked, misused, or made to fail before real users or attackers do. It is standard practice for any AI that handles sensitive data or decisions. Finding the failure yourself is far cheaper than finding it in the press.
Red teaming is hiring someone to try to break into your building before an actual burglar does. You control the conditions, learn the vulnerabilities, and fix them before it matters.
Before launching a customer-facing AI assistant, a team runs three days of structured adversarial testing. They find the model will output a competitor's pricing if prompted a specific way. Fixed before launch.
Before any public or customer-facing AI launch, and after significant capability additions. Treat it as a required phase of any AI product build, not an optional extra. Red teaming finds the vulnerabilities you know to look for. It does not find every possible attack vector. Ongoing monitoring and incident response are the necessary complement.
AI governance- Grounding
Grounding is tying an AI model's answers to verified sources, such as your own documents, so responses can be traced and trusted. Grounding is the main defense against hallucination. A grounded answer can show its receipts, which is what makes AI usable for compliance-sensitive work.
Grounding is what separates a cited encyclopedia entry from a rumor. The encyclopedia states the fact and shows you its source. The rumor sounds just as confident.
A compliance assistant grounded in the company's actual policy documents cites the exact clause and document version for every answer. An ungrounded model produces an answer that sounds right but may not match current policy.
For any task where accuracy is non-negotiable and a source must back the answer: legal, compliance, medical, financial, and policy-sensitive work. Grounding requires good source documents. If the underlying knowledge base is incomplete or outdated, grounding amplifies that gap. Maintain the source content as rigorously as the AI system itself.
RAG development
Deployment & economics
What it costs to run AI and how the delivery choices differ.
- APIApplication Programming Interface
An API is a defined way for two software systems to talk to each other, and it is how most AI capability is delivered into your own products. Using AI through an API means you rent capability on demand instead of hosting models yourself. Your cost and availability then depend on a provider you should choose deliberately.
An API is the drive-through window. You place your order through a defined interface. The kitchen handles everything behind the counter. You get the output without seeing or managing the process.
A CRM platform adds an AI summarization button. It sends the customer record to an LLM API and displays the summary in the sidebar. The entire integration is a few dozen lines of code with no AI infrastructure to manage.
For accessing AI capability in your products without running your own models. The trade-off is convenience and speed against dependency on the provider's uptime, pricing, and data handling terms. When sending data through a third-party API violates data sovereignty or compliance requirements. In those cases, evaluate open-weight models on your own infrastructure.
API development- Open vs Closed Models
Closed models, like GPT and Claude, are rented from a provider through an API, while open models can be downloaded and run on infrastructure you control. The choice trades convenience against control. Closed models are faster to start; open models can be cheaper at scale and keep data in-house, at the cost of running them yourself.
Closed models are professional kitchen appliances you rent by the hour. Open models are the same-grade equipment you buy, install, and maintain yourself. Renting is easier; owning is cheaper at high volume but requires your own expertise.
A healthcare company needs AI that never sends patient data outside their private cloud. They deploy an open-weight model on-premise, accepting higher infrastructure cost in exchange for full data control.
Closed models are right for most teams starting out. Open models become compelling when data residency is a hard requirement, when volume makes per-token pricing uneconomical, or when you need to modify the model itself. Do not choose open models to save money early. The infrastructure, operations, and expertise costs easily exceed closed-model pricing until you reach significant and stable volume.
AI consulting- Inference Cost
Inference cost is the ongoing expense of running an AI model each time it is used, driven mainly by how much text goes in and out. Inference cost is the line item that surprises teams after launch. A feature has to be priced and designed around its running cost, or a popular one can quietly become a loss.
Inference cost is like an electricity bill that charges per device per hour. The more your AI feature is used, the higher the bill. A popular feature with an inefficient prompt design can be a loss at scale.
A startup prices a document review feature at $10/month per user, then discovers after launch that each user triggers 40,000 tokens per session. At current token rates, the feature costs $12 to deliver for every $10 charged.
Model inference cost into every feature design discussion. Map typical input and output sizes, pick the smallest model that meets quality requirements, and size the running cost before pricing the product. Never design an AI feature without a cost model. The cost of that omission is usually discovered after launch, when changing the architecture is expensive and the pricing is already set.
Cost signalAn ongoing operating cost that scales with usage.
AI cost calculator- Latency
Latency is the delay between a user's request and the AI system's response. It shapes whether AI feels helpful or frustrating. Some quality gains come from slower, larger models, so latency is a real trade-off against accuracy and cost.
Latency in AI is the gap between asking a question and getting an answer. A one-second wait feels like speed. A ten-second wait feels like the system is broken, even if the answer that arrives is excellent.
A sales team's AI call summary tool takes 45 seconds after a call ends. Adoption is low. Optimizing the prompt and switching to a faster model brings it to 8 seconds. Adoption doubles.
Measure latency for every user-facing AI feature from the first prototype. Set an acceptable maximum threshold before choosing a model, not after users are already complaining. Chasing minimum latency at the expense of accuracy is the wrong optimization for many back-office tasks. A nightly batch job that takes 5 minutes is fine. A real-time assistant that takes 15 seconds is not.
MLOps- On-prem vs Cloud
On-premise means running AI on infrastructure you own and control, while cloud means using shared infrastructure rented from a provider. Most teams should start in the cloud for speed. On-premise becomes worth its higher cost mainly when data residency, compliance, or scale demand it.
Cloud is renting a hotel room. On-premise is owning a house. The hotel is ready immediately, managed by someone else, and priced per night. The house is yours to configure, costs more upfront, and you handle the plumbing.
A government agency evaluates cloud AI but data sovereignty rules require all processing to stay within national borders. They deploy an open-weight model on government-managed infrastructure.
Start in the cloud. Move on-premise when a hard compliance requirement mandates it, when inference volume makes per-token pricing uneconomical at scale, or when the data cannot legally leave your infrastructure. Do not go on-premise to save money at early scale. The infrastructure, DevOps, and model management overhead will cost more than cloud pricing until you reach significant, stable volume.
Cloud migration- PoC vs Pilot vs Production
A proof of concept tests whether an idea can work, a pilot tests it with a small group of real users, and production is the fully supported system everyone relies on. Most of the cost and effort sits between a working demo and production. Confusing a successful PoC with a finished product is the most common AI budgeting mistake.
A PoC is a sketch. A pilot is a limited print run. Production is the full press. Each stage costs more, moves slower, and delivers more confidence than the last.
A logistics company spends three weeks on a route optimization PoC. It works. They run a 90-day pilot with one region. Validated. Full production build takes eight months and the serious engineering budget.
Every AI investment should move through these stages deliberately. A PoC answers 'can this work.' A pilot answers 'does this work in our context.' Production is the decision to operate and support it indefinitely. Do not treat a successful PoC as proof the production system is built. The gap between a working demo and a maintained, scalable, secure product is where most AI projects underestimate both cost and time.
Cost signalProduction typically costs several times more than the PoC.
AI PoC development- Build vs Buy
Build versus buy is the decision between developing custom software and adopting an existing off-the-shelf product. Buy when the problem is common and the tool fits; build when the problem is your competitive edge or nothing off the shelf matches your workflow. The honest answer is often a mix.
Buy when you want a reliable car to get to work. Build when you need a custom vehicle because no production model fits your roads, load, or mission.
A mid-market SaaS company evaluates three AI writing tools and finds one covers 90 percent of their use case. They buy it and custom-build only the one workflow no tool supports, saving a year of development.
Default to buy for commodity AI capabilities. Build when the capability is a genuine competitive differentiator, when no off-the-shelf product fits your workflow, or when compliance prevents using an external tool. Do not build for the sake of control if a market-fit product exists. Maintaining custom AI is a permanent ongoing cost. The real question is whether that capability is worth the permanent maintenance budget.
Custom software development- AI Readiness
AI readiness is how prepared an organization is to adopt AI, measured across its data, systems, skills, and processes. The blocker to AI value is usually not the model but the data and workflows around it. An honest readiness check prevents spending on AI the business cannot yet absorb.
Asking if a business is AI-ready is like asking if a house is renovation-ready. The design can be brilliant, but if the plumbing and wiring need replacing first, the renovation timeline is the infrastructure, not the design.
A professional services firm wants to automate contract review but cannot. Their contracts are stored in a shared drive in inconsistent file formats with no tagging. The AI readiness gap is data infrastructure, not model availability.
Run an honest readiness check before committing budget to any AI initiative. The output tells you whether to start building or whether to invest in data, systems, or process maturity first. Do not skip the readiness check because the business case for AI is compelling. A compelling use case with unready infrastructure produces a failed project, not a deployed product.
AI consulting
Governance & compliance
Keeping AI legal, safe, and accountable.
- Data Privacy / PIIPII
Personally identifiable information is any data that can identify a specific person, and data privacy is the practice of protecting it throughout an AI system. Feeding customer data into AI tools without controls is a common and serious exposure. Where data goes, how long it is kept, and who can see it must be settled before launch.
Feeding customer data into an AI tool without controls is like leaving a customer file open on a shared desk. The exposure is not intentional; it is structural, and that does not reduce the liability.
A company uses a consumer AI tool to summarize customer support transcripts. The tool sends those transcripts to a third-party model. When a GDPR review surfaces this, legal halts the tool immediately.
Map every data flow in your AI system before launch: what data enters, what model processes it, where it is stored, and who can access it. This is standard practice, not a compliance formality. There is no context where personal data can flow through an AI system without a legal basis, retention policy, and access control. These requirements do not scale with project size.
AI governance- GDPR & ComplianceGDPR
GDPR is the European Union regulation governing how personal data is collected and used, and it applies to any organization handling the data of EU residents, wherever that organization is based. Compliance is not optional and the fines are material. For AI, the hard parts are consent, the right to an explanation, and knowing exactly what data a model was exposed to.
GDPR is not a European regulation for European businesses only. It is a global requirement for any business that touches the data of European residents, wherever that business is registered.
A US SaaS company discovers its EU user base subjects it to GDPR. Their AI feature auto-processes profile data. Legal requires a data processing agreement with the AI provider, a documented lawful basis, and deletion procedures.
Check GDPR applicability before any AI feature that processes personal data. It is not a post-launch consideration. Baking in compliance from the start is far cheaper than retrofitting it. There is no use case where GDPR compliance can be skipped if you process the data of EU residents. The size of the project is not a factor in whether the regulation applies.
AI governance- Model Governance
Model governance is the set of policies and controls for approving, monitoring, and documenting the AI models an organization uses. As AI spreads across a company, governance is what keeps it auditable and accountable. Its absence is what turns a promising pilot into an unmanaged risk.
Model governance is the change management process applied to AI. You would not roll out new enterprise software with no documentation, no approvals, and no rollback plan. AI models deserve the same rigor.
A bank runs 14 AI models across credit, fraud, and marketing. Model governance ensures every model has a named owner, a documented version, a performance benchmark, and a review schedule. When one drifts, the process knows who to call.
As soon as more than one AI model is in production. The cost of governance at that scale is low. The cost of ungoverned AI at scale, when a model makes a systematic mistake, is high. Model governance should not slow down AI experimentation in the PoC phase. Apply it to production systems, not every internal demo or prototype still being evaluated.
AI governance- Shadow AI
Shadow AI is employees using AI tools that the organization has not approved or does not know about. Shadow AI is where most corporate data leaks happen. A ban rarely works; it just drives the behavior underground. Sanctioned tools that are good enough to use openly work better.
Shadow AI is the AI equivalent of employees using personal phones for work email. The behavior is understandable; the business has no visibility into what is being sent or stored.
A financial services firm finds its analysts have been pasting client data into a consumer AI tool for months. The tool's terms allow training on submitted data. The firm has a data breach under GDPR definitions with no way to recall it.
Assess shadow AI risk proactively. Survey which tools employees are already using and what data they are submitting. The answer shapes your approved tool policy and access controls. Do not respond to shadow AI with a blanket ban and no alternatives. People use unauthorized tools because they are solving a real problem. Give them a sanctioned tool good enough to prefer over the unauthorized one.
AI governance- AI Policy
An AI policy is a company's written rules for how AI may and may not be used, covering data, approved tools, and human oversight. A clear policy is what lets a team move fast without stepping on legal or reputational landmines. It turns AI from a free-for-all into a managed capability.
An AI policy is the equivalent of an acceptable use policy for company devices. It does not stop every misuse, but it sets clear rules, removes ambiguity, and creates a documented basis for accountability.
A media company publishes a one-page internal AI policy: which tools are approved, what data cannot enter AI tools, how AI-generated content must be disclosed, and who to contact with questions. Adoption of approved tools doubles.
Write the policy before employees need to make their own judgment calls. A clear policy in place before an incident is an asset. A policy written after an incident is a defense. An AI policy without enforcement and approved alternatives is security theater. The policy is the starting point; the approved tool stack and training are what make it operational.
AI governance- Audit Trail / Traceability
An audit trail is a complete record of what an AI system did and why, so any decision can be reconstructed and reviewed later. In regulated work, an answer you cannot trace is an answer you cannot defend. Traceability is what makes AI decisions accountable to auditors, regulators, and customers.
An audit trail for AI is the same as a financial ledger: every decision is dated, attributed, and preserved so that any question about what happened can be answered with evidence, not memory.
A regulated lender logs every AI decision: the input, the model version, the output, and the timestamp. When a customer disputes a decline, the compliance team retrieves the exact record and provides a documented response.
In any regulated industry or any AI system that makes decisions affecting people or money. Build traceability into the design from the start, not as a retrofit after a compliance review. Retaining every AI interaction is expensive and may itself create data compliance obligations. Audit logs should retain what regulation and business need require, not everything by default.
Compliance automation
RaftLabs services referenced in this glossary
Ask an AI
Get an instant summary of this post from your preferred AI assistant.
Frequently asked questions
- It is written for executives, founders, and decision-makers who need to evaluate AI without a technical background. Every term is explained in plain language and framed around the business decision it affects, not the engineering behind it.
- It is reviewed every month. AI terminology changes quickly, so we add new terms as they enter real business conversations and revise existing ones when the practical meaning shifts.
- A chatbot answers questions in a conversation. An AI agent goes further: it plans and takes actions toward a goal, calling tools and other systems, so it can complete a task like processing a refund end to end rather than only describing how.
- Retrieval-augmented generation, or RAG, lets an AI model answer using your own documents by fetching the most relevant passages at the moment of the question. It is how a business gets an AI assistant that knows its policies, contracts, and product data without retraining a model, which makes it the default approach for most knowledge-based AI tasks.
- Buy when the problem is common and an existing tool fits your workflow. Build when the capability is a competitive advantage or nothing off the shelf matches how you work. For most companies the honest answer is a mix: buy the commodity parts and build the few things that set you apart.
- Usually not. For most business problems, prompting and retrieval-augmented generation are cheaper, faster, and easier to update than fine-tuning. Fine-tuning becomes worthwhile only for specific tone or format needs that the simpler approaches cannot meet.
- Most AI capability is rented by usage, billed in tokens, so you pay every time a feature is used. A prototype can be cheap to build and still expensive to run at scale, which is why running cost has to be designed in from the start.
Related articles

Why Your Offshore Dev Partner Is Now Your Biggest AI Risk
86% of organizations have zero visibility into their AI data flows. If your offshore team is shipping AI-generated code without governance policies, your IP, compliance posture, and production quality are all exposed.

LLMs make reliable synthetic consumers, but not if you ask for a score
PyMC Labs and Colgate-Palmolive figured out how to run concept testing with LLMs at 90% of human test-retest reliability. The trick is never asking the model for a number.

What is retrieval augmented generation (RAG)? Complete guide
Fine-tuning an LLM costs months and six figures. RAG gives you the same domain accuracy in days by connecting models to your data at query time - here is how the architecture actually works.
