How Does Twilio Make its Money?

Twilio Inc. (NYSE: TWLO) generated $4.46 billion in total revenue in fiscal year 2024, up 7.5% from $4.15 billion in 2023, operating as the world’s leading cloud communications platform. Every time you receive a two-factor authentication code by SMS, get a delivery update text from a retailer, call a customer service line through an app, or receive a transactional email from an e-commerce order — there is a high probability Twilio’s infrastructure is handling that communication. The company’s APIs allow any developer or business to embed messaging, voice, video, and email into their products without building or managing telecom infrastructure.

Twilio’s model is structurally different from most software companies: revenue is usage-based, meaning customers pay for what they consume — per SMS sent, per minute of voice, per email delivered, per verification request processed — rather than a fixed monthly subscription. This creates a natural land-and-expand dynamic where customers start small (integrating a single API endpoint) and grow spending as their own user base scales and as they adopt additional Twilio products.

The company operates two distinct businesses: Communications (82% of revenue) — the core API platform for messaging, voice, email, and authentication — and Segment (18% of revenue) — the customer data platform (CDP) Twilio acquired for $3.2 billion in 2020 that collects, unifies, and activates first-party customer data. The strategic thesis behind the acquisition: combining Segment’s unified customer profiles with Twilio’s communication channels creates an end-to-end customer engagement platform that is more valuable than either product alone.

In 2024, Twilio achieved a significant milestone: GAAP operating profitability for the first time, reporting operating income of $0.20B (4.5% margin) and net income of $0.12B — the result of aggressive cost restructuring in 2023 that cut 17% of the workforce and refocused investment on profitable growth over hypergrowth.

Key Takeaways

  • Twilio generated $4.46B in total revenue in FY2024 (+7.5% YoY) — growth has decelerated significantly from 40%+ rates during the pandemic era as the communications API market matures and large customers optimize usage more carefully
  • Usage-based pricing is Twilio’s fundamental revenue mechanic: customers pay per message, per minute, per email, per API call — meaning Twilio’s revenue is directly correlated with the volume of communications its customers send, which in turn correlates with their business activity and user engagement
  • Communications (82% of revenue, $3.68B) is the core business — programmable messaging (SMS/WhatsApp/MMS), voice APIs, SendGrid email, and Verify authentication. Revenue grows when customers send more messages and acquire more users
  • Segment CDP (18%, $0.45B) is the data layer Twilio acquired for $3.2B in 2020 — it collects first-party customer data and routes it to 400+ downstream tools; strategic value is highest when combined with Communications to power personalized, data-driven outreach
  • Gross margin of 51.1% is materially lower than most SaaS companies (~70–80%) because Communications revenue carries significant carrier pass-through costs — Twilio pays telecommunications carriers (AT&T, Verizon, global carriers) for every SMS delivered, compressing the gross margin on each message
  • GAAP profitable in 2024: operating income of $0.20B, net income of $0.12B, and free cash flow of $640M — a structural turnaround from -$1.02B net loss in 2023, driven by cost restructuring rather than revenue acceleration
  • Dollar-Based Net Expansion (DBNE) of 105%: existing customers are spending 5% more year-over-year — healthy but well below the 115%+ rates of Twilio’s high-growth era, signaling that the largest customers have optimized their usage and growth is now more dependent on new customer acquisition

Twilio (TWLO) Business Model

Twilio operates a usage-based API platform model — selling metered access to communication infrastructure rather than fixed-price software licenses. For the general framework, see the Usage-Based Business Model. The economic characteristics of usage-based models — revenue that scales with customer success, low switching costs, and high volume / low margin per transaction — shape Twilio’s unit economics in important ways.

The Communications API layer:

Twilio’s core value proposition is abstracting the complexity of global telecommunications into simple API calls. Building a messaging capability from scratch requires carrier relationships in 180+ countries, compliance with local SMS regulations, phone number management infrastructure, delivery reliability engineering, and ongoing maintenance. Twilio handles all of this and exposes it through a few lines of code. A developer can send an SMS to any phone number in the world by making a single API call to Twilio’s REST endpoint.

