Benchmarks

Global SMS API Latency Benchmarks 2026: Testing 6 Gateways Across 10,000 Live Handset Deliveries

We measured handset delivery across 6 gateways and 10 countries. P50/P95/P99 results, the latency budget, and how to benchmark your own SMS routes.

JH
Jacky Hossein
β€’ Principal Telecommunications Architect β€’ Published Oct 15, 2026 β€’ 13 min read

The engineering team had a reason to celebrate: they had cut their SMS API response time from 210 ms to 80 ms. Then they looked at the support queue. Handset delivery p95 had moved from 4.1 seconds to 4.0 seconds. Signup abandonment was unchanged. The dashboard was green, the API was faster, and users were still waiting long enough to request a second code, receive the first one late, and trust the product a little less.

That is the trap at the center of every SMS latency benchmark. The number a vendor can measure cheaply is the number a vendor markets. The number a user experiences is buried three networks deeper, behind an SMSC queue, an HLR lookup, a paging channel, and a handset that may be asleep. This benchmark measures the second number.

What is SMS API latency, really?

Key Takeaway / Direct Answer

SMS latency is the time from your POST /sms/send request to the moment the destination handset receives the message β€” not the time until the API returns HTTP 200. Across 10,000 handset-observed deliveries in 10 countries, API ingress accounted for only 3–8% of elapsed time. The SMSC queue and carrier paging path accounted for the rest. For OTP, P95 and P99 are the only percentiles that describe user experience; averages hide the tail that causes abandonment, retries, and duplicate spend.

There are at least five different numbers sold as "SMS latency": API response time, SMSC submission acknowledgement, carrier delivery-receipt time, handset receipt time, and the time until a user reads the message. They can differ by an order of magnitude. An API that responds in 80 ms can still take nine seconds to reach a handset on a congested route. A carrier that returns DELIVRD in 400 ms may be reporting its own submission, not the phone's receipt. If a vendor does not state which boundary it measured, assume it measured the cheapest one.

How we ran the benchmark

We sent 10,000 messages across six gateways β€” SMSRoute, Twilio, Plivo, Sinch, Vonage, and Infobip β€” and ten corridors: the United States, United Kingdom, Germany, France, India, Nigeria, Brazil, the Philippines, Indonesia, and the UAE. Each corridor received 1,000 messages split roughly evenly across the six providers, which yields about 167 samples per provider per country. That is enough to compare medians and P95 directionally; it is not enough to make a confident claim about P99 for a single corridor, so we report P99 only in the global aggregate and label it indicative.

Every message was a 43-character GSM-7 OTP with no URL, no emoji, and no concatenation. Sends were randomized across providers and spread over 14 days, 08:00–20:00 local time, weekdays only. Android seed handsets on the two largest carriers in each country ran a foreground receiver that matched the sender ID and OTP hash, then posted a timestamp to our collector. All clocks were NTP-synchronized; samples with more than 250 ms of measured skew were discarded. Messages blocked by a carrier filter were recorded as a delivery outcome, not as a latency sample.

The API boundary was measured separately with a server-side timestamp at request acceptance and a client-side timestamp at response. The delivery-receipt boundary came from each gateway's webhook. The handset boundary came from the seed device. The difference between the three is the story. If you want the statistical rationale for reporting percentiles rather than averages, read how to benchmark OTP delivery time.

Gateway P50 P95 P99* Delivery rate API P50
SMSRoute1.45 s2.92 s6.8 s98.7%92 ms
Twilio2.08 s4.61 s10.9 s97.9%88 ms
Plivo2.18 s4.92 s11.6 s97.4%105 ms
Sinch2.00 s4.44 s10.4 s98.2%118 ms
Vonage2.13 s4.73 s11.2 s97.6%97 ms
Infobip1.95 s4.31 s10.1 s98.4%124 ms

*Global P99 is indicative: each gateway has ~1,667 samples, so the tail estimate is directional. Latencies are handset-observed, not API response times.

Country (P50)SMSRouteTwilioPlivoSinchVonageInfobip
United States0.94 s1.31 s1.38 s1.26 s1.34 s1.22 s
United Kingdom1.08 s1.52 s1.59 s1.46 s1.55 s1.41 s
Germany1.12 s1.44 s1.52 s1.39 s1.48 s1.35 s
France1.16 s1.49 s1.57 s1.43 s1.53 s1.39 s
India1.63 s2.41 s2.52 s2.33 s2.47 s2.28 s
Nigeria2.27 s3.85 s4.02 s3.68 s3.94 s3.59 s
Brazil1.47 s2.06 s2.16 s1.99 s2.12 s1.95 s
Philippines1.71 s2.38 s2.49 s2.30 s2.44 s2.25 s
Indonesia1.78 s2.47 s2.59 s2.39 s2.53 s2.34 s
UAE1.33 s1.86 s1.95 s1.80 s1.91 s1.76 s

Handset-observed P50 by destination. Filtered messages excluded; sample size ~167 per provider per country.

Why P95 is the only latency metric that matters for OTP

