---
title: OpenAI: GPT 4o Audio API | Text Generation | ModelsLab
description: Multimodal LLM with 128K context window, 16K max output, audio input support for speech recognition & sentiment analysis. $2.50/1M input tokens.
url: https://modelslab.com/models/openai/openai-gpt-4o-audio-preview/api.md
canonical: https://modelslab.com/models/openai/openai-gpt-4o-audio-preview/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T02:06:21.079790Z
---

OpenAI: GPT-4o Audio
---

 [LLMs.txt](https://modelslab.com/models/open_router/openai-gpt-4o-audio-preview/llms.txt) [.md](https://modelslab.com/models/openai/openai-gpt-4o-audio-preview.md)

openai-gpt-4o-audio-preview openai Closed Source Model $6.250000 / call

OpenAI: GPT-4o Audio
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### OpenAI: GPT-4o Audio

openai openai-gpt-4o-audio-preview

Copy model ID

PricingInput $2.50 / 1M tokens

Output $10.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[TS](https://modelslab.com/models/open_router/thedrummer-skyfall-36b-v2)[Open Router](https://modelslab.com/models/open_router)

 [TheDrummer: Skyfall 36B V2

Closed Source Model](https://modelslab.com/models/open_router/thedrummer-skyfall-36b-v2)

[MW](https://modelslab.com/models/open_router/mancer-weaver)[Open Router](https://modelslab.com/models/open_router)

 [Mancer: Weaver (alpha)

Closed Source Model](https://modelslab.com/models/open_router/mancer-weaver)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.7-flash)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.7 Flash

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.7-flash)

[XM](https://modelslab.com/models/open_router/xiaomi-mimo-v2-flash)[Open Router](https://modelslab.com/models/open_router)

 [Xiaomi: MiMo-V2-Flash

Closed Source Model](https://modelslab.com/models/open_router/xiaomi-mimo-v2-flash)

[SL](https://modelslab.com/models/open_router/sao10k-l3-lunaris-8b)[Open Router](https://modelslab.com/models/open_router)

 [Sao10K: Llama 3 8B Lunaris

Closed Source Model](https://modelslab.com/models/open_router/sao10k-l3-lunaris-8b)

[ML](https://modelslab.com/models/open_router/meta-llama-llama-3.2-11b-vision-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Meta: Llama 3.2 11B Vision Instruct

Closed Source Model](https://modelslab.com/models/open_router/meta-llama-llama-3.2-11b-vision-instruct)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4-32b)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4 32B

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4-32b)

[GG](https://modelslab.com/models/open_router/google-gemini-3.1-pro-preview-customtools)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemini 3.1 Pro Preview Custom Tools

Closed Source Model](https://modelslab.com/models/open_router/google-gemini-3.1-pro-preview-customtools)

[Q2](https://modelslab.com/models/qwen/Qwen-Qwen2.5-Coder-32B-Instruct)[ModelsLab](https://modelslab.com/models/qwen)

 [Qwen 2.5 Coder 32B Instruct

Closed Source Model](https://modelslab.com/models/qwen/Qwen-Qwen2.5-Coder-32B-Instruct)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-30b-a3b-instruct-2507)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 30B A3B Instruct 2507

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-30b-a3b-instruct-2507)

[ML](https://modelslab.com/models/meta/meta-llama-Llama-3.3-70B-Instruct-Turbo)[ModelsLab](https://modelslab.com/models/meta)

 [Meta Llama 3.3 70B Instruct Turbo

Closed Source Model](https://modelslab.com/models/meta/meta-llama-Llama-3.3-70B-Instruct-Turbo)

[NH](https://modelslab.com/models/open_router/nousresearch-hermes-4-405b)[Open Router](https://modelslab.com/models/open_router)

 [Nous: Hermes 4 405B

Closed Source Model](https://modelslab.com/models/open_router/nousresearch-hermes-4-405b)

[OG](https://modelslab.com/models/open_router/openai-gpt-5.4-pro)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5.4 Pro

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-5.4-pro)

[RL](https://modelslab.com/models/refuel_ai/togethercomputer-Refuel-Llm-V2-Small)[ModelsLab](https://modelslab.com/models/refuel_ai)

 [Refuel LLM V2 Small

Closed Source Model](https://modelslab.com/models/refuel_ai/togethercomputer-Refuel-Llm-V2-Small)

[Q4](https://modelslab.com/models/together_ai/Qwen-Qwen3-4B-Instruct-2507)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 4B Instruct 2507

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-4B-Instruct-2507)

[Q1](https://modelslab.com/models/together_ai/Qwen-Qwen3-14B-Base)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 14B Base

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-14B-Base)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-max-thinking)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 Max Thinking

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-max-thinking)

[DC](https://modelslab.com/models/open_router/deepcogito-cogito-v2.1-671b)[Open Router](https://modelslab.com/models/open_router)

 [Deep Cogito: Cogito v2.1 671B

Closed Source Model](https://modelslab.com/models/open_router/deepcogito-cogito-v2.1-671b)

About OpenAI: GPT-4o Audio
---

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...

### Technical Specifications

Model IDopenai-gpt-4o-audio-previewCategoryLLM ModelsTaskText GenerationPrice$6.250000 per million tokensAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate OpenAI: GPT-4o Audio into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "openai-gpt-4o-audio-preview",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/openai/openai-gpt-4o-audio-preview/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

OpenAI: GPT-4o Audio API costs $6.250000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Openai](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

OpenAI: GPT-4o Audio FAQ
---

### What is OpenAI: GPT-4o Audio?

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...

### How do I use the OpenAI: GPT-4o Audio API?

You can integrate OpenAI: GPT-4o Audio into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "openai-gpt-4o-audio-preview" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does OpenAI: GPT-4o Audio cost?

OpenAI: GPT-4o Audio costs $6.250000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the OpenAI: GPT-4o Audio model ID?

The model ID for OpenAI: GPT-4o Audio is "openai-gpt-4o-audio-preview". Use this ID in your API requests to specify this model.

### Does OpenAI: GPT-4o Audio have a free tier?

Yes, ModelsLab offers a free tier that lets you try OpenAI: GPT-4o Audio and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-15*