Please read these terms and conditions carefully before using Our Service.
Last updated
GPT-5 represents OpenAI’s most advanced evolution yet, delivering human-level reasoning, multimodal understanding, and high output quality.
Released on August 7, 2025, it’s crafted for complex coding, extended context workflows, agentic tasks, and safe, reliable interaction — backed by improved affordability and broader accessibility.
| Model Variant | Best For | Pricing (per 1M tokens) |
|---|---|---|
| GPT-5 (Standard) | Full reasoning, coding, multimodal tasks | Input: $1.25 (cached: $0.125), Output: $10.00 |
| GPT-5 Mini | Faster, cost-efficient tasks | Input: $0.25 (cached: $0.025), Output: $2.00 |
| GPT-5 Nano | Ultra-low latency, simple classifications | Input: $0.05 (cached: $0.005), Output: $0.40 |
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY")
resp = client.chat.completions.create(
model="gpt-5",
messages=[{"role":"user","content":"Generate a responsive Pomodoro timer UI in HTML/CSS/JS."}]
)
print(resp.choices[0].message["content"])
const res = await fetch("https://api.openai.com/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": `Bearer ${API_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
model: "gpt-5-mini",
messages: [{ "role": "user", "content": "Explain blockchain for beginners." }]
})
});
const data = await res.json();
console.log(data.choices[0].message.content);
curl https://api.openai.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5-nano","messages":[{"role":"user","content":"Summarize AI ethics in
3 lines."}]}'