openai
OpenAI: GPT Audio
The gpt-audio model is OpenAI's first generally available audio model. The new snapshot features an upgraded decoder for more natural sounding voices and maintains better voice consistency. Audio is priced...
Context
128k tokens
Input / 1M tokens
$2.50
Output / 1M tokens
$10
Benchmark
—
Pricing
Input tokens$2.50 per 1M tokens
Output tokens$10 per 1M tokens
Technical details
Model IDopenai/gpt-audio
Context window128k tokens
Input modalitiestext, audio, pdf
Output modalitiestext, audio
TokenizerGPT
Max output tokens16,384
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'openai/gpt-audio',
messages: [{ role: 'user', content: 'Hello!' }],
})