GPT-6.2 Sol on OpenAI API

GPT-6.2 · OpenAI

Serverless

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

Why use GPT-6.2 Sol on OpenAI API?

OpenAI API offers GPT-6.2 Sol with pay-as-you-go pricing at $2.00/1M input tokens. OpenAI is a leading AI research and deployment company dedicated to developing safe and beneficial artificial general intelligence (AGI) for humanity.

Compare GPT-6.2 Sol across 4 providers to find the best fit for your use case
Input / 1M
$2.00
Output / 1M
$10.00
Cache
read $0.10
Batch
-50% · in $1.00 / out $5.00

Setup recipe

Python + curl
Install
pip install openai
Auth
export OPENAI_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI()  # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
Model ID
gpt-6.2-sol

Request example

import os
from openai import OpenAI

client = OpenAI()  # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
    model="gpt-6.2-sol",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use the model slug directly, e.g. "gpt-4o" or "gpt-4.1-mini".
  • The examples expect OPENAI_API_KEY; rename it only if your application config maps the new variable.

Compare GPT-6.2 Sol Across Providers

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

Pricing

TypePrice (per 1M)
Input tokens$2.00
Output tokens$10.00

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured OutputsCode ExecutionPrompt CachingBatch API

About GPT-6.2 Sol

GPT-6.2 Sol (API id gpt-6.2-sol) is OpenAI's efficient GPT-6.2 model for everyday work, announced November 17, 2026 together with GPT-6.2 Astra. OpenAI describes it as aimed at multistep agentic workflows, coding, and clear writing. First-party docs list a 1,050,000-token context window, 922,000 max input tokens, 128,000 max output tokens, a June 1, 2026 knowledge cutoff, and text and image input with text output.

Get Started

Model Specs

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

Related Models on OpenAI API