A pelican for GPT-5.5 via the semi-official Codex backdoor API

Simon Willison's Blog / 4/24/2026

💬 OpinionSignals & Early TrendsIndustry & Market MovesModels & Research

Key Points

  • GPT-5.5 has launched in OpenAI Codex and is rolling out to paid ChatGPT subscribers, with early previews showing strong speed and capability.
  • The release does not include an API offering yet, with OpenAI citing the need for additional safety and security safeguards before scaling API deployments.
  • A blog post discusses the “OpenClaw backdoor” controversy around how agent harnesses interact with provider subscription discounts and API access controls.
  • The author explores whether developers can integrate with OpenAI Codex-specific APIs using a semi-official “backdoor” approach that could potentially piggyback on existing subscriptions.
  • The piece emphasizes that for benchmarks like the author’s “pelican benchmark,” using the API is preferred to avoid hidden system prompts in ChatGPT/agent harnesses affecting results.
Sponsored by: Honeycomb — AI agents behave unpredictably. Get the context you need to debug what actually happened. Read the blog

A pelican for GPT-5.5 via the semi-official Codex backdoor API

23rd April 2026

GPT-5.5 is out. It’s available in OpenAI Codex and is rolling out to paid ChatGPT subscribers. I’ve had some preview access and found it to be a fast, effective and highly capable model. As is usually the case these days, it’s hard to put into words what’s good about it—I ask it to build things and it builds exactly what I ask for!

There’s one notable omission from today’s release—the API:

API deployments require different safeguards and we are working closely with partners and customers on the safety and security requirements for serving it at scale. We’ll bring GPT‑5.5 and GPT‑5.5 Pro to the API very soon.

When I run my pelican benchmark I always prefer to use an API, to avoid hidden system prompts in ChatGPT or other agent harnesses from impacting the results.

The OpenClaw backdoor

One of the ongoing tension points in the AI world over the past few months has concerned how agent harnesses like OpenClaw and Pi interact with the APIs provided by the big providers.

Both OpenAI and Anthropic offer popular monthly subscriptions which provide access to their models at a significant discount to their raw API.

OpenClaw integrated directly with this mechanism, and was then blocked from doing so by Anthropic. This kicked off a whole thing. OpenAI—who recently hired OpenClaw creator Peter Steinberger—saw an opportunity for an easy karma win and announced that OpenClaw was welcome to continue integrating with OpenAI’s subscriptions via the same mechanism used by their (open source) Codex CLI tool.

Does this mean anyone can write code that integrates with OpenAI’s Codex-specific APIs to hook into those existing subscriptions?

The other day Jeremy Howard asked:

Anyone know whether OpenAI officially supports the use of the /backend-api/codex/responses endpoint that Pi and Opencode (IIUC) uses?

It turned out that on March 30th OpenAI’s Romain Huet had tweeted:

We want people to be able to use Codex, and their ChatGPT subscription, wherever they like! That means in the app, in the terminal, but also in JetBrains, Xcode, OpenCode, Pi, and now Claude Code.

That’s why Codex CLI and Codex app server are open source too! 🙂

And Peter Steinberger replied to Jeremy that:

OpenAI sub is officially supported.

llm-openai-via-codex

So... I had Claude Code reverse-engineer the openai/codex repo, figure out how authentication tokens were stored and build me llm-openai-via-codex, a new plugin for LLM which picks up your existing Codex subscription and uses it to run prompts!

(With hindsight I wish I’d used GPT-5.4 or the GPT-5.5 preview, it would have been funnier. I genuinely considered rewriting the project from scratch using Codex and GPT-5.5 for the sake of the joke, but decided not to spend any more time on this!)

Here’s how to use it:

  1. Install Codex CLI, buy an OpenAI plan, login to Codex
  2. Install LLM: uv tool install llm
  3. Install the new plugin: llm install llm-openai-via-codex
  4. Start prompting: llm -m openai-codex/gpt-5.5 'Your prompt goes here'

All existing LLM features should also work—use -a filepath.jpg/URL to attach an image, llm chat -m openai-codex/gpt-5.5 to start an ongoing chat, llm logs to view logged conversations and llm --tool ... to try it out with tool support.

And some pelicans

Let’s generate a pelican!

llm install llm-openai-via-codex
llm -m openai-codex/gpt-5.5 'Generate an SVG of a pelican riding a bicycle'

Here’s what I got back:

It is a bit mangled to be honest - good beak, pelican body shapes are slightly weird, legs do at least extend to the pedals, bicycle frame is not quite right.

I’ve seen better from GPT-5.4, so I tagged on -o reasoning_effort xhigh and tried again:

That one took almost four minutes to generate, but I think it’s a much better effort.

Pelican has gradients now, body is much better put together, bicycle is nearly the right shape albeit with one extra bar between pedals and front wheel, clearly a better image overall.

If you compare the SVG code (default, xhigh) the xhigh one took a very different approach, which is much more CSS-heavy—as demonstrated by those gradients. xhigh used 9,322 reasoning tokens where the default used just 39.

A few more notes on GPT-5.5

One of the most notable things about GPT-5.5 is the pricing. Once it goes live in the API it’s going to be priced at twice the cost of GPT-5.4—$5 per 1M input tokens and $30 per 1M output tokens, where 5.4 is $2.5 and $15.

GPT-5.5 Pro will be even more: $30 per 1M input tokens and $180 per 1M output tokens.

GPT-5.4 will remain available. At half the price of 5.5 this feels like 5.4 is to 5.5 as Claude Sonnet is to Claude Opus.

Ethan Mollick has a detailed review of GPT-5.5 where he put it (and GPT-5.5 Pro) through an array of interesting challenges. His verdict: the jagged frontier continues to hold, with GPT-5.5 excellent at some things and challenged by others in a way that remains difficult to predict.

Posted 23rd April 2026 at 7:59 pm · Follow me on Mastodon, Bluesky, Twitter or subscribe to my newsletter

This is A pelican for GPT-5.5 via the semi-official Codex backdoor API by Simon Willison, posted on 23rd April 2026.

ai 1979 openai 408 generative-ai 1755 chatgpt 195 llms 1722 llm 587 llm-pricing 71 pelican-riding-a-bicycle 109 llm-reasoning 98 llm-release 195 codex-cli 31 gpt 119

Next: Extract PDF text in your browser with LiteParse for the web

Previous: Is Claude Code going to cost $100/month? Probably not - it's all very confusing

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe