Skip to content

GPT-5.2 API price below the official rate

by OpenAI

You pay · per 1M tokensSave 70%
Input$0.525was 1.75Output$4.20was 14
Context window272K tokens
Inputs and outputsText · ImagesText · Images
Longest reply125K tokens

Short answer: GPT-5.2 costs $0.525 per 1M input tokens and $4.20 per 1M output tokens on 5abeer, against $1.75 and $14 on OpenAI's official pricing page (checked October 1, 2026). That saves 70%, and the context window is 272K tokens. Call it at https://api.5abeer.ai/v1 with the model id gpt-5.2 on an OpenAI-compatible API.

Price checked on October 1, 2026 · Source: OpenAI

Pricing

Every item is billed on its own, in US dollars.

Item · per 1M tokensOur priceOfficial price
Input$0.525$1.75
Cached input$0.053$0.175
Output$4.20$14

Capabilities

What this model actually does, as its maker publishes it.

  • Thinks before it answers
  • Reads images
  • Reads files
  • Uses tools
  • Calls several tools at once
  • Structured JSON output
  • Searches the web
  • Prompt caching
  • Streams the reply as it is written

Works overOpenAI ResponsesChat CompletionsAnthropic Messages

Code

The code you already use: change the base URL and add your key.

Format
curl --request POST "https://api.5abeer.ai/v1/chat/completions" \
  --header "Authorization: Bearer $KHABEER_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"model":"gpt-5.2","messages":[{"role":"user","content":"Write a product idea in one sentence."}]}'

Your key is read from the KHABEER_API_KEY variable, so it never appears in the code. You create the key in the dashboard.

Works in

The official apps that run GPT-5.2, with your plan or your key.

  • ChatGPT DesktopWith a Bundle plan
  • CodexWith a Bundle plan
  • OpenClawWith an API key
  • HermesWith an API key
  • OpenCodeWith an API key

In plans

This model is not part of the plans: top up your balance and pay as you go.

See pricing

FAQ

How much is GPT-5.2 on 5abeer?

$ 0.525 per 1M input tokens and $ 4.20 per 1M output tokens, instead of $ 1.75 and $ 14 at the official price. Our prices follow the published official prices, last checked on October 19, 2026.

How large is GPT-5.2's context window?

Up to 272K tokens per request, and replies up to 125K tokens.

Does GPT-5.2 work in Codex?

Yes, it works in ChatGPT Desktop, Codex, OpenClaw, Hermes and OpenCode.

How do I call GPT-5.2 from my code?

OpenAI-compatible: change the base URL and keep your code. Compatible with the Anthropic Messages API. The base URL is https://api.5abeer.ai/v1 and the model id is gpt-5.2.

Does GPT-5.2 support prompt caching?

Yes. Cached input tokens cost $ 0.053 per 1M tokens, instead of $ 0.175 at the official price.

Is 5abeer part of OpenAI?

5abeer is an independent service, not affiliated with OpenAI, Anthropic or Google.

Ready to start?

Create a key and send your first request to GPT-5.2.