← All research

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

MetricValueNote
Price / market cap$205.03 / about $32.8bn2026-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 $30mRevenue +13.7%; FY2022 net loss $1.3bn
Gross margin / operating margin48.9% / 3.1%11-year gross margin range 47.4%–56.5%; operating margin -32.6%–3.1%
ROE / ROIC0.4% / 1.2%ROIC -8.1% to -0.4% in FY2021–FY2024
Operating cash flowabout $1.0bnPositive since FY2023; FY2025 capex missing, so free cash flow n/a

Business breakdown

Twilio is a cloud communications platform company. The 10-K explains:

  1. 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).
  2. Digital engagement centre. Software for customer service and contact centres.
  3. Marketing campaigns. Outreach and campaign management products for marketing teams.
  4. User authentication. Identity verification and security products.
  5. 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.)

FYRevenueGross marginOperating marginNet incomeROEROICOperating cash flowCapexFree cash flow
2015255.4%-21.2%-0n/an/a-00-0
2016356.5%-14.9%-0-18.5%n/a00-0
2017454.2%-16.6%-1-18.5%n/a-00-0
2018753.7%-17.7%-1-30.6%n/a000
20191153.7%-32.6%-3-13.0%n/a00-0
20201852.0%-28.0%-5-7.7%n/a000
20212848.9%-32.2%-9-9.8%-7.0%-10-1
20223847.4%-31.5%-13-11.6%-8.1%-3n/an/a
20234249.2%-21.1%-10-10.0%-6.2%4n/an/a
20244551.1%-1.2%-1-1.2%-0.4%7n/an/a
20255148.9%3.1%00.4%1.2%10n/an/a

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.
FYRevenue (US$100m)YoYNet incomeR&DR&D as % of revenueAvg price (adj.)Cycle node
20152—-0025.5%n/a
2016366.1%-0128.1%43.2Revenue +66.1%; gross margin 56.5%; operating margin -14.9%
2017443.9%-1130.3%28.9
2018762.9%-1226.4%59.1Revenue +62.9%; gross margin 53.7%; operating margin -17.7%
20191174.5%-3434.5%119.4Revenue +74.5%; operating margin -32.6%
20201855.3%-5530.1%208.3Revenue +55.3%; operating margin -28.0%; net loss $500m
20212861.3%-9827.8%345.9Revenue +61.3%; operating margin -32.2%; net loss $900m (acquisitions such as Segment; unverified)
20223834.6%-131128.2%107.3Revenue +34.6%; operating margin -31.5%; net loss $1.3bn
2023428.6%-10922.7%61.3Revenue +8.6%; operating margin -21.1%; net loss $1.0bn; operating cash flow turned positive
2024457.3%-11022.6%69.1Revenue +7.3%; operating margin -1.2%; net loss $100m
20255113.7%01020.1%115.3Revenue +13.7%; operating margin 3.1%; net income about $30m; first profit

What the data shows

  1. Customer communications budget cycle. Enterprise software and marketing budgets affect messaging and voice usage.
  2. Usage and pricing cycle. Messaging is billed on usage; carrier costs and pricing affect gross margin.
  3. M&A integration cycle. Acquisitions around FY2021 created amortisation and losses (unverified).
  4. 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.

DimensionWeightScoreWeightedRationale
Brand and pricing power20612.0A 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 ecosystem156.59.8APIs 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 effects104.54.5Connections to global carriers and the developer community create some scale and ecosystem effects, but not strong network effects
Cost advantage and scale155.58.2Scale spreads carrier costs, but gross margin is only about 49%, so the cost advantage is not obvious
Persistence of capital returns2024.0ROIC 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 needs203.57.0Revenue 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
Total10045.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

  1. Earnings risk: newly profitable; whether margin gains can continue remains to be verified.
  2. Competition risk: price competition from cloud providers and CPaaS peers.
  3. Cost risk: carrier channel and regulatory fees.
  4. M&A risk: goodwill and integration.
  5. 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:

ScenarioNet income (US$100m)P/E on today's market cap
FY2025 actual0.3about 976x
Assumed net margin 10%5.1about 64x
Assumed net margin 15%7.7about 43x
Assumed net margin 20%10.2about 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

  1. Whether gross margin can recover above 55%.
  2. Sustainability of operating margin and net income.
  3. Revenue growth and net revenue retention.
  4. The net effect of stock compensation and buybacks.
  5. Price changes from competitors.

Sources and limitations