โมเดลสนับสนุนองค์กรบล็อก
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 สามารถยกระดับโปรเจกต์ของคุณได้อย่างไรในขณะที่ควบคุมต้นทุนให้อยู่ในระดับที่จัดการได้
ราคา Comet (USD / M Tokens)ราคาทางการ (USD / M Tokens)ส่วนลด
ต่อคำขอ:$0.04
ต่อคำขอ:$0.05
-20%

โค้ดตัวอย่างและ API สำหรับ gpt-4-search

เข้าถึงโค้ดตัวอย่างที่ครอบคลุมและทรัพยากร API สำหรับ gpt-4-search เพื่อปรับปรุงกระบวนการผสานรวมของคุณ เอกสารประกอบที่มีรายละเอียดของเราให้คำแนะนำทีละขั้นตอน ช่วยให้คุณใช้ประโยชน์จากศักยภาพเต็มรูปแบบของ 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 + การค้นหาด้วยภาพ. การยึดโยง: มีกระบวนการคิดในตัว; ทำการให้เหตุผลกับพรอมป์ตที่ซับซ้อนก่อนการสร้าง.
A

Claude Opus 4.6

อินพุต:$4/M
เอาต์พุต:$20/M
Claude Opus 4.6 เป็นโมเดลภาษาขนาดใหญ่ระดับ “Opus” ของ Anthropic เปิดตัวในเดือนกุมภาพันธ์ 2026. ถูกวางตำแหน่งให้เป็นกำลังหลักสำหรับงานเชิงความรู้และเวิร์กโฟลว์การวิจัย — ปรับปรุงการให้เหตุผลในบริบทยาว การวางแผนหลายขั้นตอน การใช้เครื่องมือ (รวมถึงเวิร์กโฟลว์ซอฟต์แวร์เชิงตัวแทน) และงานการใช้คอมพิวเตอร์ เช่น การสร้างสไลด์และสเปรดชีตอัตโนมัติ.
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.