GPT-6.2 Sol

GPT-6.2 Sol is OpenAI's efficient, versatile model for everyday work, from coding to powering agents at scale. It improves on GPT-6.1 Sol in multistep agentic workflows, clear and natural writing, secure code, and interactive web and 3D design, while using fewer output tokens per task. A 1,050,000-token context window, up to 128,000 output tokens, image understanding, structured outputs, function calling, and reasoning from low through max suit software engineering, production assistants, and high-volume agents.

Complete technical specification for integration
GPT-6.2 Sol is served through Runware's compatible endpoints, which take another provider's request format. Point the SDK you already use at Runware by changing the base URL and the API key, and set model to openai:gpt@6.2-sol.
Requests and responses keep the provider's format, so its reference documents every parameter.
| Endpoint | Format |
|---|---|
/v1/chat/completions | OpenAI Chat Completions |
/v1/responses | OpenAI Responses |
Chat Completions
curl -X POST https://api.runware.ai/v1/chat/completions \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai:gpt@6.2-sol",
"messages": [{"role": "user", "content": "What is the capital of France?"}]
}'from openai import OpenAI
client = OpenAI(
api_key="your_runware_api_key",
base_url="https://api.runware.ai/v1",
)
response = client.chat.completions.create(
model="openai:gpt@6.2-sol",
messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(response.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'your_runware_api_key',
baseURL: 'https://api.runware.ai/v1',
});
const response = await client.chat.completions.create({
model: 'openai:gpt@6.2-sol',
messages: [{ role: 'user', content: 'What is the capital of France?' }],
});
console.log(response.choices[0].message.content);import { createOpenAICompatible } from '@ai-sdk/openai-compatible';
import { generateText } from 'ai';
const runware = createOpenAICompatible({
name: 'runware',
apiKey: 'your_runware_api_key',
baseURL: 'https://api.runware.ai/v1',
});
const { text } = await generateText({
model: runware('openai:gpt@6.2-sol'),
prompt: 'What is the capital of France?',
});
console.log(text);from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
model="openai:gpt@6.2-sol",
api_key="your_runware_api_key",
base_url="https://api.runware.ai/v1",
)
response = llm.invoke("What is the capital of France?")
print(response.text)Compatible APIs covers streaming, tool calling and how the endpoint differs from OpenAI, and the OpenAI API reference lists every parameter.
Responses
curl -X POST https://api.runware.ai/v1/responses \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai:gpt@6.2-sol",
"input": "What is the capital of France?"
}'from openai import OpenAI
client = OpenAI(
api_key="your_runware_api_key",
base_url="https://api.runware.ai/v1",
)
response = client.responses.create(
model="openai:gpt@6.2-sol",
input="What is the capital of France?",
)
print(response.output_text)import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'your_runware_api_key',
baseURL: 'https://api.runware.ai/v1',
});
const response = await client.responses.create({
model: 'openai:gpt@6.2-sol',
input: 'What is the capital of France?',
});
console.log(response.output_text);import { createOpenAI } from '@ai-sdk/openai';
import { generateText } from 'ai';
const runware = createOpenAI({
apiKey: 'your_runware_api_key',
baseURL: 'https://api.runware.ai/v1',
});
const { text } = await generateText({
model: runware.responses('openai:gpt@6.2-sol'),
prompt: 'What is the capital of France?',
});
console.log(text);from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
model="openai:gpt@6.2-sol",
api_key="your_runware_api_key",
base_url="https://api.runware.ai/v1",
use_responses_api=True,
)
response = llm.invoke("What is the capital of France?")
print(response.text)Compatible APIs covers conversation state and function calls, and the OpenAI API reference lists every parameter.