GPT-5.2 API
Model ID: openai/gpt-5.2 · OpenAI · Billed per token
GPT-5.2 pricing
| Aiberm | Official | |
|---|---|---|
| Input | $0.460 / 1M tokens | $0.880 |
| Output | $3.68 / 1M tokens | $7.00 |
Prices in USD. About 47% below the official price. Pay as you go, no minimum spend.
Get an API key · Read the docs
How to call GPT-5.2
Use your Aiberm API key, set the base URL, and pass openai/gpt-5.2 as the model name.
https://dev.aiberm.com
Supported request formats:
- OpenAI Chat Completions —
/v1/chat/completions
curl https://dev.aiberm.com/v1/chat/completions \
-H "Authorization: Bearer $AIBERM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "openai/gpt-5.2", "messages": [{"role": "user", "content": "Hello"}]}'
Use GPT-5.2 in your tools
- Codex CLI
- OpenCode
- OpenClaw
- Pi
- Hermes Agent
- DeepSeek Harness
- Codex Desktop
- DeepSeek Harness Desktop
- Trae
- Magpie
FAQ
How much does the GPT-5.2 API cost?
On Aiberm, GPT-5.2 (openai/gpt-5.2) costs $0.460 per 1M input tokens and $3.68 per 1M output tokens, compared with the official $0.880 / $7.00 — about 47% less. You pay only for the tokens you use, with no minimum spend.
How do I call GPT-5.2 through Aiberm?
Set the base URL to https://dev.aiberm.com, use openai/gpt-5.2 as the model name, and authenticate with your Aiberm API key. Supported request formats: OpenAI Chat Completions.
Can I use GPT-5.2 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 openai/gpt-5.2. Each tool has a step-by-step guide in the Aiberm docs.
More OpenAI models
- GPT-5.5
gpt-5.5— $6.90 input / $13.80 output per 1M tokens - GPT-5.2 Codex
gpt-5.2-codex— $0.403 input / $3.22 output per 1M tokens (−77%) - GPT-5.3 Codex
openai/gpt-5.3-codex— $0.460 input / $3.68 output per 1M tokens (−74%) - GPT-5.1 Codex
gpt-5.1-codex— $0.288 input / $2.30 output per 1M tokens (−77%) - GPT-5.1 Codex Max
gpt-5.1-codex-max— $0.288 input / $2.30 output per 1M tokens (−77%) - GPT-5.2 Chat
openai/gpt-5.2-chat— $17.25 input / $17.25 output per 1M tokens - GPT-5.1
openai/gpt-5.1— $0.460 input / $3.68 output per 1M tokens (−26%)