The pricing mechanics:

  • SMS: Twilio charges per message segment (160 characters = 1 segment). In the U.S., a typical SMS costs $0.0079 to send. At billions of messages per month across Twilio’s customer base, small per-unit margins aggregate to significant revenue — but carrier fees (what Twilio pays to deliver the message) represent a substantial portion of that price, explaining the compressed gross margin
  • Voice: Charged per minute (typically $0.013/minute for outbound calls in the U.S.). Twilio pays underlying carrier costs, again compressing margin
  • Email (SendGrid): Volume-based email pricing with a generous free tier (100 emails/day free) that drives developer adoption. Paid tiers scale from $15/month for small senders to enterprise contracts for high-volume senders. Email carries higher gross margins than SMS or voice because carrier pass-through costs are minimal
  • Verify (authentication): Per-verification pricing for phone number verification and two-factor authentication. One of Twilio’s fastest-growing and highest-margin API products since authentication is non-discretionary spending for any app with user accounts

The land-and-expand flywheel:

Twilio’s go-to-market is developer-first: engineers discover Twilio through documentation, free-tier accounts, and word-of-mouth in developer communities, and integrate it without requiring a sales cycle. A startup integrating Twilio for SMS notifications at 10,000 users grows into a 10M-user platform that is spending $500K+/year — without Twilio ever having sold to that company in the traditional sense. This is the land-and-expand motion: low friction to start, automatic revenue growth as the customer scales.

Segment — the data intelligence layer:

Segment is a Customer Data Platform (CDP) that sits upstream of all customer-facing tools. It collects events (page views, purchases, signups, button clicks) from websites, mobile apps, and servers, stitches them into unified customer profiles, and forwards that data to 400+ downstream destinations — marketing automation tools, analytics platforms, data warehouses like Snowflake, CRM systems like Salesforce. Segment charges on a monthly tracked user (MTU) basis — the number of unique users whose data passes through the platform.

The strategic intent behind combining Segment with Communications: if Segment knows a customer browsed a product three times and abandoned their cart, Twilio Communications can trigger the perfect SMS or email at the right moment. Data intelligence + communication channel = more effective customer engagement than either provides alone. The execution of this integration — turning it into a differentiated product rather than two separate acquisitions — remains the central test of Twilio’s long-term strategy.

Twilio Competitors

Twilio competes across its two segments with distinct competitor sets, plus faces the structural threat of hyperscaler commoditization.

Communications API competitors:

  • Amazon SNS/SES/Pinpoint / Amazon — AWS’s native messaging (SNS), email (SES), and customer engagement (Pinpoint) services are the most significant competitive threat to Twilio’s Communications business. For AWS customers already running infrastructure on Amazon, the path of least resistance is using Amazon’s native communication primitives rather than integrating a third-party like Twilio. Amazon can afford to price aggressively because communications is a relatively small margin on top of massive cloud infrastructure spend. See Amazon Revenue Breakdown
  • Vonage (Ericsson) — Twilio’s most direct API-for-communications competitor prior to its acquisition by Ericsson. Now backed by Ericsson’s telecom infrastructure, Vonage competes on enterprise relationships and carrier-grade reliability
  • MessageBird / Bird — A European-originated communications API platform that has expanded aggressively into the U.S. and Asia, competing directly on SMS, WhatsApp Business API, and omnichannel customer communication. Offers aggressive pricing, particularly in international markets
  • Zoom — Competes with Twilio’s video and voice APIs through Zoom’s SDK and developer platform products. Also competes at the contact center layer through Zoom Contact Center. See Zoom Revenue Breakdown
  • Cloudflare — Not a direct competitor in communications, but Cloudflare’s Workers and R2 storage compete for developer mindshare and infrastructure wallet share at the application layer. As Cloudflare expands its developer platform, it creates alternative architectural patterns that reduce Twilio integration for some use cases. See Cloudflare Revenue Breakdown

Customer data platform (Segment) competitors:

  • Adobe Experience Platform CDP — Adobe’s enterprise CDP competes directly with Segment for marketing technology budget, particularly at large enterprises already running Adobe Analytics, Campaign, and Target. Adobe’s integrated marketing cloud is a formidable bundling competitor. See Adobe vs Salesforce Comparison
  • Salesforce CDP / Data Cloud — Salesforce has built its own CDP product (now called Data Cloud) that competes with Segment for customer data unification. Salesforce’s advantage is deep CRM integration; its weakness is that Segment is natively multi-destination (routes data anywhere), while Salesforce Data Cloud is naturally Salesforce-centric. See Salesforce Revenue Breakdown and Salesforce vs HubSpot
  • Snowflake / data warehouse-native CDPs — As data warehouses like Snowflake become the central customer data store for large enterprises, the CDP function is increasingly being performed inside the warehouse using dbt and reverse ETL tools, reducing the need for a standalone CDP like Segment. This warehouse-native trend is a long-term structural pressure on Segment’s addressable market. See Snowflake Revenue Breakdown
  • Datadog — Not a CDP competitor, but competes for developer and engineering budget in the observability and infrastructure monitoring layer. As Twilio competes for developer mindshare and enterprise IT spending, Datadog represents an overlapping budget category. See Datadog Revenue Breakdown

