U

gpt-4o-mini-audio-preview-2024-12-17

8k ContextAudioPopular

gpt-4o-mini-audio-preview-2024-12-17 - compact and efficient with budget-friendly pricing. versatile general-purpose AI.

Pricing / 1M
USD
Input$1.2
Output$4.8
Context Window
8ktokens
Avg Latency
450ms

Capability Radar

Compare with Claude 3

About gpt-4o-mini-audio-preview-2024-12-17

"Industry-leading language understanding"

gpt-4o-mini-audio-preview-2024-12-17 is Unknown's budget-friendly model featuring focused context window (8K). Industry-leading language understanding, this model delivers most widely adopted and battle-tested.

Key Strengths

  • Industry-leading language understanding
  • Best price-to-performance ratio
  • Fast inference with efficient resource usage
  • Native multimodal understanding
  • OpenAI SDK compatible

🎯 Best Use Cases

  • Image analysis and visual question answering
  • Document OCR and data extraction
  • Chart and diagram interpretation
  • Speech-to-text transcription
  • Audio content analysis
  • Voice command processing

Technical Specifications

Context Window
8K
Max Output
4,096 tokens
Knowledge Domain
Audio, Audio
Provider
Unknown

Quick Start Guide

example.tsTypeScript
import OpenAI from "openai";

const openai = new OpenAI({
  baseURL: "https://api.okrouter.com/v1",
  apiKey: "<YOUR_OKROUTER_KEY>",
});

async function main() {
  const completion = await openai.chat.completions.create({
    model: "gpt-4o-mini-audio-preview-2024-12-17",
    messages: [
      { role: "user", content: "Hello! What can you do?" }
    ],
  });

  console.log(completion.choices[0].message);
}

main();

Getting started with gpt-4o-mini-audio-preview-2024-12-17 is easy. Since OkRouter is fully compatible with the OpenAI SDK, you can use existing libraries to access this model immediately. gpt-4o-mini-audio-preview-2024-12-17 is fully compatible with the OpenAI Chat Completions API. distinctive features include Standard context handling and Audio support.

Interactive Playground

Parameters Setup

0.7

Controls randomness: Lowering results in less random completions.

Return data chunks as they arrive

request.js
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.okrouter.com/v1",
  apiKey: process.env.OKROUTER_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "gpt-4o-mini-audio-preview-2024-12-17",
  messages: [{ role: "user", content: "Hello world!" }],
  temperature: 0.7,
  stream: true,
});

Frequently Asked Questions

?How much does gpt-4o-mini-audio-preview-2024-12-17 cost?

gpt-4o-mini-audio-preview-2024-12-17 costs $1.20 per 1M input tokens and $4.80 per 1M output tokens via OkRouter. This is 20% cheaper than OpenRouter with the same great performance.

?Is gpt-4o-mini-audio-preview-2024-12-17 compatible with OpenAI SDK?

Yes! gpt-4o-mini-audio-preview-2024-12-17 works seamlessly with all OpenAI SDKs (Python, JavaScript, Go, etc.). Simply change your base_url to api.okrouter.com and use your OkRouter API key. No code changes needed.

?What is gpt-4o-mini-audio-preview-2024-12-17 best used for?

gpt-4o-mini-audio-preview-2024-12-17 excels at image analysis and visual question answering, document ocr and data extraction, chart and diagram interpretation. It's budget-friendly and perfect for high-volume production workloads.