Writing a script that pulls data from an API into a warehouse takes an afternoon. Owning that script for three years is a different job. The API changes version, a token expires on a Saturday, a new field breaks a downstream model, someone asks for two years of history, and the engineer who wrote it moves to another team. That gap between "it ran once" and "it runs every day without anyone thinking about it" is what the build vs buy decision is really about.

This guide makes that gap concrete:

  • what a production connector has to handle, item by item
  • a total cost of ownership model with stated assumptions, so you can redo it with your own rate and hours
  • a decision matrix for when building is the right call
  • the hybrid path most teams end up on: managed connectors for common sources, custom connectors for the long tail
  • why reverse ETL has the same trade-off

Data pipeline vs ETL: what are you building?

A data pipeline is any automated process that moves data from one system to another: an API into a warehouse, a database into a lake, a warehouse back into a CRM, events into a stream. ETL (extract, transform, load) is one kind of data pipeline, where data is cleaned and reshaped before it lands. Most analytics pipelines today are ELT: they load raw data first and transform it with SQL inside the warehouse, which keeps a faithful copy you can rebuild from. Our ETL vs ELT guide covers the difference.

When people say "build vs buy data pipelines", they almost always mean the extract and load part: the connectors that pull data from each source. Transformation is usually SQL your team writes either way. So the question becomes: who writes and maintains the connectors?

There are four realistic options:

OptionWhat it means
BuildYour own code, scheduled by Airflow, cron or a cloud function, often with a library like dlt
Buy a managed ELT toolA vendor runs and maintains connectors; you configure them
Visual or low-code buildersA drag-and-drop or YAML connector builder; you define the API calls, the tool runs them
HybridManaged connectors for common sources, custom connectors for the rest

What a production connector has to handle

This is the checklist most build estimates leave out. The first version of a connector usually covers the first two rows. A connector you can trust covers all of them.

ResponsibilityWhat it involvesWhat happens if you skip it
AuthenticationAPI keys or OAuth, token refresh before expiry, secret storage, re-authorisation when a user leavesSyncs stop silently when a token expires
PaginationCursor, offset or page-token pagination, each API with its own rulesOnly the first page of data arrives
Rate limitsRespect per-second and daily quotas, read rate-limit headers, back off and resumeThrottling, 429 errors, partial loads
Incremental cursorsTrack the last updated_at or change token per table, store it safely, handle late-arriving updatesFull reloads every run, or missed updates
Schema driftNew fields, renamed fields, type changes, nested JSON that growsLoad failures, or new columns that never appear
BackfillsLoad years of history in chunks without hitting limits, re-sync one table without touching the restNo history, or a backfill that takes the API down for a day
DeletesDetect records deleted at the source, through a deletion endpoint, a full reconcile or soft-delete flagsThe warehouse keeps rows that no longer exist, totals drift upward
Retries and idempotencyRetry failed requests and failed loads without creating duplicates, merge on primary keysDuplicated rows after every incident
MonitoringAlerts on failures, freshness checks, row count anomalies, logs someone can read at 2amStakeholders find the problem before you do
API version changesVendors retire endpoints and versions on their own schedule; ad platforms ship new API versions several times a yearA working connector breaks on the vendor's deadline

None of these are hard on their own. The cost comes from doing all ten, for every source, and keeping them working while each vendor changes its API on its own calendar.

Total cost of ownership: a worked example

Here is a model you can reproduce. Every number is an assumption, labelled as one; change them to match your team.

The assumptions

  • Scope: six sources, each a mid-complexity REST API with 5 to 8 endpoints (a CRM, a billing tool, an ads platform and similar).
  • Loaded hourly rate: €90. A data engineer costing €140,000 a year fully loaded (salary, payroll taxes, pension, equipment, a share of management) across about 1,550 productive hours.
  • Build: 80 hours per connector, plus 40 hours once for the shared plumbing: scheduler, secret storage, warehouse loader and alerting.
  • Maintenance: 4 hours per connector per month, averaged over a year: API changes, expired credentials, schema changes, failed runs, backfill requests. Plus 4 hours a month for the shared plumbing.
  • Infrastructure: €100 a month for compute, scheduling and logs.
  • Managed tool: Weld's Premium plan, which lists at €399 a month with six connectors, 10 million monthly active rows and hourly syncs included. Plus 2 hours of setup per connector and 2 hours a month of oversight (reading alerts, re-authorising a source).

