Skip to main content

SMS units

Your organisation's SMS wallet holds units. One unit pays for one SMS part. The API reports everything in units — it never shows prices.

You buy units in the app (SMS → Wallet). The price per unit depends on how many you buy; see pricing.

How many parts is my message?​

Message lengthParts (units per recipient)
Up to 160 characters1
161 – 306 characters2
307 – 459 characters3
Longer1 part per 153 characters, rounded up

Longer messages are split into 153-character parts because each part carries a few characters of joining information. The maximum message length is 1,600 characters.

:::caution Special characters Part counts assume the standard GSM character set (letters, numbers, common punctuation). Emoji and some special characters can make a network split a message into more, shorter parts. Keep messages to plain text where possible. :::

Units in API responses​

FieldWhereMeaning
units_availablebalance, send, batch receiptUnits left in the wallet
sms_partssend, status, batchParts (units) for that message
units_usedsend (up to 50 numbers)Units used by this request
units_requiredbatch receipt (51+ numbers)Units the batch will use

When are units used?​

  • Units are used when a message is handed to the network.
  • Numbers that have opted out are skipped and use no units.
  • Before sending, CloudMetis checks you have enough units for the whole request. If not, nothing is sent and you get 402 insufficient_units.
  • Sandbox (test key) messages never use units.