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
- Go to console.anthropic.com
- Sign up or log in to your Anthropic account
- Navigate to API Keys in the left sidebar
- Click Create Key
- Give it a descriptive name (e.g., “Lenno Agent”)
-
Copy the key – it starts with
sk-ant-
Important: Store your key securely. Anthropic will not show it again after creation.
Adding to Lenno
- Go to your agent’s Provider tab
- Select Anthropic from the provider list
- Paste your API key
- Choose a model
- Click Save
Available Models
| Model | Context | Best For | Cost |
|---|---|---|---|
| claude-opus-4-20250514 | 200K tokens | Most capable, complex analysis | $$$ |
| claude-sonnet-4-20250514 | 200K tokens | Great balance of quality and speed | $$ |
| claude-haiku-3-20250307 | 200K tokens | Fast, cost-effective for simpler tasks | $ |
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.