Revenue Breakdown

Segment20242023YoY Growth
Communications$3.68B$3.50B+5.1%
Segment (CDP)$0.45B$0.40B+12.5%
Total Revenue$4.46B$4.15B+7.5%

Communications — 82% of Revenue

The core API platform, composed of:

  • Programmable Messaging (SMS/MMS/WhatsApp/Chat) — The largest Communications revenue contributor. Twilio handles billions of messages per month for use cases including two-factor authentication codes, transactional notifications (order confirmations, delivery tracking, appointment reminders), marketing campaigns, and conversational commerce via WhatsApp Business API. Revenue grows with customer message volume — which grows with their user base. Carrier pass-through costs (what Twilio pays AT&T, Verizon, Vodafone, etc. to deliver each message) are the primary driver of the segment’s relatively low gross margin
  • Programmable Voice — Voice calling APIs that power customer service centers, telehealth platforms (patients calling doctors through telemedicine apps), ride-hailing dispatch, and enterprise communications. Charged per minute; carries similar carrier cost dynamics to SMS
  • SendGrid (Email) — Transactional and marketing email infrastructure acquired in 2019 for $3B. SendGrid sends billions of emails monthly for e-commerce order confirmations, password resets, newsletters, and marketing campaigns. Email gross margins are meaningfully higher than SMS or voice because carrier pass-through costs are negligible — Twilio controls more of the margin. SendGrid’s free tier (100 emails/day) is one of the most successful developer acquisition strategies in SaaS
  • Verify (Authentication) — Phone number verification and two-factor authentication API. Used by virtually every consumer internet company that offers account security. Verify is priced per successful verification, carries higher gross margins than raw messaging, and benefits from the regulatory tailwind of mandatory 2FA across financial services, healthcare, and enterprise software
  • Video — Programmable video APIs for telehealth, virtual events, and enterprise collaboration. A smaller and more competitive segment, facing pressure from Zoom’s developer products

Communications gross margin is approximately 45–50% — the lowest gross margin line in Twilio’s portfolio due to carrier costs. As Twilio’s mix shifts toward higher-margin products (Verify, email, AI-driven tools), blended Communications margins have room to expand.

Segment (CDP) — 18% of Revenue

Segment collects customer behavioral data from websites, mobile apps, and backend servers using client-side and server-side libraries. It creates unified customer identity profiles — combining anonymous and known user behavior — and routes that data to 400+ downstream tools via pre-built integrations:

  • Analytics destinations: Amplitude, Mixpanel, Google Analytics
  • Data warehouse destinations: Snowflake, Databricks, BigQuery
  • CRM destinations: Salesforce, HubSpot, Marketo
  • Marketing automation: Braze, Klaviyo, Iterable

Segment charges based on Monthly Tracked Users (MTUs) — the number of unique users whose data flows through the platform each month. Revenue grows as customers’ user bases grow and as they activate more destinations.

Segment gross margin (~70–75%) is substantially higher than Communications, reflecting the software-only cost structure (no carrier pass-through). As Segment’s share of total revenue grows from 18%, it will structurally pull Twilio’s blended gross margin upward.

Twilio (TWLO) Income Statement

Metric20242023
Total Revenue$4.46B$4.15B
Gross Profit$2.28B$2.08B
Gross Margin51.1%50.1%
Operating Income$0.20B-$0.66B
Operating Margin4.5%-15.9%
Net Income$0.12B-$1.02B

Financial data sourced from Twilio SEC Filings.

The swing from -$1.02B net loss in 2023 to +$0.12B net income in 2024 reflects Twilio’s 2023 restructuring: the company cut ~17% of its workforce, reduced real estate footprint, and reset its operating cost base. The improvement in operating margin from -15.9% to +4.5% is the largest year-over-year profitability improvement in company history. Note that prior years’ net losses were driven heavily by non-cash stock-based compensation and goodwill impairments (including a partial Segment writedown) — see GAAP vs Non-GAAP for context.

