VARIANTE · OpenAI / GPT

GPT gpt-5.2 API

A model variant exposed through RunAPI's unified AI API.

Operational · text · Commercial use supported
# Works with Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents
npx skills add runapi-ai/gpt -g
The -g flag installs globally so every project picks it up.
Or paste this prompt to your AI agent:
Install the GPT skill for me:

1. Clone https://github.com/runapi-ai/gpt
2. Copy the skills/gpt/ directory into your
   user-level skills directory (e.g. ~/.claude/skills/
   for Claude Code, ~/.codex/skills/ for Codex).
3. Verify that SKILL.md is present.
4. Confirm the install path when done.
Switch variant
ÜBERBLICK

GPT gpt-5.2 is available through the same RunAPI auth, SDKs, and agent skill workflow.

  • Unified endpoint
  • SDK snippets
  • Agent install path
  • Fehlgeschlagene Generierungen werden nicht berechnet
PREISE

PREISE

Fehlgeschlagene Generierungen werden nicht berechnet
Chat completion
Input $0.88 / 1M tokens
Output $7.00 / 1M tokens
Cache read $0.09
Responses API
Input $0.88 / 1M tokens
Output $7.00 / 1M tokens
Cache read $0.09
DATENBLATT

DATENBLATT

Model ID gpt-5.2
Anbieter OpenAI
Modalität text
Task type synchronous
Abrechnung 1K tokens
Endpoint /v1/chat/completions
Commercial Yes
Status Operational
QUICKSTART

Quickstart — gpt-5.2

runapi.ai
curl -X POST https://runapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-5.2",
  "messages": [
    {
      "role": "user",
      "content": "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."
    }
  ]
}'
import { GptClient } from "@runapi.ai/gpt";

const client = new GptClient();
const result = await client.chatCompletion.run({
    model: "gpt-5.2",
    messages: [{"role":"user","content":"Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."}],
});
require "runapi/gpt"

client = RunApi::Gpt::Client.new
result = client.chat_completion.run(
    model: "gpt-5.2",
    messages: [{role: "user", content: "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."}]
)
@runapi.ai/gpt v1
SO FUNKTIONIERT ES

How to use gpt-5.2

01

Choose endpoint

Pick the endpoint and copy the SDK snippet.

02

Pass model ID

Use this variant ID in the request body.

03

Run task

Submit the request and store the returned task ID.

04

Collect output

Poll or receive the callback when the task finishes.

UNTERSCHIEDE

How gpt-5.2 compares

VS CODEX-AUTO-REVIEW

Professional knowledge work; Thinking mode for deep tasks

codex-auto-review

VS GPT-5.2-PRO

Professional knowledge work; Thinking mode for deep tasks

gpt-5.2-pro

VS GPT-5.3-CODEX

Professional knowledge work; Thinking mode for deep tasks

Specialized for multi-file code generation and editing

ANWENDUNGSFÄLLE

Where to use this variant

Chat

Use LLMs for chat and reasoning.

Code

Generate and review implementation work.

Automation

Connect models into backend tasks.

FAQ

Frequently asked questions about gpt-5.2

How do I select gpt-5.2?

Pass the model ID shown in the quickstart.

Is pricing usage-based?

Yes. Pricing is metered per call or unit.

JETZT STARTEN

Start with GPT today.