Add your provider
The four ways a price gets into voice-prices, and how to pick one.
Reference only. Rates may be out of date or wrong; confirm with the vendor before you rely on one. Read the disclaimer
A price gets into this catalog one of four ways. On day one they all produce the same number. They differ on day ninety, in whether anything notices when the vendor changes it.
| Path | Pick this if | Effort | Drift caught automatically | |
|---|---|---|---|---|
| 1 | Serve a live pricing endpoint | You work at the provider | Half a day, once | Yes, polled daily |
| 2 | Read the provider’s pricing API | The provider already serves rates as JSON | An importer, in Python | Yes, the weekly job re-reads the API |
| 3 | Snapshot a structured rate card | The provider publishes the whole rate card in one file | A snapshot plus a generator | No, only when the snapshot is retaken |
| 4 | Read the pricing page by hand | Everything else, which is most vendors | About 30 minutes | No, nothing is watching the page |
Paths 1 and 2 earn the model an api marker in the tables on this site. Paths 3 and 4 do not, because nothing is watching the source between visits.
Hand it to a coding agent
Most of path 4 is mechanical: read a page, convert a unit, write YAML in a shape that already exists a dozen times over in this repository. Claude Code, Cursor, Codex and friends are good at exactly that. Clone the repo, open your agent in it, and paste this.
You are adding a provider’s pricing to the voice-prices repository. Work only inside this checkout.
INPUTS (replace these before running):
- Vendor: [VENDOR NAME]
- Modality: one of stt, tts, s2s, llm, vad
- Pricing page: [PRICING PAGE URL]
RULES, in priority order:
- Never invent a rate. Every number you write must appear on the pricing page you were given. If a rate is not on that page, stop and tell me which model you could not price. A missing model is fine; a guessed one is not.
- Do not take a rate from OpenRouter, LiteLLM, Helicone, llm-prices, Artificial Analysis, or any other aggregator. They are cross-checks, not sources. CI rejects an aggregator URL in pricing_source_url.
- Do not take a rate from a reseller or gateway (LiveKit, Telnyx, Vapi, Retell) as evidence of the vendor’s own rate. Gateways sometimes sell BELOW a vendor’s self-serve tier, so a resold number is neither an upper nor a lower bound.
STEPS:
- Read prices/providers/deepgram.yml and prices/providers/inworld.yml first. Match their structure exactly; do not invent fields.
- Copy the matching template from docs/templates/ to prices/providers/[provider-id].yml. The id is lowercase, matching the vendor’s common name.
- Fill in name, id, pricing_urls, api_pattern, model_match and provider_match. model_match must cover every model id you add, or callers get LookupError.
- Add one entry per model, sorted alphabetically by id. A validator enforces the sort. Use
match: equals: [id]so a lookup resolves to exactly one row. - Convert every rate into the field for that modality:
- STT and VAD: input_audio_kseconds, dollars per 1000 seconds. From $/minute: rate * 1000 / 60. From $/hour: rate * 1000 / 3600.
- TTS: input_kchars, dollars per 1000 characters. From $/1M characters: rate / 1000.
- LLM and S2S: input_mtok / output_mtok / input_audio_mtok / output_audio_mtok, dollars per 1M tokens, which is usually how the vendor already quotes it.
- On every model set pricing_source_url to the exact page (deep-link the section if the page has anchors), prices_checked to today’s date, and price_comments to the rate AS PUBLISHED plus the arithmetic. Example: “Source rate $0.15/hour = $0.0025/minute. 0.0025 * 1000 / 60 ~= 0.041667.”
- Run
make buildthenmake test, thenmake check-contribution. Fix anything they report. Do not edit any JSON file by hand; they are generated. - Tell me, in a list: every model you added with its rate, every model on the page you did NOT add and why, and anything on the page that was ambiguous (credit pricing, subscription-only tiers, volume discounts, premium voice tiers, rates that did not reconcile).
Then stop. I will take the screenshot and open the pull request myself.
Already in the catalog? Just fix the number
Edit prices/providers/<provider>.yml. Set prices_checked on the model to today’s date (why it matters), add or update price_comments explaining the change with a reference URL, then run make build to regenerate the JSON files. Pre-commit does this for you if you ran make install.
Please do not:
- edit any JSON file directly: they are all built with
make buildand are compact by design - add verbose descriptions to providers or models, we only need enough detail to give the end user a rough idea of the model’s capabilities
- try to change the schema of providers or models without creating an issue to discuss the changes first
- add new providers without creating an issue to discuss the changes first, adding models is fine
1. Serve a live pricing endpoint
The best outcome for everyone. You publish your current rates at one HTTPS URL, generated from whatever your billing system treats as the source of truth. A scheduled job polls it daily, so the day a rate moves we know, instead of finding out months later when someone re-reads your pricing page. A maintainer still confirms and merges the change; what disappears is the part where nobody notices.
The full spec, the meter and unit grid, and a worked example are on Serve a pricing endpoint. If you work at a provider, start there and ignore the rest of this page.
2. Read the provider’s pricing API
Some providers already serve machine-readable rates without knowing it: a public models endpoint that happens to carry prices. When that exists, we write an importer instead of transcribing by hand.
Two are in the tree and either is a fine thing to copy:
| Importer | Reads | Run with |
|---|---|---|
prices/src/prices/source_cerebras.py |
https://api.cerebras.ai/public/v1/models |
make cerebras-get |
prices/src/prices/source_telnyx.py |
Telnyx’s public pricing API | make telnyx-get |
An importer has four obligations, all of them learned the hard way:
- Refuse rather than guess. If the API disagrees with itself, for example a tier rate that contradicts the headline rate, write nothing for that model and report it. A refused model is a question for the vendor, not a number to average.
- Never clobber a human. Look the model up both by
idand throughfind_modelbefore adding it. A model can be keyed by one id and routed by another, and checking only one of the two silently creates a duplicate row. - Report what vanished. Models that used to be in the API and no longer are must be surfaced as retired. A quietly dropped model is the failure that survives longest, because nothing about it looks broken.
- Support
DRY_RUN=1. The weekly job runs every importer read-only. In a dry run, a model that is waiting to be added still counts as outstanding work, so exit non-zero for it.
Add a make <vendor>-get target alongside the others. Models an importer writes land as provenance: source: imported with api_backed: true and no prices_checked. That is deliberate: the importer proves the number is current, not that a human has agreed with it. Setting prices_checked stays a human act.
3. Snapshot a structured rate card
Sometimes a provider publishes its entire rate card in one structured file, but there is no stable URL worth polling. Commit the snapshot under prices/sources/ and write a generator that rebuilds the YAML from it.
prices/src/prices/livekit_gen.py does exactly this: it regenerates both livekit.yml and livekit-scale.yml from prices/sources/livekit_pricing.json, and make livekit-get reruns it. When the vendor changes prices you replace the snapshot and rerun one command, and the diff shows precisely which rates moved. That is the whole benefit over path 4: the update is mechanical and reviewable rather than a hand edit across dozens of rows.
4. Read the pricing page by hand
The common path, and the one most vendors need. It is also the one that goes stale, so the audit trail matters more here than anywhere else: every priced model carries the source URL, the conversion arithmetic, and the date a human read the page.
| Modality | Priced field | Usage field | Template |
|---|---|---|---|
| LLM | input_mtok / output_mtok ($ per 1M tokens), plus optional cache / audio / request fields |
Usage(input_tokens=..., output_tokens=...) |
provider-llm.yml |
| TTS | input_kchars ($ per 1k characters) |
Usage(characters=...) |
provider-tts.yml |
| STT | input_audio_kseconds ($ per 1k seconds) |
Usage(audio_input_seconds=Decimal(...)) |
provider-stt.yml |
| Agents | agent_kminutes ($ per 1k minutes of session) |
Usage(agent_minutes=Decimal(...)) |
reuse provider-stt.yml |
Three categories have no template of their own because they reuse a priced shape above:
- S2S uses the LLM shape with
input_audio_mtokandoutput_audio_mtokset. A model is filed as speech-to-speech when it prices audio in both directions, so nothing extra is needed. - Agents is for platforms selling one bundled per-minute price covering STT, LLM, TTS and orchestration together. Setting
agent_kminutesfiles a model there automatically. Do not also set the component fields: if a platform publishes both a bundle and its parts, the bundle is what it charges, and the parts belong in that vendor’s own entries. State inprice_commentsexactly what the bundle includes and what it excludes, because most platforms bill the model or telephony at cost on top. - VAD uses the STT shape, since both bill per second of audio. That makes it indistinguishable from STT by price alone, so a VAD model also needs an entry in
MODALITY_OVERRIDESinprices/src/prices/build_docs.pyor it lands on the STT tab. Say so in your issue and the maintainer will add it.
Paths 2 and 3 produce the same YAML. They just write it from a script instead of by hand, so the shape below is worth reading whichever path you are on.
-
Discuss first
Open an Add a provider issue with the provider name, pricing page, models, and modality. This catches duplicates and naming conflicts before you write YAML.
Looking for something to pick up? LiveKit plugin coverage lists every vendor a LiveKit agent can call and which of them have no rate here. The rows marked “not investigated yet” are the open ones: nobody has checked whether that vendor publishes a per-unit rate.
-
Find the rates
You need the per-unit rate for each model, any tier or mode differences (premium voices, streaming versus batch, context tiers), and a deep-linked source URL per model.
Most STT providers quote per minute. Convert with
rate_per_min * 1000 / 60and record the source rate inprice_comments.Credit-billed TTS converts the same way: ElevenLabs Creator is $22/month for 100,000 credits ($0.00022 per credit) and Turbo v2.5 burns 0.5 credits per character, so
input_kchars = 0.00022 * 0.5 * 1000 = 0.11. -
Copy the template
Copy the template for your modality to
prices/providers/<your-provider>.yml. The filename is lowercase and hyphenated, matching the provider’s common name. -
Fill in provider metadata
Set
name,id,pricing_urls,api_pattern,model_match, andprovider_match. Metadata is identical across modalities. -
Add the models
The
modelslist must be sorted alphabetically byid: the Pydantic validator enforces it. Every model with a voice priced field needspricing_source_url, andprices_checkedis the date you verified that URL. Prefermatch: equals: <id>so amodel_refresolves to exactly one row or fails loudly.models: - id: murf-standard match: equals: murf-standard prices_checked: 2026-05-27 pricing_source_url: https://murf.ai/pricing#murf-standard prices: input_kchars: 0.020models: - id: acme-1 match: equals: acme-1 prices_checked: 2026-05-28 pricing_source_url: https://acme.example/pricing#acme-1 price_comments: Source rate $0.006/minute. 0.006 * 1000 / 60 = 0.1 exactly. prices: input_audio_kseconds: 0.1models: - id: nimbus-large match: equals: nimbus-large context_window: 128000 prices_checked: 2026-05-28 pricing_source_url: https://nimbus.example/pricing#nimbus-large prices: input_mtok: 2.0 output_mtok: 8.0 -
Add voice multipliers (TTS only)
Skip this unless your TTS provider bills premium or cloned voices at a different per-character rate.
defaultis required, and multipliers needinput_kchars(oroutput_audio_kseconds) to scale.voice_multipliers: standard: 1.0 premium: 1.5 default: 1.0 -
Build and verify
Run
make buildthenmake test. Smoke-check routing in a REPL:calc_price(Usage(characters=200), model_ref='murf-standard')should return your price and your provider id. -
Open the PR, with a screenshot
Commit the YAML plus the regenerated
prices/data*.json, the schema files, andpackages/python/voice_prices/data.py. In the PR body, give the pricing URL you verified against, the date you verified it, and any quirks: voice tiers, streaming or language splits, non-standard billing units, deprecated models you excluded.Attach a screenshot of the pricing page showing the rates you added. CI requires one on any PR that adds a hand-read rate. It is a low bar on purpose: it does not prove the conversion is right, it proves someone loaded the page. Rates written by an importer are exempt, because no human read a page for those. Crop it to the rate row or table you read, not the whole page. The evidence is the number and its label; the rest of the page is the vendor’s copyrighted layout and we do not need to republish it to prove the rate was there.
Upload the file: drag it into the PR body so it lands on
github.com/user-attachments. An image linked from anywhere else does not count, because linking someone else’s URL costs nothing and proves nothing about whether you opened the page.
What CI checks, and what it cannot
Run make check-contribution before you push. It runs on every PR, including from forks, and it looks at exactly the models your branch adds or reprices:
| Check | Why it exists |
|---|---|
pricing_source_url present and https |
Without it there is nothing to re-verify against, ever |
| Source host is the vendor’s, not an aggregator | A rate copied from OpenRouter is not evidence of what the vendor charges. An aggregator may cite its own page when it is the vendor being priced, since what it charges is its own to publish |
prices_checked present, not in the future, under 30 days old |
A date nobody stood behind is worse than no date. Waived when provenance.source marks the row unverified, because inventing a date to satisfy a checker is the failure this is meant to prevent |
price_comments present on converted units |
A converted rate with the arithmetic hidden cannot be reviewed |
| Rate is within an order of magnitude of its field’s range | Catches the 1000x unit error, the most common way a wrong price looks right |
| A screenshot on the PR | Evidence a human loaded the page |
None of that tells you a rate is correct. It cannot: a fork PR has no secrets, so no browser and no model can run against it. What it does is refuse the shapes a wrong rate takes. Correctness is checked separately, by a maintainer running the freshness verifier, which renders the page and requires two independent agents to agree before it will report a rate as matching.
Troubleshooting
LookupError: Unable to find provider matching '<model-ref>'
Your provider-level model_match clause does not cover the model ID the user passed. Update the prefix or regex and rebuild.
Models are not sorted by ID
The validator enforces alphabetical sorting of the models list by id. The error message tells you exactly which entry to move and where.
My provider bills in credits, tokens, or minutes
Convert to the native priced field and document the conversion in price_comments, so consumers on other tiers can derive their own rate. Which tier to convert from is answered below.
My provider has several pricing tiers. Which one?
The cheapest tier a new account can reach with no spend commitment. Usually “Pay As You Go” or “On-Demand”. Name it in the provider’s pricing_tier field, worded as the vendor words it, so a reader can find the same words on the pricing page and check the number against their own invoice.
Where a vendor sells no such tier, take the cheapest paid plan and say so: Cartesia’s Pro at $4/month, ai-coustics’ Startup, because neither sells single units. Where a vendor publishes one price with no plans to choose between, write the literal Single published rate.
Never take a committed or negotiated tier. Deepgram’s Growth is about 12.5% cheaper but costs $4,000/year to enter, so a catalog quoting it would understate every self-serve user’s bill.
CI fails a PR that adds or reprices a model on a provider with no pricing_tier.
The vendor is running a promotion. List price or discounted price?
The discounted price, with the list price recorded in price_comments.
Deepgram currently renders Current price $0.0048/min beside Regular price $0.0077/min. The catalog answers “what would I pay today”, so it carries $0.0048. Taking the list price would be wrong for every user for the entire promotional period, and the freshness check catches the expiry as drift.
This is the single most common error in voice pricing. At least two other public pricing datasets publish Deepgram Nova-3 at the regular price, overcharging it by 60%, and this catalog did too until it was traced back to a two-price cell.
voice_multipliers are not supported for STT
Setting voice_multipliers on a model priced by input_audio_kseconds fails validation by design. If your provider charges different rates by language, ship separate model entries with distinct IDs, the way Deepgram does with nova-3 and nova-3-multilingual.
The provider's published numbers do not reconcile
Do not average them and do not pick the friendlier one. Record what you saw in price_comments, price the rate you can defend, and say in the PR which figures disagreed. An honest note beats a confident wrong number.
Advanced LLM pricing (tiered rates, conditional daily windows, cache-write, usage extractors) and the complete FAQ live in the full contributing guide.