50 % Rabatt auf Vidu Q3 & Q3 Pro — nur bei WaveSpeedAI | 20. Mai – 2. Juni
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....

Preise

Pay-per-Use

Keine Vorabkosten, zahlen Sie nur, was Sie nutzen

Eingabe$1.25 / M Tokens
Ausgabe$10.00 / M Tokens
Cache Read$0.13 / M Tokens

Modell ausprobieren

openai/gpt-5-codex
Online
openai
Hallo! Ich bin ein hilfreicher KI-Assistent. Womit kann ich helfen?

API-Nutzung

Verwenden Sie die folgenden Codebeispiele zur Integration mit unserer API:

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)

Modelleinführung

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

Anbieteropenai
Typllm

Unterstützte Funktionen

Eingabe
TextBild
Ausgabe
Text
Kontext400,000
Max. Ausgabe128,000
Vision✓ Unterstützt
Function Calling✓ Unterstützt

API-Zugriffsanleitung

Base URLhttps://llm.wavespeed.ai/v1
API-Endpunktchat/completions
Modell-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....

Eingabe

$1.25 /M

Ausgabe

$10 /M

Kontext

400K

Max. Ausgabe

128K

Vision

Unterstützt

Tool-Nutzung

Unterstützt

GPT 5 Codex auf WaveSpeedAI testen

Zugriff auf GPT 5 Codex über unsere einheitliche API — OpenAI-kompatibel, keine Kaltstarts, transparente Preise.

Häufige Fragen zu GPT 5 Codex

Wie viel kostet die GPT 5 Codex-API?+

Preise auf WaveSpeedAI: $1.25 pro Million Input-Tokens und $10.00 pro Million Output-Tokens. Prompt-Caching und Batch-Verarbeitung werden separat berechnet und reduzieren die effektiven Kosten bei langen, sich wiederholenden Workloads.

Wie groß ist das Kontextfenster von GPT 5 Codex?+

GPT 5 Codex unterstützt bis zu 400K Kontext-Tokens und bis zu 128K Output-Tokens pro Anfrage.

Ist GPT 5 Codex OpenAI-kompatibel?+

Ja. WaveSpeedAI stellt GPT 5 Codex über einen OpenAI-kompatiblen Endpunkt unter https://llm.wavespeed.ai/v1 bereit. Richten Sie das offizielle OpenAI SDK mit Ihrem WaveSpeedAI-API-Schlüssel auf diese Base-URL — keine weiteren Codeänderungen erforderlich.

Wie starte ich mit GPT 5 Codex?+

Bei WaveSpeedAI anmelden, in Access Keys einen API-Schlüssel erstellen und eine Anfrage an https://llm.wavespeed.ai/v1/chat/completions mit der oben angezeigten Model-ID senden. Neue Konten erhalten kostenlose Credits, um GPT 5 Codex zu testen.

Verwandte LLM-APIs