How to Use AssemblyAI in Codex
To use AssemblyAI in Codex, connect Spiral to Codex once, then ask for what you want in plain words. Codex can then reach all 3 AssemblyAI tools on Spiral, priced per run from one balance.
Prompts to try with AssemblyAI in Codex
Copy an example into Codex, or ask in your own words.
Transcribe the meeting recording I attach with AssemblyAI, with speaker labels. Save the result in ./assets.
Transcribe this podcast episode with AssemblyAI and pull out every action item.
Make captions for this video with AssemblyAI.
Transcribe this customer call with AssemblyAI and list every feature request mentioned.
Transcribe this interview with AssemblyAI, then pull the three best quotes with timestamps.
How to set up AssemblyAI in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run AssemblyAI
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "assemblyai", "model": "universal-3-5-pro", "input": { "audio_url": "<audio_url>" } }'
Then paste one of the prompts above: Codex finds AssemblyAI on Spiral, shows the price and runs it.
AssemblyAI tools you can run in Codex
2Ready to run from Codex: today's price, with every fee included.
$0.273 per hour of audio, per channel. Features, per hour: speaker labels $0.026, key terms $0.065, translation $0.078, speaker identification $0.026, custom formatting $0.039, action items $0.026, summaries $0.026 ($0.091 at medium effort), entity detection $0.104, sentiment $0.026, key phrases $0.013, topic detection $0.195, content moderation $0.195, profanity filter $0.013, PII redaction $0.104, audio redaction $0.065, medical mode $0.195, custom prompt $0.065.
$0.195 per hour of audio, per channel. Features, per hour: speaker labels $0.026, key terms $0.065, translation $0.078, speaker identification $0.026, custom formatting $0.039, action items $0.026, summaries $0.026 ($0.091 at medium effort), entity detection $0.104, sentiment $0.026, key phrases $0.013, topic detection $0.195, content moderation $0.195, profanity filter $0.013, PII redaction $0.104, audio redaction $0.065, medical mode $0.195.
What can you do with AssemblyAI in Codex?
Codex can transcribe audio and video with AssemblyAI right in your repository and save the results where you need them: as files in your project, in a script or in your build. One sign-in covers every tool, so your code stays free of provider SDKs and keys.
Meeting notes
Transcripts with speakers, then action items from them.
Captions
Subtitles for every video you publish.
Searchable archives
Turn calls and recordings into text you can search.
Research interviews
Transcripts you can quote and code.
Compliance
A written record of calls and meetings.
Content repurposing
Turn talks into blog posts and threads.
More on AssemblyAI and Codex
Overview
AssemblyAI in other agents
Questions about AssemblyAI in Codex
Can Codex use AssemblyAI?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run AssemblyAI like any built-in tool.
How much does AssemblyAI cost in Codex?
Each tool has its own price, for example Universal-3.5 Pro Speech to Text: $0.273 per hour of audio, per channel. Features, per hour: speaker labels $0.026, key terms $0.065, translation $0.078, speaker identification $0.026, custom formatting $0.039, action items $0.026, summaries $0.026 ($0.091 at medium effort), entity detection $0.104, sentiment $0.026, key phrases $0.013, topic detection $0.195, content moderation $0.195, profanity filter $0.013, PII redaction $0.104, audio redaction $0.065, medical mode $0.195, custom prompt $0.065; Universal-2 Speech to Text: $0.195 per hour of audio, per channel. Features, per hour: speaker labels $0.026, key terms $0.065, translation $0.078, speaker identification $0.026, custom formatting $0.039, action items $0.026, summaries $0.026 ($0.091 at medium effort), entity detection $0.104, sentiment $0.026, key phrases $0.013, topic detection $0.195, content moderation $0.195, profanity filter $0.013, PII redaction $0.104, audio redaction $0.065, medical mode $0.195. You pay per run from one Spiral balance, and failed runs are free.
Do I need an AssemblyAI account to use AssemblyAI in Codex?
No. Spiral runs AssemblyAI on its own AssemblyAI account. You sign in to Spiral once and never paste a key.
How long does it take to set up AssemblyAI in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while AssemblyAI runs?
AssemblyAI runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.
Which AssemblyAI tools can Codex use?
Codex can reach all 3 AssemblyAI tools on Spiral, covering audio. Popular ones include Universal-3.5 Pro Speech to Text and Universal-2 Speech to Text. Ask for one by name, or describe the task and Codex picks a fitting tool.
Can Codex compare AssemblyAI tools?
Yes. Ask Codex to run the same request on two AssemblyAI tools and show both results with what each cost. Each run is priced and billed on its own.
What happens if a AssemblyAI run fails in Codex?
It is not charged. Spiral holds the estimated price when the run starts and returns it to your balance if the run fails on Spiral's side or the provider's. Codex gets the error and can retry or try another tool.
Is there a AssemblyAI subscription or plan?
No. Spiral is pay as you go from one prepaid balance, with no plans or minimums, and credits never expire. Auto top-up keeps Codex from stopping when the balance runs low.
Start using AssemblyAI in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


