U
gpt-5-codex
4k ContextTextPopular
gpt-5-codex with budget-friendly pricing. versatile general-purpose AI.
Pricing / 1M
USD
Input$1
Output$8
Context Window
4ktokens
Avg Latency
450ms
Frequently Asked Questions
?How much does gpt-5-codex cost?
gpt-5-codex costs $1.00 per 1M input tokens and $8.00 per 1M output tokens via OkRouter. This is 20% cheaper than OpenRouter with the same great performance.
?Is gpt-5-codex compatible with OpenAI SDK?
Yes! gpt-5-codex 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 support?
gpt-5-codex 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.