Business

Estimating the Maintenance Hours Behind an Integration

Antonio Evans8 min read

A whiteboard with three columns labeled 'Schema updates', 'Log reviews', 'Reconnects'.
Key points

Key points

  1. 1The build cost of an integration is a one-time number, while schema updates, log reviews and reconnects repeat forever and compound against your hourly rate.
  2. 2Roughly 60 to 70 percent of an integration's lifetime cost arrives after launch, according to the build vs buy integration analysis.
  3. 3Schema drift is measurable: KushoAI's API testing data found that 41 percent of APIs changed shape within 30 days and 63 percent within 90 days.
  4. 4A modest $10,000 build that needs four hours of upkeep a month carries about $2,400 a year in recurring labor at a $50 hourly rate, before coordination overhead.

Separate build hours from recurring hours

Most integration business cases fail on a simple accounting error: the build estimate and the maintenance estimate get merged into one number, and the smaller, recurring number disappears. The build vs buy integration guide puts initial development at only 30 to 40 percent of the total cost of ownership for custom integrations, with maintenance eating the rest. That ratio is the entire argument for counting recurring hours first.

Split the work into three buckets before you estimate anything:

BucketWhat lives thereHow often it recurs
One-time buildAuth flow, mapping, first deployment, testingOnce
Recurring engineeringSchema updates, reconnects, dependency upgradesMonthly to quarterly
Recurring operationsLog reviews, incident response, vendor coordinationDaily to quarterly

The build bucket is the one your team already estimates well, because it produces visible deliverables. The other two are invisible until a field goes null in production and someone spends a day finding it.

A practical rule: if you cannot name the person who will do a task every month after go-live, you have not estimated it. The cost does not vanish. It lands on whoever is on call, at their fully loaded rate, usually at the worst possible moment.

Price schema updates as frequency times hours

Schema drift is the single largest recurring line item for most vendor integrations, and it is the one buyers most consistently undercount. The API drift analysis reports that 41 percent of APIs experience schema drift within 30 days, rising to 63 percent within 90 days. It also notes that field additions make up 86 percent of drift events, which matters because providers label those changes non-breaking while strict deserialization breaks anyway.

Put a multiplier on it. For a single vendor API, assume the following:

  • Drift events per year: 12, derived from a rough one per month if you take the 30-day figure at face value, or fewer if you discount additions that genuinely do not affect your code.
  • Hours per event to detect: 0 if you have automated schema monitoring, 1 to 2 if you discover it from a customer report.
  • Hours per event to fix: 1 to 4 for a field addition or nullability change, 8 or more for a type change or restructure.
  • Hours per event to test and deploy: 1 to 2, including a rollback plan.

A conservative worked example: 12 drift events a year, 2 hours each to triage and fix, plus 1 hour to test and deploy. That is 36 hours annually, or $1,800 at $50 an hour, for one vendor. Multiply by the number of vendors in the flow. A three-vendor integration carries roughly $5,400 a year of schema labor before anything actually breaks.

The detection half of that number is the one worth attacking. Detecting drift from a customer complaint means the 2-hour triage figure becomes a full day, because you are reconstructing what changed from partial logs. The proactive monitoring approach is to record a baseline of field names, types and enums, poll the same requests on a schedule, diff against the baseline, and classify each change as breaking, warning or informational. That is a few hours of setup and near-zero marginal cost per event. It converts a 16-hour discovery into a 15-minute one.

Price log reviews per day, plus incident time

Log review is the task everyone schedules and nobody does, so it becomes a firefighting cost instead of a monitoring cost. The integration logging guide is blunt about the consequence: without proper logging, every integration issue is a firefighting exercise rather than a proactive catch.

Estimate it in two parts. First, the standing review: minutes per day, times working days. Ten minutes a day across 250 working days is about 42 hours a year, or $2,100 at $50 an hour. That number sounds large until you compare it to the alternative, which is not zero reviewing but unplanned debugging after an incident.

