# Speechtrace > Speechtrace (https://speechtraceai.com) turns English audio and video into text: transcripts with punctuation, word timestamps and speaker labels, as plain text, SRT, WebVTT or JSON. $0.08 per audio hour, billed by the second. New accounts get 10 hours free, no card needed. This file is all an assistant needs to sign someone up, transcribe their files and buy more hours. The site's pages are listed at the end as Markdown; https://speechtraceai.com/llms-full.txt has them all in one file. ## When someone asks you to transcribe files with Speechtrace The quickest way is the `speechtrace` command-line tool. Run it with `uvx` (part of uv). If `uvx` isn't installed, use `pipx run speechtrace …`, or `pip install speechtrace` and then `speechtrace …`. Add `--json` to any command for one JSON object on stdout. If `uvx` or `pipx` can't find the `speechtrace` package, use the HTTP API below instead (it does the same things). 1. Sign in (also creates the account; new accounts get 10 hours free). Ask the person for their email address, then run: uvx speechtrace login --email them@example.com We email them a 6-digit code and an Approve link. The command prints a 2-digit number. Tell the person: "I've asked Speechtrace to email you. Tell me the 6-digit code, or click Approve in the email and enter ." Then run one of: uvx speechtrace login --code 123456 uvx speechtrace login --wait (waits until they click Approve) The API key is saved in the user's config folder; never print it or paste it into chat. 2. Transcribe files or whole folders: uvx speechtrace transcribe ~/Recordings --out ~/Recordings/transcripts --formats txt,srt,json It's safe to stop and run the same command again: finished files are skipped and files already sent are picked up. For big batches, `--no-wait` sends everything and returns; run the command again later to collect. 3. Check the balance: uvx speechtrace balance 4. Out of hours? `transcribe` exits with code 4 and says how many files weren't sent. Ask the person how many whole dollars to add (from $10 to $5,000; $10 buys about 125 audio hours), then run: uvx speechtrace buy 10 Give the person the link it prints: they pay on Stripe's page (you never handle card details). Then run uvx speechtrace buy --wait which returns once the hours have arrived, and run `transcribe` again. Exit codes: 0 done, 1 some files failed or another error, 2 bad arguments, 3 not signed in, 4 out of hours, 5 still waiting (timed out). ## As an MCP server (for apps that can't run commands, such as Claude Desktop) The same tool runs as a local MCP server with tools sign_in_start, sign_in_finish, transcribe, account and buy_credit: - Claude Code: `claude mcp add --scope user speechtrace -- uvx speechtrace@latest mcp` - Claude Desktop or Cursor (their MCP config file): {"mcpServers": {"speechtrace": {"command": "uvx", "args": ["speechtrace@latest", "mcp"]}}} - Codex: `codex mcp add speechtrace -- uvx speechtrace@latest mcp` ## Without Python: the HTTP API Base URL https://speechtraceai.com. Send `Authorization: Bearer ` on every call except the two sign-in calls. Full reference: https://speechtraceai.com/openapi.json (browsable at https://speechtraceai.com/api-docs). Sign in: - POST /v1/auth/email {"email": "...", "client_name": ""} -> 202 {"request_token", "match_number", "poll_interval"}. We email the person a code and an Approve link. - POST /v1/auth/email/complete {"request_token": "...", "code": "123456"} -> 200 {"api_key", ...} (once). Without "code" it returns 202 until the person clicks Approve and enters match_number, then 200. Transcribe: - POST /v1/uploads {"filename", "size_bytes", "content_type"} -> {"upload_id", "put_url"}; PUT the file's bytes to put_url with the same Content-Type. - POST /v1/transcriptions {"upload_id": "..."} (or {"audio_url": ""}) -> 202 {"id", "status"}. - GET /v1/transcriptions/ every 10-30 seconds until status is "done" or "failed". - GET /v1/transcriptions//result?format=txt|srt|vtt|json - Or the OpenAI-compatible call: POST /v1/audio/transcriptions (multipart, field "file", files up to 200 MB) returns the transcript in the response. Account and hours: - GET /v1/account -> balance_hours, free_hours, paid_hours, price_per_hour_usd, min_topup_usd, max_topup_usd - POST /v1/billing/checkout {"usd": 10} -> {"url"}: give the link to the person to pay. - GET /v1/billing/payments -> their payments, newest first (a new one means the hours arrived). Errors are JSON {"error": "..."}. 401: no or bad API key. 402: out of hours (buy more, as above). 403: not allowed. 404: not found. 409: not ready yet. 410: gone (expired or already used). 413: file too large. 429: too many requests or too many files waiting; slow down. ## Limits - English only. Files up to 3 hours and 2,048 MB each. - Audio is deleted after transcription; transcripts are kept 30 days. - Free hours are used first. Bought hours don't expire. ## Rules for assistants - Using Speechtrace means the person agrees to https://speechtraceai.com/terms and https://speechtraceai.com/privacy; tell them so when signing up. - Only the person pays, on Stripe's page. Never ask for card details. - Keep the API key secret. The person can see and revoke keys on their dashboard (https://speechtraceai.com/app). ## Pages Every page on https://speechtraceai.com as Markdown. https://speechtraceai.com/llms-full.txt has this file and all of these pages in one file. - [Speechtrace: accurate transcription with speaker labels, $0.08 an audio hour](https://speechtraceai.com/index.md): Transcripts with punctuation, word timestamps and speaker labels for $0.08 an audio hour, about a third of the leading APIs. Upload files or call the API. Free hours to start. - [Transcription API docs](https://speechtraceai.com/docs.md): Transcribe audio with an OpenAI-compatible endpoint, a batch API with webhooks, or a folder tool. Words with timestamps and speakers, plus SRT and VTT subtitles. - [Transcribe with your AI assistant](https://speechtraceai.com/ai-assistants.md): Tell Claude, Cursor, Codex or another AI assistant to transcribe your audio files: it signs you up with an emailed code, transcribes, and sends you a Stripe link if you need more hours. 10 free hours to start. - [Pricing: $0.08 per audio hour](https://speechtraceai.com/pricing.md): One price for transcription with speaker labels, word timestamps and subtitles: $0.08 per audio hour, billed by the second. 10 free hours to start. - [Free audio to text with speaker labels](https://speechtraceai.com/free.md): Transcribe a recording up to 30 minutes free, no signup: speaker labels, punctuation and timestamps, with text and subtitle downloads. - [Free transcription pilot for large archives](https://speechtraceai.com/pilot.md): Have thousands of hours of recordings? We transcribe a sample of your archive free and send an accuracy and cost report against your current provider. - [Transcription API prices compared](https://speechtraceai.com/compare.md): AssemblyAI, Deepgram, ElevenLabs, OpenAI and Groq transcription prices side by side, with the cost of 1,000 and 10,000 hours and measured accuracy. - [AssemblyAI alternative: Speechtrace vs AssemblyAI](https://speechtraceai.com/compare/assemblyai.md): Speechtrace vs AssemblyAI for transcription: price per hour, the cost of 10,000 hours, speaker labels and measured accuracy, side by side. - [Deepgram alternative: Speechtrace vs Deepgram](https://speechtraceai.com/compare/deepgram.md): Speechtrace vs Deepgram for transcription: price per hour, the cost of 10,000 hours, speaker labels and measured accuracy, side by side. - [ElevenLabs alternative: Speechtrace vs ElevenLabs](https://speechtraceai.com/compare/elevenlabs.md): Speechtrace vs ElevenLabs for transcription: price per hour, the cost of 10,000 hours, speaker labels and measured accuracy, side by side. - [OpenAI alternative: Speechtrace vs OpenAI](https://speechtraceai.com/compare/openai.md): Speechtrace vs OpenAI for transcription: price per hour, the cost of 10,000 hours, speaker labels and measured accuracy, side by side. - [Groq alternative: Speechtrace vs Groq](https://speechtraceai.com/compare/groq.md): Speechtrace vs Groq for transcription: price per hour, the cost of 10,000 hours, speaker labels and measured accuracy, side by side. ## Optional - [Blog](https://speechtraceai.com/blog.md): Notes on transcription: what it costs, how accurate it is, and how to move a large archive. - [What it costs to transcribe 10,000 hours of audio](https://speechtraceai.com/blog/cost-to-transcribe-10000-hours.md): List prices for the main transcription APIs at 1,000 to 100,000 hours, the costs that don't show up on pricing pages, and when building it yourself makes sense. - [How accurate is Speechtrace? Our benchmark against the big speech APIs](https://speechtraceai.com/blog/transcription-accuracy-benchmark.md): We ran 8 hours of public English audio through Speechtrace, ElevenLabs and AssemblyAI. Where we win, where we lose, and why you should test your own audio anyway. - [Transcribe a folder of recordings with one command (or the OpenAI SDK)](https://speechtraceai.com/blog/transcribe-a-folder-of-audio.md): Three ways to move an archive through Speechtrace - an open-source command line tool that resumes where it stopped (or your AI assistant running it), the OpenAI SDK with a changed base URL, and the batch API with webhooks. - [Terms of service](https://speechtraceai.com/terms.md): The terms for using Speechtrace. - [Privacy policy](https://speechtraceai.com/privacy.md): What Speechtrace collects, why, and how long it keeps it.