Home/Models/OpenAI/GPT-4o mini
O

GPT-4o mini

Input:$0.12/M
Output:$0.48/M
GPT-4o mini is an artificial intelligence model provided by OpenAI.
New
Commercial Use
Features
Pricing
API
Versions

Features for GPT-4o mini

Explore the key features of GPT-4o mini, designed to enhance performance and usability. Discover how these capabilities can benefit your projects and improve user experience.

Pricing for GPT-4o mini

Explore competitive pricing for GPT-4o mini, designed to fit various budgets and usage needs. Our flexible plans ensure you only pay for what you use, making it easy to scale as your requirements grow. Discover how GPT-4o mini can enhance your projects while keeping costs manageable.
Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
Input:$0.12/M
Output:$0.48/M
Input:$0.15/M
Output:$0.6/M
-20%

Sample code and API for GPT-4o mini

Access comprehensive sample code and API resources for GPT-4o mini to streamline your integration process. Our detailed documentation provides step-by-step guidance, helping you leverage the full potential of GPT-4o mini in your projects.
Python
JavaScript
Curl
from openai import OpenAI
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)
response = client.responses.create(
    model="gpt-4o-mini", input="Tell me a three sentence bedtime story about a unicorn."
)

print(response)

Versions of GPT-4o mini

The reason GPT-4o mini has multiple snapshots may include potential factors such as variations in output after updates requiring older snapshots for consistency, providing developers a transition period for adaptation and migration, and different snapshots corresponding to global or regional endpoints to optimize user experience. For detailed differences between versions, please refer to the official documentation.
version
gpt-4o-mini
gpt-4o-mini-2024-07-18
gpt-4o-mini-audio-preview-2024-12-17
gpt-4o-mini-realtime-preview
gpt-4o-mini-realtime-preview-2024-12-17
gpt-4o-mini-transcribe
gpt-4o-mini-tts
gpt-4o-mini-audio-preview
gpt-4o-mini-search-preview
gpt-4o-mini-search-preview-2025-03-11

More Models