Hours to build one connector

ResponsibilityHours
Authentication and token refresh8
Pagination4
Rate limits, retries and backoff8
Incremental cursors and state10
Schema mapping and nested JSON10
Schema drift handling6
Backfill of historical data8
Deletes6
Loading with merge on primary key6
Monitoring and alerting4
Tests, documentation and deploy10
Total80

Simple APIs with an API key and one endpoint take 20 to 30 hours. Ad platforms, ERPs and anything with report jobs or complex OAuth can take 150 hours or more.

The two-year bill

Cost lineBuild in-houseManaged tool
Build or setup hours520 hours12 hours
Build or setup cost (at €90)€46,800€1,080
Monthly hours once running28 hours2 hours
Monthly running cost (hours, infra, licence)€2,620€579
First data in the warehouseafter month 4in week 1
Year 1 total€68,160€8,028
Year 2 total€31,440€6,948
Two-year total€99,600€14,976

How the build column adds up: 520 hours is about four months of one engineer's productive time, so the connectors go live after month 4 and maintenance runs for the remaining 8 months of year 1: €46,800 build, plus 8 × €2,520 maintenance, plus 12 × €100 infrastructure. The managed column is 12 × €399 for the licence, €1,080 of setup and 12 × €180 of oversight.

Line chart of cumulative cost over 24 months for six connectors, using the assumptions in the worked example. Building in-house rises steeply for the first four months while the connectors are built, reaching €47,200, then keeps climbing with maintenance to €68,160 at month 12 and €99,600 at month 24. The managed tool starts at €1,659 in month 1 and rises slowly to €8,028 at month 12 and €14,976 at month 24.

Two things stand out. The build cost is mostly not the build: by month 24, maintenance and infrastructure are more than half of it. And the running cost alone, €2,620 a month against €579, means building never catches up, even if you ignore the four months of engineering time that went into the first version.

What changes the answer

The model is most sensitive to maintenance hours and the number of sources. Monthly running cost of the in-house option at €90 an hour, including the shared plumbing and infrastructure:

Sources2 hours per connector per month4 hours8 hours
2€820€1,180€1,900
6€1,540€2,620€4,780
20€4,060€7,660€14,860

For comparison, Weld's Business plan lists at €999 a month with 10 connectors and 50 million monthly active rows included, and €99 for each extra connector, so 20 connectors on that plan are €1,989 a month. Weld prices are from our pricing page; other tools price by rows, credits or connectors, so run the same comparison against their pricing pages.

Building comes out ahead when one of these is true:

  • You own the source. A connector to your own product database or an internal API you control is cheap to maintain, because nobody changes the API without telling you.
  • There are one or two sources and they are stable. At two simple sources and 2 hours a month each, the in-house running cost is €820 a month.
  • Volume is very large. At billions of rows a month, row-based pricing can exceed the cost of an engineer, and a team that already runs streaming infrastructure may be better off owning it.
  • The pipeline is the product. If moving data is what you sell, it is core engineering, not overhead.

Build vs buy decision matrix

Answer each row for your situation and count which column you land in.

QuestionPoints to buildPoints to buy
Who controls the source API?You do (internal API, your own database)A vendor (SaaS tools, ad platforms)
How many sources?One or twoFive or more, and growing
Does a maintained connector exist?No, and none is plannedYes, for most of your sources
Is data movement part of your product?Yes, it is what you sellNo, it feeds analytics and operations
How fresh must data be?Sub-second, inside a product featureMinutes to hours
Who would maintain it?Data engineers with on-call and spare capacityAnalysts, or engineers with a product roadmap
Monthly volumeBillions of rowsUp to tens of millions of rows
ComplianceData may not pass through any third partyA vendor with SOC 2, a DPA and a region choice works
When do you need the first data?In a quarter or laterThis week

