# GPT-4o mini Transcribe

Transcribe audio and video to text with GPT-4o mini Transcribe from OpenAI through one Spiral API key. Transcribes an audio file of up to 25 MB to text with GPT-4o mini, with an optional prompt to guide style and spelling. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: OpenAI
- Category: Audio
- Runs: In the background
- Returns: json
- Released: 2025-03-20
- Deprecated, retires 2027-02-26
- Tool id: `openai` / `gpt-4o-mini-transcribe`
- Page: https://spiral.ai/tools/openai/gpt-4o-mini-transcribe

## Pricing

Input audio and prompt: $1.625 per 1M tokens. Output text: $6.50 per 1M tokens.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 30 minutes
- Longest run, end to end: 220 minutes
- Largest inline input: 1 MB
- Largest input file: 25 MB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `file` (required) | URL or file |  | — | The audio file to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. At most 25 MB. |
| `prompt` | text |  | — | An optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language. |
| `include` | list |  | — | Additional information to include in the transcription response. `logprobs` will return the log probabilities of the tokens in the response to understand the model's confidence in the transcription. |
| `language` | text |  | — | The language of the input audio. Supplying the input language in ISO-639-1 (e.g. `en`) format will improve accuracy and latency. |
| `temperature` | number | 0 to 1 | 0 | The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. |

## Example

```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": "openai",
    "model": "gpt-4o-mini-transcribe",
    "input": {
      "file": "<file>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=openai&model=gpt-4o-mini-transcribe

## Common questions

### GPT-4o mini Transcribe

**How much does GPT-4o mini Transcribe cost?**

Input audio and prompt: $1.625 per 1M tokens. Output text: $6.50 per 1M tokens. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use GPT-4o mini Transcribe through an API?**

Send `POST /v1/runs` with `"provider": "openai"`, `"model": "gpt-4o-mini-transcribe"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with OpenAI to use GPT-4o mini Transcribe?**

No. Spiral runs it on its own OpenAI account and charges your Spiral balance.

**Can my AI agent use GPT-4o mini Transcribe?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