Twilio (TWLO) Key Financial Metrics

  • Gross Margin: 51.1% — Notably below the 70–80% typical for pure SaaS companies, because Communications revenue carries carrier pass-through costs on every SMS and voice minute. As Twilio’s mix shifts toward higher-margin products (Verify, SendGrid email, Segment), gross margin has structural expansion potential; see Gross Margin vs Operating Margin for how carrier costs affect this metric
  • Operating Margin: 4.5% — Turned GAAP profitable in 2024 for the first time, driven by cost restructuring. The absolute level is thin for a software company, but the trajectory (from -15.9% in 2023) is the significant data point
  • Dollar-Based Net Expansion (DBNE): 105% — Existing customers are spending 5% more YoY. Healthy, but substantially below the 115–130% rates Twilio reported at its hypergrowth peak, when the pandemic drove a surge in messaging volume across e-commerce, healthcare, and financial services. Recovering DBNE toward 110%+ requires re-accelerating usage among existing large customers and winning new platform-level deals
  • Free Cash Flow: $640M — Strong FCF relative to net income, because the primary cost driver in prior years (stock-based compensation, ~$500M annually) is non-cash. FCF is the most accurate measure of Twilio’s cash generation potential
  • Active Customer Accounts: 320,000+ — The long tail of developers and small businesses drives volume; the concentration risk is at the top (a handful of large platform customers — aggregators like Uber, Airbnb, major fintechs — represent disproportionate revenue share)

Is Twilio Profitable?

Yes, Twilio achieved GAAP profitability for the first time in 2024. The company reported net income of $0.12 billion on $4.46 billion in revenue, with an operating margin of 4.5% — a landmark reversal from the -$1.02B net loss in 2023. The turnaround was driven primarily by aggressive cost restructuring in 2023 (17% workforce reduction, real estate consolidation) rather than revenue acceleration; revenue grew only 7.5%, not enough on its own to achieve profitability at the pre-restructuring cost base.

The more important profitability measure for Twilio is free cash flow of $640M, which strips out non-cash stock-based compensation (~$500M annually) and shows the underlying cash economics of the business. On an FCF basis, Twilio has been generating meaningful cash for longer than GAAP profitability suggests. The operating leverage in the model is real: Communications gross profit grows as volume scales with relatively fixed infrastructure costs, and Segment’s high-margin software revenue increasingly offsets the low-margin carrier-cost Communications drag.

Twilio (TWLO): What to Watch

  1. Revenue growth reacceleration — 7.5% growth at Twilio’s scale is the critical concern. The company grew 50%+ annually from 2017–2021, powered by pandemic-era messaging surges and rapid developer adoption. The post-pandemic normalization, combined with large customers optimizing message volumes more carefully, has compressed growth to single digits. Restoring growth toward 10–15%+ requires: winning new platform deals with large enterprises, launching AI-powered communication products that create new use cases (AI-driven customer service, conversational AI via SMS/WhatsApp), and expanding internationally where the communications API market is earlier-stage
  2. Segment integration and differentiation — The $3.2B Segment acquisition has not yet produced the differentiated combined product that justified the acquisition price. Twilio’s CustomerAI vision — using Segment data to power intelligent, personalized Communications — is the right strategic direction, but competitors (Adobe, Salesforce, and warehouse-native CDP tools) have not stood still. The degree to which Twilio can create a genuinely differentiated “data + channels” product that wins against point-solution competitors is the central long-term strategic question. See Adobe vs Salesforce for context on the marketing technology competitive landscape
  3. AI in customer communications — Generative AI is creating a new category of AI-powered customer interaction: AI agents that can respond to customer inquiries via SMS, WhatsApp, or voice; AI that drafts personalized messages at scale; AI that determines the optimal channel and timing for each communication. Twilio’s CustomerAI suite and its partnerships with AI model providers position it to capture this opportunity — but so do Amazon Bedrock (with native AWS communication tools) and specialist AI companies building on top of Twilio’s APIs
  4. Gross margin expansion — The path from 51.1% to 55%+ gross margin is the highest-leverage profitability driver. Mix shift toward Segment (70–75% gross margin) and Verify/SendGrid (higher margin than raw SMS) naturally pulls blended margins up. Twilio is also negotiating more favorable carrier contracts as its volume scale increases buying power. Each 100bps of gross margin improvement on $4.5B in revenue equals ~$45M in additional gross profit at zero additional revenue
  5. Competitive pressure from hyperscalers — AWS’s communications suite (SNS, SES, Pinpoint, Connect) is the most credible long-term threat to Twilio’s Communications business. As more workloads run on AWS, the economic and architectural incentive to use native AWS communication tools rather than integrating Twilio grows. Twilio’s response — multi-cloud neutrality, superior developer experience, and richer API features — needs to remain compelling as AWS narrows the functionality gap
  6. Capital allocation: buybacks vs. M&A — With $640M in annual FCF and $3B+ in cash, Twilio has significant capital allocation decisions ahead. The company has been buying back shares aggressively. The question is whether the right use of capital is continued buybacks (implying confidence that organic growth will reaccelerate) or strategic M&A to fill product gaps (AI capabilities, international distribution, vertical-specific communication tools). See Share Buyback for how buyback programs affect earnings per share