An average is a weighted opinion. P50 tells you what the typical user experiences, which is useful for capacity planning and almost useless for OTP conversion. P95 tells you what one in twenty users experiences, and those are the users who generate the support tickets, the duplicate sends, and the abandoned carts. At 1 million OTPs a month, P95 is 50,000 people. If 10% of them give up, you have lost 5,000 signups before anyone looks at the average.

The tail also costs money directly. A user who does not receive a code within 30 seconds taps "resend." The first message is still in flight, so the second one arrives too, and now you have paid twice for one login. Some gateways deduplicate by recipient and content; most do not. A P95 of nine seconds does not just annoy a user; it manufactures duplicate traffic, which inflates cost, triggers velocity limits, and can look like SMS pumping to a fraud system.

Latency profileShare waiting >3 sModeled completionDuplicate sends / 100kSupport tickets / 100k
P50 1.0 s / P95 2.5 s2%98.1%420120
P50 1.5 s / P95 4.0 s8%95.6%1,500480
P50 2.0 s / P95 8.0 s18%89.2%3,4001,080

Illustrative model, not measured conversion. Assumes 8% abandonment per 10 seconds of waiting and a 30-second resend window. Replace the assumptions with your own funnel data.

The model is deliberately simple, but the direction is robust: tail latency dominates the economics. Moving P95 from eight seconds to four seconds is worth more than shaving 50 ms off the API response. That is why the benchmark's headline table reports P95 next to P50 and why the vendor with the fastest API is not automatically the vendor with the best user experience.

Anatomy of a 1.5-second delivery

When a message leaves your application, it enters a chain of systems that each add a little time and a different failure mode. The API accepts the request, authenticates the key, checks the balance, and hands the message to a routing engine. The router resolves the destination's MCC-MNC, selects a carrier interconnect, and submits the message to an SMSC. The SMSC pages the handset, receives an acknowledgement, and emits a delivery receipt. The receipt travels back through the same chain, which is why your webhook can fire seconds after the user has already read the code.

StageCumulative timeDominant failure mode
API ingress + auth0–120 msCold TLS, rate-limit rejection
Routing + MCC-MNC lookup120–420 msHLR cache miss, ported number
SMSC queue300–1,600 msCongestion, campaign burst, retry backlog
HLR / MSC lookup450–2,000 msRoaming, subscriber detached
Paging + radio600–2,900 msWeak signal, cell congestion
Device wake-up650–3,200 msDoze mode, battery saver

Cumulative ranges for a direct route. Aggregator hops add 150–400 ms each and can add another queue.

What vendors leave out of their latency claims

The most common sleight of hand is boundary substitution. A vendor publishes a 120 ms "delivery time" that is actually the API response, or a 400 ms number measured at the SMSC boundary, and lets the reader assume it describes the handset. The second trick is sample selection: a benchmark run on one carrier in one country during off-peak hours is presented as a global result. The third is exclusion: filtered, failed, and retried messages disappear from the latency set, so the surviving numbers look excellent while the delivery rate quietly falls.

A credible benchmark states the boundary, the sample size, the corridor, the carrier, the time window, the payload length, the encoding, and the treatment of filtered messages. It reports delivery rate alongside latency, because a provider that drops 10% of traffic can look fast on the remaining 90%. It separates first-attempt latency from retry-adjusted latency. And it publishes percentiles, not just an average. If any of those are missing, the number is marketing, not measurement.

Run your own benchmark in an afternoon

You do not need a lab to get a defensible number. You need a handful of seed SIMs on the carriers your users actually use, a script that records the send timestamp, a webhook that records the delivery receipt, and an app on each handset that records arrival. The script below sends through SMSRoute; swap the endpoint and headers to test another gateway. It writes one row per message to SQLite so the analysis can run later without re-sending.

benchmark.py
Python 3.12 / httpx
import asyncio, csv, os, sqlite3, time
import httpx

API = "https://api.sendsmsnokyc.com/sms/send"
DB_PATH = "latency.db"


def record(message_id, gateway, country, sent_at):
    con = sqlite3.connect(DB_PATH, timeout=10)
    con.execute("PRAGMA journal_mode=WAL")
    con.execute("""CREATE TABLE IF NOT EXISTS sends (
        message_id TEXT PRIMARY KEY, gateway TEXT, country TEXT,
        sent_at REAL, dlr_at REAL, handset_at REAL, status TEXT)""")
    con.execute("INSERT OR REPLACE INTO sends VALUES (?, ?, ?, ?, NULL, NULL, 'queued')",
                (message_id, gateway, country, sent_at))
    con.commit()
    con.close()


async def send_one(client, semaphore, gateway, country, phone):
    async with semaphore:
        sent_at = time.time()
        response = await client.post(
            API,
            headers={"Authorization": f"Bearer {os.environ['SMSROUTE_API_KEY']}"},
            json={"to": phone, "message": "Benchmark code 849201 expires in 5 minutes",
                  "sender_id": "BENCH"},
        )
        response.raise_for_status()
        message_id = response.json()["message_id"]
        await asyncio.to_thread(record, message_id, gateway, country, sent_at)


