Skip to main content

Anthropic

Requisites

To use Anthropic models, you need to have an Anthropic API key. You can get one by signing up at Anthropic's website.

Required credentials:

  • ANTHROPIC_API_KEY: Your Anthropic API key.

Supported Models:

All models provided by Anthropic has the following properties:

  • Function call: Not supported
  • Streaming: Supported

All models accept the following extra configs when generating texts:

  • temperature
  • top_p
  • top_k
  • max_tokens
  • stop

Claude Instant 1.2

  • Model schema id: anthropic/claude-instant-1.2
  • Input token limit: 100,000
  • Output token limit: 4096

Claude Instant 1.2 incorporates the strengths of our latest model Claude 2 in real-world use cases and shows significant gains in key areas like math, coding, reasoning, and safety. It generates longer, more structured responses and follows formatting instructions better. Instant 1.2 also shows improvements in quote extraction, multilingual capabilities, and question answering.

Claude 2.0

  • Model schema id: anthropic/claude-2.0
  • Input token limit: 100,000
  • Output token limit: 4096

Claude 2 has improved performance, longer responses, and can be accessed via API as well as a new public-facing beta website, claude.ai. We have heard from our users that Claude is easy to converse with, clearly explains its thinking, is less likely to produce harmful outputs, and has a longer memory. We have made improvements from our previous models on coding, math, and reasoning.

Claude 2.1

  • Model schema id: anthropic/claude-2.1
  • Input token limit: 200,000
  • Output token limit: 4096

Claude 2.1 delivers advancements in key capabilities for enterprises—including an industry-leading 200K token context window, significant reductions in rates of model hallucination, system prompts and our new beta feature: tool use.