Second, incident time. Log quality determines whether an incident costs 30 minutes or a full day. A log entry with a timestamp, a severity level and a context identifier lets someone find the failing execution directly. A log line that says error and nothing else sends someone hunting through thousands of executions. The same guide recommends logging triggers, special steps, errors and completions, while deliberately not logging every iteration of a loop over thousands of records. That distinction is where the hours live: log the failing iteration, not the 3,727 successful ones before it.

A working incident estimate:

  • Incidents per quarter: 2 to 4 for a healthy integration, more during vendor migrations.
  • Hours per incident with good logs: 1 to 2.
  • Hours per incident with poor logs: 4 to 8.
  • Hours per incident if it touches money or customer-facing data: double either figure.

At three incidents a quarter and 2 hours each, that is 24 hours a year, or $1,200. With poor logs and 6 hours each, it is 72 hours, or $3,600. The difference between those two numbers is a one-time investment in structured logging, which is exactly the kind of trade a maintenance estimate exists to surface.

Price reconnects by failures per quarter

Reconnects are the quiet tax on any integration that authenticates to a vendor. They recur because tokens expire, refresh flows break, credentials rotate, and vendors change their authorization requirements. The MCP authorization tutorial describes the general shape: a client gets a 401, discovers the authorization server metadata, registers or presents credentials, and obtains a token. Every one of those steps is a place where a reconnect can fail for reasons unrelated to your code.

The MCP authorization spec walkthrough notes that the specification leans on OAuth 2.1 and treats the server as a resource server, which is good design and also means your integration inherits OAuth's failure modes: clock skew, rotated signing keys, scope changes, and refresh-token expiry. The OAuth implementation guide makes the tuning explicit, with access tokens configured between 300 and 3,600 seconds and refresh tokens between 300 and 86,400 seconds. Short access token lifetimes mean more refresh cycles and therefore more chances to fail silently.

Estimate reconnects like this:

  • Failures per quarter: 1 for a stable vendor with long-lived tokens, 3 to 6 if tokens are short-lived or credentials rotate on a schedule.
  • Hours to recover manually: 0.5 to 2, depending on whether the failure is a clean 401 or a silent scope downgrade.
  • Hours to recover if nobody noticed: much higher, because the integration fails quietly and data stops flowing.

Four reconnect events a year at 1.5 hours each is 6 hours, or $300. That is small on its own. It stops being small when the reconnect happens overnight and the first signal is a support ticket three days later, which is why the Agentic MCP security guidance treats authentication posture as critical infrastructure rather than a setup step. The same guidance reports that a large share of internet-exposed MCP servers run without authentication at all, which is the opposite failure: not too many reconnects, but no boundary to reconnect across.

The mitigation that pays for itself fastest is scope discipline. The Casdoor scope reference shows the pattern clearly: a scope like application:read grants two read tools, while application:write grants three write tools, and the alias admin grants everything. If your integration requests admin because it was easier during the build, every future scope change at the vendor is a potential reconnect. Requesting the narrow scope is a build-hour decision that removes recurring hours.

Run the payback check against the build cost

Here is the full worked estimate for a three-vendor integration, built for $10,000 and maintained by one engineer at $50 an hour fully loaded.

TaskFrequencyHours per eventAnnual hoursAnnual cost
Schema updates12 per year336$1,800
Log reviews (standing)Daily, 10 min0.1742$2,100
Incident response3 per quarter224$1,200
Reconnects4 per year1.56$300
Subtotal108$5,400
Coordination (20%)21.6$1,080
Total recurring129.6$6,480

The 20 percent coordination add is not padding for its own sake. Every recurring task carries a ticket, a standup mention, a vendor email, and a deployment window. Coordination is real work that never appears on a build estimate because the build is a single project with a single owner.

The payback check is now straightforward. The build costs $10,000. The recurring cost is $6,480 a year. Over three years the total is $29,440, and the build is under a third of it, which lines up with the 30 to 40 percent figure from the integration TCO analysis. If a managed solution costs less than $6,480 a year and covers the same vendors, buying wins on the numbers alone. If it costs more, building is defensible, but only if you have named the person who will absorb those 130 hours.

