AnthropicChat
Anthropic: Claude 3.5 Haiku
anthropic/claude-3.5-haiku
200KContext Window
8KMax Output
Supported Protocols:max_tokenstemperaturetop_ptop_kstoptoolstool_choice
Normal
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 tasks such as chat interactions and immediate coding suggestions. This makes it highly suitable for environments that demand both speed and precision, such as software development, customer service bots, and data management systems. This model is currently pointing to [Claude 3.5 Haiku (2024-10-22)](/anthropic/claude-3-5-haiku-20241022).
Capabilities
👁 Vision🔧 Function CallingText GenerationCode GenerationAnalysis & ReasoningReasoning
Technical Specs
Input Modality
Text、Image
Output Modality
Text
Arch
—
Default Temperature
0.7
Default Top_P
1
Pricing
Pay per use, no monthly fees| Billing Type | Unit | Price |
|---|---|---|
| Text Input | — | $0.8000/M tokens |
| Text Output | — | $4.0000/M tokens |
| Cache Read | — | $0.0800/M tokens |
| Cache Write 1h | — | $1.0000/M tokens |
| Cache Write | — | $1.0000/M tokens |
| Image Input | — | < $0.001/张 |
| Web Search | — | $0.0100/次 |
Quick Start
from openai import OpenAI
client = OpenAI(
base_url="https://api.uniontoken.ai/v1",
api_key="YOUR_UNIONTOKEN_API_KEY",
)
response = client.chat.completions.create(
model="anthropic/claude-3.5-haiku",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)FAQ
Anthropic
Anthropic: Claude 3.5 Haiku
anthropic/claude-3.5-haiku
In< ¥0.001/1K
Out< ¥0.001/1K
Context Window200K
Max Output8K
Related Models
View All → →Ready to get started?
Get 1M free tokens on registration, no monthly fees or minimum spend
Register Now →