Enterprise
Build vs Buy AI Agents: A Decision Guide for Teams
Checked 2026-10-31
Loading poll...
Buy an agent when the job is common and a mature product already does it, because you pay a seat price and skip months of engineering. Build when the agent works on your own data and systems in a way no product supports, or when it is part of what you sell. Most teams end up with a hybrid: a bought shell extended with their own tools.
The decision in one table
Your situation | Lean toward | Why |
|---|---|---|
Developers want coding help | Buy | Several mature products at seat prices, extensible with your own tools |
Support wants draft replies | Buy first | Helpdesk vendors ship it; build only if your data is unusual |
An agent over your private systems, unique workflow | Build or hybrid | No product knows your systems |
The agent is your product | Build | It is your differentiator and your margin |
Data cannot leave your network | Build on open weights, or buy a private deployment | Narrows the vendors, see private AI |
You need it in weeks | Buy | A build takes longer than the trial of a product |
Volume is huge and predictable | Compare seat price with token cost | Tokens can undercut seats at scale, or not |
The table is a starting position. The sections below give the reasoning and the numbers we can cite. Governance applies either way, so read AI agent governance, and for the controls to check when buying see enterprise AI agents.
What "buy" costs, from published prices
A bought agent is priced per seat or per credit. These are the list prices we checked on 2026-10-31.
Product | Plan | Price | What the price covers |
|---|---|---|---|
GitHub Copilot | Business | $19 per user a month | 1,900 AI credits per user, where 1 credit is $0.01 |
GitHub Copilot | Enterprise | $39 per user a month | 3,900 credits per user |
Cursor | Teams | $30, $100 or $200 per seat | Tiered by included usage |
Claude | Team Standard | $25 monthly, $20 annual per seat | See Claude pricing |
n8n Cloud, annual | Starter | 20 euros a month | 2.5K executions |
n8n Cloud, annual | Pro | 50 euros a month | 10K executions |
Product prices change often, so read each vendor's page again before you sign. The details are on GitHub Copilot pricing, Cursor pricing and n8n pricing, and a cross-product table on AI coding agent pricing compared.
Seat prices hide two costs. Usage on top of the seat is real: Copilot's credits are a pool, and Cursor passes third-party model use through at API list price on its higher plans. And the seat gives you the vendor's roadmap, not yours. If the vendor does not build the thing you need, you wait.
What "build" costs: the real drivers
Building means an agent loop, tools, a model API, hosting and a way to know it works. Token cost gets the attention and is usually the smallest part. We will not quote market rates for engineering, since they vary by country and team, and we have no source for them. The cost drivers are these.
Driver | What it covers | How it grows |
|---|---|---|
Model tokens | Input and output at the vendor's price | With volume and prompt size |
Engineering | Building the loop, tools, connectors, interfaces | With the number of systems it touches |
Evaluation | A test set that tells you if the agent works | With every change of model or prompt |
Hosting | Where the code runs, queues, storage | With load and uptime needs |
Monitoring | Logs, traces, cost alerts, error review | With the number of users |
Security and governance | Review, approvals, access, audit trails | With risk tier |
Maintenance | Model changes, API changes, bug fixes | Forever |
The last row is the one teams forget. Models are retired and replaced on a vendor's schedule: Mistral's Medium 3.5, for instance, is deprecated on its API from 31 October 2026, and Anthropic and OpenAI keep older models on the price list at their old rates until they do not. Every retirement is a migration for a builder and a non-event for a buyer.
Token arithmetic you can do today
Tokens are the one cost you can calculate from public prices, so do it for your use case. Take a job of 10 million input tokens and 2 million output tokens, a hypothetical monthly volume. The arithmetic is ours, from the published prices, with no caching.
Model | Input | Output | Total |
|---|---|---|---|
Claude Sonnet 5.5 ($2 / $10) | $20 | $20 | $40 |
GPT-6.1 Sol ($2 / $10) | $20 | $20 | $40 |
Claude Haiku 5.5 ($0.10 / $0.50), short prompts | $1 | $1 | $2 |
DeepSeek V4.1 Flash off-peak ($0.15 / $0.60) | $1.50 | $1.20 | $2.70 |
A Copilot Business seat at $19 is worth 1,900 credits at one cent each. At Sonnet 5.5 rates, $19 of API spend buys about 9.5 million input tokens, or about 1.9 million output tokens. Whether a seat or the API is cheaper depends on how many tokens one person's day really uses, and we have no figure for that, so measure it in your pilot. The break-even idea is simple: if an engineer's agent use would cost more in tokens than the seat price, the seat is a bargain, and if it costs less, the API is cheaper before you add the cost of building the interface. The comparison ignores the engineering cost of the build, which usually dominates.
For the vendors behind the prices see Anthropic, OpenAI and DeepSeek, and for a cross-vendor table LLM API prices.
Build: the stack you would choose
If you build, you choose three layers.
- A model API or open weights. See the provider pages above, and self-hosted AI for open weights.
- An agent framework or none. AI agent frameworks compares twelve. Examples with pages here: LangGraph, CrewAI, OpenAI Agents SDK and Claude Agent SDK. All four are MIT-licensed in the repositories we checked, and the framework pages list stars and releases.
- Tools through MCP. The Model Context Protocol lets an agent call tools you write once and reuse across agents. See what are MCP servers and MCP vs API.
A framework is optional. A simple agent is a loop that calls a model, runs a tool and repeats, and some teams find a few hundred lines of their own code clearer than a framework. Choose a framework when you need its state handling, retries or tracing, not because it is popular.
Buy: what to demand
A purchase fails when you buy the demo. Ask for these before you sign.
Area | What to ask |
|---|---|
Data | Retention, training, residency, ZDR, model by model |
Control | Admin policy you can lock, audit logs, SSO and SCIM |
Extensibility | Can we add our own tools, rules and models? |
Cost | What is the price once the included usage runs out? |
Lock-in | What do we export, and in what format? |
Roadmap | Which of our needs are on it, in writing? |
Exit | What happens to our data and our custom tools if we leave? |
Most of these are covered in more depth on enterprise AI agents.
The hybrid path
The most common good answer is neither pure build nor pure buy. You buy the agent and extend it. Coding agents accept your own MCP servers, skills, rules files and hooks, so your company's knowledge and tools run inside a product someone else maintains. Claude Code, Cursor and OpenCode all take your own tools. Workflow builders such as n8n take custom code and connectors, so a support or operations agent can be built from parts.
Part | Buy | Build |
|---|---|---|
The agent shell and interface | Yes | |
The model | Yes, or open weights | |
Your connectors and tools | Yes, as MCP servers or workflow nodes | |
Your rules and prompts | Yes, in version control | |
Evaluation for your tasks | Yes | |
Governance and logging | Shared | Yes |
The build part is small and valuable. It is also what you keep if you change the shell, which lowers lock-in. Our how to build an MCP server guide covers the first step, and MCP server development services lists what a provider would do for you.
A scoring sheet
Score each statement from 0 to 2 for your agent. Add the two columns.
Statement | Build score | Buy score |
|---|---|---|
A mature product already does this job | 0 if yes | 2 if yes |
The agent needs our private systems in ways no product supports | 2 if yes | 0 if yes |
The agent is part of what we sell | 2 if yes | 0 if yes |
Our data rules narrow vendors to almost none | 2 if yes | 0 if yes |
We need it live within a quarter | 0 if yes | 2 if yes |
We have engineers to maintain it for years | 2 if yes | 0 if no |
Vendor lock-in would hurt us badly | 1 if yes | 0 if yes |
If the build column beats the buy column by three or more, start a build or a hybrid. If it loses by three or more, buy. In between, run a four-week pilot of the bought product with one custom tool, and see if the gap closes. The sheet is a conversation aid and has no statistical basis.
If you build: a plan that avoids the usual traps
A build goes wrong in familiar ways, and the fixes are cheap if you do them first. This is the order we would use for a first agent.
- Write the job in one sentence and the success test beside it. "Triage new support tickets into five queues, with at least the accuracy of a new hire on our own tickets" is testable. "Help support" is not.
- Collect an evaluation set before you write the agent. Gather real examples with the right answers, from your own data, including the awkward ones. Keep a held-out part that you never tune against. The set is the asset that survives a change of model.
- Start with the simplest loop. One model call, one or two tools, a hard step limit and a spend cap. Add structure only when the evaluation shows the simple version failing.
- Put a person in the loop for any action that changes something. Remove the person later, per action, once the logs show the agent is reliable.
- Log every step from day one. Without a trace you cannot debug a bad answer or answer an auditor.
- Pin the model and re-run the evaluation on every change. Vendors change defaults and retire models, so treat a model change as a release.
- Name the owner and the budget. An agent with no owner is the failure we see most often in write-ups of failed projects.
If you buy: a pilot that tests fit
A bought product needs its own test. Run a four-week pilot with 10 to 20 users and a short list of tasks drawn from real work. Measure four things: whether people keep using it after the first week, how often its output needs rework, what the usage and cost look like against the included allowance, and whether the controls you rely on actually work. That last one matters most for a regulated team. Turn on the policy locks, the logging and the data settings during the pilot, and check that each one does what the documentation says. A product that only works with its safeguards off is not a fit.
At the end, write down the three things the product could not do. If one of them is critical and the vendor will not commit to it in writing, you have found your hybrid extension, or your reason to build.
When the answer changes
The choice is not permanent. Revisit it when one of these shifts.
Change | Likely effect |
|---|---|
A vendor ships your missing feature | Move from build to buy, and retire code |
Seat prices rise or credits shrink | Re-run the token arithmetic against the API |
Open models close the gap for your task | Self-hosting becomes viable, see open source LLM |
Your data rules tighten | Narrow to private deployments or open weights |
The agent becomes core to your product | Move from bought to built, for control and margin |
Your maintainer leaves | Reconsider the build, or document it fast |
Put a review date on the decision, six months out, and record the assumptions it rested on.
Red flags
Red flag | Why it matters |
|---|---|
"We will build it in a few weeks" with no evaluation plan | You will ship something you cannot tell is good |
A vendor demo using clean sample data only | Your data is messy, and that is where agents fail |
A build with no named maintainer | Models change, and the agent will rot |
A purchase with no export path | Lock-in is the real price |
An agent with write access and no human review | See governance |
Cost estimates made only from token prices | The engineering cost dominates |
Our take
For common jobs, buy. The products are mature, the seat prices are public, and the engineering you would spend is better used elsewhere. For anything that touches your own systems in a way that makes your business different, build, but build small: one agent, one loop, a handful of MCP tools, an evaluation set and a named owner. In between, extend. Whichever way you go, the same two things decide the outcome: the data terms you accept, and whether someone owns the agent a year from now.
We have not run tests for this page. It uses published prices and documents as read on 2026-10-31, with arithmetic shown. It is not financial or legal advice. If you want a provider to scope a build or a hybrid, get quotes from AI service providers, or read AI agent development services first.
Related pages
Enterprise AI agents, AI agent governance, AI agent frameworks, how to build an AI agent, AI agent platform builders.
Questions
When should we buy an AI agent instead of building one?
Buy when the job is common (coding help, support drafting, meeting notes), a mature product exists, and your differentiator lies elsewhere. Building rarely pays for a task that a seat-priced product already does.
When does building make sense?
When the agent works on your own data and systems in a way no product supports, when it is part of what you sell, or when data rules rule out the vendors. Then the cost is engineering, evaluation and upkeep, not tokens.
What is the hybrid option?
Buy the agent shell and extend it. Coding agents accept your own MCP servers, skills and rules, and workflow builders accept custom code. You keep the product and add the part that is yours.
What does a build really cost?
Token cost is the smallest part. The cost drivers are engineering time, evaluation sets, hosting, monitoring, security review and maintenance when models change. We list them without quoting market rates.
Loading poll...