Skip to main content
These surfaces use the OpenAI wire format, so the official SDKs work by changing only the base URL.

Embeddings

Store the model id with the vectors. Embeddings from different models are not comparable, and swapping models later requires re-indexing.

Speech to text

response_format accepts json, text, srt, vtt, or verbose_json. Use verbose_json when you need segment timestamps. For translation into English from another language, use /v1/audio/translations with the same parameters.

Text to speech

The response body is audio bytes, not JSON — write it straight to a file or stream it to the client. voice values and available formats depend on the model.

Choosing models

Embedding and audio ids appear in the same list as chat models. If an id is missing, that channel is not enabled for your key’s group.

Billing notes

  • Embeddings bill per input token; long documents are the main cost driver, so chunk before sending.
  • Transcriptions bill per audio minute; TTS bills per input character. Check the model price before batch jobs.
  • Failed requests that never reached the upstream are not billed.

Troubleshooting