gpt-5-codex#
Providers / OpenAI / gpt-5-codex
📋 Overview#
- ID:
gpt-5-codex - Provider: OpenAI
- Authors:
- Release Date: 2025-09-15
- Knowledge Cutoff: 2024-09-30
- Open Weights: false
- Context Window: 400k tokens
- Max Output: 128k tokens
🔬 Technical Specifications#
Sampling Controls:
🎯 Capabilities#
Feature Overview#
Input/Output Modalities#
| Direction | Text | Image | Audio | Video | |
|---|---|---|---|---|---|
| Input | ✅ | ❌ | ❌ | ❌ | ❌ |
| Output | ✅ | ❌ | ❌ | ❌ | ❌ |
Core Features#
| Tool Calling | Tool Definitions | Tool Choice | Web Search | File Attachments |
|---|---|---|---|---|
| ❌ | ❌ | ❌ | ❌ | ❌ |
Response Delivery#
| Streaming | Structured Output | JSON Mode | Function Call | Text Format |
|---|---|---|---|---|
| ✅ | ❌ | ❌ | ❌ | ✅ |
🎛️ Generation Controls#
Sampling & Decoding#
| Temperature | Top-P |
|---|---|
| 0.0-2.0 | 0.0-1.0 |
Length & Termination#
| Max Tokens | Stop Sequences |
|---|---|
| 1-128k | ✅ |
💰 Pricing#
Pricing shown for OpenAI
Token Pricing#
| Input | Output | Reasoning | Cache Read | Cache Write |
|---|---|---|---|---|
| $1.25/1M | $10.00/1M | - | - | - |
💰 Cost Calculator#
Calculate costs for common usage patterns:
| Use Case | Input | Output | Total Cost |
|---|---|---|---|
| Quick chat (1K in, 500 out) | 1k tokens | 500 tokens | $0.006250 |
| Document summary (10K in, 1K out) | 10k tokens | 1k tokens | $0.0225 |
| RAG query (50K in, 2K out) | 50k tokens | 2k tokens | $0.0825 |
| Code generation (5K in, 10K out) | 5k tokens | 10k tokens | $0.1063 |
Pricing Formula:
1Cost = (Input Tokens / 1M × $1.25) + (Output Tokens / 1M × $10.00)📊 Example Costs#
Real-world usage examples and their costs:
| Usage Tier | Daily Volume | Monthly Tokens | Monthly Cost |
|---|---|---|---|
| Personal (10 chats/day) | 10 chats | 675k | $2.81 |
| Small Team (100 chats/day) | 100 chats | 9.0M | $37.50 |
| Enterprise (1000 chats/day) | 1000 chats | 135.0M | $562.50 |
📋 Metadata#
Created: 2025-10-20 22:31:57 UTC
Last Updated: 2025-10-20 22:31:57 UTC
Navigation#
Last Updated: 2025-10-21 23:55:56 UTC | Generated by ModelWiki