Claude Opus 4.8 (Fast) · vercel
Opus 4.8 is a focused upgrade to Opus 4.7 and is Anthropic's best generally available model for coding, agentic tasks, and enterprise workflows. It builds on the strengths of previous Opus models with stronger performance on complex, multi-step coding tasks. Anthropic recommends using it on long-horizon coding and agentic tasks. It is also stronger on professional work, including document drafting, data analysis, and presentations.
Entrée, $/1M $10.00
Sortie, $/1M $50.00
Lecture cache $1.00
Écriture cache $12.50
Contexte 1 000 000
Sortie max. 128 000
Accepte images, pdf, texte
Dernière vérification 04.11.2026 12:00:14 UTC
Source page du fournisseur
Alertes de prix
API
API compatible OpenAI : les SDK officiels d'OpenAI fonctionnent avec cette URL de base. Remplacez YOUR_API_KEY par votre clé du fournisseur.
| URL de base de l'API | |
|---|---|
| Point de terminaison | |
| ID du modèle | |
curl
curl https://ai-gateway.vercel.sh/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "anthropic/claude-opus-4.8-fast", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'Python
import requests
r = requests.post(
"https://ai-gateway.vercel.sh/v1/chat/completions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "anthropic/claude-opus-4.8-fast",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
},
)
print(r.json())JavaScript
const r = await fetch("https://ai-gateway.vercel.sh/v1/chat/completions", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "anthropic/claude-opus-4.8-fast",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}),
});
console.log(await r.json());Requête (JSON)
{
"model": "anthropic/claude-opus-4.8-fast",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Réponse (JSON)
{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "anthropic/claude-opus-4.8-fast",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hi! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}L'adresse provient de la liste de modèles du fournisseur ; vérifiez-la dans sa documentation.
Source: AI Rate Card, https://airatecard.com/fr/c/offer%3Avercel%7Canthropic/claude-opus-4.8-fast, prices checked 2026-11-04; seller's page: https://vercel.com/ai-gateway/models/claude-opus-4.8-fast
Détails techniques
ID: offer:vercel|anthropic/claude-opus-4.8-fast