The Hidden Costs of Headless Shopify Most Agencies Don't Mention
Dev cost is only 40% of the true headless Shopify TCO. A scarred, honest breakdown of the other 60%, with real monthly numbers.
Every headless Shopify pitch deck opens with the same slide. A six-figure development fee, a beautiful before-and-after Lighthouse score, and a confident claim that the investment pays back inside a year. The slide is not dishonest. It is incomplete. In our work across more than two hundred and fifty Shopify stores, including forty-odd headless builds and fourteen painful migrations back to theme, we have watched the same pattern play out. The build quote is roughly forty percent of what the architecture actually costs the business over three years. The remaining sixty percent hides under the waterline, spread across six or seven recurring invoices, a slower content team, and a category of engineering work that did not exist on the theme. This article is the honest version of the conversation. It is the one we have with founders before we let them sign a headless statement of work, and it is the one we wish someone had had with the merchants who called us a year in asking why their Shopify bill had quietly tripled.
The forty percent everyone quotes
The build itself is the part of headless everyone remembers because it is the part that shows up on a purchase order. A straightforward Hydrogen or Next storefront rebuild, with no real composable ambition beyond swapping the theme for React, runs between sixty and one hundred and twenty thousand dollars at a competent agency. A more realistic mid-market composable build, where you introduce a headless CMS, a product experience layer, a search provider and a proper design system, sits between one hundred and fifty and three hundred thousand. Enterprise scope, with multi-region routing, B2B price books, custom loyalty and multiple brands on one codebase, clears four hundred thousand and often lands closer to a million. Amortised over a realistic three-year life, even the middle case adds sixty to one hundred thousand dollars per year of capitalised cost before anything has launched. That is the number that gets quoted. It is real. It is also the smallest line on the ledger you are about to open.
The recurring stack nobody quotes
The content layer you did not know you were buying
The headless CMS is the first place the invoice quietly starts moving. On Shopify theme, the merchandising team writes in the Shopify admin and the admin is free. The moment you go headless you typically adopt Sanity, Contentful or Storyblok. Sanity looks cheap on the landing page, with a Growth plan that starts at ninety-nine dollars a month, and it genuinely is cheap for small teams. The price moves once you add real editors and once your storefront actually uses the API on every request. Sanity meters editor seats at fifteen dollars each beyond the first three, and it meters API CDN requests with real overage above the included million. A merchant serving three million monthly pageviews with GROQ queries on every product page will generate forty to eighty million API requests, and the overage on that tier alone will run between four hundred and twelve hundred dollars monthly. Contentful arrives at a higher floor with its Premium tier starting close to twenty-five hundred dollars a month and per-seat pricing in the mid three figures annually. Storyblok sits in the middle. The realistic cash number for a mid-market Shopify Plus merchant with ten to fifteen editors and healthy traffic is between eighteen and fifty-four thousand dollars a year on the CMS alone, a line that did not exist when the team was writing in Shopify.
The CDN bill that grows with your success
The second surprise arrives with the hosting and edge bill. Shopify's own CDN, the one that serves your Dawn theme today, is effectively free inside your Shopify subscription. Going headless means serving the front end from somewhere else, usually Vercel, Netlify, Cloudflare or Shopify's own Oxygen. Oxygen is generous for Hydrogen storefronts but its bandwidth quotas are real and enterprise overages are negotiated privately. Vercel, which is where most non-Hydrogen builds land, charges twenty dollars per seat and fifteen cents per gigabyte of bandwidth after the included allowance. A Shopify storefront moving three million pageviews a month with a two-megabyte median page weight ships roughly six terabytes of bandwidth. That one line is nine hundred dollars. Add incremental static regeneration invalidations on every product update, image optimisation requests charged per thousand, edge middleware invocations charged per million, and preview deployments for every pull request, and the real Vercel bill for a mid-size Plus store lands between fifteen hundred and five thousand dollars a month. Compound that with a separate image delivery pipeline for editorial imagery through Cloudinary or the Sanity asset CDN, and a video host like Mux for product video, and the content-delivery stack reaches thirty-six thousand dollars a year before you have optimised a single image. Your theme site paid none of this.
The monitoring SaaS that arrives with the architecture
Shopify themes do not require observability because the platform owns the runtime. Headless changes that. The moment you ship a Node or edge front end that calls the Storefront API, the CMS, a search provider and a personalisation engine on every request, you own latency, error rates, hydration failures and broken third-party scripts. You cannot run that without instrumentation, and instrumentation in 2026 means Datadog, Sentry or a similar SaaS stack. Datadog looks reasonable on the marketing site and becomes expensive quickly. Application performance monitoring starts around thirty-one dollars per host per month, real user monitoring is priced per million sessions, and log ingest is ten cents per gigabyte with retention on top. A modest headless Shopify deployment with a couple of front-end regions, an API gateway and a few Node workers instrumented properly will produce a monthly Datadog bill between five hundred and two thousand dollars. Sentry sits alongside it at two hundred to five hundred dollars once session replay is turned on, which every client wants after the first missed bug. Add a synthetic monitor like Checkly or Better Uptime and a realistic observability floor for a headless Shopify merchant is eight hundred to twenty-five hundred dollars a month, or ten to thirty thousand dollars annually. This line is invisible in the original pitch.
The content-operations tax nobody budgets
The cost that does the most damage to year-one performance is not a SaaS invoice. It is the retraining of the merchandising team. A merchandiser who has spent three years in the Shopify admin has built intuition for how products, collections, metafields and theme sections compose a page. Moving that team to Sanity Studio or Contentful means learning a new mental model, a preview-and-publish workflow, a staging environment, a separate asset library and a content model that was designed by engineers. The first ninety days see a thirty to fifty percent drop in content velocity. Campaigns that used to ship on a Tuesday slip to Thursday. Small copy tweaks become tickets. Editors ping engineers for things that used to be a two-minute admin edit. On a four-person merchandising team with a fully-loaded cost of eighty thousand dollars each, that velocity hit is thirty to fifty thousand dollars of real productivity, and that assumes a good trainer. Most agencies bill two to eight thousand dollars for a single training workshop and then quietly book retainer hours for months afterwards fixing the fallout. We have never seen this line on a headless proposal. We always see it on the year-one P&L.
The checkout you do not actually own
The most technically underappreciated cost of headless Shopify is that the checkout is still Shopify. Shopify will not let you host its checkout. You get Checkout UI Extensions on Plus, Shopify Functions for discount and shipping and payment customisation, and Web Pixels for analytics inside the checkout frame. Everything before the checkout is your code. The seam between the two is where hidden costs pile up. A single A/B testing container no longer spans the whole funnel, because your storefront runs GrowthBook or Optimizely and the checkout runs its own extensibility surface, so experiments that need to read a storefront variant in a checkout function require custom metafield plumbing. Analytics doubles up, because GA4, Meta CAPI and Klaviyo need one integration in the storefront and a separate Web Pixel in the checkout, with reconciliation logic to avoid double-counting. Every Shopify app that previously injected a theme app extension, which is most of the review apps, loyalty widgets, bundle builders and upsell tools, stops rendering on your custom storefront. Each one becomes either a custom integration at five to twenty thousand dollars of development, or a swap to a headless-aware competitor that typically charges two to three times the price of the original app. Shopify Functions still work on a headless storefront, but the visual cart and product upsell editors from apps like Rebuy and Checkout Blocks need headless-compatible tiers. None of this makes headless impossible. All of it makes headless more expensive to own than the theme site it replaced.
The engineering retainer that quietly doubles
Theme-based Shopify stores typically spend between thirty and sixty thousand dollars a year on light development, split between an agency retainer and occasional app-integration work. The theme is stable. Shopify maintains the runtime. Breaking changes are rare. Headless architectures have a fundamentally different maintenance profile. The Storefront API versions every quarter. Next.js and Remix ship major versions that require migration. Node runtimes patch on Vercel and break edge functions that depended on specific APIs. Bundle sizes drift upward as editors add components until Core Web Vitals regress and somebody has to rewrite the hero. Dependencies in the React ecosystem deprecate on a timeline that nobody asked for. The realistic steady-state engineering cost on a headless Shopify build is one to two full-time equivalents, whether through an agency retainer at eighty to two hundred thousand a year or through an in-house front-end engineer at a fully-loaded one hundred and fifty thousand. This is net new above what the theme was costing, and it is the single line that most often gets cut from the original TCO because no agency wants to quote a retainer larger than the build fee.
Adding it up for a real merchant
The individual numbers only matter once you stack them. Take a ten-million-dollar Shopify Plus merchant considering a mid-scope composable rebuild. The build, amortised, is sixty thousand a year. The CMS with ten editors is thirty thousand. Hosting, image and video delivery is thirty-six thousand. Observability is eighteen thousand. Search, personalisation and replacement apps are another twenty-four thousand. The added engineering retainer, above what the theme was costing, is one hundred thousand. Year-one productivity loss from content retraining is forty thousand. Total first-year true cost is roughly three hundred and eight thousand dollars. Steady-state years two and three run around two hundred and eight thousand each. The same merchant on a well-built Dawn theme with custom sections, a sensible app stack and a CRO and performance retainer pays between forty-five and eighty thousand dollars all-in. The delta is three to five times annually. For the math to work, headless has to lift revenue by at least the delta, and ideally more. That is a real bar.
When headless still pays back
Headless Shopify is not a trap. It is a specific tool that works for a specific shape of business. When gross merchandise value is above thirty million, when the brand genuinely needs a storytelling surface the theme layer cannot express, when international routing or multi-brand code sharing is a hard requirement, when the internal team already operates composable elsewhere, the TCO is worth it and the conversion lift can exceed the stack cost. When the merchant is under fifteen million, when the merchandising team is small, when the current theme already posts a mobile LCP under two seconds, when the real conversion lever is pricing or assortment rather than motion design, the answer is almost always to stay on theme and spend a fraction of the money on a performance and CRO programme that will move the number faster. We have had both conversations this year. We lost a few headless pitches because we told the merchant not to do it. We won more retainers because the same merchant came back six months later after watching a competitor sink a quarter of a million dollars into a rebuild that did not convert.
How WitsCode scopes the decision
When a founder asks us to quote headless, we do not quote headless. We quote a two-week TCO analysis that maps the ten lines above against the merchant's actual traffic, team size, app stack and roadmap, and we force the client to sign off on each recurring number before we draw a single wireframe. Roughly a third of those analyses end with us recommending against the rebuild, scoping a theme optimisation programme instead, and putting the saved capital into paid acquisition or retention. The other two-thirds proceed to a headless build with both sides clear-eyed about what the second, third and fourth years will cost. That honesty is the reason we still get referrals from merchants whose headless project we talked them out of. If your agency has handed you a headless proposal that does not itemise the CMS, CDN, observability, retraining and app-replacement lines alongside the build fee, ask for the version that does. If they cannot produce it, you are not looking at a TCO. You are looking at a build quote, and the rest of the bill is going to arrive whether or not anyone warned you.
Want a real TCO on your headless proposal before you sign? WitsCode will line-item the full three-year cost against your traffic, team and app stack so the decision is yours and not the agency's.
Get weekly field notes.
Practical writing on shipping products, straight to your inbox. No spam.
Need help with this?
Shopify Development
We design and build web apps, MVPs, and SaaS products. Talk to us about what you are working on.
Talk to usWant to discuss ecom for your business?
Start a project and we'll talk through where you are, what's working, and the highest-leverage moves for the next 90 days.

