Seedream 5.0 Pro yayında | Görsel Üretici'de deneyin →
anthropic
anthropic/claude-3-haiku

anthropic/claude-3-haiku

Yayın tarihi: 2024-03-13

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

Fiyatlandırma

Kullandıkça öde

Ön ödeme yok, yalnızca kullandığınız kadar ödeyin

Giriş$0.25 / M Tokens
Çıkış$1.25 / M Tokens
Cache Read$0.03 / M Tokens
Cache Write$0.30 / M Tokens

Modeli dene

anthropic/claude-3-haiku
Çevrimiçi
anthropic
Merhaba! Yardımcı bir yapay zeka asistanıyım. Size nasıl yardımcı olabilirim?
Bu modeli yerel bir coding agent içinde kullanmaya hazır mısınız?Agent setup

API Kullanımı

API'mizle entegre etmek için aşağıdaki kod örneklerini kullanın:

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)

Model Tanıtımı

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

Bilgi

Sağlayıcıanthropic
Türllm

Desteklenen İşlevsellik

Giriş
MetinGörsel
Çıkış
Metin
Bağlam200,000
Maks. Çıkış4,096
Vision✓ Destekleniyor
Function Calling✓ Destekleniyor

API Erişim Kılavuzu

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDanthropic/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

Giriş

$0.25 /M

Çıkış

$1.25 /M

Bağlam

200K

Maks. Çıkış

4K

Vision

Destekleniyor

Araç Kullanımı

Destekleniyor

Claude 3 Haiku'i WaveSpeedAI'da deneyin

Birleşik API'miz aracılığıyla Claude 3 Haiku'e erişin — OpenAI uyumlu, soğuk başlatma yok, şeffaf fiyatlandırma.

Claude 3 Haiku hakkında sık sorulan sorular

Claude 3 Haiku API ücreti ne kadar?+

WaveSpeedAI fiyatlandırması: milyon giriş tokenı başına $0.25 ve milyon çıkış tokenı başına $1.25. Prompt caching ve toplu işleme ayrı faturalanır ve uzun, tekrar eden yüklerde etkin maliyeti düşürür.

Claude 3 Haiku'in bağlam penceresi nedir?+

Claude 3 Haiku istek başına 200K bağlam tokenını ve 4K çıkış tokenını destekler.

Claude 3 Haiku OpenAI uyumlu mu?+

Evet. WaveSpeedAI, Claude 3 Haiku modelini https://llm.wavespeed.ai/v1 adresindeki OpenAI uyumlu endpoint üzerinden sunar. Resmi OpenAI SDK'sını WaveSpeedAI API anahtarınızla bu base URL'ye yöneltin — başka kod değişikliği gerekmez.

Claude 3 Haiku'e nasıl başlarım?+

WaveSpeedAI'a giriş yapın, Access Keys'te bir API anahtarı oluşturun, ardından yukarıda gösterilen model id ile https://llm.wavespeed.ai/v1/chat/completions adresine bir istek gönderin. Yeni hesaplar Claude 3 Haiku'i değerlendirmek için ücretsiz krediler alır.

İlgili LLM API'leri

Claude 3 Haiku | Anthropic Fastest LLM API | WaveSpeedAI