# Twilio Pricing Explained: How Twilio Billing Works

> A complete breakdown of Twilio pricing: per-segment SMS, per-minute voice, carrier fees, number rental, volume discounts, and prepaid auto-recharge, plus how to build the same model.
- **Author**: Ayush Agarwal
- **Published**: 2026-11-25
- **Category**: Billing, SaaS
- **URL**: https://dodopayments.com/blogs/en/twilio-billing-model

---

**Twilio pricing is pure pay-as-you-go: there is no platform subscription, and every action is billed per unit, per SMS segment, per voice minute, per phone number per month, with carrier pass-through fees added on top. Usage is drawn down from a prepaid account balance that customers refill manually or through auto-recharge, discounts kick in automatically as volume grows, and the largest customers negotiate committed-use contracts.**

That structure has made Twilio the reference design for API billing, and the shape many platforms copy when they launch their own [usage-based pricing](https://dodopayments.com/blogs/usage-based-pricing-examples).

This post is part of our billing deconstruction series, alongside [Replicate](https://dodopayments.com/blogs/replicate-billing-model) and [OpenAI](https://dodopayments.com/blogs/openai-billing-model). It covers how Twilio billing works line by line, why the model scales, where it frustrates customers, and how to build the same per-unit, prepaid billing system with [Dodo Payments](https://dodopayments.com).

## Twilio Pricing at a Glance (US Rates)

Twilio publishes a separate price sheet for each product and each country. The figures below come from Twilio's US SMS pricing page (marked "current as of November 2026") and its US Programmable Voice pricing page (marked "current as of October 2026"). Twilio states that prices can change without notice, so confirm current numbers on Twilio's pricing page before you model costs.

| Twilio product           | Billing unit                   | US list price          | Metering dimension         |
| :----------------------- | :----------------------------- | :--------------------- | :------------------------- |
| SMS (long code, outbound) | Per message segment           | $0.0083 + carrier fee  | Segments sent              |
| SMS (long code, inbound)  | Per message segment           | $0.0083 + carrier fee  | Segments received          |
| MMS (long code, outbound) | Per message                   | $0.022 + carrier fee   | Messages sent              |
| Voice, local outbound    | Per minute                     | $0.0140/min            | Call minutes               |
| Voice, local inbound     | Per minute                     | $0.0085/min            | Call minutes               |
| Voice, browser/app       | Per minute                     | $0.0040/min            | Call minutes               |
| Local phone number       | Per number per month           | $1.15/mo               | Active numbers             |
| Toll-free phone number   | Per number per month           | $2.15/mo               | Active numbers             |
| Call recording           | Per minute recorded            | $0.0025/min            | Recorded minutes           |
| Failed message           | Per message in "Failed" status | $0.001                 | Failed deliveries          |

Outbound and inbound SMS cost the same base rate, so a two-way conversation is billed in both directions. Phone numbers are the only recurring line item. Everything else is a meter.

Add-ons follow the same pattern. Twilio's Voice page lists separate per-unit prices for answering machine detection ($0.0075 per call), branded calling ($0.12 per call), transcription, and text-to-speech. Each feature is its own meter, so Twilio monetizes new capabilities without touching a plan structure.

## How Twilio Billing Works

Twilio's bill is the sum of several independent meters, each priced per unit with its own rules.

### SMS Is Billed per Segment, Not per Message

The base unit for text messaging is the segment. Twilio's SMS FAQ states the US base rate is $0.0083 per 160-character segment for long codes, toll-free numbers, and short codes. A message longer than one segment is split, and each piece is billed.

This is the most misunderstood part of Twilio pricing. Under standard SMS encoding, long messages are split into concatenated segments, and a character outside the basic GSM alphabet (an emoji, for example) shrinks the per-segment limit. A 200-character message is two segments, so it costs twice the headline rate. MMS works differently: Twilio bills it per message at a flat rate that allows up to 1,600 characters of text plus media.

### Carrier Fees Are Passed Through on Top

US carriers charge their own per-message fees, and Twilio passes them through. On a long code, Twilio's page lists outbound SMS carrier fees of $0.0035 for AT&T, $0.0045 for T-Mobile, $0.005 for Verizon, and $0.0042 for "all other carriers," with separate fees for inbound and MMS. These are added automatically based on the recipient's network.

The effect is that the true cost of a message depends on a variable the sender does not control: which carrier the recipient uses. Here is a worked example using the November 2026 US long-code rates.

- 1,000 outbound messages, each two segments long, all to AT&T subscribers = 2,000 segments
- Twilio base fee: 2,000 x $0.0083 = $16.60
- AT&T carrier fee: 2,000 x $0.0035 = $7.00
- Local number rental: $1.15 for the month
- **Total: $24.75**

Send the same campaign to T-Mobile subscribers and the carrier line rises to $9.00. Registration programs such as US A2P 10DLC add one-time onboarding fees on top, which Twilio lists separately.

### Voice Is Billed per Minute, by Direction and Number Type

Programmable Voice uses a per-minute rate that varies by direction and endpoint. Making a call to a US or Canadian number costs $0.0140 per minute. Receiving a call on a local number costs $0.0085 per minute, while receiving on a toll-free number costs $0.0220 per minute, because the business pays for the caller's free call. Calls between browsers or apps over Twilio's SDKs cost $0.0040 per minute in either direction.

Destination matters too: Twilio lists $0.0945 per minute for calls to Alaska, and international destinations each have their own price sheet.

### Phone Numbers Are the Recurring Base

Every Twilio phone number carries a monthly rental: $1.15 for a local number and $2.15 for toll-free, or $0.50 per month to bring your own number for messaging. Short codes are far more expensive and billed quarterly with a setup fee.

Number rental is charged whether or not the number is used, and according to Twilio's help center it continues even if the account is suspended. It is the closest thing Twilio has to a subscription fee.

### Volume and Committed-Use Discounts

Twilio offers two layers of discounting. Standard volume discounts apply automatically once usage crosses published thresholds; the Voice page describes this as volume pricing with "no negotiation necessary." For example, call recording storage drops from $0.00050 per minute for the first 5 million minutes to $0.00025 for the next 10 million, and $0.00015 above 15 million.

Above those tiers, Twilio offers committed-use discounts: customers commit to annual volumes and receive pricing beyond the standard tiers through the sales team. This is the classic shape of [tiered versus volume pricing](https://dodopayments.com/blogs/tiered-vs-volume-pricing) layered under a negotiated enterprise contract.

### Prepaid Balance and Auto-Recharge

Self-serve Twilio accounts run on a prepaid balance. When you upgrade from the free trial, Twilio asks you to fund a starting balance; US dollar accounts are offered presets of $20, $50, and $100, or a custom amount. Every SMS, minute, and number rental draws that balance down.

Auto-recharge keeps it topped up. You set a "when balance goes below" threshold and a "bring my balance back up to" amount, and Twilio charges your card when the trigger is hit. Twilio's help center lists $10 as the lowest auto-recharge trigger and $2,000 as the maximum refill without contacting support, with a default low-balance email at $5.

If the balance reaches zero or goes negative, the account is suspended and all usage stops until funds are added. High-volume customers can move to invoiced billing instead, in which case auto-recharge is not available.

```mermaid
flowchart LR
    A["App sends SMS
or places call"] --> B["Usage event
(segments, minutes)"]
    B --> C["Meter per product
Sum of units"]
    C --> D["Price per unit
+ carrier fees"]
    D --> E{"Billing mode?"}
    E -->|"Prepaid"| F["Deduct from
account balance"]
    F --> G{"Below threshold?"}
    G -->|"Yes"| H["Auto-recharge
card on file"]
    G -->|"No"| A
    H --> A
    E -->|"Invoiced"| I["Monthly invoice
after usage"]
```

## Why Twilio's Pay-As-You-Go Pricing Works

Twilio's model has held up from single developers to large enterprises because each design choice solves a specific problem for an API business.

### Zero Commitment Matches How Developers Adopt APIs

Developers evaluate APIs by building something. Twilio's free trial gives new accounts a small balance (the Voice pricing page cites $15) to buy a number and test, with no card required. When the prototype works, the developer funds a balance and keeps going, with no plan to choose and no sales call.

This is the same dynamic that makes [pay-as-you-go pricing work for AI SaaS](https://dodopayments.com/blogs/pay-as-you-go-ai-saas): the buyer self-selects into higher spend as the product proves its value.

### Every Unit Maps to a Real Cost

Twilio's units mirror its own cost structure. A segment is what carriers charge for. A minute is what telephony interconnects charge for. A phone number is a leased resource. Passing carrier fees through as a separate line keeps Twilio's margin on its own fee stable regardless of which network the recipient uses.

> The cleanest usage-based models price the exact unit that drives your cost. Twilio does not invent an abstract credit. It bills the segment, the minute, and the number, so its margin holds no matter how customers mix their usage.
>
> - Ayush Agarwal, Co-founder & CPTO at Dodo Payments

### Prepaid Balances Remove Collection Risk

Prepayment flips the usual credit risk of [metered billing](https://dodopayments.com/blogs/metered-pricing-guide). Twilio is paid before usage happens, so a customer who sends a million messages and disappears leaves no unpaid invoice, which matters when fraudulent traffic can rack up carrier costs in minutes. It is the same cash-flow logic behind [billing credits](https://dodopayments.com/blogs/billing-credits-pricing-cashflow): money in first, consumption second.

### Revenue Expands Automatically

Because pricing is linear per unit, a customer who doubles message volume doubles their Twilio bill without any upsell conversation. Volume discounts slow that curve slightly, but they also reduce the incentive to shop around.

## Where Twilio Pricing Creates Friction

The same properties that make the model scale also create real problems for customers.

### The Headline Rate Is Not the Real Rate

A buyer sees $0.0083 per SMS. The real cost adds segment multiplication, carrier fees, number rental, registration fees, and failed-message fees. In the worked example above, carrier fees alone added more than 40% to the base cost, so budgets built on the headline number under-forecast.

This is the core tension in any [usage-based versus flat-fee decision](https://dodopayments.com/blogs/usage-based-billing-vs-flat-fees-ai-saas). Granular pricing is fair, but it is hard to predict.

### Segment Math Surprises Non-Technical Users

Marketing teams write copy, not encodings. A single emoji can double or triple a message's segment count, and nothing in a typical message editor warns the writer. Good [usage caps and alerts](https://dodopayments.com/blogs/billing-ux-usage-caps-alerts) surface the cost before the send button.

### Suspension at Zero Is a Hard Cliff

Prepaid billing protects Twilio, but it pushes risk onto the customer. If auto-recharge fails because a card expires, the account is suspended and every SMS and call stops. For a business running two-factor authentication or appointment reminders through Twilio, that is an outage. Twilio recommends adding a backup payment method, but the cliff remains.

## Build Twilio-Style Billing with Dodo Payments

If you are building a communications API, an AI voice agent, or any developer platform that charges per action, you can replicate Twilio's structure with two Dodo Payments features: [usage-based billing](https://docs.dodopayments.com/features/usage-based-billing/introduction) for per-unit metering and invoicing, and [credit-based billing](https://docs.dodopayments.com/features/credit-based-billing) for the prepaid balance and top-ups.

| Twilio mechanic          | Dodo Payments equivalent                                 |
| :----------------------- | :------------------------------------------------------- |
| Per-segment SMS pricing  | Sum meter on `segments`, per-unit price                  |
| Per-minute voice pricing | Sum meter on `minutes`, per-unit price                   |
| Per-request add-ons      | Count meter per feature                                  |
| Free trial allowance     | Free threshold on each meter                             |
| Prepaid account balance  | Credit entitlement granted by a one-time top-up product  |
| Auto-recharge            | Balance check plus saved payment method charge           |
| Low balance email        | `credit.balance_low` webhook                             |

### Step 1: Create a Meter for Each Billable Unit

[Meters](https://docs.dodopayments.com/features/usage-based-billing/meters) turn raw events into billable quantities using Count, Sum, Max, or Last aggregation. Mirror Twilio by creating one meter per unit that has its own price.

| Meter name        | Event name         | Aggregation | Over property | Unit     |
| :---------------- | :----------------- | :---------- | :------------ | :------- |
| SMS Outbound      | `sms.outbound`     | Sum         | `segments`    | segments |
| SMS Inbound       | `sms.inbound`      | Sum         | `segments`    | segments |
| Voice Outbound    | `voice.outbound`   | Sum         | `minutes`     | minutes  |
| Voice Inbound     | `voice.inbound`    | Sum         | `minutes`     | minutes  |
| Machine Detection | `voice.amd`        | Count       | -             | calls    |

Sum meters add up a numeric metadata property, so a two-segment message bills as two units. Count meters suit flat per-request add-ons. Event names are case-sensitive.

### Step 2: Attach Meters to a Usage-Based Product

Create a usage-based product with a $0 base price, matching Twilio's no-subscription model. Attach each meter with its per-unit price and, for a Twilio-style trial, a free threshold so the first units each cycle are not billed. If you also rent dedicated resources like phone numbers, add them as a recurring line, which makes it one of the [hybrid billing models](https://dodopayments.com/blogs/hybrid-billing-models-saas) mature API businesses end up with.

### Step 3: Ingest Usage Events When Messages and Calls Complete

Send an event through [event ingestion](https://docs.dodopayments.com/features/usage-based-billing/event-ingestion) each time a message is sent or a call ends. Count segments in your own code before sending so the meter bills the same unit your upstream carrier charges you for.

```typescript
import DodoPayments from "dodopayments";

const client = new DodoPayments({
  bearerToken: process.env.DODO_PAYMENTS_API_KEY,
});

// Simplified GSM-7 vs UCS-2 segment count
function countSegments(body: string): number {
  const isGsm7 = /^[\x20-\x7E\n\r]*$/.test(body);
  const single = isGsm7 ? 160 : 70;
  const multi = isGsm7 ? 153 : 67;
  return body.length <= single ? 1 : Math.ceil(body.length / multi);
}

async function trackOutboundSms(
  customerId: string,
  messageId: string,
  body: string,
  carrier: string,
) {
  await client.usageEvents.ingest({
    events: [
      {
        event_id: `sms_${messageId}`,
        customer_id: customerId,
        event_name: "sms.outbound",
        timestamp: new Date().toISOString(),
        metadata: {
          segments: countSegments(body),
          carrier,
        },
      },
    ],
  });
}

async function trackCompletedCall(
  customerId: string,
  callId: string,
  durationSeconds: number,
  direction: "outbound" | "inbound",
) {
  await client.usageEvents.ingest({
    events: [
      {
        event_id: `call_${callId}`,
        customer_id: customerId,
        event_name: `voice.${direction}`,
        timestamp: new Date().toISOString(),
        metadata: {
          // Bill per started minute, like most telephony carriers
          minutes: Math.ceil(durationSeconds / 60),
        },
      },
    ],
  });
}
```

The `event_id` is the idempotency key. Deriving it from your message or call ID means a retried webhook from your telephony provider never double-bills a customer. Dodo's [TypeScript SDK docs](https://docs.dodopayments.com/developer-resources/sdks/typescript) note that a single request accepts up to 1,000 events, so high-volume senders should batch. The `carrier` property lets you add a meter filter later if you want to pass carrier fees through as separate lines.

### Step 4: Add a Prepaid Balance with Credit Top-Ups

To replicate Twilio's prepaid balance, create a credit entitlement denominated in a custom unit (for example, "usage dollars" or "segments"), and sell it through a one-time top-up product. Credits can be granted through a subscription, a one-time purchase, an add-on, or the API, and linked meters deduct from the balance as events arrive. This is the same pattern we walked through for [adding credits billing to an AI app](https://dodopayments.com/blogs/add-credits-billing-ai-app).

Auto-recharge then becomes a balance check plus a charge against the customer's saved payment method. Because this runs after event batches, two workers can read the same low balance at the same time, so each customer gets a single recharge slot in your database. A worker must claim the slot with one atomic conditional update before charging, and the slot stays taken until the top-up lands:

```typescript
const TOP_UP_PRODUCT_ID = "pdt_topup_50";
const CREDIT_ENTITLEMENT_ID = "cde_your_credit_entitlement_id";
const RECHARGE_THRESHOLD = 10;

// db is your application's database client (Prisma-style API shown).
// Each customer has one row in `recharges`, created at signup with status "idle".
async function autoRechargeIfLow(customerId: string) {
  const balance = await client.creditEntitlements.balances.retrieve(
    customerId,
    { credit_entitlement_id: CREDIT_ENTITLEMENT_ID },
  );

  if (Number(balance.balance) > RECHARGE_THRESHOLD) return;

  // Claim the recharge slot. Only one worker can move it from idle to pending;
  // every other worker sees count 0 and exits without charging.
  const claim = await db.recharges.updateMany({
    where: { customer_id: customerId, status: "idle" },
    data: { status: "pending", started_at: new Date() },
  });
  if (claim.count === 0) return; // a recharge is already in flight

  try {
    const methods = await client.customers.retrievePaymentMethods(customerId);

    if (methods.items.length === 0) {
      // No saved card: send the customer to a hosted top-up checkout
      const session = await client.checkoutSessions.create({
        product_cart: [{ product_id: TOP_UP_PRODUCT_ID, quantity: 1 }],
        customer: { customer_id: customerId },
        return_url: `${process.env.APP_URL}/billing`,
      });
      return session.checkout_url;
    }

    // Saved card: charge it directly, like Twilio's auto-recharge
    await client.checkoutSessions.create({
      product_cart: [{ product_id: TOP_UP_PRODUCT_ID, quantity: 1 }],
      customer: { customer_id: customerId },
      payment_method_id: methods.items[0].payment_method_id,
      confirm: true,
      return_url: `${process.env.APP_URL}/billing`,
    });
  } catch (err) {
    // Nothing was charged, so free the slot for the next attempt
    await db.recharges.updateMany({
      where: { customer_id: customerId, status: "pending" },
      data: { status: "idle" },
    });
    throw err;
  }
}
```

Set the slot back to `idle` when the `credit.added` webhook confirms the top-up credits arrived, or when the `payment.failed` webhook reports a declined charge. A periodic sweep that resets slots stuck in `pending` for, say, 30 minutes covers customers who abandon the hosted checkout. Run the check after each event batch or on a short schedule. Unlike Twilio, you decide what happens at zero: block usage, allow a small overage, or keep sending while the recharge completes.

### Step 5: Warn Customers Before the Cliff

The biggest complaint about Twilio's prepaid model is sudden suspension. Dodo fires a `credit.balance_low` webhook when a balance drops below the product's low-balance threshold, plus `credit.deducted` and `credit.added` for every ledger change (see the [credit webhook reference](https://docs.dodopayments.com/developer-resources/webhooks/intents/credit)). Use them to warn customers or pause non-critical sends before two-factor codes are affected.

On the commercial side, usage-based billing is included in Dodo's [standard pricing](https://dodopayments.com/pricing), and because Dodo acts as the [merchant of record](https://dodopayments.com/blogs/what-is-a-merchant-of-record), sales tax and VAT on top-ups and usage invoices are calculated and remitted for you.

## When Twilio's Pricing Model Fits Your Product

**Use a Twilio-style model if:**

- Each action has a clear, countable unit (messages, minutes, API calls, documents)
- Your own costs scale per unit, so linear pricing protects your margin
- Your buyers are developers who expect to self-serve without a sales call
- Fraud or abuse could generate large costs quickly, making prepayment valuable

**Consider a different model if:**

- Customers need a predictable monthly number for budgeting
- The value of your product is not tied to a single countable action
- You need bundled plans to drive retention, as in [Cursor's tiered usage pools](https://dodopayments.com/blogs/cursor-billing-model)

Many API companies start where Twilio started, pure pay-as-you-go, then add committed-use contracts as large accounts appear. Our guides to [API monetization](https://dodopayments.com/blogs/api-monetization) and [implementing usage-based billing](https://dodopayments.com/blogs/implement-usage-based-billing) cover that path in detail. For a contrast with pure pay-as-you-go, the [Supabase billing model](https://dodopayments.com/blogs/supabase-billing-model) wraps metered usage in plans with included quotas and a spend cap that answers the budgeting concern above.

## FAQ

### How much does Twilio charge per SMS in the US?

As of November 2026, Twilio's US SMS pricing page lists $0.0083 per 160-character segment for outbound and inbound SMS on long codes, toll-free numbers, and short codes. Carrier pass-through fees are added on top, ranging from $0.0035 (AT&T) to $0.005 (Verizon) for outbound long-code SMS, and messages longer than one segment are billed per segment. Check Twilio's pricing page for current rates before budgeting.

### Does Twilio have a monthly subscription fee?

No. Twilio pricing is pay-as-you-go with no platform subscription. The only recurring charges are for leased resources such as phone numbers, which cost $1.15 per month for a US local number and $2.15 per month for toll-free as of November 2026, plus optional add-ons like support plans or throughput upgrades.

### How does Twilio auto-recharge work?

Self-serve Twilio accounts use a prepaid balance. With auto-recharge enabled, you set a threshold and a target amount, and Twilio charges your saved card to bring the balance back up whenever it drops below the threshold. If the balance reaches zero without a successful recharge, the account is suspended until funds are added, while recurring charges such as phone numbers continue to accrue.

### Does Twilio offer volume discounts?

Yes. Twilio applies standard volume discounts automatically once usage crosses published tiers, without a negotiation. Customers whose usage exceeds those tiers can sign committed-use agreements, committing to annual volumes in exchange for pricing below the standard tiers, which is handled through Twilio's sales team.

### Can I build Twilio-style usage billing for my own API?

Yes. With Dodo Payments you create a Sum or Count meter for each billable unit, attach them to a usage-based product with per-unit prices and optional free thresholds, and send usage events from your application. For a prepaid balance, sell credit top-ups as a one-time product and use the credit balance API and low-balance webhooks to recreate auto-recharge and early warnings.

## Final Take

Twilio's billing model works because it is honest about cost. Every segment, minute, and number on the invoice maps to something Twilio pays for, and prepayment keeps the company safe from the abuse that a communications API attracts. The tradeoffs are a headline rate that understates the real bill, segment math that surprises non-engineers, and a hard stop when the balance hits zero.

If you are building a developer platform with countable units of value, this is the template to study, and the friction points are the places to improve on it. [Dodo Payments](https://dodopayments.com) gives you the meters, credit balances, top-up checkout, and webhooks to ship Twilio-style billing without building the ledger yourself. For a credit-first variant of the same idea, see the [ElevenLabs billing breakdown](https://dodopayments.com/blogs/elevenlabs-billing-model).
---
- [More Billing articles](https://dodopayments.com/blogs/category/billing)
- [All articles](https://dodopayments.com/blogs)