gpt-4o-audio-preview
OpenAI logo

GPT 4o Audio Preview

gpt-4o-audio-preview
OpenAI
OpenAI voice input and output model, with prices consistent with the official ones. For now, only the text portion prices are displayed; voice prices can be found on the official OpenAI website. Backend billing is the same as the official.

Pricing

  • Input Tokens: $2.500 /M tokens
  • Output Tokens: $10.000 /M tokens

Input Modalities

  • Text
  • Audio

Output Modalities

  • Text

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="gpt-4o-audio-preview",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is gpt-4o-audio-preview?

OpenAI voice input and output model, with prices consistent with the official ones. For now, only the text portion prices are displayed; voice prices can be found on the official OpenAI website. Backend billing is the same as the official.