GPT
OpenAI’s models, available in the OpenAI format: /v1/chat/completions for most SDKs and /v1/responses for Codex. Your OpenAI SDKs work by changing only the base URL.
What to know
- OpenAI format: use the official SDK with
base_url="https://api-ai.app/v1"and yourmdf-…key. - Responses API: available on
/v1/responses, used by the Codex CLI. - Context: from 400,000 to 1.1 million tokens depending on the model (Context column).
- Vision and tools: listed for each model;
gpt-6-astrais a text-only model. - Images:
gpt-image-*models generate images, see Image generation. - Migration: if you come from OpenAI, read Migrating from OpenAI: three lines to change.
The models
| Model | Tier | Context | Input / 1M | Output / 1M | Cache read / 1M | Vision / tools |
|---|---|---|---|---|---|---|
GPT-6 Astragpt-6-astra | Frontier | 1.1M | $10.00 | $50.00 | $1.00 | n/a / n/a |
GPT-6 Solgpt-6-sol | Frontier | 1.05M | $2.00 | $10.00 | $0.20 | Yes / Yes |
GPT-5.6 Solgpt-5.6-sol | Frontier | 1.05M | $5.00 | $30.00 | $0.50 | Yes / Yes |
GPT-6.2 Astragpt-6.2-astra | Frontier | 1.05M | $8.00 | $40.00 | $0.40 | Yes / Yes |
GPT-6.2 Solgpt-6.2-sol | Frontier | 1.05M | $2.00 | $10.00 | $0.10 | Yes / Yes |
GPT-6.1 Solgpt-6.1-sol | Frontier | 1.05M | $2.00 | $10.00 | $0.10 | Yes / Yes |
GPT-6.1 Terragpt-6.1-terra | Balanced | 1.05M | $1.00 | $5.00 | $0.05 | Yes / Yes |
GPT-5.5gpt-5.5 | Flagship | 1.05M | $5.00 | $30.00 | $0.50 | Yes / Yes |
GPT-5.4gpt-5.4 Unavailable | Balanced | 1.05M | $2.50 | $15.00 | $0.25 | Yes / Yes |
GPT-5.6gpt-5.6 | Flagship | — | — | — | — | Yes / Yes |
GPT-5.6 Terragpt-5.6-terra | Balanced | 1.05M | $2.50 | $15.00 | $0.25 | Yes / Yes |
GPT-5.4 Minigpt-5.4-mini Unavailable | Fast | 400K | $0.75 | $4.50 | $0.07 | Yes / Yes |
GPT-5.6 Lunagpt-5.6-luna | Efficient | 1.05M | $1.00 | $6.00 | $0.10 | Yes / Yes |
GPT-6 Lunagpt-6-luna | Efficient | 1.05M | $0.10 | $0.50 | $0.01 | Yes / Yes |
Which one to pick
- General use and agents:
gpt-6-solorgpt-6.1-sol, at the lowest price of the Frontier tier. - Large volumes and small budgets:
gpt-6-luna, the Efficient tier, particularly cheap. - Maximum reasoning:
gpt-6-astra(text only), noticeably more expensive. - Balance:
gpt-5.6-terraorgpt-5.4for everyday use.
Example call
python
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_AI_KEY"],
base_url="https://api-ai.app/v1",
)
response = client.chat.completions.create(
model="gpt-6-sol",
messages=[{"role": "user", "content": "Summarize the GDPR in five points."}],
)
print(response.choices[0].message.content)Going further
- Chat completions: supported fields
- Tool use: function calls
- Choosing a model
Last updated: November 21, 2026Found a bug? admin@minedom-france.fr