anthropic/claude-3-haiku-20240307Anthropic's Claude 3 Haiku, the fastest Claude 3 model optimized for speed and affordability.
| Mode | chat |
| Context Window | 200K tokens |
| Max Output | 4K tokens |
| Function Calling | Supported |
| Vision | Supported |
| Reasoning | - |
| Web Search | - |
| Url Context | - |
from openai import OpenAI
client = OpenAI(
base_url="https://api.haimaker.ai/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="anthropic/claude-3-haiku-20240307",
messages=[
{"role": "user", "content": "Hello, how are you?"}
],
)
print(response.choices[0].message.content)OpenAI-compatible endpoint. Start building in minutes.