A second check: what has to be true for the build to win? Either the recurring hours drop (via monitoring, narrow scopes and structured logs, which might halve the total to about $3,000 a year) or the hourly rate drops (via an engineer whose time genuinely has no better use). If neither is true, the maintenance estimate has already answered the build vs buy question. The build vs buy software decision guide makes the same point from the other direction: AI-assisted development has compressed build timelines while leaving the maintenance question untouched.

To keep the estimate honest after go-live, instrument it rather than trusting memory. A minimal drift check is cheap to stand up:

# Record a baseline of the current response shape
curl -s https://api.vendor.com/v1/orders/latest \
  -H "Authorization: Bearer $TOKEN" \
  | jq 'path(..) | map(tostring) | join(".")' | sort > baseline.txt

# Later: diff against the baseline to see structural change
curl -s https://api.vendor.com/v1/orders/latest \
  -H "Authorization: Bearer $TOKEN" \
  | jq 'path(..) | map(tostring) | join(".")' | sort > current.txt

diff baseline.txt current.txt

This catches added and removed fields but not type changes or nullability shifts, so treat it as a floor, not a monitoring system. Its real value is that it turns a vague "we think the vendor changes things sometimes" into logged events you can count, which is how the multiplier in the table above gets validated instead of guessed. The API performance monitoring guide covers the fuller set of metrics worth watching once an integration is in production.

When the schema work itself is the bottleneck, an expert that reads your context and returns finished work can absorb the mapping and test updates rather than the recurring review, which is a different kind of saving. For teams comparing the whole stack, Quanta Inference puts text, image, video, audio and embedding models behind one API key, which removes one vendor's auth and schema surface from the maintenance estimate entirely.

FAQ

FAQ

How many years should I project maintenance costs over?

Three years is the usual horizon for an integration decision, because most vendor contracts and internal system lifecycles run on that cycle. Beyond three years the variance swamps the estimate, since a vendor may be replaced or an entire flow rearchitected. Use three years for the payback check and revisit annually with real logged hours.

Can I reduce the recurring hours without rebuilding?

Yes, and the highest-leverage changes are cheap: automate schema diffing, request narrow OAuth scopes instead of admin aliases, and structure logs with timestamp, severity and a context identifier. Each is a few hours of one-time work that removes hours from the recurring column. The logging guidance is a good starting point because log quality determines incident duration.

What hourly rate should I use for the estimate?

Use the fully loaded rate: salary, benefits, overhead and the opportunity cost of the work. The build team's rate often differs from the on-call team's rate, and the on-call rate is the one that applies to incidents. A single blended number is fine as long as it is not the unloaded salary figure, which understates every line in the table.

Does a managed integration remove all recurring hours?

No. It moves them: configuration reviews, renewal checks and vendor-side schema changes still land on someone. What a managed solution usually removes is the incident response and reconnect work, which are the spikiest lines. Compare the remaining hours to the subscription cost rather than assuming zero.

How do I estimate maintenance for an integration nobody has built before?

Borrow the multipliers from comparable work rather than starting from scratch. Schema updates tracked to drift rates, log review at minutes per day, and reconnects at failures per quarter give you a defensible range even with no history. Then add the 20 percent coordination allowance and present a range, not a point estimate, because the purpose is comparing options, not predicting the future to the hour.

Sources

Sources

  1. Exploring the Build vs. Buy Integration Debate - Exalate
  2. 41% of APIs Drift Within 30 Days, What the Data Says ...
  3. Integration Logs: Neglected but Essential
  4. Understanding Authorization in MCP
  5. Part Two: MCP Authorization The Hard Way
  6. Implementing OAuth for MCP servers: A developer's guide
  7. Agentic MCP Security Best Practices Guide, Lab Space
  8. MCP authorization and scopes
  9. Build vs Buy Software: Pros and Cons, Costs, and How to Decide ...
  10. API Performance Monitoring: Key Metrics and Best Practices
About the author

About the author

Antonio Evans
Antonio Evans

Antonio Evans is the founder of Quanta Intelligence and a fractional CTO who builds HIPAA-ready AI systems for health and life-science companies. Before that he was technical co-founder of FriendsEAT for twenty years, CEO of Socialdraft, and a data engineer at IBM. Antonio lives with his dog Santino in Lisbon, Portugal.

All articles