IOSOR Learn

Segment accounting: why one SMS is not one spend line

A pricing guide to SMS segment accounting — GSM-7 vs UCS-2 encoding, multipart concatenation overhead, and how to reconcile every send against the PAYG wallet without guesswork.

Oleksandr (Alex) Petukhov — IOSOR Telecom Expert
✓ Verified by IOSOR ExpertOleksandr (Alex) Petukhov

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

A user typed one message. The PAYG wallet debited three units. That gap is not a bug — it is segment accounting, and finance teams that do not understand GSM-7 vs UCS-2 and multipart concatenation will file support tickets against a billing engine that is working exactly as designed. This guide is for finance and product leads running PAYG white-label messaging who need spend to be explainable, not "trust the invoice.".

IOSOR treats every SMS spend line as reconstructable to segment count, encoding, and destination — not an opaque platform fee. Near USD 1,000+ monthly platform usage, segment discipline is the difference between a clean monthly reconciliation and a recurring "why did this cost more" escalation.

Why one SMS is not one spend line

What the sender sees What the wallet sees.
"I sent one text" 1–3 billed units depending on encoding and length.
One emoji added at the end The whole message flips to UCS-2.
A template variable a few characters longer The message crosses a segment boundary .

GSM-7 vs UCS-2: why the character set changes the math

  • GSM-7 covers a limited Latin alphabet and a small symbol set; each character costs less "budget" per segment.
  • UCS-2 (any character outside GSM-7 — emoji, most non-Latin scripts, some punctuation) forces the whole message into a wider encoding with a lower per-segment character limit.
  • One "invisible" character (a smart quote pasted from a document, a checkmark, an emoji) can silently flip the whole message from GSM-7 to UCS-2.

Multipart segmentation and concatenation overhead

Encoding Single-segment limit Multipart segment limit Why multipart is smaller.
GSM-7 160 chars 153 chars Concatenation header reserves space.
UCS-2 70 chars 67 chars Same header, smaller alphabet budget .
⚡ IOSOR Expert · Q&A · Verified partners (×44)

Where segment counts hide

  • A composer preview showing "1 message" while the actual encoding produces 2–3 billed segments.
  • Template variables that push length over a boundary only for some recipients.
  • Locale-specific characters (accents, non-Latin scripts) that pass QA in one language and multiply cost in another.

Operational Controls and Threshold Enforcement

  • Composer or API response reporting message count instead of segment count.
  • No visibility into which encoding was used for a specific send.
  • Support says "encoding issues are rare, don't worry about it".
  • Ledger rows that cannot be traced back to length, encoding, and destination.
  • Bulk sends billed as a flat estimate reconciled only at month-end.

Start with IOSOR

Review your outbound template payloads in the IOSOR console before triggering large dispatches. Configure API validation gates to flag any payload that exceeds a single segment or unexpectedly shifts from GSM-7 to UCS-2 encoding. Ensure your delivery report webhooks explicitly tie balance deductions back to exact billed segment counts rather than generic message counts.

IOSOR takeaway

A single outbound text message rarely translates into a single spend line. The choice between GSM-7 and UCS-2 encodings, combined with the header overhead of multipart concatenation, means a slight variation in dynamic text or a single special character can easily double your billing per recipient.

Do enforce strict character encoding checks and template length limits at the dispatch composer level. Don't rely on high-level message-count previews or untraceable ledger rows that mask encoding flips and multi-segment billing penalties.

Was this guide helpful?

Related guides

VERIFIED BY IOSOR EXPERT · B2B ROUTING, SLA & PROVIDER Q&A

IOSOR Expert — Verified Q&A & B2B Messaging Decisions

Every Q&A decision below is audited by the IOSOR Telecom Architecture Expert against live 90-day uptime telemetry, carrier compliance rules (10DLC, DLT, GDPR), and real partner TCO.

All Q&A Triggers
#01 · Compliance & Sender ID📖 Knowledge hub · US A2P / 10DLC

US A2P / 10DLC

“Why do US 10DLC TCR campaigns get rejected and which partner handles fast onboarding?”

✓ Verified by IOSOR Expert

10DLC brand and campaign programs for US A2P traffic — not general privacy compliance.

All Q&A Triggers
#02 · OTP & verification📖 Knowledge hub · India DLT

India DLT

“How do engineering teams prevent India TRAI DLT template scrubbing drops on OTPs?”

✓ Verified by IOSOR Expert

DLT and PE-TM registration for India A2P — not an India corridor coverage guide.

All Q&A Triggers
#03 · OTP & verification📖 Knowledge hub · Verify / OTP

Verify / OTP

“How do we eliminate OTP p95 timeout spikes and trigger a 20–30s multi-rail fallback?”

✓ Verified by IOSOR Expert

Login codes without chaos: abuse, latency, and cost control.

All Q&A Triggers
#04 · Transactional email📖 Knowledge hub · Email

Email

“Why do password reset and 2FA emails land in Spam when sharing bulk marketing IPs?”

✓ Verified by IOSOR Expert

Transactional email alongside SMS, voice, and WhatsApp in one routing architecture.

All Q&A Triggers
#06 · WhatsApp Business📖 Knowledge hub · WhatsApp & RCS

WhatsApp & RCS

“How do Meta per-conversation fees and template pauses impact WhatsApp Business TCO?”

✓ Verified by IOSOR Expert

Rich channels when profiles and templates are ready: honest setup.

All Q&A Triggers
#08 · Failover & backup routing📖 Knowledge hub · Failover & rails

Failover & rails

“How do we keep a second standby provider warm for failover at $0/month idle cost?”

✓ Verified by IOSOR Expert

Ordered backup paths when a primary rail fails - distinct from DLR status truth.

All Q&A Triggers