Claude Opus 4.7
anthropic/claude-opus-4.7Opus 4.7 is the next generation of Anthropic's Opus family, built for long-running, asynchronous agents. Building on the coding and agentic strengths of Opus 4.6, it delivers stronger performance on complex, multi-step tasks and more reliable agentic execution across extended workflows. It is especially effective for asynchronous agent pipelines where tasks unfold over time - large codebases, multi-stage debugging, and end-to-end project orchestration.
En savoir plus- Prix d'entrée
- $4.25
$5.00USD / 1 M tokens - Prix de sortie
- $21.25
$25.00USD / 1 M tokens - Lecture du cache
- $0.42
$0.50USD / 1 M tokens - Écriture du cache
- $5.31
$6.25USD / 1 M tokens - Fenêtre de contexte
- 1M
- Sortie max
- 128K
Spécifications
- Entrée
- Texte, image
- Sortie
- Texte
À propos de ce modèle
Opus 4.7 is the next generation of Anthropic's Opus family, built for long-running, asynchronous agents. Building on the coding and agentic strengths of Opus 4.6, it delivers stronger performance on complex, multi-step tasks and more reliable agentic execution across extended workflows. It is especially effective for asynchronous agent pipelines where tasks unfold over time - large codebases, multi-stage debugging, and end-to-end project orchestration.
Beyond coding, Opus 4.7 brings improved knowledge work capabilities - from drafting documents and building presentations to analyzing data. It maintains coherence across very long outputs and extended sessions, making it a strong default for tasks that require persistence, judgment, and follow-through.
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/chat/completions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-opus-4.7",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 2048
}'Les champs ci-dessous décrivent l’API Chat Completions. Messages 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
8 paramètres · 1 obligatoires · 7 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. |
stop | string[] | Facultatif | Sequences where the model stops generating. The stop sequence is not included in the output. |
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 |
temperature | number | Facultatif | Sampling temperature. Higher values make output more random; lower values make it more focused. · Min : 0 · Max : 2 · Par défaut : 1 |
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. |
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 Anthropic Claude Opus 4.7 via SandBase ?
Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "anthropic/claude-opus-4.7" à Chat Completions API (/v1/chat/completions) ou Messages API (/v1/messages) sur https://api.sandbase.ai. Les exemples de requêtes sur cette page montrent la charge utile exacte.
Combien coûte Anthropic Claude Opus 4.7 ?
$4.25 pour 1 M de tokens d’entrée et $21.25 pour 1 M de tokens de sortie avec la remise actuelle de 15% (prix catalogue $5 / $25), facturé à la requête depuis votre solde SandBase.
Quelle est la fenêtre de contexte de Anthropic Claude Opus 4.7 ?
1M tokens de contexte, avec jusqu’à 128K tokens de sortie par réponse.
Quelles fonctionnalités Anthropic Claude Opus 4.7 prend-il en charge ?
Anthropic Claude Opus 4.7 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 Anthropic distinct ?
Non. Une seule clé API SandBase et un seul solde vous donnent accès à Anthropic Claude Opus 4.7 et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte Anthropic séparément.
