モデル料金エンタープライズ
500以上のAI Model API、オールインワンAPI。CometAPIで。
モデルAPI
開発者
クイックスタートドキュメントAPI ダッシュボード
会社
会社概要エンタープライズ
リソース
AIモデルブログ変更履歴サポート
利用規約プライバシーポリシー
© 2026 CometAPI · All rights reserved
Home/Models/OpenAI/GPT-4o mini
O

GPT-4o mini

入力:$0.12/M
出力:$0.48/M
GPT-4o mini は、OpenAI が提供する人工知能モデルです。
新着
商用利用
概要
機能
料金プラン
API
バージョン

Technical Specifications of gpt-4o-mini

AttributeDetails
Model IDgpt-4o-mini
ProviderOpenAI
Model typeArtificial intelligence model
Primary useNatural language understanding and generation
API accessAvailable through CometAPI
Integration styleStandard REST API requests
Input formatText
Output formatText

What is gpt-4o-mini?

gpt-4o-mini is an artificial intelligence model provided by OpenAI. It is designed to process natural language inputs and generate useful text outputs for a wide range of applications, including chat, content generation, summarization, classification, and automation workflows.

Through CometAPI, developers can access gpt-4o-mini using a unified API format, making it easier to integrate the model into applications without managing provider-specific complexity. This helps teams prototype quickly and deploy AI features with a consistent developer experience.

Main features of gpt-4o-mini

  • Natural language processing: Understands and generates human-like text for conversational and task-oriented use cases.
  • Versatile application support: Can be used for summarization, question answering, content drafting, rewriting, and workflow automation.
  • Developer-friendly access: Available through CometAPI with a consistent API interface that simplifies integration.
  • Fast integration workflow: Supports straightforward request and response patterns for rapid development.
  • Scalable deployment: Suitable for embedding into products, internal tools, and automated services.

How to access and integrate gpt-4o-mini

Step 1: Sign Up for API Key

To access gpt-4o-mini, first register on the CometAPI platform and generate your API key from the dashboard. This key is required to authenticate all API requests and should be stored securely in your application environment.

Step 2: Send Requests to gpt-4o-mini API

After obtaining your API key, send a POST request to the CometAPI chat completions endpoint and specify gpt-4o-mini as the model.

curl https://api.cometapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_COMETAPI_KEY" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [
      {
        "role": "user",
        "content": "Write a short introduction to AI."
      }
    ]
  }'

Step 3: Retrieve and Verify Results

Once the request is processed, the API returns a structured response containing the model output. You can parse the returned content, validate it against your application requirements, and then display or store the result as needed.

GPT-4o miniの機能

GPT-4o miniのパフォーマンスと使いやすさを向上させるために設計された主要機能をご紹介します。これらの機能がプロジェクトにどのようなメリットをもたらし、ユーザーエクスペリエンスを改善するかをご確認ください。

GPT-4o miniの料金

GPT-4o miniの競争力のある価格設定をご確認ください。さまざまな予算や利用ニーズに対応できるよう設計されています。柔軟なプランにより、使用した分だけお支払いいただけるため、要件の拡大に合わせて簡単にスケールアップできます。GPT-4o miniがコストを管理しながら、お客様のプロジェクトをどのように強化できるかをご覧ください。
コメット価格 (USD / M Tokens)公式価格 (USD / M Tokens)割引
入力:$0.12/M
出力:$0.48/M
入力:$0.15/M
出力:$0.6/M
-20%

GPT-4o miniのサンプルコードとAPI

GPT-4o miniの包括的なサンプルコードとAPIリソースにアクセスして、統合プロセスを効率化しましょう。詳細なドキュメントでは段階的なガイダンスを提供し、プロジェクトでGPT-4o miniの潜在能力を最大限に活用できるよう支援します。
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)

Python Code Example

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)

JavaScript Code Example

import OpenAI from "openai";

// Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
const api_key = process.env.COMETAPI_KEY;
const base_url = "https://api.cometapi.com/v1";

const openai = new OpenAI({
  apiKey: api_key,
  baseURL: base_url,
});

const response = await openai.responses.create({
  model: "gpt-4o-mini",
  input: "Tell me a three sentence bedtime story about a unicorn.",
});

console.log(response);

Curl Code Example

curl https://api.cometapi.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_KEY" \
  -d '{
    "model": "gpt-4o-mini",
    "input": "Tell me a three sentence bedtime story about a unicorn."
  }'

GPT-4o miniのバージョン

GPT-4o miniに複数のスナップショットが存在する理由としては、アップデート後の出力変動により旧版スナップショットの一貫性維持が必要な場合、開発者に適応・移行期間を提供するため、グローバル/リージョナルエンドポイントに対応する異なるスナップショットによるユーザー体験最適化などが考えられます。各バージョンの詳細な差異については、公式ドキュメントをご参照ください。
version
gpt-4o-mini-tts
gpt-4o-mini-transcribe
gpt-4o-mini
gpt-4o-mini-audio-preview-2024-12-17
gpt-4o-mini-search-preview-2025-03-11
gpt-4o-mini-2024-07-18
gpt-4o-mini-audio-preview
gpt-4o-mini-realtime-preview
gpt-4o-mini-realtime-preview-2024-12-17
gpt-4o-mini-search-preview

その他のモデル

O

O3 Pro

O

O3 Pro

入力:$16/M
出力:$64/M
OpenAI o3‑pro は、o3 推論モデルの「Pro」版であり、非公開の思考連鎖強化学習を用いてより長く推論し、科学、プログラミング、ビジネスといった領域で最先端のベンチマークを更新しつつ、最も信頼性の高い応答を提供するよう設計されています—同時に、API 内でウェブ検索、ファイル解析、Python 実行、視覚的推論などのツールを自律的に統合します。
L

Llama-4-Scout

L

Llama-4-Scout

入力:$0.216/M
出力:$1.152/M
Llama-4-Scout は、アシスタント型の対話と自動化に向けた汎用言語モデルです。指示追従、推論、要約、変換タスクに対応し、軽度のコード関連支援もサポートします。主な用途には、チャットのオーケストレーション、知識拡張型QA、構造化コンテンツ生成が含まれます。技術的な特長として、ツール/関数呼び出しパターンとの互換性、検索拡張型プロンプティング、およびプロダクトのワークフローへの統合に向けたスキーマ制約付き出力が挙げられます。
L

Llama-4-Maverick

L

Llama-4-Maverick

入力:$0.48/M
出力:$1.44/M
Llama-4-Maverick は、テキストの理解と生成のための汎用言語モデルです。対話型QA、要約、構造化された文書作成、基本的なコーディング支援をサポートしており、構造化された出力のオプションにも対応します。一般的な用途には、一貫したフォーマットを必要とするプロダクトアシスタント、ナレッジ検索フロントエンド、ワークフロー自動化などが含まれます。パラメータ数、コンテキストウィンドウ、モダリティ、ツールまたは関数呼び出しといった技術的詳細はディストリビューションによって異なるため、デプロイメントのドキュメントに記載された機能に従って統合してください。
M

Kimi-K2

M

Kimi-K2

入力:$0.48/M
出力:$1.92/M
- **kimi-k2-250905**: Moonshot AIのKimi K2シリーズ 0905バージョン、超長コンテキストに対応 (最大256kトークン、フロントエンドおよびTool呼び出し)。 - 🧠 強化されたTool呼び出し: 正確性100%、シームレスな統合で、複雑なタスクや統合の最適化に適しています。 - ⚡️ より効率的なパフォーマンス: TPSは60-100 (標準API)、Turboモードでは600-100まで、より高速な応答と向上した推論能力を提供し、知識カットオフは2025年中頃まで。
O

GPT-4.1 nano

O

GPT-4.1 nano

入力:$0.08/M
出力:$0.32/M
GPT-4.1 nanoは、OpenAIが提供する人工知能モデルです。 gpt-4.1-nano: より大きなコンテキストウィンドウを備え—最大100万のコンテキストトークンに対応し、長文脈の理解が向上したことで、そのコンテキストをより有効に活用できます。 更新された知識カットオフは2024年6月です。 このモデルは最大1,047,576トークンのコンテキスト長をサポートします。
O

GPT 4.1 mini

O

GPT 4.1 mini

入力:$0.32/M
出力:$1.28/M
GPT-4.1 mini は OpenAI が提供する人工知能モデルです。gpt-4.1-mini: 小型モデルの性能において大きな飛躍を遂げ、多くのベンチマークで GPT-4o をも上回ります。知能評価では GPT-4o に匹敵するかそれ以上であり、レイテンシをほぼ半減し、コストを83%削減します。このモデルは最大 1,047,576 トークンのコンテキスト長をサポートします。

関連ブログ

ChatGPTはテキスト読み上げに対応していますか? 2026年最新ガイド:音声・TTSモデル
Apr 2, 2026

ChatGPTはテキスト読み上げに対応していますか? 2026年最新ガイド:音声・TTSモデル

ChatGPT はテキスト読み上げが可能ですが、何を指すかによって答えは異なります。ChatGPT アプリでは、Voice によって ChatGPT が音声で話すことができ、最近のアップデートで指示への追従性が向上し、ウェブ検索などのツールをより効果的に使えるようになりました。開発者向けには、OpenAI は audio/speech エンドポイント経由で専用のテキスト読み上げ API も提供しており、gpt-4o-mini-tts、tts-1、tts-1-hd といったモデルが用意されています。OpenAI によれば、最新の TTS スナップショットは前世代と比べて、Common Voice および FLEURS における単語誤り率を約35%低減したとしています。