GPT-6.2 Astra on Azure OpenAI

GPT-6.2 · OpenAI

Serverless

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

Why use GPT-6.2 Astra on Azure OpenAI?

Azure OpenAI offers GPT-6.2 Astra. Azure OpenAI Service hosts OpenAI's GPT-4o, GPT-4, GPT-3.5, and embedding models on Microsoft Azure with enterprise SLAs.

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

Setup recipe

Python + curl
Install
pip install openai
Auth
export AZURE_OPENAI_API_KEY=...
Call
import os
from openai import AzureOpenAI
client = AzureOpenAI(
    azure_endpoint=os.environ["AZURE_OPENAI_ENDPOINT"],  # e.g. https://{resource}.openai.azure.com
Model ID
gpt-6.2-astra

Request example

import os
from openai import AzureOpenAI

client = AzureOpenAI(
    azure_endpoint=os.environ["AZURE_OPENAI_ENDPOINT"],  # e.g. https://{resource}.openai.azure.com
    api_key=os.environ["AZURE_OPENAI_API_KEY"],
    api_version="2024-02-01"
)
response = client.chat.completions.create(
    model="gpt-6.2-astra",  # your deployment name
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • gpt-6.2-astra is your Azure deployment name, not the underlying model name. Deployment names are set when you deploy a model in Azure AI Foundry / Azure OpenAI Studio.
  • The examples expect AZURE_OPENAI_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——

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 Azure OpenAI