anthropic
Anthropic Claude 3 Haiku
anthropic/claude-3-haiku
Input$0.250 /1M tokens
·Output$1.25 /1M tokens
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
Code Examples
import requests
response = requests.post(
"https://neurongate.net/v1/chat/completions",
headers={
"Authorization": "Bearer ng-your-api-key",
"Content-Type": "application/json"
},
json={
"model": "anthropic/claude-3-haiku",
"messages": [
{"role": "user", "content": "Hello!"}
]
}
)
print(response.json()["choices"][0]["message"]["content"])Pricing Details
| Example | Cost |
|---|---|
| 1K input tokens (short prompt) | $0.00025 |
| 1K in + 500 out (typical response) | $0.00088 |
| 10K in + 2K out (document analysis) | $0.00500 |
| 100K in + 10K out (large context) | $0.0375 |
Prices in USD. Billed per actual token usage. Prepay with USDT, USDC, ETH, or BTC.
Frequently Asked Questions
Capabilities
Streaming
YesFunction Calling / Tools
YesVision (Image Input)
YesAudio Processing
NoContext Window
200K tokens
~150K words of text
Max output
4K tokens
Modalities
Input
textimage
Output
text