Guides

What an SMS "part" is

How one message becomes 1, 2 or 4 billed SMS: GSM-7 encoding, the 160-character boundary and the exact moment the price doubles.

You pay per part, not per message

The mobile network does not carry "a message": it carries parts. A long SMS is split into parts, each one travels as a standalone SMS and each one is billed as an SMS. The parts field in the API response tells you exactly how many parts you were charged for, synchronously.

How many parts a text needs depends on exactly two things: its encoding and its length. Both follow fixed rules from the GSM standard — not our choices — but they are worth knowing, because a single character can change the price.

GSM-7: 160 characters, then 153

The base encoding is GSM-7: 7 bits per character, a set covering Latin letters, digits, common punctuation and a handful of accented letters (è, é, ù, ì, ò, à…). As long as the text stays inside the set, a single part holds 160 characters.

Past 160 characters the message concatenates: every part must carry a technical header (the UDH) that tells the phone how to reassemble the message, and that header costs 7 characters. Each concatenated part therefore carries 153, not 160. A 161-character text takes 2 parts.

Extended characters count double

A few useful characters — € [ ] { } ~ \ | ^ — are not in the base set: they are encoded as an escape pair and cost 2 characters each. A text full of brackets, or with a euro sign, fills a part faster than an eyeball character count suggests.

The pair is never split across a part boundary: if it does not fit, it moves whole into the next part.

One character outside the set and the whole message is Unicode

Encoding is a property of the whole message, not of a single character. One emoji, one typographic quote (the "curly" kind many editors insert on their own) or one ideogram is enough to switch the entire text to Unicode (UCS-2): 70 characters in a single part, 67 per concatenated part.

The same 100-character text costs 1 part in GSM-7 and 2 parts with a single emoji in it. The encoding field in the response ("gsm7" or "unicode") tells you which encoding was applied.

Every part is one SMS on the invoice: the 320-character example

The platform caps a message at 4 parts (612 GSM-7 characters, 268 Unicode); beyond that the request is rejected with VALIDATION_FAILED. Below the cap the arithmetic is linear: number of parts × per-part price.

A 320-character GSM-7 message exceeds the single-part 160, so it concatenates at 153 characters per part. The example uses the system sender price for a transactional send:

Example (system sender)

text: 320 GSM-7 characters
per-part capacity: 153 (concatenated)
price basis: system sender, transactional

parts = ceil(320 / 153) = 3
price = 3 × 0.0298 EUR = 0.0894 EUR
3 billed parts

In practice

  • Keep OTPs and transactional texts under 160 GSM-7 characters: they stay at 1 part, at the minimum price.
  • Watch out for copy-paste from text editors: typographic quotes and long dashes are outside the GSM set and flip the whole message to Unicode.
  • The € sign is legitimate but lives in the extended set: it counts as 2 characters.
  • You never have to do the arithmetic by hand: every API response reports parts and price_eur for that send.
Live in two minutes

Ready to send your first SMS or WhatsApp message?

Sign up, confirm your email, top up by card and send your first message from the browser, no code needed.

SMS packages or a monthly plan by card, a credit line for volume senders — cancel any time.