Skip to main content
LibreChat is joining ClickHouse to power the open-source Agentic Data Stack ๐ŸŽ‰ Learn more
LibreChat

Anthropic

  • **https://platform.claude.com/**์—์„œ ๊ณ„์ •์„ ๋งŒ๋“œ์„ธ์š”.
  • **https://platform.claude.com/settings/keys**๋กœ ์ด๋™ํ•˜์—ฌ api key๋ฅผ ๋ฐ›์œผ์„ธ์š”.
  • ๋‹ค์Œ ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ๊ท€ํ•˜์˜ ํ‚ค๋กœ ์„ค์ •ํ•ด์•ผ ํ•˜๋ฉฐ, ์‚ฌ์šฉ์ž๊ฐ€ ์ง์ ‘ ํ‚ค๋ฅผ ์ œ๊ณตํ•˜๋„๋ก ํ•˜๋ ค๋ฉด user_provided๋กœ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
ANTHROPIC_API_KEY=user_provided
  • ANTHROPIC_MODELS๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ชจ๋ธ์„ ๊ฒฐ์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
ANTHROPIC_MODELS=claude-fable-5,claude-opus-4-8,claude-opus-4-7,claude-sonnet-4-6,claude-opus-4-6,claude-opus-4-20250514,claude-3-7-sonnet-20250219,claude-3-5-sonnet-20241022,claude-3-5-haiku-20241022

์ฐธ๊ณ :

  • Claude Fable 5๋Š” LibreChat์˜ ๊ธฐ๋ณธ Anthropic ๋ชจ๋ธ ์นดํƒˆ๋กœ๊ทธ์— ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. Fable/Mythos ๊ณ„์—ด ๋ชจ๋ธ์€ LibreChat์—์„œ ์ตœ์‹  Anthropic ํ”„๋กœํ•„์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค: 1M ์ปจํ…์ŠคํŠธ, 128K ์ตœ๋Œ€ ์ถœ๋ ฅ, ์ ์‘ํ˜• ์‚ฌ๊ณ (adaptive thinking), ํ”„๋กฌํ”„ํŠธ ์บ์‹ฑ, ๊ทธ๋ฆฌ๊ณ  ์š”์•ฝ๋˜๊ฑฐ๋‚˜ ์ƒ๋žต๋œ ์ถ”๋ก  ์ถœ๋ ฅ์„ ์œ„ํ•œ thinkingDisplay ์ง€์›์ด ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.
  • Anthropic endpoint๋Š” librechat.yaml ๊ตฌ์„ฑ ํŒŒ์ผ์„ ํ†ตํ•ด Shared Endpoint Settings์˜ ๋ชจ๋“  ์„ค์ •์„ ์ง€์›ํ•˜๋ฉฐ, ์—ฌ๊ธฐ์—๋Š” streamRate, headers, titleModel, titleMethod, titlePrompt, titlePromptTemplate ๋ฐ titleEndpoint๊ฐ€ ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.
  • Anthropic ๋˜๋Š” Anthropic ํ˜ธํ™˜ ๊ฒŒ์ดํŠธ์›จ์ด๋ฅผ ๋ณ„๋„์˜ ์‚ฌ์šฉ์ž ์ง€์ • endpoint๋กœ ๊ตฌ์„ฑํ•˜๋ ค๋ฉด provider: "anthropic"๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”.

Vertex AI

LibreChat์€ Google Cloud Vertex AI๋ฅผ ํ†ตํ•ด Anthropic Claude ๋ชจ๋ธ์„ ์‹คํ–‰ํ•˜๋Š” ๊ฒƒ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. ์ด๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ์— ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค:

  • ์ด๋ฏธ Google Cloud ์ธํ”„๋ผ๋ฅผ ๋ณด์œ ํ•˜๊ณ  ์žˆ๋Š” ๊ฒฝ์šฐ
  • ๊ธฐ์กด GCP ๊ฒฐ์ œ ๋ฐ ์ž๊ฒฉ ์ฆ๋ช…์„ ์‚ฌ์šฉํ•˜๊ณ  ์‹ถ์œผ์‹ ๊ฐ€์š”?
  • ์ง€์—ญ ๋ฐ์ดํ„ฐ ๋ณด์กด ์š”๊ตฌ ์‚ฌํ•ญ์„ ์ค€์ˆ˜ํ•ด์•ผ ํ•จ

๋น ๋ฅธ ์„ค์ • (ํ™˜๊ฒฝ ๋ณ€์ˆ˜)

Vertex AI๋ฅผ ํ†ตํ•ด Anthropic์„ ํ™œ์„ฑํ™”ํ•˜๋ ค๋ฉด ๋‹ค์Œ ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ์„ค์ •ํ•˜์„ธ์š”:

# Enable Vertex AI mode for Anthropic
ANTHROPIC_USE_VERTEX=true

# Vertex AI region (optional, defaults to 'us-east5')
# Available regions: global, us-east5, us-central1, europe-west1, europe-west4, asia-southeast1
ANTHROPIC_VERTEX_REGION=global

# Path to Google service account key file (optional)
# If not specified, uses default path: api/data/auth.json
GOOGLE_SERVICE_KEY_FILE=/path/to/service-account.json

ํ•„์ˆ˜ ์กฐ๊ฑด

  1. Vertex AI API๊ฐ€ ํ™œ์„ฑํ™”๋œ Google Cloud Project
  2. ๋‹ค์Œ ์—ญํ• ์„ ๊ฐ€์ง„ Service Account:
    • Vertex AI User (roles/aiplatform.user)
    • ๋˜๋Š” ์ „์ฒด ์•ก์„ธ์Šค ๊ถŒํ•œ์„ ์œ„ํ•ด Vertex AI Administrator
  3. Vertex AI Model Garden์—์„œ ํ™œ์„ฑํ™”๋œ Claude models
  4. Service Account Key (JSON ํŒŒ์ผ)๊ฐ€ ๋‹ค์šด๋กœ๋“œ๋˜์–ด LibreChat์—์„œ ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๊ณ ๊ธ‰ ๊ตฌ์„ฑ

๋ชจ๋ธ ์ด๋ฆ„ ๋งคํ•‘ ๋ฐ ๊ณ ๊ธ‰ ์„ค์ •(Azure OpenAI ๊ตฌ์„ฑ๊ณผ ์œ ์‚ฌ)์„ ์œ„ํ•ด์„œ๋Š” librechat.yaml ํŒŒ์ผ์„ ์‚ฌ์šฉํ•˜์„ธ์š”:

endpoints:
  anthropic:
    vertex:
      region: us-east5
      models:
        claude-opus-4.5:
          deploymentName: claude-opus-4-5@20251101
        claude-sonnet-4:
          deploymentName: claude-sonnet-4-20250514
        claude-3.5-haiku:
          deploymentName: claude-3-5-haiku@20241022

์ž์„ธํ•œ YAML ๊ตฌ์„ฑ ์˜ต์…˜์€ Anthropic Vertex AI Configuration์„ ์ฐธ์กฐํ•˜์„ธ์š”.

์ด ๊ฐ€์ด๋“œ๋Š” ์–ด๋–ค๊ฐ€์š”?