Skip to content

Email, phone and messaging

SMS for AI agents: numbers, registration, codes and 5 providers priced

An AI agent sends and receives texts through a phone number and an SMS API. Here is what the US registration and consent rules ask, how an agent reads verification codes, and what Twilio, Telnyx, Plivo, AgentPhone and Obsession charge, as listed on 23 November 2026.

An AI agent sends and receives texts through a phone number tied to an SMS API, which posts every incoming text to your code. In the US, business texting from a local number needs 10DLC registration, or toll-free verification for a toll-free number, and marketing texts need written consent. Providers such as Twilio, Telnyx and Plivo charge $0.004 to $0.0083 a text plus carrier fees, and Obsession charges $0.015 a text with carrier fees included.

ComparedSMS API providers for AI agents comparedGo straight to the comparison
On this page
  1. How an AI agent gets a number to text from
  2. Consent, STOP and the law in brief
  3. Verification codes: when the agent is the one signing up
  4. SMS API providers for AI agents comparedCompared
  5. What a month costs at 2 sizes
  6. Where Obsession fits
  7. Which to choose, by job
  8. Questions about SMS for AI agents

SMS for AI agents means giving an agent a phone number it can text from and receive texts on. A booking agent confirms a table by text. A support agent answers the reply. A sign-up agent reads the 6-digit code a website texts it. An SMS API is the way software does this: one call sends a text, and a webhook, a web address in your app, receives each incoming one. The questions that decide the build are how the number is registered, what consent you hold, and what each text costs.

How an AI agent gets a number to text from

An agent needs 3 parts from a provider: a number, a way to send, and a way to receive. The number comes from the provider’s API, in one call. Sending is a second call with the number, the recipient and the text. Receiving is a webhook: the provider calls your address the moment a text arrives, and your code passes it to the agent. Long texts are cut into segments, and providers bill each one.

Which number you pick shapes the rules you meet in the US. 3 types of number can send business texts there:

  • A local number (10DLC): an ordinary 10-digit number. Carriers require the business and its use of texting to be registered. 10DLC registration covers every step, fee and common rejection.
  • A toll-free number: an 8XX number. Twilio’s verification doc, as of 25 September 2026, says toll-free numbers “can’t send SMS messages to the United States and Canada until you’ve completed toll-free verification” and Twilio approved it. Telnyx lists toll-free texts at $0.0055 plus carrier fees.
  • A short code: a 5 or 6-digit number for high volume. Plivo’s pricing page lists one at $500 a month, billed quarterly, with a $1,500 one-time setup fee.

An AI agent texting for a business is the business texting, so the registration belongs to the business, not to the agent.

Consent, STOP and the law in brief

This is general information, not legal advice. Each point is tied to the regulator’s or carrier’s own text, read on 23 November 2026 unless it says otherwise, and your country or industry may add more.

  • United States, the FCC. 47 CFR 64.1200 bars autodialled calls to cellular numbers without “the prior express consent of the called party”, and requires “prior express written consent” when the message is advertising or telemarketing. It treats a reply of “stop” to a text as a reasonable way to withdraw consent, and says a request must be honoured “within a reasonable time not to exceed ten business days”. Its own text says a “call” includes a text message, in section (a)(9).
  • United Kingdom, the ICO. The ICO’s guide says you must not send marketing texts to individuals unless “they have specifically consented”, with an exception for existing customers who bought a similar product and were given a clear chance to opt out when you collected their details and in every message. It also asks for a simple way to opt out and a list of the people who opted out, checked before every send.
  • European Union. Article 13 of Directive 2002/58/EC sets the same pattern for electronic mail, which includes texts: prior consent for direct marketing, with a narrow exception for existing customers. Each country writes its own version into law.
  • STOP, every time. T-Mobile’s code of conduct asks senders to honour STOP, END, CANCEL, UNSUBSCRIBE and QUIT, and CTIA’s principles ask for one confirmation and then no more messages. After an opt-out, the agent texts that number nothing more. The glossary has the full rule.

The practical step is the same everywhere: record how each person agreed, say what the texts will be, put the opt-out in the first message, and make the agent treat an incoming STOP as final. Calls are a separate rule set, covered in can AI make phone calls.

Verification codes: when the agent is the one signing up

A site that texts a 6-digit code to confirm a sign-up sends it to a number, and an agent signing up needs a number that receives it. The agent enters the phone number, the site texts a code, the provider posts it to your webhook, and your code reads the digits and types them in. The code expires in minutes, so the webhook has to be fast. Many sign-ups also send a confirmation link by email, so the agent needs an inbox as well (the best email API for AI agents compares them).

Every provider in the comparison can receive a code, because receiving is part of an SMS API. What differs is whether the code is pulled out of the text for you, and whether the number, the inbox and the browser doing the sign-up share one identity.

SMS API providers for AI agents compared

We make Obsession, so every other option is described from its provider’s own pages as of 23 November 2026. Prices are US dollars for US texts. Vonage’s pricing pages would not load on 23 November, so its price is not stated here: check its own page.

