Skip to content

Anthropic

Anthropic provides the Claude series of models, known for their helpful, harmless, and honest behavior.

Setup

  1. Get an API key from console.anthropic.com
  2. In Alma, go to SettingsProvidersAdd Provider
  3. Select Anthropic as the provider type
  4. Enter your API key
  5. Click Save

Available Models

ModelDescriptionContext Window
claude-sonnet-4Best balance of intelligence and speed200K
claude-haiku-4-5Fast and cost-effective200K
claude-opus-4Most capable Claude model200K

Configuration Options

Base URL

Leave empty for official Anthropic API. Custom URLs can be used for proxy services.

Features

Extended Thinking

Claude supports extended thinking (reasoning) for complex problems:

  1. Enable Extended Thinking in the chat toolbar
  2. Select effort level: Low, Medium, or High
  3. Claude will show its reasoning process in the response

Vision

All Claude 3 models support image inputs. Attach images for:

  • Document analysis
  • Image description
  • Visual reasoning

Tools

Claude fully supports Alma's tool system with excellent tool-use capabilities.

Long Context

Claude's 200K context window allows for:

  • Analyzing long documents
  • Extended conversations
  • Large codebases

Anthropic-Specific Features

System Prompts

Claude pays special attention to system prompts. Use them to:

  • Set the assistant's persona
  • Define output formats
  • Establish guidelines

Prompt Caching

Alma supports prompt caching for Claude, reducing costs for repeated context.

Pricing

See Anthropic Pricing for current rates.

Troubleshooting

"Authentication Error"

  • Verify your API key at console.anthropic.com
  • Ensure the key is active and has remaining credits

"Content Filtered"

  • Claude has strong content filters
  • Rephrase your request to be more specific
  • Avoid potentially harmful requests

"Context Length Exceeded"

  • Your conversation is too long
  • Start a new chat or use context compaction