Twilio (TWLO) Financial Summary

Twilio (NYSE: TWLO) is a cloud communications and customer data company that generated $4.46 billion in total revenue in fiscal year 2024 (+7.5% YoY), with net income of $0.12B (first-ever GAAP profit), operating margin of 4.5%, and free cash flow of $640M. The business model combines usage-based Communications API revenue (SMS, voice, email, authentication — 82% of total) with subscription-like Segment CDP revenue (18%), creating a platform that addresses both the communication channel and the customer data layer of enterprise customer engagement. The 51.1% gross margin reflects the carrier cost structure of the Communications segment, while the mix shift toward higher-margin Segment and Verify products provides a structural gross margin expansion path. Revenue growth deceleration to 7.5% is the primary investor concern; restoring growth while maintaining new profitability discipline is the management mandate. For sector context, see the Cloud Computing Sector and Enterprise Software Sector analyses.

For peer context: Salesforce Revenue Breakdown, Datadog Revenue Breakdown, Cloudflare Revenue Breakdown.

Frequently Asked Questions

How does Twilio make money? Twilio makes money primarily through usage-based pricing on its Communications APIs — customers pay per SMS sent (~$0.0079), per voice minute (~$0.013), per email delivered, and per authentication verification processed. This usage-based model means Twilio’s revenue scales automatically as its customers’ businesses and user bases grow. Twilio also earns subscription-like revenue from Segment, its customer data platform, which charges based on Monthly Tracked Users (MTUs). In 2024, Communications accounted for 82% of revenue ($3.68B) and Segment 18% ($0.45B).

Why is Twilio’s gross margin lower than other SaaS companies? Twilio’s gross margin of 51.1% is lower than the 70–80% typical for pure SaaS because its Communications segment has significant carrier pass-through costs. Every SMS Twilio delivers requires paying a telecommunications carrier (AT&T, Verizon, Vodafone, or a local carrier) to actually transmit the message. These carrier fees are a direct cost of revenue, compressing the gross margin on each message. Email (SendGrid) and authentication (Verify) carry higher margins because they have lower or no carrier pass-through costs. As Twilio’s revenue mix shifts toward email, verification, and Segment, blended gross margin should expand toward 55%+.

What is Segment and why did Twilio buy it? Segment is a Customer Data Platform (CDP) that collects first-party behavioral data from websites, apps, and servers, creates unified customer identity profiles, and routes that data to 400+ downstream marketing, analytics, and data warehouse tools. Twilio acquired it for $3.2 billion in 2020. The strategic rationale: combining Segment’s customer data intelligence with Twilio’s communication channels creates an end-to-end customer engagement platform — Segment knows who the customer is and what they’ve done, Twilio delivers the right message to them at the right moment through the right channel.

Is Twilio profitable? Yes, Twilio became GAAP profitable for the first time in 2024, reporting net income of $0.12B on $4.46B in revenue and an operating margin of 4.5% — a dramatic reversal from the -$1.02B net loss in 2023. The turnaround was driven by significant cost restructuring in 2023 (17% workforce reduction) rather than revenue acceleration. On a free cash flow basis — which better reflects Twilio’s cash generation by excluding ~$500M in non-cash stock-based compensation — the company has been cash-positive for longer, generating $640M in FCF in 2024.

Who are Twilio’s main competitors? In Communications APIs, Twilio’s main competitors are AWS (Amazon SNS/SES/Pinpoint), Vonage/Ericsson, and MessageBird/Bird. AWS is the most significant long-term threat because it can bundle communication primitives with cloud infrastructure, making it economical for AWS-native companies to use Amazon’s tools instead of Twilio. In the Segment CDP market, competitors include Adobe Experience Platform, Salesforce Data Cloud, and warehouse-native CDP approaches using Snowflake and reverse ETL tools. Across both segments, Twilio’s competitive moat is its developer experience, API depth, 180+ country reach, and the uniqueness of combining data intelligence (Segment) with communication delivery (Communications).