Mostly in the buy column: buy. Mostly in the build column: build, and budget for the maintenance from day one. A mix, which is the most common result, usually means common SaaS sources in the buy column and one or two in-house or niche systems in the build column. That is the hybrid path.

The hybrid path: managed connectors plus custom connectors

Most teams end up here: a managed tool for the 80% of sources that are common SaaS tools, and custom connectors for the long tail, such as an internal API, a niche industry tool or a partner's system. The goal is to write only the part of a connector that is specific to that source, and let a platform handle the rest of the checklist.

In Weld, a custom connector is an HTTP service you host anywhere, for example on Google Cloud Functions or AWS Lambda, that implements two endpoints:

  • GET /schema returns the tables the connector provides, each with a primary key, and optionally the fields and their types. Fields you leave out are inferred from the data.
  • POST / is called once per table. Weld sends the table name and the state your connector returned last time; your connector returns a page of rows, the new state and whether there is more.
JSON
1{
2  "insert": [
3    { "id": "inv_1042", "amount": 1250.0, "updated_at": "2026-11-08T09:14:00Z" }
4  ],
5  "state": { "updated_after": "2026-11-08T09:14:00Z" },
6  "hasMore": true
7}

Weld keeps calling while hasMore is true, stores the state for the next run, and can store a secret such as an OAuth refresh token that your connector returns. That splits the checklist like this:

ResponsibilityWho handles it in a Weld custom connector
Calling the source API: auth, rate limits, the API's own paginationYou, in your connector code
Storing the incremental cursorWeld stores the state you return and sends it back next run
Storing secrets such as refresh tokensWeld, through the weldSecret field
Schema generationWeld, from your /schema response or inferred from the rows
Scheduling, loading into the warehouseWeld
Error handling, alerting and lineageWeld
Deletes and source API version changesYou

You write and maintain the code that talks to the source, and Weld does not support that code itself. A custom connector counts as one connector type on your plan however many times you use it, and is available from the Premium plan. The custom connector tutorial walks through building and deploying one, and the Typeform example shows a complete connector in Python.

In the cost model above, a custom connector removes most of the shared plumbing (40 hours plus 4 a month) and the scheduling, loading, schema, monitoring and state parts of each connector. What remains is the source-specific work: authentication, pagination, rate limits and the cursor logic.

Reverse ETL has the same trade-off

Reverse ETL sends modelled data from the warehouse back into business tools: lifetime value onto CRM contacts, audiences into ad platforms, health scores into the support tool. Building it in-house looks like a small script, and has its own checklist that is arguably harder than reading:

  • Matching: finding the right record to update in the destination (by email, external ID or a lookup), and deciding what to do when there is no match.
  • Only sending changes: diffing against the last run so you do not rewrite a million CRM records every hour and burn the API quota.
  • Write rate limits and batch endpoints: destinations often allow far fewer writes than reads.
  • Partial failures: one bad row in a batch of 100 should not fail the other 99, and failed rows need to be retried and reported.
  • Field mapping and types: picklists, dates and custom properties that differ per destination object.

The same matrix applies: build when the destination is your own system, buy when it is a SaaS tool with its own API calendar. Weld's reverse ETL runs on the same platform as the connectors and models, and in an orchestration a sync only sends data after the model it reads from is up to date.

How to choose a data pipeline platform

If the matrix points to buying, or to the hybrid path, compare tools on the things that cost you time later, not on the length of the connector list:

  1. Coverage of your actual sources, and how deep each connector goes: which tables, incremental or full sync, history and deletes.
  2. Pricing model against your volume: rows, credits or connectors. Model your next 12 months, not today.
  3. Freshness your plan includes, and what faster syncs cost.
  4. A path for the long tail: custom connectors or a connector builder, so one missing source does not force a second tool.
  5. What comes after loading: whether transformation, orchestration and reverse ETL are in the same tool or need three more.
  6. Security and compliance: SOC 2, SSO, column hashing for personal data, data region.

For product analytics, add one more: whether the tool can replicate your product database with change data capture, since that is usually the largest and most important source. Our ETL tools compared guide reviews the main platforms on these points.

Sign up to Weld

Ready to start transforming your data into insights? Get started with Weld for free today.

FAQ