Vidu Q3 Pro chegou — experimente agora
anthropic
anthropic/claude-3-haiku

anthropic/claude-3-haiku

200,000 context · $0.25/M input tokens · $1.25/M output tokens

Claude 3 Haiku is Anthropic's fastest and most compact model for near-instant responsiveness. Quick and accurate targeted performance. See the launch announcement and benchmark results here #multimodal

Preços

Pagamento por uso

Sem custo inicial, pague apenas pelo que usar

Entrada$0.25 / M Tokens
Saída$1.25 / M Tokens

Experimentar o modelo

anthropic/claude-3-haiku
Online
anthropic
Olá! Sou um assistente de IA útil. Em que posso ajudar?

Uso da API

Use os exemplos de código abaixo para integrar com nossa API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="anthropic/claude-3-haiku",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Introdução do modelo

Anthropic claude-3-haiku

anthropic claude-3-haiku


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 200000 context window for long document handling
  • Competitive pricing at $0.3/$1.4 per million tokens

Key Features

  • Context Window: 200000 tokens
  • Max Output: 4096 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderAnthropic
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window200000 tokens
Max Output4096 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.3
Output$1.4

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: anthropic/claude-3-haiku


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="anthropic/claude-3-haiku",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "anthropic/claude-3-haiku",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: anthropic/claude-3-haiku
  • Provider: Anthropic

Info

Provedoranthropic
Tipollm

Funcionalidades suportadas

Entrada
TextoImagem
Saída
Texto
Contexto200,000
Saída máx.4,096
Vision✓ Suportado
Function Calling✓ Suportado

Guia de acesso à API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID do modeloanthropic/claude-3-haiku

Claude 3 Haiku API

anthropic/claude-3-haiku

Claude 3 Haiku is Anthropic's fastest and most compact model for near-instant responsiveness. Quick and accurate targeted performance. See the launch announcement and benchmark results [here](https://www.anthropic.com/news/claude-3-haiku) #multimodal

Entrada

$0.25 /M

Saída

$1.25 /M

Contexto

200K

Saída máx.

4K

Vision

Suportado

Uso de ferramentas

Suportado

Experimente Claude 3 Haiku no WaveSpeedAI

Acesse Claude 3 Haiku através da nossa API unificada — compatível com OpenAI, sem inicializações a frio, preços transparentes.

Perguntas frequentes sobre Claude 3 Haiku

Quanto custa Claude 3 Haiku via API?+

Preços no WaveSpeedAI: $0.25 por milhão de tokens de entrada e $1.25 por milhão de tokens de saída. Prompt caching e batch processing são cobrados separadamente e reduzem o custo efetivo em cargas longas e repetitivas.

Qual é a janela de contexto do Claude 3 Haiku?+

Claude 3 Haiku suporta até 200K tokens de contexto e até 4K tokens de saída por requisição.

Claude 3 Haiku é compatível com OpenAI?+

Sim. O WaveSpeedAI expõe o Claude 3 Haiku através de um endpoint compatível com OpenAI em https://llm.wavespeed.ai/v1. Aponte o SDK oficial da OpenAI para esta base URL com sua chave API do WaveSpeedAI — sem outras alterações no código.

Como começo a usar o Claude 3 Haiku?+

Entre no WaveSpeedAI, crie uma chave API em Access Keys, então envie uma requisição para https://llm.wavespeed.ai/v1/chat/completions com o model id mostrado acima. Contas novas recebem créditos grátis para avaliar o Claude 3 Haiku.

APIs LLM relacionadas