openai/gpt-6-sol
GPT-6 Sol is the balanced model in the GPT-6 family, built for interactive and agentic coding, code review, debugging, and data analysis. It takes text and image input, holds a 1.05M-token context window (922K max input), writes up to 128K output tokens, and exposes reasoning effort from none through max. Prompt caching is supported, and cache reads bill at one tenth of input.
Source : openai_2026_09_gpt6_g6s_x0.10 · Vérifié le 2026-09-23
Lecture cache $0.02/M · Écriture cache $0.25/M
| Palier | Entrée | Lecture cache | Écriture cache | Sortie |
|---|---|---|---|---|
| Standard ≤272K | $0.2 | $0.02 | $0.25 | $1 |
| Standard >272K | $0.4 | $0.04 | $0.5 | $1.5 |
Utilisez l'un ou l'autre des IDs pour appeler ce modèle via l'API.
openai/gpt-6-solRemplacez le placeholder ONEHOP_KEY par votre API key. Créer →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="openai/gpt-6-sol",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)310 requêtes · 30 derniers jours