What is an SMS gateway? How it works, sender rules and prices
Editorial team · updated · facts checked
An SMS gateway is the service or software that connects an application to mobile carrier networks so it can send and receive text messages. Your code hands the gateway a message over an HTTP API or SMPP; the gateway routes it to the recipient's carrier and reports back whether it was delivered.
Apps texting people send A2P (application-to-person) traffic, people texting each other P2P. Twilio's A2P overview says US carriers treat every message sent through a provider as A2P; CTIA's May 2023 guidelines call the classes Non-Consumer and Consumer.
How an SMS gateway delivers a message
- Your app submits the message by HTTPS request or SMPP
submit_sm; the returned ID means accepted, not delivered. - The gateway routes it to the recipient's carrier, over a direct connection or through a connection aggregator, which CTIA describes as linking businesses to several carriers. smpp.org names aggregators and mobile operators as gateway providers.
- The carrier delivers it and returns a delivery receipt (DLR).
- The gateway posts a status webhook. Telnyx sends
message.sent, thenmessage.finalizedwithdelivered,delivery_failedordelivery_unconfirmed(docs); Twilio'sdeliveredandundeliveredcallbacks usually carry the receipt's date asRawDlrDoneDate.
"Delivered" is the carrier's confirmation; Twilio reports read only for RCS and WhatsApp.
HTTP API or SMPP
An HTTP API takes one HTTPS request per message and reports status by webhook. SMPP (Short Message Peer-to-Peer), the open protocol linking applications, gateways and carrier message centers, keeps a TCP session (a "bind") open for binary packets, receipts included (smpp.org); versions 3.3 (1997), 3.4 (1999) and 5.0 (2003) are in use.
Vonage uses SMPP itself to reach carriers but says most developers can safely ignore it. In SMS-rating order, SMPP access comes from Sinch through sales, Infobip in version 3.4 only, and Vonage after a volume forecast and without global high availability.
Sender types and registration
From Twilio's US, Brazil and Mexico guidelines, 24 September 2026:
| Country | Senders | Registration |
|---|---|---|
| United States | 10DLC numbers, toll-free numbers, 5–6-digit short codes; no alphanumeric names | 10DLC brand and campaign via your provider with The Campaign Registry; toll-free verification; short codes leased from the US Short Code Registry |
| Brazil | Short codes; alphanumeric names on TIM, Claro and Vivo | Name pre-registration optional (about 10 weeks); local long codes P2P only |
| Mexico | Alphanumeric names, short codes, long codes | Domestic name pre-registration required on Telcel, Movistar and AT&T (about 3 weeks); unregistered names usually become short codes |
Fees and steps: A2P 10DLC registration guide, toll-free texting verification. Providers disagree on some rules; SMS sender ID rules by country compares them in 24 countries.
What an SMS gateway costs
Gateways bill per segment: 160 GSM-7 characters, 153 per part once a message splits. One emoji or curly quote switches it to UCS-2: 70 characters, 67 per part (Twilio). GSM-7 has é and ñ but not á, ã or ç, so Portuguese and Spanish texts often cost double.
Telnyx lists $0.004 per segment in the US, $0.054 to Brazil and $0.091 to Mexico. US carriers add $0.0035 to $0.005 per long-code segment (Twilio's list), and Telnyx, Bird, Vonage, Infobip, Twilio and Plivo list 10DLC brand registration from $4.50 and campaign vetting at $15. No provider here lists Brazil or Mexico carrier fees; Twilio says they may apply.
Dataset scenario (checked 24 September 2026): 1,000 single-segment texts a month on the cheapest compliant sender, number and campaign fees included, carrier fees excluded, in SMS-rating order:
| Provider | United States | Brazil | Mexico |
|---|---|---|---|
| Telnyx | $6.60 | $54.00 | $96.10 |
| Bird | $6.00 | $32.50 | $106.00 |
| SendPulse | $24.00¹ | $31.00¹ | $20.00¹ |
| Sinch | $8.80² | $32.70 | $103.00 |
| Infobip | $9.68³ | $29.01 | $169.29 |
| Vonage | €12.63 | €57.80 | €163.06 |
| Brevo | $10.90 | R$146.72 | MX$648.30 |
| AWS End User Messaging | $10.74 | $30.00 | $100.00 |
| Twilio | $10.95 | $61.05 | $188.40 |
| Textmagic | $69.00 | $118.00⁴ | $92.40 |
| ClickSend | $32.77 | $20.10 | $129.90 |
| Zenvia | not listed | R$100.00 | MX$435.20 |
| Plivo | $1,000⁵ | $1,000⁵ | $1,000⁵ |
¹ US-visitor price list of 11 May 2026 (live page: €0.02, €0.026, €0.017); US total lacks an unpublished toll-free number fee. ² Without 10DLC fees. ³ Without number rental. ⁴ Sender fee unpublished. ⁵ Enterprise plan only, $1,000 minimum. SMTP2GO, Blip and Botmaker publish no scenario price.
Choosing an SMS gateway
Beyond price, compare registration help, delivery webhooks and AI-agent tooling such as MCP servers (AI-readiness data). Our SMS API rankings score 16 providers with published weights (methodology); the current top five are Telnyx (83.0), Bird (75.0), SendPulse (73.1), Sinch (72.3) and SMTP2GO (69.0); the Twilio alternatives page compares the other 15 with Twilio.
Sending a text through an SMS gateway API
Illustrative, not run: Telnyx's send-message endpoint, chosen because Telnyx led our SMS rating when this page was written on 24 September 2026. The reply's status is queued; the outcome arrives at webhook_url.
curl -X POST https://api.telnyx.com/v2/messages \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"from": "+12025550143", "to": "+12025550187",
"text": "Your order 1042 has shipped",
"webhook_url": "https://example.com/sms-status"}'
Node.js and Python versions for Twilio and Telnyx: how to send SMS with an API.
Phone-as-gateway apps and GSM modems
The open-source SMSGate app puts a REST API on an Android phone and sends from its SIM; a GSM or LTE modem does the same for a server through the AT commands of 3GPP TS 27.005, for example under Kannel (last stable release 1.4.5, June 2018).
- Android's source code lets a non-default SMS app send 30 messages a minute by default, then asks the phone's user for permission. Google Play grants SMS permissions mainly to default SMS apps; SMSGate isn't on Google Play.
- The sender is the SIM's number; SMSGate's FAQ says a brand name must come from the carrier, and suggests random delays and SIM rotation against operator restrictions.
- Kannel's user guide warns that modem delivery reports "may not work".
- CTIA counts any business message as Non-Consumer traffic and puts typical consumer volume at up to 1,000 messages a day.
About this guide
Written by the PingMyUsers editorial team. Sensaria AG (Switzerland) operates the directory; providers don't pay for placement and none reviewed this page. Send errors, with a source, to contact@sensaria.ch.
Methodology
On 24 September 2026 we read every listed source; table prices come from our provider data, checked that day, with Twilio's, Telnyx's, Bird's and SendPulse's re-read at source. We did not send messages or open accounts. Sender and code sections follow 135 AI-search queries from four earlier SMS runs.
Last updated
24 September 2026: first version. Next re-check: March 2027, or sooner if a price or sender rule changes.
Frequently asked questions
What is the difference between an SMS gateway and an SMS API?
The API is the interface your code calls; the gateway is the system behind it that reaches carriers.
What is an SMPP gateway?
A gateway reached over SMPP, a persistent TCP session with binary packets, instead of HTTPS. Aggregators and high-volume senders use it.
How much does an SMS gateway cost?
In our data, 1,000 US texts are listed at $6.00 to $69.00 a month (Plivo requires a $1,000 plan), plus $3.50 to $5.00 in carrier fees.
Can I use my phone as an SMS gateway?
Yes, with an app such as SMSGate, within Android's default 30 messages a minute, from your own number.
Do I need to register to send SMS through a gateway?
In the US, yes, for every sender type (10DLC guide). Mexico requires it for domestic brand names; Brazil makes it optional.
Sources
- smpp.org — SMPP protocol overview and specifications (v3.3 1997, v3.4 1999, v5 2003) — checked 24 September 2026
- smpp.org — SMS gateways (SMPP as an access protocol; aggregators and mobile operators) — checked 24 September 2026
- smpp.org — SMPP delivery receipts (registered_delivery, deliver_sm) — checked 24 September 2026
- Vonage — SMS API access for SMPP — checked 24 September 2026
- Infobip — SMPP specification — checked 24 September 2026
- Sinch — SMS SMPP overview — checked 24 September 2026
- CTIA — Messaging Principles and Best Practices (May 2023) — checked 24 September 2026
- Twilio — Programmable Messaging and A2P 10DLC (What is A2P) — checked 24 September 2026
- Telnyx — Send a message (API reference) — checked 24 September 2026
- Telnyx — Receiving messaging webhooks (event types, delivery statuses, retries) — checked 24 September 2026
- Twilio — Messages resource (status values) — checked 24 September 2026
- Twilio — Track the message status of outbound messages (RawDlrDoneDate) — checked 24 September 2026
- Twilio — How long can a message be? (segments, GSM-7, UCS-2) — checked 24 September 2026
- Twilio — What is GSM-7 character encoding? (character map) — checked 24 September 2026
- Twilio — SMS guidelines, United States — checked 24 September 2026
- Twilio — SMS guidelines, Brazil — checked 24 September 2026
- Twilio — SMS guidelines, Mexico — checked 24 September 2026
- The Campaign Registry — home page (10DLC ecosystem, CSP-only registration) — checked 24 September 2026
- US Short Code Registry — how short codes are leased — checked 24 September 2026
- Twilio — SMS pricing, United States (rates and long-code carrier fees) — checked 24 September 2026
- Twilio — SMS pricing, Brazil — checked 24 September 2026
- Twilio — SMS pricing, Mexico — checked 24 September 2026
- Telnyx — pricing rate sheet (Markdown) — checked 24 September 2026
- Bird — SMS pricing, United States — checked 24 September 2026
- Bird — SMS pricing per destination — checked 24 September 2026
- Sinch — SMS pricing — checked 24 September 2026
- SendPulse — Bulk SMS prices (live page, EUR) — checked 24 September 2026
- SendPulse — Bulk SMS prices, Internet Archive capture of 11 May 2026 (US visitor, USD) — checked 24 September 2026
- Vonage — global pricing sheet (nexmo_pricing.xlsx) — checked 24 September 2026
- Infobip — SMS pricing — checked 24 September 2026
- Brevo — Pay As You Go pricing (SMS credits) — checked 23 September 2026
- AWS End User Messaging — pricing — checked 24 September 2026
- Textmagic — pricing — checked 24 September 2026
- ClickSend — SMS pricing — checked 24 September 2026
- Zenvia — Planos e preços (Brazil) — checked 24 September 2026
- Zenvia — Planes y precios (Mexico) — checked 24 September 2026
- Plivo — SMS pricing, United States — checked 24 September 2026
- Plivo — Plans and pricing (Professional vs Enterprise) — checked 24 September 2026
- SMSGate (SMS Gateway for Android) — home page — checked 24 September 2026
- SMSGate — FAQ, general (operator restrictions, sender name, installation) — checked 24 September 2026
- Android Open Source Project — SmsUsageMonitor.java (default outgoing SMS limit) — checked 24 September 2026
- Google Play Console Help — Use of SMS or Call Log permission groups — checked 24 September 2026
- Kannel — Open Source WAP and SMS gateway (home page, release news) — checked 24 September 2026
- Kannel 1.4.5 User's Guide — GSM modem driver and delivery reports — checked 24 September 2026
- 3GPP TS 27.005 — DTE-DCE interface for SMS and Cell Broadcast Service — checked 24 September 2026