Models

gpt-5.2 β€” API, Pricing & Context Window | Vivgrid

gpt-5.2 on Vivgrid: a capable general-purpose GPT-5 model with a 400K context window, function calling, and geo-distributed acceleration.

gpt-5.2 is a strong general-purpose model from the GPT-5 generation, suited to reasoning, writing, and agent workloads on the Chat Completions API. With a 400K-token context window it handles long documents and multi-turn agent state with ease.

On Vivgrid, gpt-5.2 is geo-distributed across AMER and EMEA and reachable through the same unified API key as the rest of the catalog.

Specifications

ProviderOpenAI
Model IDgpt-5.2
Best forGeneral-purpose
Available onChat Completions
Context window400,000 tokens
Max output128,000 tokens
ModalitiesText, Image
Tool / function callingYes
Knowledge cutoff2025-08
Acceleration⚑ Geo-Distributed β€” AMER, EMEA

Pricing

Pricing in USD per 1M tokens.

InputCached inputOutput
$1.75$0.175$14.00

What one request costs

The rates above applied to a 20K-token prompt with a 2K-token reply β€” a typical single agent turn, small enough that every request is billed at the base rate.

RequestCost
Cold prompt, nothing cached$0.0630
Warm prompt, 90% of the input served from cache$0.0347

API surfaces

The Vivgrid Console catalogs gpt-5.2 on one surface, all behind the same API key. The endpoint shown is the one the Console previews for that surface.

SurfacePrimary endpointUse it for
Chat Completions/chat/completionsAgent projects, where Vivgrid injects the model, system prompt and tools server-side, and Model API calls that name the model per request.

Quick start

Get an API key from the Vivgrid Console, then call gpt-5.2 directly.

curl https://api.vivgrid.com/v1/chat/completions \
  -H "Authorization: Bearer $VIVGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.2",
    "messages": [
      { "role": "user", "content": "Say hello in English, Chinese and Spanish." }
    ],
    "stream": true
  }'

Ideal use cases

  • General-purpose agents and assistants
  • Long-form reasoning, analysis, and content generation
  • Function-calling workflows on Chat Completions
  • Drop-in upgrade path from earlier GPT-5 models
  • gpt-6-astra β€” the gpt-6 generation flagship
  • gpt-6.1-sol β€” the balanced gpt-6 model
  • gpt-6.1-terra β€” the fast, efficient gpt-6 model for visual reasoning and writing

On this page