Claude 3 Haiku

Anthropic

Cheapest Claude model. Fast responses for simple tasks and basic coding.

Context Window: 200K tokens Released: 2024-03 Best For: Simple queries, fast responses, cost-sensitive tasks
  • Fastest Claude model
  • Lowest cost
  • Claude 3 Haiku Pricing

    Token TypePrice per Million
    Input tokens$0.250
    Output tokens$1.25

    Estimated Cost by Project Size

    Realistic cost estimates for common coding scenarios. Assumes 30% cache hit rate where caching is available.

    ScenarioToken UsageEstimated Cost
    Small Script (1K lines) 50K input / 30K output $0.05
    Medium Feature (10K lines) 500K input / 200K output $0.34
    Large Project (50K lines) 2,500K input / 1,000K output $1.69
    Code Review (5K lines) 250K input / 25K output $0.07

    Benchmark Performance — Claude 3 Haiku

    Third-party benchmark scores normalized to 0-100 scale. Higher is better. Aggregated scores from published third-party benchmarks. SWE-bench measures real GitHub issue resolution. LiveCodeBench measures competitive programming ability. HumanEval measures basic code generation. BigCodeBench measures practical, multi-step coding tasks. All scores normalized to 0-100 scale.

    Overall Score 45/100
    SWE-bench Verified
    38
    LiveCodeBench
    46
    HumanEval
    68
    BigCodeBench
    30

    Sources: SWE-bench Verified, LiveCodeBench, HumanEval, BigCodeBench

    Get Access to Claude 3 Haiku

    Ready to start using Claude 3 Haiku? Get API access directly from Anthropic.

    Get API Access → Try Claude 3 Haiku Free →

    How Does Claude 3 Haiku Compare?

    ModelInput ($/M)Medium Feature Cost
    Claude 3 Haiku $0.250 $0.34 selected
    Qwen Coder Turbo $0.250 $0.34 Compare
    Llama 3.3 70B $0.250 $0.29 Compare
    DeepSeek Chat V3 $0.270 $0.31 Compare
    DeepSeek Coder V2 $0.270 $0.31 Compare
    DeepSeek Coder V3 $0.270 $0.31 Compare

    Related Models

    Categories