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:
| Option | What it means |
|---|---|
| Build | Your own code, scheduled by Airflow, cron or a cloud function, often with a library like dlt |
| Buy a managed ELT tool | A vendor runs and maintains connectors; you configure them |
| Visual or low-code builders | A drag-and-drop or YAML connector builder; you define the API calls, the tool runs them |
| Hybrid | Managed 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.
| Responsibility | What it involves | What happens if you skip it |
|---|---|---|
| Authentication | API keys or OAuth, token refresh before expiry, secret storage, re-authorisation when a user leaves | Syncs stop silently when a token expires |
| Pagination | Cursor, offset or page-token pagination, each API with its own rules | Only the first page of data arrives |
| Rate limits | Respect per-second and daily quotas, read rate-limit headers, back off and resume | Throttling, 429 errors, partial loads |
| Incremental cursors | Track the last updated_at or change token per table, store it safely, handle late-arriving updates | Full reloads every run, or missed updates |
| Schema drift | New fields, renamed fields, type changes, nested JSON that grows | Load failures, or new columns that never appear |
| Backfills | Load years of history in chunks without hitting limits, re-sync one table without touching the rest | No history, or a backfill that takes the API down for a day |
| Deletes | Detect records deleted at the source, through a deletion endpoint, a full reconcile or soft-delete flags | The warehouse keeps rows that no longer exist, totals drift upward |
| Retries and idempotency | Retry failed requests and failed loads without creating duplicates, merge on primary keys | Duplicated rows after every incident |
| Monitoring | Alerts on failures, freshness checks, row count anomalies, logs someone can read at 2am | Stakeholders find the problem before you do |
| API version changes | Vendors retire endpoints and versions on their own schedule; ad platforms ship new API versions several times a year | A 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
| Responsibility | Hours |
|---|---|
| Authentication and token refresh | 8 |
| Pagination | 4 |
| Rate limits, retries and backoff | 8 |
| Incremental cursors and state | 10 |
| Schema mapping and nested JSON | 10 |
| Schema drift handling | 6 |
| Backfill of historical data | 8 |
| Deletes | 6 |
| Loading with merge on primary key | 6 |
| Monitoring and alerting | 4 |
| Tests, documentation and deploy | 10 |
| Total | 80 |
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 line | Build in-house | Managed tool |
|---|---|---|
| Build or setup hours | 520 hours | 12 hours |
| Build or setup cost (at €90) | €46,800 | €1,080 |
| Monthly hours once running | 28 hours | 2 hours |
| Monthly running cost (hours, infra, licence) | €2,620 | €579 |
| First data in the warehouse | after month 4 | in 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.
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:
| Sources | 2 hours per connector per month | 4 hours | 8 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.
| Question | Points to build | Points 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 two | Five or more, and growing |
| Does a maintained connector exist? | No, and none is planned | Yes, for most of your sources |
| Is data movement part of your product? | Yes, it is what you sell | No, it feeds analytics and operations |
| How fresh must data be? | Sub-second, inside a product feature | Minutes to hours |
| Who would maintain it? | Data engineers with on-call and spare capacity | Analysts, or engineers with a product roadmap |
| Monthly volume | Billions of rows | Up to tens of millions of rows |
| Compliance | Data may not pass through any third party | A vendor with SOC 2, a DPA and a region choice works |
| When do you need the first data? | In a quarter or later | This 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 /schemareturns 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.
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:
| Responsibility | Who handles it in a Weld custom connector |
|---|---|
| Calling the source API: auth, rate limits, the API's own pagination | You, in your connector code |
| Storing the incremental cursor | Weld stores the state you return and sends it back next run |
| Storing secrets such as refresh tokens | Weld, through the weldSecret field |
| Schema generation | Weld, from your /schema response or inferred from the rows |
| Scheduling, loading into the warehouse | Weld |
| Error handling, alerting and lineage | Weld |
| Deletes and source API version changes | You |
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:
- Coverage of your actual sources, and how deep each connector goes: which tables, incremental or full sync, history and deletes.
- Pricing model against your volume: rows, credits or connectors. Model your next 12 months, not today.
- Freshness your plan includes, and what faster syncs cost.
- A path for the long tail: custom connectors or a connector builder, so one missing source does not force a second tool.
- What comes after loading: whether transformation, orchestration and reverse ETL are in the same tool or need three more.
- 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
FAQ
A data pipeline is any automated process that moves data between systems. ETL is one type of data pipeline that extracts data, transforms it, then loads it into a destination. Most modern analytics pipelines are ELT instead: they load raw data first and transform it with SQL inside the warehouse.
Buy connectors for sources you do not control, such as SaaS tools and ad platforms, because the ongoing maintenance costs more than the licence. Build when you own the source, have one or two stable sources, run very large volumes, or when data movement is part of your product. Most teams combine the two.
A mid-complexity REST API connector takes around 80 engineering hours to build to production quality, and around 4 hours a month to maintain. At a loaded rate of €90 an hour that is €7,200 to build and about €4,300 a year to keep running, before infrastructure. In our estimates, simple APIs take 20 to 30 hours; ad platforms and ERPs can take 150 or more.
One connector to a simple API can be built in a week. A set of six production-grade connectors, with shared scheduling, loading and alerting, takes one engineer about four months in our worked example. A managed tool loads the first data in days.
The trade-off is the same as for connectors. Writing to SaaS APIs adds record matching, change detection, write rate limits and partial-failure handling, so buy it for SaaS destinations and build it only for systems you own.
Custom ETL is pipeline code you write and run yourself, usually for a source no tool supports. Visual and low-code connector builders sit in between: you describe the API calls, and the tool handles running them. Custom connector frameworks such as Weld's go a step further by letting you write the source-specific code in any language while the platform handles scheduling, loading, state and alerting.



