Diskon 50% model Vidu Q3 & Q3 Pro · Hanya di WaveSpeedAI | 20 Mei – 2 Jun
openai
openai/gpt-5-codex

openai/gpt-5-codex

400,000 context · $1.25/M input tokens · $10.00/M output tokens

GPT-5-Codex is a specialized version of GPT-5 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

Harga

Bayar sesuai pemakaian

Tanpa biaya di muka, bayar hanya sesuai penggunaan

Input$1.25 / M Tokens
Output$10.00 / M Tokens
Cache Read$0.13 / M Tokens

Coba model

openai/gpt-5-codex
Online
openai
Hai! Saya asisten AI yang siap membantu. Ada yang bisa saya bantu?

Penggunaan API

Gunakan contoh kode berikut untuk integrasi dengan API kami:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="openai/gpt-5-codex",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Pengenalan Model

Openai gpt-5-codex

openai gpt-5-codex


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 400000 context window for long document handling
  • Competitive pricing at $1.4/$11.0 per million tokens

Key Features

  • Context Window: 400000 tokens
  • Max Output: 128000 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderOpenai
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window400000 tokens
Max Output128000 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$1.4
Output$11.0

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: openai/gpt-5-codex


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="openai/gpt-5-codex",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "openai/gpt-5-codex",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: openai/gpt-5-codex
  • Provider: Openai

Info

Penyediaopenai
Tipellm

Fitur yang Didukung

Input
TeksGambar
Output
Teks
Konteks400,000
Output Maks128,000
Vision✓ Didukung
Function Calling✓ Didukung

Panduan Akses API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDopenai/gpt-5-codex

GPT 5 Codex API

openai/gpt-5-codex

GPT-5-Codex is a specialized version of GPT-5 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

Input

$1.25 /M

Output

$10 /M

Konteks

400K

Output Maks.

128K

Vision

Didukung

Penggunaan Tool

Didukung

Coba GPT 5 Codex di WaveSpeedAI

Akses GPT 5 Codex melalui API terpadu kami — kompatibel dengan OpenAI, tanpa cold start, harga transparan.

Pertanyaan Umum tentang GPT 5 Codex

Berapa biaya GPT 5 Codex melalui API?+

Harga di WaveSpeedAI: $1.25 per juta token input dan $10.00 per juta token output. Prompt caching dan batch processing ditagih terpisah dan mengurangi biaya efektif pada beban kerja yang panjang dan berulang.

Berapa context window GPT 5 Codex?+

GPT 5 Codex mendukung hingga 400K token konteks dengan hingga 128K token output per permintaan.

Apakah GPT 5 Codex kompatibel dengan OpenAI?+

Ya. WaveSpeedAI menyediakan GPT 5 Codex melalui endpoint yang kompatibel dengan OpenAI di https://llm.wavespeed.ai/v1. Arahkan OpenAI SDK resmi ke base URL ini dengan API key WaveSpeedAI Anda — tanpa perubahan kode lainnya.

Bagaimana memulai dengan GPT 5 Codex?+

Masuk ke WaveSpeedAI, buat API key di Access Keys, lalu kirim permintaan ke https://llm.wavespeed.ai/v1/chat/completions dengan model id seperti ditampilkan di atas. Akun baru menerima kredit gratis untuk menguji GPT 5 Codex.

API LLM terkait