Claude API Integration

Available Models

Claude 3.5 Sonnet

The smartest and latest model in the 3.5 family, offering a 200K token context window and processing capabilities for text and images.

  • • API Name: claude-3-5-sonnet-v2@20241022
  • • $3 per million input tokens, $15 per million output tokens
  • • Trained until April 2024

Claude 3.5 Haiku

The fastest model in the family, with a 200K token context window, ideal for rapid processing tasks.

  • • API Name: claude-3-5-haiku@20241022
  • • $1 per million input tokens, $5 per million output tokens
  • • Trained until July 2024

Claude 3 Opus

The most powerful for complex tasks, ideal for research and development.

  • • API Name: claude-3-opus@20240229
  • • $15 per million input tokens, $75 per million output tokens

Claude 3 Sonnet

Balances capability and speed, suitable for a variety of tasks.

  • • API Name: claude-3-sonnet@20240229
  • • $3 per million input tokens, $15 per million output tokens

Claude 3 Haiku

The fastest and most economical version, perfect for cost-effective solutions.

  • • API Name: claude-3-haiku@20240307
  • • $0.25 per million input tokens, $1.25 per million output tokens

Claude 2.1

Supports message and text completion APIs, offering reliable performance.

  • • API Name: claude-2.1
  • • $8 per million input tokens, $24 per million output tokens

Claude 2.0

Offers similar pricing to Claude 2.1 but with lower performance compared to Claude 3 models.

  • • API Name: claude-2.0
  • • $8 per million input tokens, $24 per million output tokens

Claude Instant 1.2

The most economical model from the previous generation, ideal for budget-conscious applications.

  • • API Name: claude-instant-1.2
  • • $0.80 per million input tokens, $2.40 per million output tokens

Key Features

Claude models represent a significant advancement in AI capabilities, offering improvements in reasoning, knowledge, and coding skills.

  • • Advanced reasoning and analysis
  • • Detailed and nuanced responses
  • • Code generation and review
  • • Multi-step problem solving