[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [AssemblyAI](https://spiral.ai/integrations/codex/assemblyai)

# 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.

|  |  |
| --- | --- |
| Tools | 3 |
| Categories | Audio |
| Served by | AssemblyAI |
| Pricing | Pay per run, no subscription |
| Setup | About 2 minutes, no API key |

## Prompts to try with AssemblyAI in Codex

- 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

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run AssemblyAI**: One request; the result comes back by polling or a webhook.

```bash
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.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## AssemblyAI tools and prices

- [Universal-3.5 Pro Speech to Text](https://spiral.ai/tools/assemblyai/universal-3-5-pro) (AssemblyAI): $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](https://spiral.ai/tools/assemblyai/universal-2) (AssemblyAI): $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.

## Overview

- [AssemblyAI](https://spiral.ai/providers/assemblyai)
- [All Codex guides](https://spiral.ai/integrations/codex)

## AssemblyAI in other agents

- [Amp](https://spiral.ai/integrations/amp/assemblyai)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/assemblyai)
- [Claude](https://spiral.ai/integrations/claude-desktop/assemblyai)
- [Claude Code](https://spiral.ai/integrations/claude-code/assemblyai)
- [Cline](https://spiral.ai/integrations/cline/assemblyai)
- [Cursor](https://spiral.ai/integrations/cursor/assemblyai)
- [Devin](https://spiral.ai/integrations/devin/assemblyai)
- [dots](https://spiral.ai/integrations/dots/assemblyai)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/assemblyai)
- [Gemini](https://spiral.ai/integrations/gemini/assemblyai)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/assemblyai)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/assemblyai)
- [goose](https://spiral.ai/integrations/goose/assemblyai)
- [Grok](https://spiral.ai/integrations/grok/assemblyai)
- [Grok Build](https://spiral.ai/integrations/grok-build/assemblyai)
- [Hermes](https://spiral.ai/integrations/hermes/assemblyai)
- [Instinct](https://spiral.ai/integrations/instinct/assemblyai)
- [Manus](https://spiral.ai/integrations/manus/assemblyai)
- [Muse](https://spiral.ai/integrations/muse/assemblyai)
- [Muse Code](https://spiral.ai/integrations/muse-code/assemblyai)
- [n8n](https://spiral.ai/integrations/n8n/assemblyai)
- [Notion](https://spiral.ai/integrations/notion/assemblyai)
- [OpenClaw](https://spiral.ai/integrations/openclaw/assemblyai)
- [opencode](https://spiral.ai/integrations/opencode/assemblyai)
- [Perplexity](https://spiral.ai/integrations/perplexity/assemblyai)
- [Raycast](https://spiral.ai/integrations/raycast/assemblyai)
- [VS Code](https://spiral.ai/integrations/vscode/assemblyai)
- [Windsurf](https://spiral.ai/integrations/windsurf/assemblyai)
- [Zapier](https://spiral.ai/integrations/zapier/assemblyai)

## More Codex guides

- [Anthropic Claude](https://spiral.ai/integrations/codex/anthropic)
- [Deepgram](https://spiral.ai/integrations/codex/deepgram)
- [Meshy 7.1 Text to 3D](https://spiral.ai/integrations/codex/meshy-7-1-text-to-3d)
- [ElevenLabs](https://spiral.ai/integrations/codex/elevenlabs)
- [Meshy 7.1 Multi-Image to 3D](https://spiral.ai/integrations/codex/meshy-7-1-multi-image-to-3d)
- [Google Gemini](https://spiral.ai/integrations/codex/gemini)

## 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.

