Anthropic (Claude) Setup

Claude is Anthropic’s family of AI models, known for strong reasoning, nuanced understanding, and long context windows.

Getting Your API Key

  1. Go to console.anthropic.com
  2. Sign up or log in to your Anthropic account
  3. Navigate to API Keys in the left sidebar
  4. Click Create Key
  5. Give it a descriptive name (e.g., “Lenno Agent”)
  6. Copy the key – it starts with sk-ant-

Important: Store your key securely. Anthropic will not show it again after creation.

Adding to Lenno

  1. Go to your agent’s Provider tab
  2. Select Anthropic from the provider list
  3. Paste your API key
  4. Choose a model
  5. Click Save

Available Models

Model Context Best For Cost
claude-opus-4-6 200K tokens Most capable, complex analysis $$$
claude-sonnet-4-6 200K tokens Great balance of quality and speed $$
claude-haiku-4-5-20251001 200K tokens Fast, cost-effective for simpler tasks $

In CLI mode, models are selected by the short aliases opus, sonnet, and haiku (the default is sonnet); the dated model IDs above apply to API mode.

CLI vs API Mode

Lenno supports two execution modes for Claude:

  • CLI Mode – Uses the Claude CLI tool inside the agent’s container. Flat-rate with an Anthropic Max subscription. Best for development and unlimited usage.
  • API Mode – Direct API calls with per-token billing. Best for production workloads with predictable volume.

The mode is determined by your agent’s active provider slot configuration.

Pricing Notes

Anthropic charges per input and output token. Current pricing is available at anthropic.com/pricing. For high-volume usage, consider the Max plan for flat-rate CLI access.