> ## Documentation Index
> Fetch the complete documentation index at: https://hyperlocalise.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Anthropic

> Cấu hình Anthropic làm nhà cung cấp LLM cho việc tạo bản dịch.

## Giá trị nhà cung cấp

Dùng `anthropic` trong `llm.profiles.<name>.provider`.

## Ví dụ hồ sơ

```json theme={null}
{
  "llm": {
    "profiles": {
      "default": {
        "provider": "anthropic",
        "model": "claude-sonnet-4-5",
        "prompt": "Translate from {{source}} to {{target}}:\n\n{{input}}"
      }
    }
  }
}
```

## Biến môi trường bắt buộc

<CodeGroup>
  ```bash Export theme={null}
  export ANTHROPIC_API_KEY="your-anthropic-api-key"
  ```

  ```bash .env.local theme={null}
  ANTHROPIC_API_KEY="your-anthropic-api-key"
  ```
</CodeGroup>

## Biến môi trường tùy chọn

`ANTHROPIC_BASE_URL` mặc định là `https://api.anthropic.com/v1`.
