Skip to main content
Core.Today
|
AnthropicFastHigh

Claude 3.5 Haiku

Fast, cost-effective model for everyday tasks. Great balance of speed, intelligence, and cost for high-volume applications.

1 credits
per 1K tokens (avg)
200K context window
8K max output tokens
Vision capabilities
Fastest Claude model
Most cost-effective
Tool use support

Model Specifications

Context Window
200K
tokens
Max Output
8K
tokens
Training Cutoff
2024-04
Compatible SDK
Anthropic

Capabilities

Vision
Function Calling
Streaming
JSON Mode
System Prompt

Token Pricing (per 1M tokens)

Token TypeCreditsUSD Equivalent
Input Tokens800$0.80
Output Tokens4,000$4.00
Cached Tokens80$0.08

* 1 credit β‰ˆ $0.001 (actual charges may vary based on usage)

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
  "model": "claude-3.5-haiku",
  "input": {
    "model": "claude-3-5-haiku-20241022",
    "max_tokens": 500,
    "messages": [
      {
        "role": "user",
        "content": "What are the main benefits of renewable energy?"
      }
    ]
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
messagesarrayYes-Array of message objects
max_tokensintegerYes-Maximum tokens in response
temperaturefloatNo1.0Sampling temperature (0-1)

Examples

Quick Response

Fast conversational response

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
  "model": "claude-3.5-haiku",
  "input": {
    "model": "claude-3-5-haiku-20241022",
    "max_tokens": 500,
    "messages": [
      {
        "role": "user",
        "content": "What are the main benefits of renewable energy?"
      }
    ]
  }
}'

Tips & Best Practices

1Best for high-volume, cost-sensitive use cases
2Great for prototyping before using larger models
3Fastest response times in Claude family
4Use for simple tasks that don't need Sonnet/Opus

Use Cases

High-volume chatbots
Quick Q&A
Simple classification
Data labeling
Real-time interactions
Content moderation

Model Info

ProviderAnthropic
Version20241022
CategoryLLM
Price1 credits

API Endpoint

POST /llm/anthropic/v1/messages
Try in PlaygroundBack to Docs