Seedream 5.0 Pro अब लाइव है | Image Generator में आज़माएं →
साइन इन
openai
openai/gpt-4o-mini

openai/gpt-4o-mini

प्रकाशन तिथि: 2024-07-18

128,000 context · $0.15/M input tokens · $0.60/M output tokens

GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

मूल्य निर्धारण

उपयोग के अनुसार भुगतान

कोई अग्रिम लागत नहीं, केवल उतना ही भुगतान करें जितना आप उपयोग करते हैं

इनपुट$0.15 / M Tokens
आउटपुट$0.60 / M Tokens
Cache Read$0.07 / M Tokens

मॉडल आज़माएं

openai/gpt-4o-mini
ऑनलाइन
openai
नमस्ते! मैं एक सहायक AI असिस्टेंट हूं। मैं आपके लिए क्या कर सकता हूं?
क्या इस मॉडल को लोकल कोडिंग एजेंट में इस्तेमाल करने के लिए तैयार हैं?एजेंट सेटअप

API उपयोग

हमारे API के साथ एकीकृत करने के लिए निम्नलिखित कोड उदाहरणों का उपयोग करें:

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/gpt-4o-mini',
    messages: [{ role: 'user', content: 'Hello!' }],
  });
  console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
  console.error('LLM request failed:', error);
  process.exitCode = 1;
}

मॉडल परिचय

Openai gpt-4o-mini

openai gpt-4o-mini


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 128000 context window for long document handling
  • Competitive pricing at $0.2/$0.7 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$0.2
Output$0.7

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

Notes

  • Model: openai/gpt-4o-mini
  • Provider: Openai

जानकारी

प्रदाताopenai
प्रकारllm

समर्थित कार्यक्षमता

इनपुट
टेक्स्टछवि
आउटपुट
टेक्स्ट
कॉन्टेक्स्ट128,000
अधिकतम आउटपुट16,384
विज़न✓ समर्थित
फ़ंक्शन कॉलिंग✓ समर्थित

API एक्सेस गाइड

बेस URLhttps://llm.wavespeed.ai/v1
API एंडपॉइंटchat/completions
मॉडल IDopenai/gpt-4o-mini

GPT 4o Mini API

openai/gpt-4o-mini

GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

इनपुट

$0.15 /M

आउटपुट

$0.6 /M

कॉन्टेक्स्ट

128K

अधिकतम आउटपुट

16K

विज़न

समर्थित

टूल उपयोग

समर्थित

WaveSpeedAI पर GPT 4o Mini आज़माएं

हमारे एकीकृत API के ज़रिए GPT 4o Mini तक पहुंचें — OpenAI-कम्पैटिबल, कोई कोल्ड स्टार्ट नहीं, पारदर्शी मूल्य निर्धारण।

GPT 4o Mini के बारे में अक्सर पूछे जाने वाले सवाल

API के ज़रिए GPT 4o Mini की लागत कितनी है?+

WaveSpeedAI पर मूल्य निर्धारण: प्रति मिलियन इनपुट टोकन $0.15 और प्रति मिलियन आउटपुट टोकन $0.60। प्रॉम्प्ट कैशिंग और बैच प्रोसेसिंग की बिलिंग अलग से होती है और लंबे, दोहराव वाले वर्कलोड पर प्रभावी लागत कम करती है।

GPT 4o Mini की कॉन्टेक्स्ट विंडो क्या है?+

GPT 4o Mini प्रति अनुरोध 16K टोकन तक के आउटपुट के साथ 128K टोकन तक के कॉन्टेक्स्ट को सपोर्ट करता है।

क्या GPT 4o Mini OpenAI-कम्पैटिबल है?+

WaveSpeedAI GPT 4o Mini को https://llm.wavespeed.ai/v1 पर OpenAI-कम्पैटिबल Chat Completions इंटरफ़ेस के ज़रिए उपलब्ध कराता है। अधिकांश OpenAI SDK क्लाइंट बेस URL और API कुंजी बदलकर काम करते हैं; वैकल्पिक फ़ील्ड चयनित मॉडल पर निर्भर करते हैं।

मैं GPT 4o Mini के साथ कैसे शुरू करूं?+

WaveSpeedAI में साइन इन करें, Access Keys में एक API कुंजी बनाएं, फिर ऊपर दिखाए गए मॉडल id के साथ https://llm.wavespeed.ai/v1/chat/completions पर एक अनुरोध भेजें। उपलब्धता, क्षमताओं और मूल्य निर्धारण के लिए वर्तमान मॉडल कैटलॉग देखें।

संबंधित LLM API

GPT-4o Mini | OpenAI Affordable Small LLM API | WaveSpeedAI