GPT-6.2 Astra on Vercel AI Gateway

GPT-6.2 · OpenAI

Serverless

Last refreshed 2026-11-17. Next refresh: weekly.

Why use GPT-6.2 Astra on Vercel AI Gateway?

Vercel AI Gateway offers GPT-6.2 Astra with pay-as-you-go pricing at $8.00/1M input tokens. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.

Compare GPT-6.2 Astra across 4 providers to find the best fit for your use case
Input / 1M
$8.00
Output / 1M
$40.00
Cache
read $0.40
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export AI_GATEWAY_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
Model ID
openai/gpt-6.2-astra

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="openai/gpt-6.2-astra",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "openai/gpt-6.2-astra", not the LLMReference slug "gpt-6.2-astra".
  • creator/model-name e.g. kwaipilot/kat-coder-pro-v2
  • The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.

Compare GPT-6.2 Astra Across Providers

ProviderInput (per 1M)Output (per 1M)
OpenAI API$8.00$40.00
OpenRouter$8.00$40.00
Vercel AI Gateway$8.00$40.00
Azure OpenAI——

Pricing

TypePrice (per 1M)
Input tokens$8.00
Output tokens$40.00

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured OutputsCode ExecutionPrompt CachingBatch API

About GPT-6.2 Astra

GPT-6.2 Astra (API id gpt-6.2-astra) is OpenAI's GPT-6.2 frontier model for demanding professional work, announced November 17, 2026 together with GPT-6.2 Sol. OpenAI positions it for complex coding, frontend and 3D work, computer use, and slides, spreadsheets, and documents that follow provided templates and field conventions. First-party docs list a 1,050,000-token context window, 922,000 max input tokens, 128,000 max output tokens, a May 18, 2026 knowledge cutoff, and text and image input with text output.

Get Started

Model Specs

Released2026-11-17
Context1.05M
Knowledge cutoff2026-05

Related Models on Vercel AI Gateway