Anthropic · Instant
Claude 3.5 Haiku
anthropic/claude-3.5-haiku
Low-latency Anthropic model ideal for quick inline completions and lightweight agents.
Input Price / 1M Tokens
$0.98
Output Price / 1M Tokens
$4.88
Context Window
200K
FastCodingTools
Python Example — anthropic/claude-3.5-haiku
from openai import OpenAI
client = OpenAI(
base_url="https://relaystack-ai.vercel.app/v1",
api_key="sk-rs-your-key-here",
)
response = client.chat.completions.create(
model="anthropic/claude-3.5-haiku",
messages=[{"role": "user", "content": "Hello from RelayStack!"}],
)
print(response.choices[0].message.content)