# Gpt Codex (latest)

> Always resolves to the newest live Gpt Codex model — currently GPT-5.3 Codex (openai/gpt-5.3-codex). GPT-5.3 Codex is the Codex-environment variant of GPT-5.3 for agentic coding with streaming, function calling, and structured outputs.


**ID**: `openai/gpt-codex-latest`  
**Creator**: OpenAI  
**Category**: text  
**Context**: 400K tokens  
**Family alias**: always resolves to the newest live family member — currently [`openai/gpt-5.3-codex`](https://anyrouter.dev/model/openai/gpt-5.3-codex). Specs below are openai/gpt-5.3-codex's.  
**Fallback order**: `openai/gpt-5.3-codex` → `openai/gpt-5.2-codex` → `openai/gpt-5.1-codex` → `openai/gpt-5-codex`  
**Pricing**: $1.75 / $14.00 per 1M · billed by your provider (BYOK)  
**Released**: 2026-02-25  
**Web page**: https://anyrouter.dev/model/openai/gpt-codex-latest

**Input modalities**: text, image  
**Output modalities**: text  

**Tokenizer**: GPT

**Capabilities**: chat, coding, reasoning, streaming, function-calling, vision

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "openai/gpt-codex-latest",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| opencode-zen-byok | $1.75/M (list) | $14.00/M (list) |
| router-byok | $1.75/M (list) | $14.00/M (list) |
| vercel-byok | $1.75/M (list) | $14.00/M (list) |
| openrouter-byok | $1.75/M (list) | $14.00/M (list) |
| nousresearch-byok | $1.75/M (list) | $14.00/M (list) |
| computrix-byok | $1.75/M (list) | $14.00/M (list) |
| infron-byok | $1.40/M (list) | $11.20/M (list) |
| llmgateway-byok | $1.75/M (list) | $14.00/M (list) |
| requesty-byok | $1.75/M (list) | $14.00/M (list) |
| aimlapi-byok | $3.70/M (list) | $29.62/M (list) |
| zenmux-byok | $1.75/M (list) | $14.00/M (list) |
| aihubmix-byok | $1.75/M (list) | $14.00/M (list) |
| orcarouter-byok | $1.75/M (list) | $14.00/M (list) |
| openai-byok | $1.75/M (list) | $14.00/M (list) |
| nano-gpt-byok | $1.75/M (list) | $14.00/M (list) |
| edenai-byok | $1.75/M (list) | $14.00/M (list) |
| ofox-byok | $1.75/M (list) | $14.00/M (list) |
| abacus-byok | $1.75/M (list) | $14.00/M (list) |
| fluence-byok | $1.26/M (list) | $10.11/M (list) |
| poe-byok | $1.75/M (list) | $14.00/M (list) |
| jiekou-byok | $1.75/M (list) | $14.00/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Benchmarks

- **GPQA Diamond**: 0.9
- **HLE**: 0.4
- **τ²-Bench Telecom**: 0.9
- **SciCode**: 0.5

## Source

- Upstream docs: https://developers.openai.com/api/docs/models/gpt-5.3-codex
