Anthropic

Claude Haiku 4.5 (thinking) API

US Anthropic
Essayer dans le bac à sable → Obtenir une clé API

Claude Haiku 4.5 (thinking) est un modèle de raisonnement d'Anthropic. Il propose un raisonnement étape par étape. Disponible via l'API unifiée MeshTok.

ImageRaisonnementRapideOutils

Tarifs (officiel, par 1M tokens)

Entrée
$1.00/M
Sortie
$5.00/M

Spécifications

Fenêtre de contexte200K tokens Modalités d'entréeImage StreamingOui APICompatible OpenAI

Comment utiliser Claude Haiku 4.5 (thinking)

Remplacement direct d'OpenAI. Changez base_url et modèle.

# Python - pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://meshtok.com/v1",
    api_key="sk-your-MeshTok-key",
)

resp = client.chat.completions.create(
    model="anthropic/claude-haiku-4.5:thinking",
    messages=[{"role":"user","content":"Hello!"}],
)
print(resp.choices[0].message.content)
# cURL
curl https://meshtok.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-MeshTok-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-haiku-4.5:thinking","messages":[{"role":"user","content":"Hello!"}]}'

Modèles similaires

D'autres modèles à considérer.