Unlock exclusive introductory pricing for the newly launched Gemini 3.5 Flash.
O

o4-mini

Đầu vào:$0.88/M
Đầu ra:$3.52/M
Ngày phát hành:Oct 1, 2025

O4-mini là một mô hình trí tuệ nhân tạo do OpenAI cung cấp.

Mới
Sử dụng thương mại

Technical Specifications of o4-mini

AttributeDetails
Model IDo4-mini
ProviderOpenAI
Model typeReasoning model optimized for fast, cost-efficient performance.
Primary modalitiesText and image input; text output.
StrengthsStrong performance in math, coding, and visual reasoning tasks.
Relative positioningA smaller o-series model designed for efficient reasoning workloads.
StatusAvailable in the API; OpenAI has stated there are no API changes tied to its retirement from ChatGPT.

What is o4-mini?

o4-mini is an artificial intelligence model provided by OpenAI. It is a compact reasoning model in the o-series, designed to deliver fast and cost-efficient performance while still handling complex tasks effectively. OpenAI describes it as optimized for reasoning, with notable capability in coding, mathematics, and visual analysis.

This makes o4-mini a practical choice for developers who want stronger reasoning behavior than a basic lightweight model, while still prioritizing speed, efficiency, and broad applicability across text and image-based workflows.

Main features of o4-mini

  • Fast reasoning performance: o4-mini is built to respond with efficient reasoning, making it well-suited for applications that need stronger problem-solving without the overhead of a larger flagship model.
  • Cost-efficient operation: OpenAI positions o4-mini as a lower-cost reasoning option, which is useful for production workloads where token efficiency matters.
  • Strong coding and math capabilities: The model is described as particularly effective for programming, quantitative reasoning, and analytical tasks.
  • Image-aware reasoning: o4-mini supports image input and is part of OpenAI’s visual reasoning model line, enabling workflows that combine text understanding with image analysis.
  • API availability: Developers can access o4-mini through OpenAI API-compatible workflows, making it suitable for integration into applications, automations, and internal tools.

How to access and integrate o4-mini

Step 1: Sign Up for API Key

To access the o4-mini API through CometAPI, first register for a CometAPI account and generate your API key from the dashboard. After obtaining the key, store it securely and use it in your application’s authorization header for all API requests.

Step 2: Send Requests to o4-mini API

Once you have your API key, send requests to the CometAPI endpoint using o4-mini as the model name. Example:

curl https://api.cometapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_API_KEY" \
  -d '{
    "model": "o4-mini",
    "messages": [
      {
        "role": "user",
        "content": "Explain the advantages of efficient reasoning models."
      }
    ]
  }'

Step 3: Retrieve and Verify Results

The API response will return the model’s generated output in a structured JSON format. You should parse the response, extract the assistant message, and validate that the output matches your application’s expected format, quality, and safety requirements before using it in production.

Giá cả cho o4-mini

Khám phá mức giá cạnh tranh cho o4-mini, được thiết kế để phù hợp với nhiều ngân sách và nhu cầu sử dụng khác nhau. Các gói linh hoạt của chúng tôi đảm bảo bạn chỉ trả tiền cho những gì bạn sử dụng, giúp dễ dàng mở rộng quy mô khi yêu cầu của bạn tăng lên. Khám phá cách o4-mini có thể nâng cao các dự án của bạn trong khi vẫn kiểm soát được chi phí.

ModelComet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
o4-mini
Đầu vào:$0.88/M
Đầu ra:$3.52/M
Đầu vào:$1.1/M
Đầu ra:$4.4/M
-20%
o4-mini-2025-04-16
Đầu vào:$0.88/M
Đầu ra:$3.52/M
Đầu vào:$1.1/M
Đầu ra:$4.4/M
-20%

Mã mẫu và API cho o4-mini

Truy cập mã mẫu toàn diện và tài nguyên API cho o4-mini để tối ưu hóa quy trình tích hợp của bạn. Tài liệu chi tiết của chúng tôi cung cấp hướng dẫn từng bước, giúp bạn khai thác toàn bộ tiềm năng của o4-mini trong các dự án của mình.

Các phiên bản của o4-mini

Lý do o4-mini có nhiều snapshot có thể bao gồm các yếu tố tiềm năng như: sự thay đổi đầu ra sau các bản cập nhật cần các snapshot cũ để đảm bảo tính nhất quán, cung cấp cho nhà phát triển thời gian chuyển tiếp để thích ứng và di chuyển, cũng như các snapshot khác nhau tương ứng với các endpoint toàn cầu hoặc khu vực nhằm tối ưu hóa trải nghiệm người dùng. Để biết chi tiết về sự khác biệt giữa các phiên bản, vui lòng tham khảo tài liệu chính thức.

Version
o4-mini
o4-mini-2025-04-16