AI features for SaaS products are an architecture decision, not a feature flag. Adding one is a decision about who owns the model, who pays for inference, and what happens when it is wrong. It is a decision about who owns the model, who pays for the inference, and what happens when it is wrong.
There are three paths. Each one commits you to a different cost structure.
Path 1: build on a model API
You call a model provider directly, write the prompts, and own the feature end to end.
What you control: the prompt, the data flow, the evaluation, the cost, and the user experience.
What you own: the model bill, the latency, the failure handling, and the quality.
Best for: a feature that is core to the product and differentiated by your data or your workflow.
The trap: the cost per user is invisible until usage grows. A generous feature with no cap becomes a margin problem.
Path 2: buy a vertical AI product
You integrate a vendor that already does the task: support, search, document extraction, transcription.
What you control: the integration and the user experience around it.
What you own: the vendor relationship, the data agreement, and the exit path.
Best for: a feature that is necessary but not differentiated. Support deflection and document OCR are examples.
The trap: the vendor owns the model, the pricing, and the roadmap. You own the customer relationship when it fails.
Path 3: connect through MCP
You expose your product's data and actions through an MCP server, and the customer uses their own assistant to reach them.
What you control: the tools, the scopes, the data boundary, and the audit.
What you own: the connector, the permissions, and the reliability.
Best for: products where the customer already works in ChatGPT, Claude, or another assistant, and wants your data there.
The trap: the assistant owns the conversation. Your product becomes a tool in someone else's interface.
The MCP path in practice
An MCP server for a SaaS product exposes narrow tools: get_account_usage, list_open_invoices, create_ticket. Each is read-only unless a write is explicitly designed.
The host assistant makes one call and receives a synthesized answer. The customer never sees the tool list. The product stays the system of record.
This is the path CorpusIQ took with its connector layer: more than 40 business tools exposed to ChatGPT and Claude through MCP, with read-only access and a source on every answer.
The decision table
| Question | Build | Buy | Connect |
|---|---|---|---|
| Is the feature differentiated? | Yes | No | Sometimes |
| Who owns the model? | You | Vendor | The customer's assistant |
| Who pays for inference? | You | Vendor, in the price | The customer |
| How fast to ship? | Slow | Fast | Medium |
| What is the margin risk? | High | Medium | Low |
| What is the lock-in risk? | Low | High | Medium |
| What is the data boundary? | Yours to design | Vendor's | Yours to expose |
The table does not make the decision. It makes the trade-offs visible.
The requirements people forget
Latency. A feature that takes 20 seconds feels broken. Streaming helps; a smaller model helps more.
Cost per user. Model the usage distribution, not the average. A few heavy users can dominate the bill.
Evaluation. A public feature needs a regression set and a pass mark, or the first bad output is a support ticket.
Data boundary. The customer's security team will ask where the data goes. "The vendor's cloud" is an answer, not a control.
Failure handling. What does the user see when the model times out? A spinner is not a design.
Opt-out. Some customers will not want AI in their workflow. The feature needs a path for them.
What not to build
A chatbot that answers questions the docs already answer. It adds a failure mode without adding value.
A generative feature with no review step in a regulated workflow. The liability is yours.
A feature that requires the customer to change their process. Adoption will be low and the support load will be high.
An AI layer on top of a broken data model. The model will surface the inconsistency, and the customer will blame the feature.
Sources and what they change
Two OpenAI documents set the cost floor for any build path.
- Prompt caching. Cached input is discounted up to 95% on supported models. A product feature with a stable system prompt and tool schema gets most of that benefit on the repeat path.
- Batch API. 50% off with a 24-hour window. Backfills, evaluations, and bulk enrichment belong there, not in the interactive path a customer is waiting on.
Related
- AI for SaaS: internal vs product.
- Model Context Protocol: the standard behind the connect path.
- MCP server for business: what the server exposes.
- AI for software companies: the internal projects.
Questions owners ask
Build if the feature is differentiated and you have the evaluation discipline. Buy if it is necessary and undifferentiated. Connect if the customer wants your data in their own assistant.
A usage cap, a smaller model for the common path, caching for repeated requests, and a cost dashboard per account.
Each customer's data must be isolated at the connector and the prompt level. A shared index is a data leak waiting to happen.
Almost never. A hosted model with a good prompt and a retrieval layer covers most product features.
One feature, one evaluation set, one cost model. Ship it to a beta group before the roadmap expands.

