ModelSokonganPerusahaanBlog
500+ API Model AI, Semua Dalam Satu API. Hanya Di CometAPI
API Model
Pembangun
Mula PantasDokumentasiPapan Pemuka API
Sumber
Model AIBlogPerusahaanLog PerubahanTentang
2025 CometAPI. Hak cipta terpelihara.Dasar PrivasiTerma Perkhidmatan
Home/Models/OpenAI/gpt-4-0125-preview
O

gpt-4-0125-preview

Masukan:$8/M
Keluaran:$16/M
Penggunaan komersial
Gambaran Keseluruhan
Ciri-ciri
Harga
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.

Ciri-ciri untuk gpt-4-0125-preview

Terokai ciri-ciri utama gpt-4-0125-preview, yang direka untuk meningkatkan prestasi dan kebolehgunaan. Temui bagaimana keupayaan ini boleh memberi manfaat kepada projek anda dan meningkatkan pengalaman pengguna.

Harga untuk gpt-4-0125-preview

Terokai harga yang kompetitif untuk gpt-4-0125-preview, direka bentuk untuk memenuhi pelbagai bajet dan keperluan penggunaan. Pelan fleksibel kami memastikan anda hanya membayar untuk apa yang anda gunakan, menjadikannya mudah untuk meningkatkan skala apabila keperluan anda berkembang. Temui bagaimana gpt-4-0125-preview boleh meningkatkan projek anda sambil mengekalkan kos yang terurus.
Harga Comet (USD / M Tokens)Harga Rasmi (USD / M Tokens)Diskaun
Masukan:$8/M
Keluaran:$16/M
Masukan:$10/M
Keluaran:$20/M
-20%

Kod contoh dan API untuk gpt-4-0125-preview

Akses kod sampel yang komprehensif dan sumber API untuk gpt-4-0125-preview bagi memperlancar proses integrasi anda. Dokumentasi terperinci kami menyediakan panduan langkah demi langkah, membantu anda memanfaatkan potensi penuh gpt-4-0125-preview dalam projek anda.

Lebih Banyak Model

G

Nano Banana 2

Masukan:$0.4/M
Keluaran:$2.4/M
Gambaran Keseluruhan Keupayaan Teras: Resolusi: Sehingga 4K (4096×4096), setara dengan Pro. Ketekalan Imej Rujukan: Sehingga 14 imej rujukan (10 objek + 4 watak), mengekalkan ketekalan gaya/watak. Nisbah Aspek Melampau: Nisbah baharu 1:4, 4:1, 1:8, 8:1 ditambah, sesuai untuk imej panjang, poster dan sepanduk. Penjanaan Teks: Penjanaan teks lanjutan, sesuai untuk infografik dan susun atur poster pemasaran. Peningkatan Carian: Carian Google + Carian Imej bersepadu. Pembumian: Proses pemikiran terbina dalam; arahan kompleks dirasionalkan sebelum penjanaan.
A

Claude Opus 4.6

Masukan:$4/M
Keluaran:$20/M
Claude Opus 4.6 ialah model bahasa besar kelas “Opus” oleh Anthropic, dikeluarkan pada Februari 2026. Ia diposisikan sebagai tulang belakang untuk kerja berpengetahuan dan aliran kerja penyelidikan — menambah baik penaakulan berkonteks panjang, perancangan berbilang langkah, penggunaan alat (termasuk aliran kerja perisian berasaskan ejen), dan tugas penggunaan komputer seperti penjanaan slaid dan hamparan automatik.
A

Claude Sonnet 4.6

Masukan:$2.4/M
Keluaran:$12/M
Claude Sonnet 4.6 ialah model Sonnet kami yang paling berkeupayaan setakat ini. Ia merupakan peningkatan menyeluruh terhadap kemahiran model yang meliputi pengaturcaraan, penggunaan komputer, penaakulan konteks panjang, perancangan agen, kerja berasaskan pengetahuan, dan reka bentuk. Sonnet 4.6 turut menampilkan tetingkap konteks 1M token dalam beta.
O

GPT-5.4 nano

Masukan:$0.16/M
Keluaran:$1/M
GPT-5.4 nano direka untuk tugasan yang amat mengutamakan kelajuan dan kos, seperti pengelasan, pengekstrakan data, pemeringkatan dan sub-agen.
O

GPT-5.4 mini

Masukan:$0.6/M
Keluaran:$3.6/M
GPT-5.4 mini membawa kekuatan GPT-5.4 ke dalam model yang lebih pantas dan lebih cekap, direka untuk beban kerja berskala besar.
A

Claude Mythos Preview

A

Claude Mythos Preview

Akan datang
Masukan:$60/M
Keluaran:$240/M
Claude Mythos Preview ialah model terdepan kami yang paling berkemampuan setakat ini, dan menunjukkan lonjakan yang ketara dalam skor pada banyak penanda aras penilaian berbanding model terdepan kami sebelum ini, Claude Opus 4.6.