GPT-4o mini TTS
openai/gpt-4o-mini-ttsOriginal model OpenAI’s steerable text-to-speech synthesis model with token-based audio billing.
GPT-4o mini TTS API pricing summary
As of 2026-12-01, GPT-4o mini TTS API pricing starts at ≈$0.00025 / sec (≈$0.25 per 1,000 sec) via OpenAI, across 1 documented route. All listed routes currently have undisclosed endpoint regions; rates are primary-sourced directly from each provider, and unknown tariffs remain omitted rather than zero. Figures marked ≈ are provider-documented estimates rather than guaranteed final charges.
| Provider | Unit Price | Cost per 1,000 sec | Region |
|---|---|---|---|
OpenAIOfficial | ≈$0.00025 / sec | ≈$0.25 | Undisclosed |
Providers & variants
Every variant, regional deployment and feature-specific route is listed separately. Choose an exact variant when generating; provider routing never substitutes another variant.
GPT-4o mini TTS
openai/gpt-4o-mini-ttsSteerable text-to-speech synthesis model with prompt-guided delivery instructions and MP3/WAV output.
API inputs & limitstext-to-speech
- Operations
- text-to-speech
- Prompt limit
- Up to 4,096 characters
- Arguments
prompt, outputFormat, voice, speed, systemPrompt- JSON Schema
- Inspect model schema ↗
Every regional deployment is its own route.
| Provider | Published price | Try route |
|---|---|---|
OpenAIOfficial Documented by the provider. API endpoint region and inference scope are not disclosed.openai-undisclosed/openai-gpt-4o-mini-tts | ≈$0.00025/ sec$0.60 / 1M text input tokens; $12.00 / 1M audio output tokens (estimated ~$0.015 / minute of generated speech). Published tariff · exact request cost unqualified
Checked 2026-12-01 Price source ↗ |
An endpoint region is not a residency guarantee. Global inference may process requests elsewhere. Success rate measures generation outcomes, not provider uptime.
Endpoint region does not establish inference residency. Success rate describes generation outcomes, not uptime. Measurements reflect this installation’s observed jobs across settings. A dash beside a supported resolution indicates unavailable unit pricing.
Connect to GPT-4o mini TTS
Paste the agent prompt below into your coding agent or follow the canonical OpenGen HTTP, MCP, and CLI workflow for openai/gpt-4o-mini-tts. Every endpoint, tool call, and safety rule matches the Text to speech guide, Quickstart, and MCP & CLI reference.
Connect to OpenGen (https://opengen.dev/llms.txt) to inspect exact variant "openai/gpt-4o-mini-tts" (text-to-speech) (series openai/gpt-4o-mini-tts; model docs: https://opengen.dev/openai/gpt-4o-mini-tts.md, guide: https://opengen.dev/docs/guides/text-to-speech.md):
1. Inspect schema, regional routes, privacy disclosures, and single-source published pricing with zero auth via GET https://opengen.dev/v1/models/openai/gpt-4o-mini-tts?operation=text-to-speech or MCP get_model({ id: "openai/gpt-4o-mini-tts", operation: "text-to-speech" }) on https://opengen.dev/mcp/readonly.
2. Treat series-page Pricing at a Glance starting rates as catalog list rates (not an executable quote for specific resolutions, durations, audio tiers, or regions); run a stateless dry-run estimate via POST https://opengen.dev/v1/pricing/estimate or MCP estimate_cost using the exact canonical payload, and never assume unknown prices are $0.
3. Present the exact modelId ("openai/gpt-4o-mini-tts"), selected regional routeId, published unit pricing, and maxCostMicros budget ceiling and wait for explicit user approval before spending.
4. Persist a unique Idempotency-Key before submitting POST https://opengen.dev/v1/generations (or MCP generate on https://opengen.dev/mcp). Never blind-retry on timeout—recover via GET https://opengen.dev/v1/generations/lookup?idempotencyKey=... or MCP job_get({ idempotencyKey }), poll until terminal, and return the job ID, private output links, and expiresAt. Client setup: https://opengen.dev/docs/mcp.md and https://opengen.dev/docs/clients.md.- 01
Inspect exact model schema, routes & pricing
Fetch effective text-to-speech arguments, 1 regional route, supplier privacy disclosures, and single-source pricing in one unauthenticated call.
Models & Catalog →GET /v1/models/openai/gpt-4o-mini-tts?operation=text-to-speechMCP: get_model - 02
Estimate cost without spending
Series-page Pricing at a Glance starting rates are catalog list rates only; validate your exact canonical payload and review selectedRouteId, published unit pricing, and recommendedMaxCostMicros before asking for approval.
Pricing & Analytics →POST /v1/pricing/estimateMCP: estimate_cost - 03
Submit once with a persisted Idempotency-Key
Authenticate with an OpenGen workspace key (read + generate scopes) or OAuth MCP token and persist your Idempotency-Key before calling /v1/generations.
Text to speech guide →POST /v1/generationsMCP: generate - 04
Poll, stream, or receive webhook & download privately
Long-poll /status until terminal and private deliveryStatus is no longer pending, recover read-only via /v1/generations/lookup on timeout, and download outputs via short-lived first-party signed URLs.
Generations Lifecycle →GET /v1/generations/{id}/statusMCP: job_get
Copy-paste examples (openai/gpt-4o-mini-tts · text-to-speech)
Inspect live JSON Schema ↗Template only: check POST /v1/pricing/estimate to set an explicit maxCostMicros cap, and persist a unique Idempotency-Key before submitting.
export OPENGEN_API_URL="${OPENGEN_API_URL:-https://opengen.dev}"
# 1. Inspect exact schema, regional routes, privacy disclosures, and published pricing (zero auth)
curl --fail-with-body "${OPENGEN_API_URL}/v1/models/openai/gpt-4o-mini-tts?operation=text-to-speech"
# 2. Save the canonical text-to-speech payload and run a dry-run cost estimate
cat <<'JSON' > request.json
{
"modelId": "openai/gpt-4o-mini-tts",
"operation": "text-to-speech",
"input": {
"outputFormat": "mp3",
"prompt": "Describe the desired result."
},
"billing": "managed"
}
JSON
curl --fail-with-body -X POST "${OPENGEN_API_URL}/v1/pricing/estimate" \
-H "Content-Type: application/json" \
--data-binary @request.json
# 3. After reviewing route & budget, generate and persist a fresh unique Idempotency-Key for this request and submit once
export OPENGEN_IDEMPOTENCY_KEY="req-$(uuidgen | tr '[:upper:]' '[:lower:]')"
curl --fail-with-body -X POST "${OPENGEN_API_URL}/v1/generations" \
-H "Authorization: Bearer ${OPENGEN_API_KEY:?Set OPENGEN_API_KEY}" \
-H "Idempotency-Key: ${OPENGEN_IDEMPOTENCY_KEY}" \
-H "Prefer: wait=20" \
-H "Content-Type: application/json" \
--data-binary @request.json > submission.json
# 4. Long-poll /status with afterRevision until terminal and private delivery is ready, then fetch signed outputs
OPENGEN_JOB_ID="$(jq -r '.id' submission.json)"
STATUS="$(jq -r '.status' submission.json)"
DELIVERY="$(jq -r '.deliveryStatus // ""' submission.json)"
REVISION="$(jq -r '.revision // ""' submission.json)"
while [ "$STATUS" = "queued" ] || [ "$STATUS" = "submitting" ] || [ "$STATUS" = "running" ] || { [ "$STATUS" = "succeeded" ] && [ "$DELIVERY" = "pending" ]; }; do
QS="waitMs=25000"
[ -n "$REVISION" ] && QS="${QS}&afterRevision=${REVISION}"
curl --fail-with-body "${OPENGEN_API_URL}/v1/generations/${OPENGEN_JOB_ID}/status?${QS}" \
-H "Authorization: Bearer ${OPENGEN_API_KEY:?Set OPENGEN_API_KEY}" > status.json
STATUS="$(jq -r '.job.status' status.json)"
DELIVERY="$(jq -r '.job.deliveryStatus // ""' status.json)"
REVISION="$(jq -r '.job.revision // ""' status.json)"
done
curl --fail-with-body "${OPENGEN_API_URL}/v1/generations/${OPENGEN_JOB_ID}" \
-H "Authorization: Bearer ${OPENGEN_API_KEY:?Set OPENGEN_API_KEY}"
# On network timeout, recover read-only instead of generating a second Idempotency-Key:
# curl --fail-with-body "${OPENGEN_API_URL}/v1/generations/lookup?idempotencyKey=${OPENGEN_IDEMPOTENCY_KEY}" \
# -H "Authorization: Bearer ${OPENGEN_API_KEY}"Read the full OpenGen docs for this model
About GPT-4o mini TTS API access
This series belongs to OpenAI. Each variant keeps its own API model ID, author, license and provider routes. A provider switch preserves the selected variant.
Which variants are included?
GPT-4o mini TTS. Their exact model IDs, authors and licenses are listed separately above.
Which providers are listed?
OpenAI. Every documented regional deployment has its own provider row; a listed offering is not a claim that credentials are configured or that a live generation was tested.
How are prices and performance compared?
The table lists supported resolutions and shows available prices per video second or image. The price details include the provider's billing terms and source. Latency percentiles and technical success rates use this installation's observations. Missing measurements remain unknown, and generation success is not provider uptime.
Latest catalog source check: 2026-12-01. Documented offerings are not live-verification claims. Published prices retain their own units; missing prices and measurements remain unknown.