Seedance 2.0 SCONTO 15% | Crea nel Video Generator →
anthropic
anthropic/claude-3.5-haiku

anthropic/claude-3.5-haiku

Data di rilascio: 2024-11-04

200,000 context · $0.80/M input tokens · $4.00/M output tokens

Claude 3.5 Haiku features offers enhanced capabilities in speed, coding accuracy, and tool use. Engineered to excel in real-time applications, it delivers quick response times that are essential for dynamic...

Prezzi

Pay-per-use

Nessun costo iniziale, paga solo per ciò che usi

Input$0.80 / M Tokens
Output$4.00 / M Tokens
Cache Read$0.08 / M Tokens
Cache Write$1.00 / M Tokens

Prova il modello

anthropic/claude-3.5-haiku
Online
anthropic
Ciao! Sono un assistente IA utile. Come posso aiutarti?

Utilizzo API

Usa i seguenti esempi di codice per integrare la nostra 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.5-haiku",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

Introduzione al modello

Anthropic claude-3.5-haiku

anthropic claude-3.5-haiku


Why It Looks Great

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

Key Features

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

Specifications

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

Pricing

Token TypeCost per Million Tokens
Input$0.9
Output$4.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.5-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.5-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.5-haiku",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

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

Info

Provideranthropic
Tipollm

Funzionalità supportate

Input
TestoImmagine
Output
Testo
Contesto200,000
Output massimo8,192
Vision✓ Supportato
Function Calling✓ Supportato

Guida all'accesso API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID modelloanthropic/claude-3.5-haiku

Claude 3.5 Haiku API

anthropic/claude-3.5-haiku

Claude 3.5 Haiku features offers enhanced capabilities in speed, coding accuracy, and tool use. Engineered to excel in real-time applications, it delivers quick response times that are essential for dynamic...

Input

$0.8 /M

Output

$4 /M

Contesto

200K

Output max

8K

Vision

Supportato

Uso strumenti

Supportato

Prova Claude 3.5 Haiku su WaveSpeedAI

Accedi a Claude 3.5 Haiku tramite la nostra API unificata — compatibile con OpenAI, senza cold start, prezzi trasparenti.

Domande frequenti su Claude 3.5 Haiku

Quanto costa Claude 3.5 Haiku via API?+

Prezzi su WaveSpeedAI: $0.80 per milione di token in input e $4.00 per milione di token in output. Prompt caching e batch processing sono fatturati separatamente e riducono il costo effettivo su carichi lunghi e ripetitivi.

Qual è la context window di Claude 3.5 Haiku?+

Claude 3.5 Haiku supporta fino a 200K token di contesto e fino a 8K token di output per richiesta.

Claude 3.5 Haiku è compatibile con OpenAI?+

Sì. WaveSpeedAI espone Claude 3.5 Haiku tramite un endpoint compatibile con OpenAI all'indirizzo https://llm.wavespeed.ai/v1. Punta l'SDK ufficiale di OpenAI a questa base URL con la tua API key WaveSpeedAI — senza altre modifiche al codice.

Come si inizia con Claude 3.5 Haiku?+

Accedi a WaveSpeedAI, crea una API key in Access Keys, poi invia una richiesta a https://llm.wavespeed.ai/v1/chat/completions con il model id mostrato sopra. I nuovi account ricevono crediti gratuiti per testare Claude 3.5 Haiku.

API LLM correlate