GPT-5.3 Codex API

openai/gpt-5.3-codex
The most capable agentic coding model ever built, combining frontier coding, deep reasoning, and full computer-use into one model that works with you, not just for you.
Context
400K tokens
Input
$3.703 / 1M tokens
Output
$29.624 / 1M tokens
Released
Mar 2, 2026

Overview

GPT-5.3 Codex API: The Next Generation Agentic Coding Model

Meet GPT‑5.3 Codex, OpenAI’s most advanced agentic coding model for building autonomous, tool‑using developer agents and production‑grade AI workflows. Unlike a simple code autocomplete tool, GPT‑5.3‑Codex can initiate and sustain long-running tasks: conducting research, using external tools, managing deployments, writing documentation, and iterating on complex software over millions of tokens — all while keeping you actively in the loop.

GPT-5.3 Codex API Pricing

  • Input: $2.275 per 1M tokens
  • ‍Cached input: $0.2275 per 1M tokens
  • ‍Output: $18.20 per 1M tokens

Built for Everything Developers Actually Do

Frontier Coding

Achieves state-of-the-art performance on SWE-Bench Pro — a rigorous, multi-language real-world software engineering benchmark. Resolves complex GitHub issues across Python, JavaScript, TypeScript, Rust, and more.

Advanced Web Development

Builds fully functional, visually polished web apps and games from scratch. GPT‑5.3‑Codex autonomously iterated on complex games over millions of tokens, understanding intent without exhaustive specification.

Research & Analysis

Reads documentation, runs web research, analyzes structured data, and writes comprehensive reports. It can summarize thousands of data points in minutes with concise, actionable insights.

Professional Knowledge Work

Matches GPT‑5.2 on GDPval — OpenAI's benchmark across 44 occupations. Creates presentations, spreadsheets, PRDs, financial analyses, training documents, and more at professional quality.

Setting New Industry Records

GPT‑5.3‑Codex achieves new state-of-the-art results on four benchmarks measuring coding ability, terminal proficiency, computer use, and professional knowledge work.

__wf_reserved_inherit
All evaluations run with xhigh reasoning effort.

Use Cases

GPT‑5.3 Codex is best suited where coding, tool‑use, and structured reasoning must come together.

Software Engineering

  • Automated bug‑fixing agents that run tests, interpret failures, and propose changes with explanations.
  • Large‑scale refactors across services or monorepos using the long context window to keep architecture and constraints in view.
  • Continuous code review bots that can enforce patterns, detect risky changes, and comment directly in pull requests.​

Knowledge Work and Operations

  • Document drafting for design docs, incident reports, and changelogs based on code diffs and system logs.​
  • Spreadsheet analysis, KPI explanations, and slide generation for engineering management and product stakeholders.​
  • Operational agents that help with deployment tasks, configuration changes, and capacity planning using production tooling.

Uptime and performance

  • Uptime (7d): 100%

Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.

Use cases

GPT-5.3-Codex is documented as suited to debugging code and fixing failures in software workflows. It is also suited to deploying and monitoring software systems as part of the full software lifecycle. Another documented use case is writing product requirements documents, user research, and editing copy. It is also described as useful for slide decks and analyzing data in spreadsheets.

How to use GPT-5.3 Codex API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to openai/gpt-5.3-codex.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "openai/gpt-5.3-codex",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ]
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "openai/gpt-5.3-codex",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-5.3-codex","messages":[{"role":"user","content":"Hello!"}]}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

GPT-5.3 Codex API Pricing

TypePrice
Input
$3.703 / 1M tokens
Output
$29.624 / 1M tokens
Cached input
$0.3703 / 1M tokens

GPT-5.3 Codex Benchmarks

BenchmarkScoreWhat it measuresSourceRetrieved
OSWorld
64.7%
Computer-use across real desktop applicationsSourceJuly 12, 2026
Terminal-Bench
77.3%
Autonomous shell/terminal task completionSourceJuly 12, 2026
Intelligence
32.5
Composite score across standardised reasoning, knowledge and problem-solving evaluations, measured independently by Artificial AnalysisSourceSeptember 12, 2026

GPT-5.3 Codex vs other models

ModelInputOutputContextBest for
GPT-5.3 Codex
This page
$3.703 / 1M tokens
$29.624 / 1M tokens
400K tokens
Reasoning + agents
$5 / 1M tokens
$30 / 1M tokens
1M tokens
Reasoning + agents
$2 / 1M tokens
$10 / 1M tokens
1M tokens
Balanced coding + agents
$3 / 1M tokens
$15 / 1M tokens
1M tokens
Long-context, multimodal & agentic workflows
$1.5 / 1M tokens
$9 / 1M tokens
1M tokens
Reasoning + agents

Frequently asked questions

GPT-5.3 Codex has a 400,000 tokens context window and can return up to 128,000 tokens.

GPT-5.3 Codex takes image, text as input and returns text.

Use openai/gpt-5.3-codex as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

GPT-5.3 Codex became available on March 2, 2026.

GPT-5.3 Codex is priced at input $4.8139 / 1M tokens, output $38.5112 / 1M tokens, cached input $0.48139 / 1M tokens.

Yes, GPT-5.3 Codex can stream responses as they are generated.

Yes, GPT-5.3 Codex accepts image input alongside text.

GPT-5.3 Codex was built by OpenAI.

Start building with GPT-5.3 Codex

Get API Key
1000+ models, one API.