U

gpt-5-codex-2025-09-15

4k ContextTextPopular

gpt-5-codex-2025-09-15. versatile general-purpose AI.

Quick Start Guide

example.tsTypeScript
import OpenAI from "openai";

const openai = new OpenAI({
  baseURL: "https://api.okrouter.com/v1",
  apiKey: "<YOUR_OKROUTER_KEY>",
});

async function main() {
  const completion = await openai.chat.completions.create({
    model: "gpt-5-codex-2025-09-15",
    messages: [
      { role: "user", content: "Hello! What can you do?" }
    ],
  });

  console.log(completion.choices[0].message);
}

main();

Getting started with gpt-5-codex-2025-09-15 is easy. Since OkRouter is fully compatible with the OpenAI SDK, you can use existing libraries to access this model immediately. gpt-5-codex-2025-09-15 is fully compatible with the OpenAI Chat Completions API. distinctive features include Standard context handling and Text support.

Frequently Asked Questions

?How much does gpt-5-codex-2025-09-15 cost?

gpt-5-codex-2025-09-15 costs $60.00 per 1M input tokens and $480.00 per 1M output tokens via OkRouter. This is 20% cheaper than OpenRouter with the same great performance.

?Is gpt-5-codex-2025-09-15 compatible with OpenAI SDK?

Yes! gpt-5-codex-2025-09-15 works seamlessly with all OpenAI SDKs (Python, JavaScript, Go, etc.). Simply change your base_url to api.okrouter.com and use your OkRouter API key. No code changes needed.

?What programming languages does gpt-5-codex-2025-09-15 support?

gpt-5-codex-2025-09-15 supports all major programming languages including Python, JavaScript, TypeScript, Java, C++, Go, Rust, and more. It excels at code generation, debugging, and explaining complex algorithms.