Seedance 2.0 | Special Offer ✦ 10% OFF NOW | Ends May 13 (UTC+0)
openai
openai/gpt-4o-audio-preview

openai/gpt-4o-audio-preview

128,000 context · $2.50/M input tokens · $10.00/M output tokens

The gpt-4o-audio-preview model adds support for audio inputs as prompts. This enhancement allows the model to detect nuances within audio recordings and add depth to generated user experiences. Audio outputs are currently not supported. Audio tokens are priced at $40 per million input and $80 per million output audio tokens.

Pricing

Pay-per-use

No upfront costs, pay only for what you use

Input$2.50 / M Tokens
Output$10.00 / M Tokens

API Usage

Use the following code examples to integrate with our API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="openai/gpt-4o-audio-preview",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

Model Introduction

Openai gpt-4o-audio-preview

The gpt-4o-audio-preview model adds support for audio inputs as prompts

The gpt-4o-audio-preview model adds support for audio inputs as prompts. This enhancement allows the model to detect nuances within audio recordings and add depth to generated user experiences. Audio outputs are currently not supported. Audio tokens are priced at $40 per million input and $80 per million output audio tokens.


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 128000 context window for long document handling
  • Competitive pricing at $2.5/$10.0 per million tokens

Key Features

  • Context Window: 128000 tokens
  • Max Output: 16384 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderOpenai
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window128000 tokens
Max Output16384 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$2.5
Output$10.0

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: openai/gpt-4o-audio-preview


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="openai/gpt-4o-audio-preview",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "openai/gpt-4o-audio-preview",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: openai/gpt-4o-audio-preview
  • Provider: Openai

Info

Provideropenai
Typellm

Supported Functionality

Input
TextAudio
Output
Text
Context128,000
Max Output16,384
Vision-
Function Calling✓ Supported

API Access Guide

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDopenai/gpt-4o-audio-preview

GPT 4o Audio Preview API

openai/gpt-4o-audio-preview

The gpt-4o-audio-preview model adds support for audio inputs as prompts. This enhancement allows the model to detect nuances within audio recordings and add depth to generated user experiences. Audio outputs are currently not supported. Audio tokens are priced at $40 per million input and $80 per million output audio tokens.

Input

$2.5 /M

Output

$10 /M

Context

128K

Max Output

16K

Tool Use

Supported

Try GPT 4o Audio Preview on WaveSpeedAI

Access GPT 4o Audio Preview through our unified API — OpenAI-compatible, no cold starts, transparent pricing.

Frequently Asked Questions about GPT 4o Audio Preview

How much does GPT 4o Audio Preview cost via the API?+

Pricing on WaveSpeedAI: $2.50 per million input tokens and $10.00 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.

What is the context window of GPT 4o Audio Preview?+

GPT 4o Audio Preview supports up to 128K tokens of context with up to 16K tokens of output per request.

Is GPT 4o Audio Preview OpenAI-compatible?+

Yes. WaveSpeedAI exposes GPT 4o Audio Preview through an OpenAI-compatible endpoint at https://llm.wavespeed.ai/v1. Point the official OpenAI SDK at this base URL with your WaveSpeedAI API key — no other code changes required.

How do I get started with GPT 4o Audio Preview?+

Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with model id set to the value shown above. New accounts receive free credits to evaluate GPT 4o Audio Preview before paying per token.

Related LLM APIs