Skip to main content

Anthropic

ℹ️Note

캐럿(Caret) 기준 문서입니다. Caret v3.38.2 머지본을 따르며, 캐럿 전용 정책(지원/차단 모델, 지역 제한, 인증/라우팅)이 있을 경우 본문에서 <Note>로 표시합니다.

ℹ️Note

Provider Setup 강화: caret-docs/features/f09-enhanced-provider-setup.md 기준으로 캐럿은 프로바이더 설정 검증/UX가 강화되어 있을 수 있습니다. 계정/조직 정책에 따라 허용/차단 모델이 달라질 수 있음을 안내하세요.

Website: https://www.anthropic.com/

Getting an API Key

  1. Sign Up/Sign In: Go to the Anthropic Console. Create an account or sign in.
  2. Navigate to API Keys: Go to the API keys section.
  3. Create a Key: Click "Create Key". Give your key a descriptive name (e.g., "Caret").
  4. Copy the Key: Important: Copy the API key immediately. You will not be able to see it again. Store it securely.

Supported Models

Caret supports the following Anthropic Claude models:

  • claude-haiku-4-5-20251001
  • claude-opus-4-5-20251101
  • claude-opus-4-1-20250805
  • claude-opus-4-20250514
  • anthropic/claude-sonnet-4.5 (Recommended)
  • claude-3-7-sonnet-20250219
  • claude-3-5-sonnet-20241022
  • claude-3-5-haiku-20241022
  • claude-3-opus-20240229
  • claude-3-haiku-20240307

See Anthropic's Model Documentation for more details on each model's capabilities.

Configuration in Caret

  1. Open Caret Settings: Click the settings icon (⚙️) in the Caret panel.
  2. Select Provider: Choose "Anthropic" from the "API Provider" dropdown.
  3. Enter API Key: Paste your Anthropic API key into the "Anthropic API Key" field.
  4. Select Model: Choose your desired Claude model from the "Model" dropdown.
  5. (Optional) Custom Base URL: If you need to use a custom base URL for the Anthropic API, check "Use custom base URL" and enter the URL. Most users won't need to adjust this setting.

Extended Thinking

Anthropic models offer an "Extended Thinking" feature, designed to give them enhanced reasoning capabilities for complex tasks. This feature allows the model to output its step-by-step thought process before delivering a final answer, providing transparency and enabling more thorough analysis for challenging prompts.

When extended thinking is in Caret, the model generates thinking content blocks that detail its internal reasoning. These insights are then incorporated into its final response. Caret users can leverage this by checking the Enable Extended Thinking box below the model selection menu after selecting a Claude Model from any provider.

Key Aspects of Extended Thinking:

  • Supported Models: This feature is available for select models, including Claude Opus 4, Claude Sonnet 4.5, and Claude Sonnet 3.7.
  • Summarized Thinking (Claude 4): For Claude 4 and 4.5 models, the API returns a summary of the full thinking process to balance insight with efficiency and prevent misuse. You are billed for the full thinking tokens, not just the summary.
  • Streaming: Extended thinking responses, including the thinking blocks, can be streamed.
  • Tool Use & Prompt Caching: Extended thinking interacts with tool use (requiring thinking blocks to be passed back) and prompt caching (with specific behaviors around cache invalidation and context).

For comprehensive details on how extended thinking works, including API examples, interaction with tool use, prompt caching, and pricing, please refer to the official Anthropic documentation on Extended Thinking.

Tips and Notes

  • Prompt Caching: Claude 3 models support prompt caching, which can significantly reduce costs and latency for repeated prompts.
  • Context Window: Claude models have large context windows (200,000 tokens), allowing you to include a significant amount of code and context in your prompts.
  • Pricing: Refer to the Anthropic Pricing page for the latest pricing information.
  • Rate Limits: Anthropic has strict rate limits based on usage tiers. If you're repeatedly hitting rate limits, consider contacting Anthropic sales or accessing Claude through a different provider like OpenRouter or Requesty.