Originally published on zelnum.com. Republished here with a canonical link to the original.
Four steps to optimize SMS routing with carrier lookup:
- Run carrier lookup on every number before sending
- Segment your list by destination carrier
- Match each segment to the cheapest gateway for that carrier and country
- Monitor delivery rates to catch route degradation early
Done well, this saves 30–40% on outbound SMS spend with zero impact on delivery.
SMS routing is where messaging budgets quietly leak. Aggregators and gateway operators charge based on destination carrier, country, and route quality — three variables that vary by orders of magnitude. A US-to-Indonesia message can cost 5–10× more on a premium route than on a wholesale route. Carrier lookup is what makes intelligent routing possible.
How SMS Routing Actually Works
Every outbound SMS goes through three layers:
- Sender (your application or marketing tool)
- Aggregator/Gateway (Twilio, MessageBird, Plivo, Sinch, etc.)
- Destination Carrier (T-Mobile, Vodafone, Airtel, etc.)
Each aggregator offers multiple "routes" to each destination carrier. Routes vary by:
- Cost — premium vs wholesale, sometimes 10× difference
- Latency — direct routes are fast, multi-hop routes add seconds
- Delivery rate — premium routes hit 98%+, wholesale may drop to 80–90%
- Features — sender ID support, two-way messaging, delivery receipts
Without carrier lookup, you can't choose the right route. Because you don't know what carrier you're routing to.
Why Carrier Detection Matters for Routing
Three reasons:
1. Mobile Number Portability (MNP) breaks prefix routing. In the US, 30%+ of mobile numbers have been ported. A number with a Verizon prefix may now be on T-Mobile's network. Routing based on prefix sends messages to the wrong carrier: they fail or bill incorrectly.
2. Different carriers have different gateway prices. Sending to T-Mobile US through a premium aggregator costs roughly double what a wholesale aggregator charges for the same destination. Same number, same network — big price difference.
3. International routing is more dramatic. Regional specialist aggregators in markets like India often price a fraction of global premium gateways. A 100K-message campaign can save thousands of dollars with the right route.
The Math
A 100K-message campaign:
Without carrier-based routing (single-route pricing):
- 100K × $0.0075 average = $750
With carrier-based routing (segmented):
- 60K (US Tier-1 carriers via wholesale) × $0.003 = $180
- 25K (US Tier-2 carriers via mid-tier) × $0.005 = $125
- 15K (international via specialized routes) × $0.012 = $180
- Total: $485 (35% savings = $265)
Annual impact for a team running 4 campaigns per month: $12,720 saved/year on a 100K-message recurring campaign.
Step 1 — Run Carrier Lookup on Entire List
Before any campaign, run all numbers through a bulk carrier lookup. For lists under 100K, CSV upload is fastest. For real-time scenarios (transactional SMS, signup verification), use the API.
The lookup returns:
-
carrier_name— destination carrier -
country— ISO country code -
line_type— mobile / landline / VoIP / toll-free
One rule to keep: trust real-time HLR data, not prefix-based lookups. MNP makes prefix routing wrong 30%+ of the time.
Step 2 — Segment by Destination Carrier
After lookup, group numbers into segments. A practical segmentation:
- Premium destinations — small carriers, edge cases requiring premium routes
- High-volume Tier 1 — major carriers (T-Mobile, AT&T, Verizon, Vodafone) with wholesale options
- International by region — Asia, EMEA, LATAM each routed via regional specialists
- Landlines and toll-free — moved to voice campaigns or removed entirely
- VoIP and disposable — flagged for review (high fraud risk, high failure rate)
The segmentation logic depends on your aggregator's pricing structure. Most teams find 3–5 segments capture 90% of the savings.
Step 3 — Match Each Segment to Cheapest Gateway
Different aggregators specialize in different routes. Build a routing table:
| Segment | Best Gateway | Reason |
|---|---|---|
| US Tier 1 (T-Mobile, AT&T, Verizon) | Wholesale aggregator | Cheapest per SMS |
| US Tier 2 + small carriers | Premium aggregator (e.g., Twilio) | Better delivery rates |
| EU (Vodafone, O2, Orange) | EU-specialized aggregator | Direct connections |
| Asia (China Mobile, Airtel, NTT) | Asia-specialized aggregator | Local carrier relationships |
| Latin America | LATAM specialist | Regional pricing |
Most SMS platforms allow custom routing rules. Build the rules table once, then update quarterly as aggregator pricing shifts.
Step 4 — Monitor Delivery Rates
After routing optimization, track delivery rates per segment:
- Healthy — 95%+ delivery rate
- Watch — 85–94% (route may be degrading)
- Action needed — <85% (switch routes immediately)
Set up automated alerts. Aggregators occasionally degrade routes without notice. Without monitoring, you might lose 20% of deliveries before noticing.
Common Pitfalls
MNP not handled. If your routing logic uses original carrier assignment, you're routing 30% of US mobile traffic to the wrong network. Always re-check carriers periodically (quarterly minimum) since MNP doesn't trigger any notification.
Stale carrier data. Cached carrier data expires fast. For high-stakes routing, always do real-time HLR lookups, not cached data older than 30 days.
Wholesale routes for transactional SMS. Wholesale routes are great for marketing (cheap) but may have higher latency. For OTP/2FA — always use premium routes. A 10-second delay loses the user.
Ignoring landlines. Landlines can't receive SMS at all. Sending to them is 100% wasted spend. Always filter line_type = mobile before campaigns.
For SMS Aggregators (Specialized Advice)
If you're an SMS aggregator yourself (rather than an end customer), three more considerations:
- Real-time HLR is mandatory. Cached data is not acceptable for routing.
- Connectivity to 200+ carriers globally. Build direct relationships, not via reseller chains.
- MNP handling at aggregator level. Provide MNP-corrected routing as a feature to your customers.
For high-volume aggregators, see our carrier lookup API — built for batch carrier enrichment and large CSV/API jobs.
Tools Recommendation
For SMS routing optimization:
- ZelNum Carrier Lookup — bulk + API, real-time HLR data, international coverage
- Twilio Lookup — API only, more expensive (see alternatives)
- Custom HLR provider — for very high-volume aggregators
The math is consistent: bulk validation costs a fraction of a cent per lookup, and route savings compound from the first campaign.
Optimize your SMS routing now →
FAQ
Does carrier-based SMS routing work for international SMS?
Yes, and the savings are larger internationally. US routing saves 30–40%; international routing can save 60–80% by using regional specialist aggregators instead of generic global gateways. Always check carrier first to determine the destination network and pick the right regional route.
How often should I refresh carrier data for SMS routing?
For high-volume routing, refresh on every send (real-time HLR lookup). For lower-volume marketing campaigns, refresh quarterly is sufficient. Mobile Number Portability rates of 30%+ in the US mean cached data older than 90 days is unreliable for cost-optimal routing.
What about Mobile Number Portability (MNP) — does it really matter?
Yes. In mature markets (US, EU, UK), 30%+ of mobile numbers have been ported. Routing based on the original prefix sends 30% of your traffic to the wrong network — leading to failed deliveries, billing disputes, or higher-cost routes. Live HLR lookup catches this automatically.
Is carrier-based routing worth it for low SMS volumes?
For under 10K messages/month, the savings (~$30–$50/month) often don't justify the implementation effort. Above 50K messages/month, savings exceed $200/month and quickly cover the validation cost. Above 1M messages/month, carrier-based routing typically saves $5,000+ per month.
Can I bypass carrier lookup by using a single high-quality gateway?
You can, but you'll pay 2–10× the optimal price. Premium gateways like Twilio offer simplicity by using premium routes for everything. Carrier-based routing trades that simplicity for major savings, especially at international scale.
What's HLR lookup and why is it essential for routing?
HLR (Home Location Register) is the carrier-level database that tracks which carrier currently owns each phone number. Real-time HLR lookup catches Mobile Number Portability — when users keep their numbers but switch carriers. Without HLR data, you can't route accurately to the current carrier.
Top comments (0)