anthropicVision
Anthropic: Claude 3 Haiku
Claude 3 Haiku is Anthropic's fastest and most compact model for near-instant responsiveness. Quick and accurate targeted performance. See the launch announcement and benchmark results [here](https://www.anthropic.com/news/claude-3-haiku) #multimodal
Context
200k tokens
Input / 1M tokens
$0.25
Output / 1M tokens
$1.25
Benchmark
—
Pricing
Input tokens$0.25 per 1M tokens
Output tokens$1.25 per 1M tokens
Cache read$0.03 per 1M tokens
Cache write$0.30 per 1M tokens
Technical details
Model IDanthropic/claude-3-haiku
Context window200k tokens
Input modalitiestext, image, pdf
Output modalitiestext
TokenizerClaude
Max output tokens4,096
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'anthropic/claude-3-haiku',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Anthropic: Claude 3 Haiku?
Get an API key and start making requests in minutes.
Get an API key