Skip to content

Source Amazon Polly

Reese Hodge edited this page Nov 13, 2026 · 6 revisions

Source: Amazon Polly

AWS documentation for Amazon Polly, read 2026-09-29. Polly is the service Decision-Polly-Voice selected and Contract-Polly-TTS specifies. This page records what the service actually offers and charges, because the wiki carried the engine choice and a price but not the surrounding terms — and two of those terms change the project's cost picture materially.

What it is

A cloud text-to-speech service. You send text (plain or SSML), you get back audio, and you are billed by the character, not by audio duration or by request. It is certified for HIPAA and PCI DSS workloads, which is irrelevant to us but indicates the service tier it sits in.

Polly is TTS and only TTS. It does not listen, and it does not decide what to say. That is the distinction that matters when comparing it to Source-Nova-Sonic.

Engines and rates

Engine Price per 1M characters Free tier
Standard (chosen 2026-11-13; see Decision-Polly-Voice) $4.00 5M characters/month
Neural (shipped today) $16.00 1M characters/month, first 12 months only
Generative $30.00 100K characters/month, first 12 months
Long-form $100.00 500K characters/month, first 12 months

Long-form voices are us-east-1 only. Neural supports a Newscaster speaking style, which we do not currently use.

Speech Marks requests are billed at the same per-character rate as speech. The pricing page says "for speech or Speech Marks requests" for every engine. Our dual-call architecture therefore bills each reply twice — once for the MP3, once for the viseme JSON. Spec 003's plan drops the speech-marks call, so a reply would bill once; that is a plan, not shipped code.

Two terms with real consequences

Generated speech may be cached and replayed for free

The service overview states it plainly: "you can cache and replay Amazon Polly's generated speech at no additional cost." There is no licensing restriction on storing the audio you paid to synthesize.

This is the property Contract-Greeting-Manifest is built on — pre-generated greeting MP3s cost their characters once, then play forever for nothing. It is also what lets the greeting audio mask the Runtime V2 cold start (see Decision-AgentCore-Runtime-V2) without paying for it on every visit.

The Neural free tier expires

1M characters per month covers several of R0's illustrative sessions, but it runs for the first 12 months of the account only. Standard voices keep a 5M/month free tier with no such limit; Neural does not.

So the honest statement of Polly cost needs both eligible and ineligible scenarios; the account's age and remaining allowance were not checked as part of issue #57. Neither a single 50-turn session nor the free-tier ceiling establishes a monthly forecast. See Concept-Budget-Ceiling.

It may not apply to this account at all. The builder cites AWS Free plan documentation saying that accounts on the Free plan introduced on 2025-07-15 receive Always Free offers and credits, not 12-month trials. If that holds, Neural's 12-month tier never applies here. It has not been verified against AWS on this wiki, so the conflict (spec 003's D5) stands. Spec 003's cost model resolves it conservatively and counts no Polly free tier. See Source-Spec-003.

Speech marks

Metadata describing the synthesized speech, returned instead of audio as a newline-delimited JSON stream — one standalone object per mark. Four types:

Type Describes
sentence Sentence boundaries in the input
word Word boundaries
viseme The lip shape corresponding to the sound being spoken
ssml SSML elements in the input

Available on standard, neural and long-form engines. AWS names lip-sync and karaoke-style highlighting as the intended uses.

viseme is the one Contract-Polly-TTS requests and stores. It is the project's only source of phoneme-accurate mouth timing, and it is a Polly feature rather than a general TTS feature — which is why it recurs as a constraint whenever replacing Polly comes up.

Voices by engine — checked 2026-11-13

The builder asked whether Neural is worth four times Standard's price (spec 003 research § Q1, open). That depends on which voices each engine offers, and AWS's own pages disagree:

  • The available voices table marks Matthew as Standard Yes. Its adult US English males on Standard are Joey and Matthew. Justin and Kevin are listed as child voices and are Neural-only.
  • The Standard voices page lists only Joey and Kevin as US English Standard males, and omits Matthew and Justin.

An agent that read only the second page told the builder that Matthew had no Standard voice. The authoritative check is DescribeVoices, whose SupportedEngines lists each voice's engines; it has not been run for this project, so a Standard Matthew is documented but not yet heard.

Standard also accepts SSML that Neural rejects (supported tags): every tag except the newscaster style, including <prosody pitch>, <emphasis> and <amazon:effect vocal-tract-length>. Matthew's newscaster style is Neural-only, and the project does not use it. Standard is concatenative, so it sounds less natural, which may not matter for a glitchy TV character whose audio goes through Component-Audio-Chain anyway.

Agent takeaway

Speech-rate control — checked 2026-11-07

AWS's voice-speed page supports percentage rates and x-slow, slow, medium, fast, x-fast presets. Actual timing is approximate and depends on the chosen voice. The prosody page confirms Neural supports rate and volume, not pitch; its full-sentence restriction applies to Generative voices, not Neural.

T158 uses these controls for schwa greetings. The builder approved 115% normal speech with onset-only x-fast. Raising the onset rate to 180% or 200% saved only 240 and 360 ms on greeting-015, while removing the inserted <break> gaps saved about 2.5 s, so rapid (no gaps) shipped. Whether a nested prosody rate is relative to the outer rate is unverified. No final duration or naturalness follows from the tags alone; generate, measure and listen. See Decision-Polly-Voice and Source-Audio-Plan.

IAM restriction correction — checked 2026-11-07

AWS's service authorization reference lists no polly:Engine or polly:VoiceId IAM condition keys. Its Polly condition-key table contains only tag-related keys. For synthesis without a lexicon, use Resource: "*" and the global aws:RequestedRegion condition to restrict the Region. Neural and Matthew remain API settings, not IAM-enforceable restrictions.

This contradicts P11's illustrative examples, the frozen spec 001 Polly contract and spec 003's original execution-role row. P11 requires service conditions only where supported, so the policy follows that rule; the constitution itself was not amended. The active runtime contract and plan have been corrected. See Concept-Credential-Hygiene, Contract-Polly-TTS and Decision-Polly-Voice.

Three facts to carry forward:

  1. Speech marks are billed, so every reply costs double what a characters-of-text estimate suggests.
  2. Cached audio is free to replay, which is why pre-rendering is cheap and is load-bearing for both budget and cold-start concealment.
  3. The Neural free tier expires at 12 months, so today's Polly bill is not next year's — and on a Free-plan account it may never apply (unverified).

See also: Decision-Polly-Voice, Contract-Polly-TTS, Source-Nova-Sonic, Concept-Budget-Ceiling, Index.

Clone this wiki locally