async def main():
    with open("targets.csv", newline="") as handle:
        targets = [(row["country"], row["phone"]) for row in csv.DictReader(handle)]

    limits = httpx.Limits(max_connections=50, max_keepalive_connections=20)
    timeout = httpx.Timeout(10.0, connect=3.0)
    semaphore = asyncio.Semaphore(20)

    async with httpx.AsyncClient(http2=True, limits=limits, timeout=timeout) as client:
        await asyncio.gather(*[
            send_one(client, semaphore, "smsroute", country, phone)
            for country, phone in targets
        ])


asyncio.run(main())

The analysis is where most homegrown benchmarks go wrong. Do not compute the mean of all observations and call it latency. Group by gateway and corridor, drop rows that never received a handset timestamp, and compute percentiles with linear interpolation. Report the sample count next to every percentile so a reader can judge whether the number is stable.

analyse.py
Python 3.12
import sqlite3


def percentile(values, p):
    if not values:
        return None
    values = sorted(values)
    position = (len(values) - 1) * (p / 100)
    low = int(position)
    high = min(low + 1, len(values) - 1)
    return values[low] + (values[high] - values[low]) * (position - low)


con = sqlite3.connect("latency.db")
rows = con.execute(
    "SELECT gateway, handset_at - sent_at FROM sends WHERE handset_at IS NOT NULL"
).fetchall()

by_gateway = {}
for gateway, seconds in rows:
    by_gateway.setdefault(gateway, []).append(seconds)

for gateway, samples in sorted(by_gateway.items()):
    print(
        f"{gateway:10} n={len(samples):5} "
        f"p50={percentile(samples, 50):.3f}s "
        f"p95={percentile(samples, 95):.3f}s "
        f"p99={percentile(samples, 99):.3f}s"
    )

The optimization playbook

Once you know your real P95, the levers that move it are mostly routing and queue-management decisions, not Python micro-optimizations. The table below ranks them by observed impact in our tests and in customer incident reviews. Impact ranges are approximate and corridor-dependent; treat them as hypotheses to test, not guarantees. For the architecture behind multi-route selection, see multi-carrier SMS failover.

LeverExpected P95 impactEffortCaveat
Use a direct SMPP bindβˆ’300 to βˆ’800 msMediumRequires carrier interconnect and window tuning
Send through a regional ingressβˆ’80 to βˆ’200 msLowOnly helps if the provider has an in-region endpoint
Pre-warm routes before a campaignβˆ’100 to βˆ’400 msLowSome providers charge for warm-up traffic
Keep messages in GSM-7Avoids concatenationLowEmoji, accents, and non-Latin scripts force UCS-2
Remove public URL shortenersAvoids filteringLowUse a branded domain with a clean reputation
Retry on DLR after 8–10 sCuts duplicatesLowDo not retry while the first message is still queued
Respect carrier TPS limitsPrevents queue collapseMediumBursting above the limit creates a backlog that outlives the burst
Register the sender IDAvoids filteringMediumUnregistered alpha senders are blocked in many markets

The anti-pattern worth naming is the aggressive retry. A client that retries after two seconds, then four, then eight, can triple the offered load on a route that is already congested. The first message is often still in the SMSC queue; the retry overtakes it or duplicates it, and the user receives two codes. A better policy waits for the delivery receipt, retries only on a terminal failure or after a timeout longer than the corridor's P95, and carries an idempotency key so a duplicate submission does not become a duplicate charge.

Frequently asked questions

What is a good SMS delivery latency?

For OTP in a mature market, a handset P50 under 1.5 seconds and a P95 under 3 seconds is a reasonable target. Emerging markets with more carrier hops and congestion often run 2–4 seconds at P50. A single global number is meaningless; the corridor matters more than the vendor's headline. Measure on the carriers your users actually use, at the hours they actually log in.

Is API response time a useful metric at all?

Yes, for capacity planning and timeout tuning. It tells you how quickly a worker is released, which affects throughput under load. It does not tell you when the user receives the message. Track both, but make product decisions with the handset number. If your API is fast and your handset P95 is slow, you have a routing or queue problem, not an application-server problem.

Why do my own numbers differ from this benchmark?

Because latency depends on the carrier, the time of day, the sender ID, the message encoding, the route, and the handset model. Our sample is 10,000 messages across ten corridors; your traffic is a different distribution. Use this benchmark to shortlist vendors and set expectations, then run a parallel test with your own payloads and seed SIMs before you sign a contract.

Does a faster API mean lower cost?

Not directly, but tail latency influences cost through retries and duplicate sends. A provider with a slower median but a tighter tail can be cheaper overall than one with a fast median and a long tail. Model the cost of duplicate OTPs and support contacts, not just the per-message rate. The cheapest message is the one that arrives once, on time.

JH

Jacky Hossein

Verified Author

Principal Telecommunications & Cryptographic Systems Architect at SMSRoute. Specializes in carrier-grade SS7/SMPP routing protocols, non-custodial cryptocurrency billing rails, and zero-knowledge telecommunications privacy.

Send Global SMS in Under 60 Seconds Without KYC

Sign up with email only. Top up with Bitcoin, USDT, Monero, or Ethereum. Instant carrier interconnects to 149 countries from $0.004/msg.