Inteligência em modelos de IA

Claude 3 Haiku

anthropic/claude-3-haiku

Por Anthropic · família: claude-haiku · lançado 2024-03-13 · data de conhecimento: 2023-08-31

$0.250
Entrada / 1M tokens
$1.25
Saída / 1M tokens
200K
Janela de contexto
4K
Saída máxima

Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.

Capacidades

Tool callingRaciocínioSaída estruturadaAnexosPesos abertosControle de temperatura
Modalidades: entrada text, image · saída text

Model fit scores

0–100 · higher is better

These scores reward declared capabilities, context size, price and provider availability — they are not benchmark results. Use them as a directional signal alongside your own evaluation.

Coding51
  • Tool calling40/40
  • Structured output0/20
  • Reasoning0/10
  • Context window (100K → 1M)6/20
  • Provider availability5/10
Agents40
  • Tool calling35/35
  • Structured output0/25
  • Reasoning0/15
  • Output token limit0/15
  • Provider availability5/10
JSON / structured output47
  • Structured output / JSON mode0/50
  • Tool calling20/20
  • Temperature control10/10
  • Price-friendly for high-volume17/20
Cost efficiency63
  • Headline price (log-scaled)58/95
  • Has prompt-cache pricing5/5
Long context55
  • Context window (100K → 2M)45/90
  • Has published price for full window10/10
Vision85
  • Accepts image input50/50
  • Context window (10K → 1M)20/30
  • Has published price10/10
  • Provider availability5/10
Production-readiness83
  • Number of independent providers25/40
  • Has published per-token price20/20
  • Context window ≥ 8K15/15
  • No data inconsistencies across providers8/10
  • Official model (not derivative)15/15

Cost Efficiency Index

Open full calculator →

Estimated cost using the recommended provider's headline rate. Each scenario fixes average input/output tokens — the assumptions are shown in the third column.

ScenarioCostAssumption
RAG answer
per 1,000 RAG answers
$1.88
< $0.01 per request
5K input tokens (query + 4 retrieved chunks of ~1K each) and a 500-token answer. Typical SaaS knowledge-base bot.
Support ticket triage
per 10,000 tickets
$3.75
< $0.01 per request
1K input tokens (ticket body + system prompt) and a 100-token JSON classification reply. High-volume customer support.
Data extraction
per 1,000 documents
$1.13
< $0.01 per request
2K input tokens (a single document page) and a 500-token JSON extraction. ETL / invoice / form pipelines.
Code review
per 1,000 PRs
$3.25
< $0.01 per request
8K input tokens (diff + surrounding files) and a 1K-token review comment. PR-bot workloads.
Agent step
per 1,000 steps
$3.75
< $0.01 per request
12K input tokens (long-running tool history) and a 600-token tool-call decision. Cost per agent step.

Detalhes de preço

Preço recomendado de openrouter · anthropic/claude-3-haiku

$0.250
Entrada
$1.25
Saída
$0.030
Leitura de cache
$0.300
Escrita de cache

Disponível em 5 provedores

ProvedorID do modelo do provedorEntrada / 1MSaída / 1MContextoLançado
OpenRouter
openrouter
anthropic/claude-3-haiku$0.250$1.25200K2024-03-13
Vercel AI Gateway
vercel
anthropic/claude-3-haiku$0.250$1.25200K2024-03-13
Cloudflare AI Gateway
cloudflare-ai-gateway
anthropic/claude-3-haiku$0.250$1.25200K2024-03-13
SAP AI Core
sap-ai-core
anthropic--claude-3-haiku$0.250$1.25200K2024-03-13
Kilo Gateway
kilo
anthropic/claude-3-haiku$0.250$1.25200K2024-03-07

Inconsistências de dados entre provedores

  • modalities varies across offerings

Os provedores reportam valores diferentes para este modelo. Os dados rápidos acima usam um provedor representativo; consulte a tabela para detalhes por provedor.

Frequently asked questions

How much does Claude 3 Haiku cost?

Claude 3 Haiku costs $0.250 per 1M input tokens and $1.25 per 1M output tokens, sourced from openrouter. Cache reads, audio tokens and >200K-context tiers (where applicable) are listed in the Pricing detail block above.

What is the context window of Claude 3 Haiku?

Claude 3 Haiku has a context window of 200K tokens, with a max output of 4K tokens per reply. This is the total combined size of prompt + completion.

Does Claude 3 Haiku support tool calling?

Yes. Claude 3 Haiku supports tool calling (function calling). This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.

Does Claude 3 Haiku support structured output / JSON mode?

No. Claude 3 Haiku does not support structured output / JSON-schema-constrained decoding. If your workflow requires it, look at the /capabilities/structured-output list for alternatives.

Can Claude 3 Haiku accept image input?

Yes. Claude 3 Haiku accepts both text and image input. Vision pricing per image is usually billed on top of the regular token rate — check Anthropic's docs for the exact rule.

Is Claude 3 Haiku open-weight?

No. Claude 3 Haiku is a proprietary model — only Anthropic (and any approved hosting partners) can serve it. The pricing above reflects the cheapest API access.

What are the best alternatives to Claude 3 Haiku?

If Claude 3 Haiku doesn't fit, consider Claude Opus 4.6, Claude Sonnet 4.6, Claude Opus 4.7. Each one targets the same use case — see the Related links below for direct head-to-head pages.

Where does this data come from?

All numbers are normalised into a single canonical model record and reconciled with each provider's official documentation. We re-pull daily and write any changes (price, context, capability) to the /changelog page.

More Anthropic models

Última atualização:

Pricing and capabilities are refreshed daily and reconciled against each provider's official documentation. Always verify critical production decisions with the provider directly.