GPT-5.1 Codex API

Model ID: gpt-5.1-codex · OpenAI · Billed per token

GPT-5.1 Codex pricing

AibermOfficial
Input$0.276 / 1M tokens$1.25
Output$2.21 / 1M tokens$10.00

Prices in USD. About 78% below the official price. Pay as you go, no minimum spend.

Get an API key · Read the docs

How to call GPT-5.1 Codex

Use your Aiberm API key, set the base URL, and pass gpt-5.1-codex as the model name.

Supported request formats:

curl https://aiberm.org/v1/chat/completions \
  -H "Authorization: Bearer $AIBERM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-5.1-codex", "messages": [{"role": "user", "content": "Hello"}]}'

Use GPT-5.1 Codex in your tools

FAQ

How much does the GPT-5.1 Codex API cost?

On Aiberm, GPT-5.1 Codex (gpt-5.1-codex) costs $0.276 per 1M input tokens and $2.21 per 1M output tokens, compared with the official $1.25 / $10.00 — about 78% less. You pay only for the tokens you use, with no minimum spend.

How do I call GPT-5.1 Codex through Aiberm?

Set the base URL to https://aiberm.org, use gpt-5.1-codex as the model name, and authenticate with your Aiberm API key. Supported request formats: OpenAI Chat Completions.

Can I use GPT-5.1 Codex in Codex CLI, OpenCode or OpenClaw?

Yes. Add Aiberm as a provider in Codex CLI, OpenCode, OpenClaw with the base URL and your API key, then select gpt-5.1-codex. Each tool has a step-by-step guide in the Aiberm docs.

More OpenAI models

All models and prices