モデルサポートエンタープライズブログ
500以上のAI Model API、オールインワンAPI。CometAPIで。
モデルAPI
開発者
クイックスタートドキュメントAPI ダッシュボード
リソース
AIモデルブログエンタープライズ変更履歴概要
2025 CometAPI. 全著作権所有。プライバシーポリシー利用規約
Home/Models/OpenAI/gpt-4-search
O

gpt-4-search

リクエストごと:$0.04
商用利用
概要
機能
料金プラン
API

Technical Specifications of gpt-4-search

SpecificationDetails
Model IDgpt-4-search
Provider / familyOpenAI search-oriented GPT model, mapped on CometAPI to a web-search-capable GPT variant.
Primary purposeSearch-augmented text generation for timely questions that benefit from live web retrieval and cited answers.
Input / outputText input and text output.
Context window128,000 tokens.
Max output tokens16,384 tokens.
Knowledge behaviorUses web search to supplement its base knowledge for current information; the underlying search-preview model page lists an October 1, 2023 knowledge cutoff for the base model component.
API patterns commonly associated with this capabilityChat Completions and Responses-style workflows for web-connected answers, depending on the platform abstraction.
Typical result formatNatural-language answers that can include source links/citations from retrieved web content.

What is gpt-4-search?

gpt-4-search is CometAPI’s platform identifier for a GPT-4-class search-capable model designed for answering questions that require fresh information from the web. In OpenAI’s public documentation, the closest corresponding capability is its search-specialized GPT model and the web search tool used in ChatGPT search and the API. These systems are built to retrieve current web information, synthesize it into an answer, and surface references so users can verify the response.

This makes gpt-4-search especially suitable for use cases such as news summaries, market monitoring, product research, fact-checking, travel planning, and other workflows where a standard static-knowledge model may be insufficient. OpenAI also states that the same search model powers ChatGPT search, reinforcing that this class of model is optimized for timely, citation-backed responses rather than purely closed-book generation.

Main features of gpt-4-search

  • Live web retrieval: The model is intended for queries that need up-to-date information from the public web, rather than relying only on training data.
  • Citation-backed answers: Search-enabled responses can include links or references to sources, helping users inspect where information came from.
  • Search-specialized behavior: OpenAI describes its search preview model as specialized for understanding and executing web search queries.
  • Large context handling: With a 128k context window, the model can manage longer prompts and richer retrieved context than many smaller models.
  • High factual QA utility: OpenAI reports strong benchmark performance for its search-enabled models on short factual question answering, indicating usefulness for research and verification workflows.
  • Good fit for agents and assistants: OpenAI positions web search as a core tool for building assistants such as shopping, research, and travel agents that depend on timely information.
  • Text-focused interaction: The publicly documented search-preview model is text-in/text-out, which aligns well with chat, analysis, and retrieval-driven API tasks.

How to access and integrate gpt-4-search

Step 1: Sign Up for API Key

Sign up on CometAPI and create an API key from the dashboard. After that, store the key as an environment variable such as COMETAPI_API_KEY so your application can authenticate securely with the API.

Step 2: Send Requests to gpt-4-search API

Use CometAPI’s OpenAI-compatible endpoint and specify the model as gpt-4-search.

curl https://api.cometapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_API_KEY" \
  -d '{
    "model": "gpt-4-search",
    "messages": [
      {
        "role": "user",
        "content": "Summarize the latest major AI news and include the most important takeaways."
      }
    ]
  }'

Step 3: Retrieve and Verify Results

Parse the JSON response and read the generated assistant message from the choices[0].message.content field. Because gpt-4-search is intended for search-backed answers, you should also review any returned citations, source references, or related metadata in the response payload when available, and verify important claims before using them in production workflows.

gpt-4-searchの機能

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

gpt-4-searchの料金

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

gpt-4-searchのサンプルコードとAPI

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

その他のモデル

G

Nano Banana 2

入力:$0.4/M
出力:$2.4/M
コア機能の概要: 解像度: 最大4K(4096×4096)、Proと同等。参照画像の一貫性: 参照画像は最大14枚(オブジェクト10件 + キャラクター4件)、スタイル/キャラクターの一貫性を維持。極端なアスペクト比: 1:4、4:1、1:8、8:1を新規追加、縦長画像・ポスター・バナーに最適。テキストレンダリング: 高度なテキスト生成、インフォグラフィックおよびマーケティングポスターのレイアウトに最適。検索機能の強化: Google Search + Image Searchを統合。グラウンディング: 思考プロセスを内蔵、複雑なプロンプトは生成前に推論。
A

Claude Opus 4.6

入力:$4/M
出力:$20/M
Claude Opus 4.6 は、Anthropic の「Opus」クラスの大規模言語モデルで、2026年2月にリリースされた。ナレッジワークや研究ワークフローの主力として位置づけられており、長文脈での推論、多段階の計画立案、ツールの利用(エージェント型ソフトウェアワークフローを含む)、およびスライドやスプレッドシートの自動生成といったコンピュータ操作タスクを強化する。
A

Claude Sonnet 4.6

入力:$2.4/M
出力:$12/M
Claude Sonnet 4.6 は、これまでで最も高性能な Sonnet モデルです。コーディング、コンピューターの利用、長文脈推論、エージェントの計画立案、ナレッジワーク、デザインにわたってモデルのスキルを全面的にアップグレードしました。Sonnet 4.6 は、ベータ版で 1M トークンのコンテキストウィンドウも備えています。
O

GPT-5.4 nano

入力:$0.16/M
出力:$1/M
GPT-5.4 nano は、分類、データ抽出、ランキング、サブエージェントなど、速度とコストが最も重要となるタスク向けに設計されています。
O

GPT-5.4 mini

入力:$0.6/M
出力:$3.6/M
GPT-5.4 mini は、GPT-5.4 の強みを、高スループットのワークロード向けに設計された、より高速で効率的なモデルにもたらします。
A

Claude Mythos Preview

A

Claude Mythos Preview

近日公開
入力:$60/M
出力:$240/M
Claude Mythos Preview は、当社のこれまでで最も高性能なフロンティアモデルであり、 従来のフロンティアモデルである Claude Opus 4.6 と比べ、多くの評価ベンチマークでスコアが顕著に向上していることを示しています。