模型支援企業部落格
500+ AI 模型 API,全部整合在一個 API 中。就在 CometAPI
模型 API
開發者
快速入門說明文件API 儀表板
資源
AI模型部落格企業更新日誌關於
2025 CometAPI. 保留所有權利。隱私政策服務條款
Home/Models/OpenAI/gpt-4-0125-preview
O

gpt-4-0125-preview

輸入:$8/M
輸出:$16/M
商業用途
概覽
功能
定價
API

Technical Specifications of gpt-4-0125-preview

SpecificationDetails
Model IDgpt-4-0125-preview
ProviderOpenAI
Model familyGPT-4 Turbo Preview
Model typeLarge language model for text input and text output
Release statusResearch preview / older fast GPT model
Context window128,000 tokens
Max output tokens4,096 tokens
Knowledge cutoffDecember 1, 2023
Supported modalitiesText input, text output
Vision supportNot supported
Audio supportNot supported
Video supportNot supported
Pricing$10.00 / 1M input tokens, $30.00 / 1M output tokens
Common endpoints listed by OpenAIv1/chat/completions, v1/responses, v1/assistants, v1/batch
Snapshot / alias relationshipListed under GPT-4 Turbo Preview snapshots and aliases
Current platform statusDeprecated on OpenAI’s side

What is gpt-4-0125-preview?

gpt-4-0125-preview is OpenAI’s January 25, 2024 preview snapshot of GPT-4 Turbo, exposed as a text-only API model with a 128K context window and positioned as an older fast GPT model. OpenAI describes it as a research preview and associates it with the GPT-4 Turbo Preview line rather than the newer GPT-4.1 or GPT-4o families. According to OpenAI’s model documentation, it supports text input and text output, has a December 1, 2023 knowledge cutoff, and allows up to 4,096 output tokens.

The January 2024 update was introduced as an improved GPT-4 Turbo preview intended to complete tasks, especially code-generation tasks, more thoroughly than the earlier preview version. OpenAI’s release messaging around this snapshot emphasized reducing cases of so-called “laziness,” where the model might otherwise stop short of fully carrying out a request.

For CometAPI users, the important distinction is that gpt-4-0125-preview is the platform identifier you should pass when you specifically want this legacy GPT-4 Turbo preview behavior. Even though OpenAI now labels the snapshot as deprecated, it remains a recognizable historical model version with well-known characteristics: long context, strong general reasoning for its generation, and compatibility with traditional chat-style text workflows.

Main features of gpt-4-0125-preview

  • 128K context window: Supports very large prompts and long multi-turn conversations, making it suitable for summarization, document analysis, code review, and other context-heavy text tasks.
  • Improved task completion versus earlier preview builds: The January 25, 2024 snapshot was released specifically to improve thoroughness, especially for code generation and other tasks where prior previews could respond incompletely.
  • Text-only operation: This model is designed for text input and text output only; OpenAI lists image, audio, and video as not supported for this snapshot.
  • Large-scale prompt handling: With its long context window and GPT-4 Turbo lineage, it fits workflows that need instruction-heavy prompting, large reference materials, or multi-part reasoning over long inputs.
  • API compatibility across common text endpoints: OpenAI lists it under standard API surfaces such as Chat Completions, Responses, Assistants, and Batch, which made it easy to integrate into existing application pipelines built around OpenAI-style request formats.
  • Known legacy snapshot behavior: Because it is a dated preview snapshot, some teams prefer it when they need reproducibility tied to a specific GPT-4 Turbo-era model version rather than a moving alias. OpenAI explicitly lists gpt-4-0125-preview among GPT-4 Turbo Preview snapshots/aliases. This is partly an inference from snapshot-based versioning behavior, supported by OpenAI’s model page.
  • Deprecated upstream status: OpenAI now marks gpt-4-0125-preview as deprecated, so it is best treated as a legacy compatibility option rather than a future-facing default.

How to access and integrate gpt-4-0125-preview

Step 1: Sign Up for API Key

To get started, create an account on CometAPI and generate your API key from the dashboard. Once you have the key, store it securely and use it in the Authorization header for all requests. CometAPI provides an OpenAI-compatible API surface, so the integration pattern is straightforward for teams already using standard chat completion workflows.

Step 2: Send Requests to gpt-4-0125-preview API

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

curl https://api.cometapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_COMETAPI_KEY" \
  -d '{
    "model": "gpt-4-0125-preview",
    "messages": [
      {
        "role": "user",
        "content": "Write a concise summary of the benefits of long-context language models."
      }
    ]
  }'

Step 3: Retrieve and Verify Results

The API returns a standard chat completion response. Read the generated content from the first choice, then validate the output for correctness, completeness, and formatting before using it in production. If your workflow depends on stable behavior, run prompt-level tests and compare results regularly, especially because gpt-4-0125-preview is a legacy preview model identifier with deprecated upstream status.

gpt-4-0125-preview 的功能

探索 gpt-4-0125-preview 的核心功能,專為提升效能和可用性而設計。了解這些功能如何為您的專案帶來效益並改善使用者體驗。

gpt-4-0125-preview 的定價

探索 gpt-4-0125-preview 的競爭性定價,專為滿足各種預算和使用需求而設計。我們靈活的方案確保您只需為實際使用量付費,讓您能夠隨著需求增長輕鬆擴展。了解 gpt-4-0125-preview 如何在保持成本可控的同時提升您的專案效果。
彗星價格 (USD / M Tokens)官方價格 (USD / M Tokens)折扣
輸入:$8/M
輸出:$16/M
輸入:$10/M
輸出:$20/M
-20%

gpt-4-0125-preview 的範例程式碼和 API

存取完整的範例程式碼和 API 資源,以簡化您的 gpt-4-0125-preview 整合流程。我們詳盡的文件提供逐步指引,協助您在專案中充分發揮 gpt-4-0125-preview 的潛力。

更多模型

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。Grounding:內建思考過程;在生成前會先對複雜提示進行推理。
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 詞元的上下文視窗,目前處於 Beta 階段。
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 相比,在多項評測基準上的分數呈現出 顯著躍升。