GPT-5.1 Codex Max API

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

GPT-5.1 Codex Max pricing

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

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 Max

Use your Aiberm API key, set the base URL, and pass gpt-5.1-codex-max 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-max", "messages": [{"role": "user", "content": "Hello"}]}'

Use GPT-5.1 Codex Max in your tools

FAQ

How much does the GPT-5.1 Codex Max API cost?

On Aiberm, GPT-5.1 Codex Max (gpt-5.1-codex-max) 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 Max through Aiberm?

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

Does GPT-5.1 Codex Max support prompt caching?

Yes. Cached input tokens are billed at $0.028 per 1M tokens.

Can I use GPT-5.1 Codex Max 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-max. Each tool has a step-by-step guide in the Aiberm docs.

More OpenAI models

All models and prices