Seedream 5.0 Pro अब लाइव है | Image Generator में आज़माएं →
साइन इन
anthropic
anthropic/claude-3-haiku

anthropic/claude-3-haiku

प्रकाशन तिथि: 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

मूल्य निर्धारण

उपयोग के अनुसार भुगतान

कोई अग्रिम लागत नहीं, केवल उतना ही भुगतान करें जितना आप उपयोग करते हैं

इनपुट$0.25 / M Tokens
आउटपुट$1.25 / M Tokens
Cache Read$0.03 / M Tokens
Cache Write$0.30 / M Tokens

मॉडल आज़माएं

anthropic/claude-3-haiku
ऑनलाइन
anthropic
नमस्ते! मैं एक सहायक AI असिस्टेंट हूं। मैं आपके लिए क्या कर सकता हूं?
क्या इस मॉडल को लोकल कोडिंग एजेंट में इस्तेमाल करने के लिए तैयार हैं?एजेंट सेटअप

API उपयोग

हमारे API के साथ एकीकृत करने के लिए निम्नलिखित कोड उदाहरणों का उपयोग करें:

import OpenAI from 'openai';

if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
  apiKey: process.env.WAVESPEED_API_KEY,
  baseURL: 'https://llm.wavespeed.ai/v1',
  timeout: 120_000,
  maxRetries: 2,
});

try {
  const response = await client.chat.completions.create({
    model: 'anthropic/claude-3-haiku',
    messages: [{ role: 'user', content: 'Hello!' }],
  });
  console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
  console.error('LLM request failed:', error);
  process.exitCode = 1;
}

मॉडल परिचय

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

जानकारी

प्रदाताanthropic
प्रकारllm

समर्थित कार्यक्षमता

इनपुट
टेक्स्टछवि
आउटपुट
टेक्स्ट
कॉन्टेक्स्ट200,000
अधिकतम आउटपुट4,096
विज़न✓ समर्थित
फ़ंक्शन कॉलिंग✓ समर्थित

API एक्सेस गाइड

बेस URLhttps://llm.wavespeed.ai/v1
API एंडपॉइंटchat/completions
मॉडल 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

इनपुट

$0.25 /M

आउटपुट

$1.25 /M

कॉन्टेक्स्ट

200K

अधिकतम आउटपुट

4K

विज़न

समर्थित

टूल उपयोग

समर्थित

WaveSpeedAI पर Claude 3 Haiku आज़माएं

हमारे एकीकृत API के ज़रिए Claude 3 Haiku तक पहुंचें — OpenAI-कम्पैटिबल, कोई कोल्ड स्टार्ट नहीं, पारदर्शी मूल्य निर्धारण।

Claude 3 Haiku के बारे में अक्सर पूछे जाने वाले सवाल

API के ज़रिए Claude 3 Haiku की लागत कितनी है?+

WaveSpeedAI पर मूल्य निर्धारण: प्रति मिलियन इनपुट टोकन $0.25 और प्रति मिलियन आउटपुट टोकन $1.25। प्रॉम्प्ट कैशिंग और बैच प्रोसेसिंग की बिलिंग अलग से होती है और लंबे, दोहराव वाले वर्कलोड पर प्रभावी लागत कम करती है।

Claude 3 Haiku की कॉन्टेक्स्ट विंडो क्या है?+

Claude 3 Haiku प्रति अनुरोध 4K टोकन तक के आउटपुट के साथ 200K टोकन तक के कॉन्टेक्स्ट को सपोर्ट करता है।

क्या Claude 3 Haiku OpenAI-कम्पैटिबल है?+

WaveSpeedAI Claude 3 Haiku को https://llm.wavespeed.ai/v1 पर OpenAI-कम्पैटिबल Chat Completions इंटरफ़ेस के ज़रिए उपलब्ध कराता है। अधिकांश OpenAI SDK क्लाइंट बेस URL और API कुंजी बदलकर काम करते हैं; वैकल्पिक फ़ील्ड चयनित मॉडल पर निर्भर करते हैं।

मैं Claude 3 Haiku के साथ कैसे शुरू करूं?+

WaveSpeedAI में साइन इन करें, Access Keys में एक API कुंजी बनाएं, फिर ऊपर दिखाए गए मॉडल id के साथ https://llm.wavespeed.ai/v1/chat/completions पर एक अनुरोध भेजें। उपलब्धता, क्षमताओं और मूल्य निर्धारण के लिए वर्तमान मॉडल कैटलॉग देखें।

संबंधित LLM API

Claude 3 Haiku | Anthropic Fastest LLM API | WaveSpeedAI