OptionWhat it does wellPriceWhere it stopsBest for
Twilioits US SMS pageThe widest developer API for texts, calls and WhatsApp, with an open source SDK on its conversational AI pagesNumber $1.15 a month; $0.0083 a segment, in or out, plus carrier fees of $0.0035 to $0.005; its 10DLC fees are in a help articleIts SMS page describes texts, not an inbox or a browserDevelopers who already run on Twilio
Telnyxits messaging pageThe lowest listed text price among the carriers hereLocal texts $0.004 plus carrier fees; number $1.00 a month; toll-free $0.0055Its messaging page lists no 10DLC feesVolume senders who watch the per-text price
Plivoits US SMS pageFlat texts in and out on long codes, toll-free and short codes$0.0077 a text plus carrier surcharges of $0.0035 to $0.005 on a sent text; long code number $0.50 a monthIts page lists no 10DLC fees and no dateTeams that want a simple rate card
AgentPhoneits home pageBuilt for agents: numbers, calls and texts through one webhook, with an MCP serverNumbers from $3 a month, texts from 2 cents a segment, $5 free creditUS and Canada numbers; other countries “coming soon”; its page shows no dateAgents that need a number and little else
ObsessionOursPhone, Email, BrowserA number, an inbox and a browser under one identity, with each code pulled out of its text for the agentNumber $2 a month; texts $0.015 with carrier fees included; US registration $25 once then $17 a month; plans from FreeDearer per text than a plain SMS API; registration is a separate feeAgents that sign up to websites and read the code themselves
SMS for AI agents. Prices from each provider’s own pages, as listed on 23 November 2026

What a month costs at 2 sizes

Both sizes use one US number and count every text as one the agent sends, at the rates in the comparison. Small is 1,000 texts a month and medium is 20,000. Carrier fees on a sent text run from nothing to $0.005, depending on the carrier, so the totals show a range; Twilio and Telnyx list no carrier fee on a received text, so a month that mixes both costs less. They are example inputs, before any US registration fees or plan fee.

ProviderSmall: 1,000 textsMedium: 20,000 texts
Telnyx$5.00 to $10.00$81.00 to $181.00
Plivo$11.70 to $13.20$224.50 to $254.50
Twilio$12.95 to $14.45$237.15 to $267.15
Obsession, carrier fees included$17.00$302.00
AgentPhone, from its listed rates$23.00$403.00
Cost in US dollars for one month of texts on one number, from each provider’s listed prices on 23 November 2026

Plain SMS APIs are cheaper per text. Obsession’s price buys carrier fees inside the rate and the same number sitting beside an inbox and a browser. Its paid plans, from $20 a month, cover set amounts of usage at list rates, and the Free plan includes a number that receives texts and calls, such as verification codes, with no credit card (every rate).

Where Obsession fits

Obsession is the toolkit for AI agents: phone numbers, inboxes, browsers and sandboxes on one API and one bill. Its phone piece gives each agent its own number in one call. The agent sends and receives texts, gets verification codes, and makes and takes calls through the voice agent you bring or connect. Every text that comes in reaches your webhook as sms.received, and each stays in the agent’s event log beside its emails and calls.

  • obsession.numbers.create({ country: "US" }) gives the agent a number.
  • number.sms({ to, text }) sends a text from it.
  • obsession.events.subscribe({ events: ["sms.received"] }) delivers each incoming text, a STOP included, to your webhook.

A persona puts the number, an inbox and a browser under one identity, so a site that texts a code and emails a link reaches the same agent. US carriers require registration for texting from a local number, and no Obsession plan includes it: Obsession files it for you at $25 once per campaign and then $17 a month while it is active. For teams who don’t write code, the sign-in code check and missed call text back blueprints run the job without it.

Which to choose, by job

  • An agent that signs up to sites and reads its own codes: Obsession, because the number, inbox and browser share one identity.
  • The lowest price per text at volume: Telnyx, on its listed rates.
  • Texts beside calls and WhatsApp with one developer account: Twilio. Twilio for AI agents covers what its agents get.
  • A simple rate card on long codes, toll-free and short codes: Plivo.
  • A fast start for a number and little else: AgentPhone.

If the conversation moves to WhatsApp, the WhatsApp AI agent guide covers Meta’s rules and costs.

Questions about SMS for AI agents

It uses a phone number from an SMS API. One call sends a text from the number, and the provider posts each incoming text to a webhook in your app, which passes it to the agent.

Phone numbers for AI agents

It depends on the job. As listed on 23 November 2026, Telnyx has the lowest text price, Twilio the widest range of developer tools and Plivo a flat rate card. Obsession fits agents that also need an inbox and a browser, and AgentPhone is an agent-first number with a webhook.

In the US, a business texting from an ordinary local number needs it, and the business is the one texting, even when an AI agent writes the messages. A toll-free number needs toll-free verification instead.

10DLC registration

Yes. The site texts a code to the agent’s number, the provider posts it to your webhook and your code reads the digits. Obsession pulls the code out of the text for the agent, and its Free plan includes a number that receives texts and calls with no credit card.

Sign-in code check

As listed on 23 November 2026, Telnyx charges $0.004 a US text plus carrier fees, Plivo $0.0077, Twilio $0.0083 and Obsession $0.015 with carrier fees included. A number costs $0.50 to $3 a month, and US registration fees come on top.

Every rate

Not for marketing in the US, UK or EU, where the rules above require prior consent. A reply to someone who texted you first, or a message they asked for, stands on firmer ground. Ask a lawyer about your own case.

ShareLinkedInX

Sources

In the order the article cites them. Every link was checked on 23 Nov 2026.

  1. Toll-free verificationTwilio documentation, 25 Sep 2026
  2. US SMS pricingPlivo
  3. 47 CFR 64.1200, delivery restrictionsLegal Information Institute, Cornell Law School
  4. Electronic mail marketingInformation Commissioner’s Office
  5. Directive 2002/58/EC on privacy and electronic communicationsEUR-Lex
  6. Code of ConductT-Mobile
  7. Messaging Principles and Best PracticesCTIA, May 2023
  8. US SMS pricingTwilio
  9. Messaging pricingTelnyx, 10 Aug 2026
  10. AgentPhone home pageAgentPhone

What should your first AI agent do?