Claude Haiku 3.5
Anthropic's fast and affordable model. Great for quick tasks, summarization, and simple coding.
0.7
Examples
See what Claude Haiku 3.5 can generate
Classify the sentiment of this review: 'The food was decent but the service was painfully slow. Waited 45 minutes for appetizers.'
Sentiment: Mixed/Negative. The review acknowledges acceptable food quality ('decent') but expresses clear frustration with service speed. The word 'painfully' and the specific wait time of 45 minutes indicate the negative experience with service outweighed the neutral food assessment. Overall lean: negative.
Translate 'Where is the nearest train station?' into French, Spanish, and Japanese
French: 'OĂč est la gare la plus proche ?' Spanish: 'ÂżDĂłnde estĂĄ la estaciĂłn de tren mĂĄs cercana?' Japanese: 'æćŻăăźé§ ăŻă©ăă§ăăïŒ' (Moyori no eki wa doko desu ka?)
Pricing
API Integration
Use our OpenAI-compatible API to integrate Claude Haiku 3.5 into your application.
npm install railwailimport railwail from "railwail";
const rw = railwail("YOUR_API_KEY");
// Simple â just pass a string
const reply = await rw.run("claude-haiku-3-5", "Hello! What can you do?");
console.log(reply);
// With message history
const reply2 = await rw.run("claude-haiku-3-5", [
{ role: "system", content: "You are a helpful assistant." },
{ role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);
// Full response with usage info
const res = await rw.chat("claude-haiku-3-5", [
{ role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);Related Models
View all Text & ChatClaude Opus 4
Anthropic's most powerful model. Exceptional at complex analysis, agentic tasks, and extended reasoning.
Claude Sonnet 4
Anthropic's most capable model. Excellent for complex analysis, coding, math, and creative writing.
GPT-4.1
OpenAI's newest flagship model. Improved reasoning, instruction following, and coding over GPT-4o.
GPT-4o
OpenAI's most capable multimodal model. Excellent for complex reasoning, coding, and creative tasks.
Start using Claude Haiku 3.5 today
Get started with free credits. No credit card required. Access Claude Haiku 3.5 and 100+ other models through a single API.