GPT-6.2 Astra
openai/gpt-6.2-astraGPT-6.2 Astra is the flagship model of OpenAI's GPT-6.2 series, built for the hardest projects, with text, image and file input and a context window of about 1M tokens. It suits real-world engineering, professional work and scientific research that need deep multi-step reasoning, coding and tool use. It sits above GPT-6.2 Sol; choose the Astra Pro variant for the most demanding single requests.
En savoir plus- Prix d'entrée
- $7.20
$8.00USD / 1 M tokens - Prix de sortie
- $36.00
$40.00USD / 1 M tokens - Lecture du cache
- $0.36
$0.40USD / 1 M tokens - Écriture du cache
- $9.00
$10.00USD / 1 M tokens - Fenêtre de contexte
- 1.1M
- Sortie max
- 128K
Spécifications
- Entrée
- Texte, image
- Sortie
- Texte
À propos de ce modèle
GPT-6.2 Astra is the flagship model of OpenAI's GPT-6.2 series, built for the hardest projects, with text, image and file input and a context window of about 1M tokens. It suits real-world engineering, professional work and scientific research that need deep multi-step reasoning, coding and tool use. It sits above GPT-6.2 Sol; choose the Astra Pro variant for the most demanding single requests.
Essayer le modèle
Bac à sable
Rédigez un prompt pour tester ce modèle. L'utilisation est facturée aux tarifs affichés.
Essayez une invite
Ajouter une image (facultatif)
Votre réponse apparaîtra ici
Choisissez un exemple ou rédigez une invite, puis cliquez sur Exécuter.
Commencer à construire
Envoyez votre première requête
Choisissez l'une des APIs prises en charge avec authentification unifiée et suivi de l'utilisation.
curl -X POST "https://api.sandbase.ai/v1/responses" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-6.2-astra",
"input": "Hello",
"max_output_tokens": 2048
}'Les champs ci-dessous décrivent l’API Chat Completions. Responses API utilise le format natif de requête et de réponse du fournisseur, comme indiqué dans l’exemple ci-dessus.
Schéma d'entrée
9 paramètres · 1 obligatoires · 8 facultatifs
| Paramètre | Type | Obligatoire | Description |
|---|---|---|---|
messages | object[] | Obligatoire | Conversation so far, as an ordered list of messages with a role (system, user or assistant) and content. |
seed | integer | Facultatif | Best-effort deterministic sampling: repeated requests with the same seed and parameters should return similar results. |
tools | array | Facultatif | Functions the model may call. Each tool declares a name, description and JSON Schema parameters. |
stream | boolean | Facultatif | Stream the response as server-sent events instead of returning it in one piece. · Par défaut : false |
max_tokens | integer | Facultatif | Maximum number of tokens to generate in the response. · Max : 128000 |
tool_choice | string | Facultatif | Controls tool use: "auto", "none", "required", or a specific function. |
response_format | object | Facultatif | Output format, for example { "type": "json_object" } or a JSON Schema for structured output. |
reasoning_effort | string | Facultatif | How much the model reasons before answering (for example low, medium or high). · Options : low, medium, high, xhigh, max · Par défaut : "medium" lowmediumhighxhighmax |
max_completion_tokens | integer | Facultatif | Maximum number of tokens to generate, including reasoning tokens. · Max : 128000 |
Schéma de sortie
| Champ | Type | Description |
|---|---|---|
id | string | Identifiant unique de la complétion |
object | string | Type d'objet, par exemple « chat.completion » |
model | string | Modèle utilisé pour la complétion |
choices | array | Liste des choix de complétion |
choices[].message.content | string | Contenu textuel généré |
choices[].finish_reason | string | Raison de l'arrêt de la génération |
usage.prompt_tokens | integer | Nombre de tokens dans le prompt |
usage.completion_tokens | integer | Nombre de tokens dans la complétion |
usage.total_tokens | integer | Nombre total de tokens utilisés |
Questions
FAQ
Comment appeler OpenAI GPT-6.2 Astra via SandBase ?
Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "openai/gpt-6.2-astra" à Responses API (/v1/responses) ou Chat Completions API (/v1/chat/completions) sur https://api.sandbase.ai. Les exemples de requêtes sur cette page montrent la charge utile exacte.
Combien coûte OpenAI GPT-6.2 Astra ?
$7.20 pour 1 M de tokens d’entrée et $36 pour 1 M de tokens de sortie avec la remise actuelle de 10% (prix catalogue $8 / $40), facturé à la requête depuis votre solde SandBase.
Quelle est la fenêtre de contexte de OpenAI GPT-6.2 Astra ?
1.1M tokens de contexte, avec jusqu’à 128K tokens de sortie par réponse.
Quelles fonctionnalités OpenAI GPT-6.2 Astra prend-il en charge ?
OpenAI GPT-6.2 Astra prend en charge vision (entrée d’image), raisonnement, appel de fonction, sortie structurée. Consultez les spécifications ci-dessus pour la liste complète.
Ai-je besoin d’un compte OpenAI distinct ?
Non. Une seule clé API SandBase et un seul solde vous donnent accès à OpenAI GPT-6.2 Astra et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte OpenAI séparément.
