GPT-6.2 Astra

GPT-6.2 Astra is OpenAI's frontier model for complex professional work, from software engineering and scientific research to slides, spreadsheets, and documents. It improves on GPT-6 Astra in code quality, front-end and 3D design, template-faithful documents, and precise computer use, 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 long-running agents that plan, execute, and verify their work.

Complete technical specification for integration
GPT-6.2 Astra 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-astra.
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-astra",
"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-astra",
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-astra',
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-astra'),
prompt: 'What is the capital of France?',
});
console.log(text);from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
model="openai:gpt@6.2-astra",
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-astra",
"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-astra",
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-astra',
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-astra'),
prompt: 'What is the capital of France?',
});
console.log(text);from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
model="openai:gpt@6.2-astra",
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.