OpenAI
GPT-5 Pro
OpenAI's 2025 flagship model, comprehensively surpassing GPT-4 with exceptional performance in reasoning, coding, and creative writing
Context Length256K tokens
Model TypeLarge Language Model (LLM)
MultimodalSupports text, image, and audio input
ๅฎไปทไธ่งๆ ผ
๐ฐ ๅฎไปท
่พๅ
ฅ$1.25 / M tokens
่พๅบ$10 / M tokens
โ๏ธ ่งๆ ผ
Context Length256K tokens
Model TypeLarge Language Model (LLM)
MultimodalSupports text, image, and audio input
Training Cutoff DateJune 2025
API ่ฐ็จ็คบไพ
Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.xairouter.com/v1",
api_key="your-api-key"
)
response = client.chat.completions.create(
model="gpt-5-chat",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)cURL
curl https://api.xairouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "gpt-5-chat",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'