OpenAI โมเดล

GPT 5 Codex

GPT 5 Codex เปรียบเทียบราคา API ผู้ให้บริการ ความยาว context ความสามารถ use case latency และทางเลือกที่ใกล้เคียง General chat via OpenAI, API workloads. $0.236 / 1M tokens / $1.88 / 1M tokens. — tokens.

OpenAIPlatform curatedCatalog
Streaming
ราคา input$0.236 / 1M tokens
ราคา output$1.88 / 1M tokens
ความยาว context— tokens
เอาต์พุตสูงสุด8.2k tokens

GPT 5 Codex ใน NextModel คืออะไร?

GPT 5 Codex เปรียบเทียบราคา API ผู้ให้บริการ ความยาว context ความสามารถ use case latency และทางเลือกที่ใกล้เคียง General chat via OpenAI, API workloads. $0.236 / 1M tokens / $1.88 / 1M tokens. — tokens.

use case ที่เหมาะ

  • General chat via OpenAI
  • API workloads

ตัวอย่างโค้ดที่เข้ากันได้กับ OpenAI

คงรูปแบบ OpenAI SDK เดิม ชี้ base_url ไปที่ NextModel และใช้ ID จากแคตตาล็อก openai--gpt-5-codex.

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.nextmodel.app/v1"
)

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

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

ทางเลือกที่คล้ายกัน

OpenAICatalog

This model is a variant of GPT-3.5 Turbo tuned for instructional prompts and omitting chat-related optimizations. Training data: up to Sep 2021.

$0.282 / 1M tokensInput$0.376 / 1M tokensOutput4.1kContext
Best forGeneral chat via OpenAI, API workloads
RoutingConfigured
StreamingJSON mode
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenAICatalog

Available through the NextModel gateway via OpenAI.

$0.029 / 1M tokensInput$0.114 / 1M tokensOutputContext
Best forGeneral chat via OpenAI, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenAICatalog

Available through the NextModel gateway via OpenAI.

$0.47 / 1M tokensInput$1.88 / 1M tokensOutputContext
Best forGeneral chat via OpenAI, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details

FAQ

GPT 5 Codex FAQ