IOSOR Learn
PAYG Balance vs Encoding Cost: Guardrail Before Route Commit
Size a PAYG balance against worst-case UCS-2 segment explosion, set hard-stop thresholds, and compare partner routes that expose pre-send quotes.
Lead Telecom & Routing Architect · Lausanne, CH
A PAYG balance only guards you if it is sized against the worst case, not the average. Before committing volume to a route, compute the maximum segment count a single message can reach in UCS-2, multiply by the route rate, and confirm the balance holds that figure plus one full billing cycle of headroom.
Why average-length estimates fail as a guardrail
Most balance checks use mean characters per message, which hides the tail. One accented character outside the GSM alphabet flips the whole payload to UCS-2, cutting characters per segment from 160 to 70 and raising segment count sharply. If your PAYG balance was sized on the GSM mean, a normal traffic mix with any emoji, Cyrillic, or national-language template will exhaust it mid-campaign. The guardrail must be built on the worst-case payload the route will actually carry, not the sampled average.
Computing the worst-case UCS-2 segment ceiling
Take the longest template in your active set, encode it as UCS-2 with surrogate pairs counted as two code units, then derive segments from the 70/67 boundary rule for concatenation headers. Multiply by your peak daily send volume per route. That product is the worst-case daily exposure. Compare it against the route rate tier that applies at that volume, not the entry rate. Record the ceiling per route and per template family, and refresh it whenever a template owner adds a character outside GSM-7.
Hard-stop controls tied to true encoding cost
A soft alert is not a guardrail. Require the route to expose a pre-send segment quote, so the platform knows the true segment count before submission rather than after DLR reconciliation. Then set the hard stop at balance minus worst-case daily exposure; when the floor is breached, submissions must be rejected at the API layer, not queued.
Partner comparison criteria for balance and quote behaviour
Compare candidate routes on five points: whether a pre-send segment quote is returned per message; whether the quote reflects UCS-2 fallback in real time; whether a balance floor can be configured and enforced server-side; webhook latency for rejection events; and whether DLR receipts reconcile segment counts against the original quote. Ask for the failure-mode documentation, not the rate card.
Common sizing errors to test for explicitly
Three errors recur. First, sizing the balance on the entry rate while peak volume crosses into a higher tier. Second, ignoring concatenation header overhead, which understates segments on long templates. Third, treating webhook rejection as immediate when it is asynchronous, so sends queue behind the stop. Test each by pushing a UCS-2-heavy template through at 2x expected peak and confirming the hard stop fires at the configured floor with a clean DLR trail.
Start with IOSOR
Run the partner comparison before committing volume: open the partner route comparison and check each candidate on pre-send quote, hard-stop enforcement, DLR reconciliation, and webhook latency for rejection events.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Most balance checks use mean characters per message, which hides the tail. Test each by pushing a UCS-2-heavy template through at 2x expected peak and confirming the hard stop fires at the configured floor with a clean DLR trail (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Encoding Route Selection: Verify Charset Cost Bands Before You Commit
Pick an SMS or email route only after charset handling and segment billing match your payload mix. Verify cost bands and DLR charset consistency before volume.
- UDH Reference Lifecycle Reconciliation Across Multipart Routes
Verify how each multipart route allocates, reuses, and expires UDH reference numbers, then compare partner behavior when collisions or exhaustion threaten reassembly and billing.
- UDH Concatenation Reference Window Exhaustion: Pre-Send Gate and Route Comparison
Decide if your SMS route survives multipart UDH reference windows: pre-send gate checks, DLR segment accounting, and partner route comparison via /tools/brief.












