🪶
Claude Haiku 3.5
by Anthropic · 200k context · fast
Fast, cost-effective Claude model. Near-instant responses for classification, extraction, and customer-facing applications where speed matters.
Pricing Comparison
Per 1 million tokens
| Official (Anthropic) | NeatAPI | You Save | |
|---|---|---|---|
| Input Tokens | $0.80 | $0.76 | $0.04 |
| Output Tokens | $4.00 | $3.80 | $0.20 |
That's 5% savings on every API call. See full pricing →
Code Examples
Drop-in replacement — just change the base URL and API key.
Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(
base_url="https://api.neatapi.ai/v1",
api_key="your-neatapi-key"
)
response = client.chat.completions.create(
model="claude-haiku-3-5",
messages=[
{"role": "user", "content": "Hello, world!"}
]
)
print(response.choices[0].message.content) Node.js
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.neatapi.ai/v1',
apiKey: 'your-neatapi-key'
});
const response = await client.chat.completions.create({
model: 'claude-haiku-3-5',
messages: [
{ role: 'user', content: 'Hello, world!' }
]
});
console.log(response.choices[0].message.content); cURL
curl https://api.neatapi.ai/v1/chat/completions \
-H "Authorization: Bearer your-neatapi-key" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-haiku-3-5",
"messages": [
{"role": "user", "content": "Hello, world!"}
]
}' Key Specifications
Provider
Anthropic
Context Window
200k tokens
Category
Fast
API Format
OpenAI-compatible
Related Models
Start Using Claude Haiku 3.5 Today
Get your API key in 30 seconds. Same API format as Anthropic — zero migration effort.