GPT-5.2
OpenAI · Text
OpenAI GPT-5.2, a general model balancing capability and cost. Served through getmodel's stable Codex Pro pool over an OpenAI-compatible endpoint. GPT-5.2 is available on GetModel via an OpenAI-compatible API, billed pay-as-you-go. Get one key and call it from any OpenAI SDK.
Pricing
| Item | Price |
|---|---|
| Input | $0.108 / 1M tokens |
| Output | $0.866 / 1M tokens |
How to call
curl https://getmodel.ai/v1/chat/completions \
-H "Authorization: Bearer $GETMODEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5.2","messages":[{"role":"user","content":"Hello"}]}' from openai import OpenAI
client = OpenAI(base_url="https://getmodel.ai/v1", api_key="$GETMODEL_API_KEY")
resp = client.chat.completions.create(
model="gpt-5.2",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content) Details
FAQ
How much does the GPT-5.2 API cost?
GPT-5.2 on GetModel costs $0.108 / 1M tokens (Input), $0.866 (Output), billed pay-as-you-go with no subscription.
How do I call GPT-5.2 via API?
Point any OpenAI-compatible client at https://getmodel.ai/v1 with your GetModel API key and set the model to "gpt-5.2".
Can I use GPT-5.2 together with other models?
Yes — one GetModel API key works for GPT-5.2 and 30+ other models. Just change the model field.