Anthropic

Claude Haiku 4.5 (thinking) API

US Anthropic
Testar no Probador → Obter API key

Claude Haiku 4.5 (thinking) é um modelo de raciocínio da Anthropic. Ele oferece raciocínio passo a passo. Disponível através da API unificada MeshTok.

ImagemRaciocínioRápidoFerramentas

Preços (oficial, por 1M tokens)

Entrada
$1.00/M
Saída
$5.00/M

Especificações

Janela de contexto200K tokens Modalidades de entradaImagem StreamingSim APICompatível OpenAI

Como usar Claude Haiku 4.5 (thinking)

Substituição direta do OpenAI. Mude apenas base_url e modelo.

# 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!"}]}'

Modelos relacionados

Outros modelos que você pode considerar.