GPT-6.2 Astra Pro
OpenAI ↗GPT-6.2 Astra Pro is the same underlying model as GPT-6.2 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Cost note…
GPT Image 1 by OpenAI is available through the Chabokan API. Reported inputs: Text، Image. Outputs: Image.
Keep real keys out of public code. Examples read CHABOKAN_API_KEY from the environment.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://ai.chabokan.net/v1",
api_key=os.environ["CHABOKAN_API_KEY"],
)
response = client.chat.completions.create(
model="openai/gpt-image-1",
messages=[{"role": "user", "content": "Draw a small orange cloud"}],
modalities=["image", "text"],
)
print(response.choices[0].message)
curl https://ai.chabokan.net/v1/chat/completions \
-H "Authorization: Bearer $CHABOKAN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-image-1",
"messages": [{"role": "user", "content": "Draw a small orange cloud"}],
"modalities": ["image", "text"]
}'
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://ai.chabokan.net/v1",
apiKey: process.env.CHABOKAN_API_KEY,
});
const response = await client.chat.completions.create({
model: "openai/gpt-image-1",
messages: [{ role: "user", content: "Draw a small orange cloud" }],
modalities: ["image", "text"],
});
console.log(response.choices[0].message);
Input and output tokens are priced separately. Use the calculator below to estimate costs for your model and request volume. Final rates depend on your account level and actual usage; review any reported additional charges separately.
More from this developer ↗Estimate token costs by choosing a model, request count, and input and output volumes. Rates come from the same catalogue as the model pricing.
Prices default to level 3. Level 1 is the standard price; check your console for account eligibility and model access.
Token estimate only; image, request, web search, and other charges are excluded. The minimum request fee applies. Your final bill depends on actual usage and account level.