Models / Sesame
CSM 1B
by Sesame
Reads your text aloud.
CSM 1B turns written text into spoken audio. It is made by Sesame. On Tīrtha it reads up to 200 characters per call.
Price per 1M characters
The live price, read from billing as this page loads. You pay for the characters of text you send, from prepaid credit. There is no charge for the audio it returns. Requests that fail are not charged.
Live price not available just now.
tirtha/csm-1bGood at
- Conversational speechThe maker built CSM for conversation, and a fine-tuned version powers its voice demo.
- SmallA 1 billion parameter model on a Llama backbone with its own audio decoder.
- Short linesOn Tīrtha each request is up to 200 characters, so it suits short replies.
Model card details
- Made by
- Sesame
- Kind
- Text to speech
- Licence
- Apache-2.0. Built with Llama. Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved. Use follows the Llama 3.2 Acceptable Use Policy (licences).
- Listed on Hugging Face
- Mar 6, 2025
- Languages
- English
- Parameters
- 1 billion
- Base
- Llama backbone (Llama 3.2 1B)
- Preset voices
- 6
Hear it
Made with CSM 1B. Real outputs, not edited, each with the exact text it read and the voice it used.
Welcome back. Your order shipped this morning and should arrive on Friday. Reply to this message if you need anything else.AI-generatedBuilt with Llama
Did you hear the owls last night? They were so loud.AI-generatedBuilt with Llama
The recipe calls for two cups of flour and a pinch of salt.AI-generatedBuilt with Llama
Voices
Other voices the model offers include these, by language. We have not tested them.
- English)
- Conversational A
conversational_a, Conversational Bconversational_b, Read speech Aread_speech_a, Read speech Bread_speech_b, Read speech Cread_speech_c, Read speech Dread_speech_d
Open weights, Apache-2.0 licence. Maker facts from Sesame's model card on Hugging Face (huggingface.co/sesame/csm-1b). Limits are the ones Tīrtha enforces today.
Request and response
Fields you send
| Field | Required | Values |
|---|---|---|
model | yes | tirtha/csm-1b |
input | yes | The text to speak, 1 to 200 characters. |
voice | no | One of the voice ids listed under Voices. Default read_speech_a. |
response_format | no | wav only, which is the default. |
Fields not in this table are refused with unknown_parameter. That includes speed, which no model here takes.
What comes back
HTTP/1.1 200 OK
Content-Type: audio/wav
Cache-Control: no-store
<the wav audio file, as bytes>The body is the audio file itself, ready to save or play. There is no JSON wrapper and no link to fetch. You are billed for the characters of input you sent.
If something goes wrong
Errors come back as JSON: {"error": {"code", "message", "type"}}. A call that fails is not charged.
| HTTP | Code | What it means |
|---|---|---|
| 400 | invalid_input | The text is empty or over the limit: split it. |
| 400 | invalid_voice | The voice is not one this model has. |
| 400 | invalid_response_format | Only wav is served. |
| 400 | unknown_parameter | A field the API does not take. Send only the fields above. |
| 400 | invalid_request | The body is not a JSON object. |
| 400 | content_policy | Refused by content policy. Nothing was charged. |
| 400 | request_rejected | The request was rejected. Nothing was charged. |
| 402 | billing_required | This needs a prepaid credit account. Add credits in your dashboard first. |
| 402 | insufficient_credits | Not enough prepaid credit for this request. The message says how much it may need. |
| 404 | model_not_found | The model id is wrong, or is not this kind of model. |
| 404 | model_not_priced | This model is not available yet. |
| 429 | media_busy | This model is busy right now. Retry in a few seconds. Nothing was charged. |
| 503 | billing_unavailable | Billing is temporarily unavailable. Please retry. |
| 503 | unavailable | Temporarily unavailable. Nothing was charged. |
What a job costs
An article of about 1,000 words (6,000 characters) costs about -
Worked out from the live price above, at about 6 characters a word, counting spaces. Punctuation counts too.
How to use it
Pick it for short conversational replies in English.
Model id tirtha/csm-1b · POST https://api.tirtha.ai/v1/audio/speech
- One call reads up to 200 characters. For longer text, split it at the end of a sentence, make one call per part, and play or join the files in order. The Python example does the splitting, and cuts a single over-long sentence at a space.
- Pick a voice with
voice: conversational_a, conversational_b, read_speech_a, read_speech_b, read_speech_c, read_speech_d. - The audio comes back as WAV, the only format served, so
response_formatcan be left out. WAV keeps full quality; convert it on your side if you need a smaller file. - The response body is the audio file. Save it straight to disk with the right extension, or stream it to a player.
- Check how the voice reads numbers, dates and short forms such as 10:30 or Dr. Write them out the way they should sound if it matters.
- Tell your listeners the voice is AI-generated, for example in your app or at the start of the audio.
Set TIRTHA_API_KEY to a key from your dashboard first. Keys, credits and the base URL: Quickstart.