Key Info

LiteLLM now tracks OpenAI audio spend using the same rates OpenAI bills, covering both speech generation and transcription.

Highlights

  • Speech with gpt-4o-mini-tts: LiteLLM bills both the returned audio and the text you send.
  • Transcription with gpt-4o-transcribe: LiteLLM bills the audio you send at OpenAI's audio input rate.
  • Implementation details are available in the merged PRs linked by the author.