We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
EssentialSession, security and preferences. Needed for the site to work.Always on
New here? See how it worksA 1-minute tour of the playground, models and your API key.
Input price is 700% higher than the median of 433 Text models.
Context window of 1,050,000 tokens, enough for long documents and multi-turn conversations.
Supports tool (function) calling for agents and integrations.
Supports structured JSON output with a schema.
Supports reasoning effort control.
Accepts images as input (vision).
A typical request (1,000 input / 500 output tokens) costs about $0.05.
About OpenAI: GPT-6.2 Astra (batch)
GPT-6.2 Astra is the flagship model in the GPT-6.2 series from OpenAI, built for the hardest projects. It is suited for real-world engineering, professional work and scientific research, with stronger...
How to call the OpenAI: GPT-6.2 Astra (batch) API
Create an API key in your dashboard.
Install the official openai SDK for your language.
Set baseURL to https://api14.com/api/v1 and model to "openai/gpt-6.2-astra:batch".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "openai/gpt-6.2-astra:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api14.com/api/v1",
api_key=os.environ["API14_API_KEY"],
)
result = client.chat.completions.create(
model="openai/gpt-6.2-astra:batch",
messages=[
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
],
)
print(result.choices[0].message.content)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
String body = """
{
"model": "openai/gpt-6.2-astra:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}
""";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api14.com/api/v1/chat/completions"))
.header("Authorization", "Bearer " + System.getenv("API14_API_KEY"))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
using OpenAI;
using OpenAI.Chat;
using System.ClientModel;
var client = new ChatClient(
model: "openai/gpt-6.2-astra:batch",
credential: new ApiKeyCredential(Environment.GetEnvironmentVariable("API14_API_KEY")!),
options: new OpenAIClientOptions { Endpoint = new Uri("https://api14.com/api/v1") });
ChatCompletion completion = client.CompleteChat("Explain vector databases in two sentences.");
Console.WriteLine(completion.Content[0].Text);
How much does the OpenAI: GPT-6.2 Astra (batch) API cost?
OpenAI: GPT-6.2 Astra (batch) costs Input $14.00 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of OpenAI: GPT-6.2 Astra (batch)?
OpenAI: GPT-6.2 Astra (batch) reads up to 1,050,000 tokens per request: prompt, history and documents together. It writes up to 128,000 output tokens per response.
What can OpenAI: GPT-6.2 Astra (batch) do?
OpenAI: GPT-6.2 Astra (batch) accepts file, image, text and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call OpenAI: GPT-6.2 Astra (batch) from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/gpt-6.2-astra:batch". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to OpenAI: GPT-6.2 Astra (batch)?
Comparable Text models at a similar price: Google: Gemini Carbon Latest, OpenAI: GPT-6.2 Astra Pro (batch), Google: Gemini 4 Carbon. Each runs through the same API key, so switching is one string.