Seedream 5.0 Pro yayında | Görsel Üretici'de deneyin →
openai
openai/o4-mini

openai/o4-mini

Yayın tarihi: 2025-04-17

200,000 context · $1.10/M input tokens · $4.40/M output tokens

OpenAI o4-mini is a compact reasoning model in the o-series, optimized for fast, cost-efficient performance while retaining strong multimodal and agentic capabilities. It supports tool use and demonstrates competitive reasoning...

Fiyatlandırma

Kullandıkça öde

Ön ödeme yok, yalnızca kullandığınız kadar ödeyin

Giriş$1.10 / M Tokens
Çıkış$4.40 / M Tokens
Cache Read$0.28 / M Tokens

Modeli dene

openai/o4-mini
Çevrimiçi
openai
Merhaba! Yardımcı bir yapay zeka asistanıyım. Size nasıl yardımcı olabilirim?
Bu modeli yerel bir coding agent içinde kullanmaya hazır mısınız?Agent setup

API Kullanımı

API'mizle entegre etmek için aşağıdaki kod örneklerini kullanın:

import OpenAI from 'openai';

if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
  apiKey: process.env.WAVESPEED_API_KEY,
  baseURL: 'https://llm.wavespeed.ai/v1',
  timeout: 120_000,
  maxRetries: 2,
});

try {
  const response = await client.chat.completions.create({
    model: 'openai/o4-mini',
    messages: [{ role: 'user', content: 'Hello!' }],
  });
  console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
  console.error('LLM request failed:', error);
  process.exitCode = 1;
}

Model Tanıtımı

Openai o4-mini

openai o4-mini


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 200000 context window for long document handling
  • Competitive pricing at $1.2/$4.8 per million tokens

Key Features

  • Context Window: 200000 tokens
  • Max Output: 100000 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

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

Pricing

Token TypeCost per Million Tokens
Input$1.2
Output$4.8

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/o4-mini


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/o4-mini",
    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/o4-mini",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: openai/o4-mini
  • Provider: Openai

Bilgi

Sağlayıcıopenai
Türllm

Desteklenen İşlevsellik

Giriş
MetinGörsel
Çıkış
Metin
Bağlam200,000
Maks. Çıkış100,000
Vision✓ Destekleniyor
Function Calling✓ Destekleniyor

API Erişim Kılavuzu

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDopenai/o4-mini

o4 Mini API

openai/o4-mini

OpenAI o4-mini is a compact reasoning model in the o-series, optimized for fast, cost-efficient performance while retaining strong multimodal and agentic capabilities. It supports tool use and demonstrates competitive reasoning...

Giriş

$1.1 /M

Çıkış

$4.4 /M

Bağlam

200K

Maks. Çıkış

100K

Vision

Destekleniyor

Araç Kullanımı

Destekleniyor

o4 Mini'i WaveSpeedAI'da deneyin

Birleşik API'miz aracılığıyla o4 Mini'e erişin — OpenAI uyumlu, soğuk başlatma yok, şeffaf fiyatlandırma.

o4 Mini hakkında sık sorulan sorular

o4 Mini API ücreti ne kadar?+

WaveSpeedAI fiyatlandırması: milyon giriş tokenı başına $1.10 ve milyon çıkış tokenı başına $4.40. Prompt caching ve toplu işleme ayrı faturalanır ve uzun, tekrar eden yüklerde etkin maliyeti düşürür.

o4 Mini'in bağlam penceresi nedir?+

o4 Mini istek başına 200K bağlam tokenını ve 100K çıkış tokenını destekler.

o4 Mini OpenAI uyumlu mu?+

WaveSpeedAI, o4 Mini modelini https://llm.wavespeed.ai/v1 adresindeki OpenAI uyumlu Chat Completions arayüzü üzerinden sunar. Çoğu OpenAI SDK istemcisinde base URL ve API anahtarını değiştirmek yeterlidir; isteğe bağlı alanlar modele bağlıdır.

o4 Mini'e nasıl başlarım?+

WaveSpeedAI’a giriş yapın, Access Keys bölümünde bir API anahtarı oluşturun ve yukarıdaki model id ile https://llm.wavespeed.ai/v1/chat/completions adresine istek gönderin. Güncel kullanılabilirlik, özellikler ve fiyatlar için model kataloğunu kontrol edin.

İlgili LLM API'leri

OpenAI o4 Mini | Compact Multimodal Reasoning API | WaveSpeedAI