Twilio deep dive: sticky communications APIs, but a decade of losses and a first profit only in FY2025
Moat score 45.5/100 (Buffett criteria, no clear durable moat). A San Francisco customer engagement platform offering messaging, voice, email and video APIs that embed into applications, plus digital engagement centre, marketing campaign and user authentication software, with about 5,625 employees. Revenue grew from $200m in FY2015 to $5.1bn in FY2025 without a down year, but the company was loss-making in 10 of 11 years, and operating margin only turned positive, at 3.1%, in FY2025.
2026-11-19
Data as of 2026-11-19: financials through the FY2025 annual report (2025-12-31); prices through the 2026-10-30 close (dividend-adjusted). AI-assisted research, not investment advice. Financial figures come from SEC EDGAR 10-K and XBRL data. Anything I could not find is stated explicitly or marked "unverified"; nothing is guessed. Twilio was loss-making in 10 of 11 years. FY2025 was its first small profit (net income rounds to 0 in the tables; EPS about $0.21, or about $30m). ROIC has been negative since FY2021 and was 1.2% in FY2025. Capex has been missing since FY2022, so free cash flow is n/a and operating cash flow is used instead. Operating cash flow in FY2015–FY2020 was very small in absolute terms and rounds to 0.
Bottom line
Moat score 45.5/100 (Buffett criteria, details below): no clear durable moat. Twilio's communications APIs are deeply embedded in customers' products. Replacing them means rewriting code and re-approving carrier routes, so switching costs are relatively high, and revenue has not fallen in 11 years. But gross margin is only 47%–57%, the company has been loss-making for most years, FY2025 was its first small profit, and the valuation depends on a large future improvement in margins.
FY2025 revenue was $5.1bn (+13.7%), net income about $30m, gross margin 48.9%, operating margin 3.1%, ROIC 1.2%, R&D $1.0bn, operating cash flow $1.0bn and buybacks about $900m. The 10-K discloses: Twilio describes its vision as making "every digital interaction remarkable". Combining leading communications capabilities, rich contextual data and artificial intelligence (AI), it provides infrastructure for businesses of all sizes to deliver seamless, trusted and personalised customer experiences at scale. It offers highly customisable communications APIs that let developers embed messaging, voice, email and video into customer-facing applications, along with software products such as a digital engagement centre, marketing campaigns and user authentication. At a share price of $205.03 and about 160m shares, market cap is about $32.8bn. FY2025 EPS was about $0.21, for a P/E of about 976x, which is nearly meaningless, and a price-to-sales ratio of about 6.4x.
Snapshot
| Metric | Value | Note |
|---|---|---|
| Price / market cap | $205.03 / about $32.8bn | 2026-10-30 close; about 160m shares |
| P/E (FY2025, GAAP) | about 976x (very low reference value) | EPS about $0.21; price-to-sales about 6.4x; about 33x operating cash flow |
| FY2025 revenue / net income | $5.1bn / about $30m | Revenue +13.7%; FY2022 net loss $1.3bn |
| Gross margin / operating margin | 48.9% / 3.1% | 11-year gross margin range 47.4%–56.5%; operating margin -32.6%–3.1% |
| ROE / ROIC | 0.4% / 1.2% | ROIC -8.1% to -0.4% in FY2021–FY2024 |
| Operating cash flow | about $1.0bn | Positive since FY2023; FY2025 capex missing, so free cash flow n/a |
Business breakdown
Twilio is a cloud communications platform company. The 10-K explains:
- Communications APIs. Developer interfaces that embed messaging (SMS, chat), voice, email and video into customers' applications. This is the main source of revenue (share unverified).
- Digital engagement centre. Software for customer service and contact centres.
- Marketing campaigns. Outreach and campaign management products for marketing teams.
- User authentication. Identity verification and security products.
- AI and data. Combines contextual data and AI to personalise customer experiences. About 5,625 employees; listed in 2016.
Financial quality
Returns and cash flow over the years (figures in US$100m. ROE = net income / average shareholders' equity; ROIC = operating income x (1 - effective tax rate) / average (shareholders' equity + long-term debt). For companies such as banks and insurers without an operating-income basis, ROIC is shown as n/a.)
| FY | Revenue | Gross margin | Operating margin | Net income | ROE | ROIC | Operating cash flow | Capex | Free cash flow |
|---|---|---|---|---|---|---|---|---|---|
| 2015 | 2 | 55.4% | -21.2% | -0 | n/a | n/a | -0 | 0 | -0 |
| 2016 | 3 | 56.5% | -14.9% | -0 | -18.5% | n/a | 0 | 0 | -0 |
| 2017 | 4 | 54.2% | -16.6% | -1 | -18.5% | n/a | -0 | 0 | -0 |
| 2018 | 7 | 53.7% | -17.7% | -1 | -30.6% | n/a | 0 | 0 | 0 |
| 2019 | 11 | 53.7% | -32.6% | -3 | -13.0% | n/a | 0 | 0 | -0 |
| 2020 | 18 | 52.0% | -28.0% | -5 | -7.7% | n/a | 0 | 0 | 0 |
| 2021 | 28 | 48.9% | -32.2% | -9 | -9.8% | -7.0% | -1 | 0 | -1 |
| 2022 | 38 | 47.4% | -31.5% | -13 | -11.6% | -8.1% | -3 | n/a | n/a |
| 2023 | 42 | 49.2% | -21.1% | -10 | -10.0% | -6.2% | 4 | n/a | n/a |
| 2024 | 45 | 51.1% | -1.2% | -1 | -1.2% | -0.4% | 7 | n/a | n/a |
| 2025 | 51 | 48.9% | 3.1% | 0 | 0.4% | 1.2% | 10 | n/a | n/a |
- The good side: revenue rose from $200m in FY2015 to $5.1bn in FY2025 and has never fallen in 11 years. FY2025 growth recovered to +13.7%. Operating margin improved from -31.5% in FY2022 to 3.1% in FY2025. Operating cash flow turned positive in FY2023 and reached $1.0bn in FY2025. R&D was $1.0bn in FY2025. Buybacks were about $2.3bn in FY2024 and $900m in FY2025. API embedding gives customers high stickiness (net retention data unverified).
- The watch side: the company lost money in 10 of 11 years, with a net loss of $1.3bn in FY2022. Gross margin was only 47.4%–56.5%, and 48.9% in FY2025, well below the 70%+ typical of SaaS. Carrier channel costs are high (unverified). ROIC was negative in FY2021–FY2024 and only 1.2% in FY2025. The company only turned profitable in FY2025, so the quality and durability of earnings still need to be proven. Stock-based compensation is large (scale unverified). Competitors include cloud communications peers, cloud providers and new CPaaS entrants. The roughly 6.4x price-to-sales ratio requires much higher margins.
Cyclical performance
Revenue, profit and R&D are from EDGAR. "Average price" is the mean daily close within each fiscal year, using the dividend-adjusted series (including reinvested dividends), so it is for trend only. "Cycle node" is the author's annotation from public filings, not a computed result.
| FY | Revenue (US$100m) | YoY | Net income | R&D | R&D as % of revenue | Avg price (adj.) | Cycle node |
|---|---|---|---|---|---|---|---|
| 2015 | 2 | — | -0 | 0 | 25.5% | n/a | |
| 2016 | 3 | 66.1% | -0 | 1 | 28.1% | 43.2 | Revenue +66.1%; gross margin 56.5%; operating margin -14.9% |
| 2017 | 4 | 43.9% | -1 | 1 | 30.3% | 28.9 | |
| 2018 | 7 | 62.9% | -1 | 2 | 26.4% | 59.1 | Revenue +62.9%; gross margin 53.7%; operating margin -17.7% |
| 2019 | 11 | 74.5% | -3 | 4 | 34.5% | 119.4 | Revenue +74.5%; operating margin -32.6% |
| 2020 | 18 | 55.3% | -5 | 5 | 30.1% | 208.3 | Revenue +55.3%; operating margin -28.0%; net loss $500m |
| 2021 | 28 | 61.3% | -9 | 8 | 27.8% | 345.9 | Revenue +61.3%; operating margin -32.2%; net loss $900m (acquisitions such as Segment; unverified) |
| 2022 | 38 | 34.6% | -13 | 11 | 28.2% | 107.3 | Revenue +34.6%; operating margin -31.5%; net loss $1.3bn |
| 2023 | 42 | 8.6% | -10 | 9 | 22.7% | 61.3 | Revenue +8.6%; operating margin -21.1%; net loss $1.0bn; operating cash flow turned positive |
| 2024 | 45 | 7.3% | -1 | 10 | 22.6% | 69.1 | Revenue +7.3%; operating margin -1.2%; net loss $100m |
| 2025 | 51 | 13.7% | 0 | 10 | 20.1% | 115.3 | Revenue +13.7%; operating margin 3.1%; net income about $30m; first profit |
What the data shows
- Customer communications budget cycle. Enterprise software and marketing budgets affect messaging and voice usage.
- Usage and pricing cycle. Messaging is billed on usage; carrier costs and pricing affect gross margin.
- M&A integration cycle. Acquisitions around FY2021 created amortisation and losses (unverified).
- Cost restructuring cycle. Cost control in FY2023–FY2025 lifted operating margin from -21.1% to 3.1%.
Moat score: 45.5 / 100 (no clear durable moat)
Standard: Buffett's moat test. A moat is a durable competitive advantage that protects the economic castle; the test is whether competitors can easily copy its high returns. Four sources are considered (brand and pricing power, switching costs, network effects, low-cost advantage), plus whether they show up as steady, high returns on capital and predictable earnings. Same weights as the Microsoft report, no cycle adjustment.
| Dimension | Weight | Score | Weighted | Rationale |
|---|---|---|---|---|
| Brand and pricing power | 20 | 6 | 12.0 | A representative brand in communications APIs among developers and businesses, but customers mainly weigh price, reliability and delivery rates, so pricing power is limited |
| Switching costs and ecosystem | 15 | 6.5 | 9.8 | APIs are embedded in customers' products and operating processes; replacing them means rewriting code and re-approving carrier routes, so switching costs are relatively high; but there are many competitors |
| Network effects | 10 | 4.5 | 4.5 | Connections to global carriers and the developer community create some scale and ecosystem effects, but not strong network effects |
| Cost advantage and scale | 15 | 5.5 | 8.2 | Scale spreads carrier costs, but gross margin is only about 49%, so the cost advantage is not obvious |
| Persistence of capital returns | 20 | 2 | 4.0 | ROIC was negative in FY2021–FY2024 and only 1.2% in FY2025; 10 of 11 years were loss-making; capital returns have barely existed |
| Earnings predictability and capital needs | 20 | 3.5 | 7.0 | Revenue has not fallen in 11 years, but the company lost money for many years and FY2025 was the first profit, so earnings predictability is low |
| Total | 100 | 45.5 |
Bands: 75+ is a wide moat, 55 to 75 narrow, below 55 no clear durable moat. Twilio's 45.5 falls in the no-clear-durable-moat band, 9.5 points below the narrow-moat threshold of 55. Compared with Microsoft's 81, the gaps lie in capital returns and earnings predictability. API embedding creates real switching costs, but gross margin is low, 10 of 11 years were loss-making, and FY2025's profit has only just begun.
What would lower the score: low-price substitution by cloud providers or peers; rising carrier channel costs; margin gains after profitability falling short of expectations; dilution from stock compensation; valuation contraction. What would raise it: AI-driven growth in communications usage; continued rise in operating margin; higher gross margin from a larger share of software products; buybacks continuing.
Management and capital allocation
Management shareholdings and pay structure: the 10-K summary did not yield verifiable executive information; unverified. XBRL data show buybacks of about $2.3bn in FY2024 and about $900m in FY2025. The company pays no dividend. The scale of stock-based compensation is unverified.
Key risks
- Earnings risk: newly profitable; whether margin gains can continue remains to be verified.
- Competition risk: price competition from cloud providers and CPaaS peers.
- Cost risk: carrier channel and regulatory fees.
- M&A risk: goodwill and integration.
- Valuation risk: about 6.4x price-to-sales; P/E nearly meaningless.
Valuation framework
FY2025 net income of about $30m gives a P/E of about 976x, a very low reference value. The market cap of about $32.8bn gives a price-to-sales ratio of about 6.4x and about 33x operating cash flow. The table below is not a forecast. It only uses different net margin assumptions (on FY2025 revenue of $5.1bn) to show what P/E today's price implies:
| Scenario | Net income (US$100m) | P/E on today's market cap |
|---|---|---|
| FY2025 actual | 0.3 | about 976x |
| Assumed net margin 10% | 5.1 | about 64x |
| Assumed net margin 15% | 7.7 | about 43x |
| Assumed net margin 20% | 10.2 | about 32x |
Takeaway: even if net margin rose to 20%, the current price would still imply about 32x P/E. The valuation rests almost entirely on a large improvement in margins. For a company with a 49% gross margin, whether a 20% net margin is achievable needs to be verified.
What to watch next
- Whether gross margin can recover above 55%.
- Sustainability of operating margin and net income.
- Revenue growth and net revenue retention.
- The net effect of stock compensation and buybacks.
- Price changes from competitors.
Sources and limitations
- Financial data: Twilio 10-K (FY2025) and EDGAR XBRL company facts. Prices: dividend-adjusted closing prices.
- Limitations: product shares, net revenue retention, stock-based compensation scale, carrier cost details and management information are marked "unverified" or n/a. Treat them as reference, not conclusions.