anoman
Sign InGet API Key

OpenAI

GPT-5.2

modelgpt-5-2
MidStableStreamingToolsBatchLong contextGlobal

Context

400K

Input / 1M tokens

$1.75

Output / 1M tokens

$14.00

Cached input / 1M tokens

$0.4113

Cache write / 1M tokens

— (bills at input price)

About this model

GPT-5.2

GPT-5.2 is a model by OpenAI, available through the Anoman AI OpenAI-compatible API with a 400K-token context window. It costs $1.75 per 1M input tokens and $14.00 per 1M output tokens, and is available from the Pro plan.

Key facts

Maker
OpenAI
Context window
400K tokens
Max output
128K tokens
Lane
Guarded: the provider has confirmed it does not train on your data
Modality
Text
Input price
$1.75 per 1M tokens
Output price
$14.00 per 1M tokens
Processing region(s)
global
Route
Via OpenRouter
Cheapest plan
Available from the Pro plan
Price comparison
Priced below 35 of 250 pro-band guarded models on Anoman (blended price: 1 part input to 3 parts output).

More models by OpenAI

Ways to call

Ways to call GPT-5.2

Each model ID below is callable through the Anoman AI API. Price and processing region depend on the route.

Model IDRouteInput / output per 1M tokensRegion(s)LaneContext
gpt-5-2Via OpenRouter$1.75 / $14.00globalGuarded400K
gpt-5.2Via OpenAI's API$1.75 / $14.00usGuarded272K

Code example

Chat completion with GPT-5.2

from openai import OpenAI

client = OpenAI(
    base_url="https://api.anoman.io/v1",
    api_key="anm-sk-..."
)

response = client.chat.completions.create(
    model="gpt-5-2",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Alternatives

Similar models in our catalog

Same maker first, then the closest price to GPT-5.2 in the Anoman catalog.

Use GPT-5.2 through Anoman.