Audio transcription API

Transcribe short PCM16 WAV files with GPT-4o transcription models and receive actual token usage.

Use an Official Group API key with gpt-4o-mini-transcribe or gpt-4o-transcribe. Check availability on each model page.

Upload audio

curl https://app.apipool.dev/v1/audio/transcriptions \
  -H "Authorization: Bearer $APIPOOL_API_KEY" \
  -F 'model=gpt-4o-mini-transcribe' \
  -F '[email protected];type=audio/wav' \
  -F 'response_format=json' \
  -F 'language=en' \
  -F 'temperature=0'

Upload one complete mono PCM16 WAV file, up to 30 seconds and 3 MiB. Supported sample rates are 8,000, 16,000, 22,050, 24,000, 44,100, and 48,000 Hz.

Set response_format to json. Optionally set language to a lowercase two-letter code such as zh or en. Omit temperature or set it to 0. The endpoint rejects prompt, stream, chunking_strategy, repeated fields, and other parameters. Results contain plain text. Timestamps, speaker diarization, and translation are unavailable.

Read the result

The JSON response contains the transcription in text. usage.input_tokens and usage.output_tokens report actual input and output, and total_tokens adds them together. input_token_details breaks down audio and text inputs.

If usage is unavailable or inconsistent, or the response is incomplete or outside supported bounds, the API returns an error and the request is not charged. Tokens are not estimated. Keep the x-apipool-request-id response header if you need to contact support.

Pricing and playground

ModelPer million input tokensPer million output tokens
gpt-4o-mini-transcribeUS$1.0625US$4.25
gpt-4o-transcribeUS$2.125US$8.50

The request uses the price active at submission. APIPool adds the input and output charges and rounds up to the nearest US$0.000001. For 60 input tokens and 11 output tokens, the charge is US$0.000111 for mini or US$0.000221 for standard.

At the listed rates, submission requires a balance of at least US$0.0255 for mini or US$0.051 for standard to cover supported usage. Final charges use actual tokens. Account limits apply to concurrent requests.

Choose an Official Group key and upload a WAV file on the mini model page or standard model page. The playground uses the same rates.