---
title: Anthropic
---

<!-- THIS FILE IS AUTO-GENERATED BY website/scripts/generate-model-docs.js. DO NOT EDIT MANUALLY. -->

# Anthropic

Use `anthropic/<model>` with VoltAgent's model router.

## Quick start

```ts
import { Agent } from "@voltagent/core";

const agent = new Agent({
  name: "anthropic-agent",
  instructions: "You are a helpful assistant",
  model: "anthropic/claude-3-5-haiku-20241022",
});
```

## Environment variables

- `ANTHROPIC_API_KEY`

## Provider package

`@ai-sdk/anthropic`

## Default base URL

Not listed.

You can override the base URL by setting `ANTHROPIC_BASE_URL`.

## Provider docs

- https://docs.anthropic.com/en/docs/about-claude/models

## Models

<details>
  <summary>Show models (21)</summary>

- claude-3-5-haiku-20241022
- claude-3-5-haiku-latest
- claude-3-5-sonnet-20240620
- claude-3-5-sonnet-20241022
- claude-3-7-sonnet-20250219
- claude-3-7-sonnet-latest
- claude-3-haiku-20240307
- claude-3-opus-20240229
- claude-3-sonnet-20240229
- claude-haiku-4-5
- claude-haiku-4-5-20251001
- claude-opus-4-0
- claude-opus-4-1
- claude-opus-4-1-20250805
- claude-opus-4-20250514
- claude-opus-4-5
- claude-opus-4-5-20251101
- claude-sonnet-4-0
- claude-sonnet-4-20250514
- claude-sonnet-4-5
- claude-sonnet-4-5-20250929

</details>
