← All models
OpenAI
GPT-5
OpenAI's flagship general-purpose model.
chatreasoningvisiontools
Input price
$3.00
per 1M tokens (with markup)
Output price
$12.00
per 1M tokens (with markup)
Context window
256,000
tokens max input
About GPT-5
GPT-5 is OpenAI's flagship LLM — strong reasoning, tool use, vision, and JSON mode. Drop-in for anything you'd use GPT-4o for.
Capabilities
✓Streaming
✓Tool calling / function calls
✓Vision input
✓JSON mode
Use it through OneAPIKey
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.ONEAPIKEY_API_KEY,
baseURL: "https://oneapikey.app/v1",
});
const res = await client.chat.completions.create({
model: "gpt-5",
messages: [{ role: "user", content: "Hello!" }],
});