Logo
Models

Anthropic

Learn how to configure and use Anthropic Claude models with CodinIT. Covers API key setup, model selection, and advanced features like prompt caching.

Learn how to configure and use Anthropic Claude models with CodinIT. Covers API key setup, model selection, and advanced features like prompt caching.

Getting an API Key

Sign Up/Sign In

Go to the Anthropic Console. Create an account or sign in.

Go to the API keys section.

Create a Key

Click "Create Key". Give your key a descriptive name (e.g., "CodinIT").

Copy the Key

Important: Copy the API key immediately. You will not be able to see it again. Store it securely.

Supported Models

CodinIT supports the following Anthropic Claude models:

ModelDescription
claude-opus-4-20250514Latest Opus model
claude-opus-4-20250514:thinkingExtended Thinking variant
claude-sonnet-4-20250514Recommended - Latest Sonnet model
claude-sonnet-4-20250514:thinkingExtended Thinking variant
claude-3-7-sonnet-20250219Claude 3.7 Sonnet
claude-3-7-sonnet-20250219:thinkingExtended Thinking variant
claude-3-5-sonnet-20241022Claude 3.5 Sonnet
claude-3-5-haiku-20241022Claude 3.5 Haiku
claude-3-opus-20240229Claude 3 Opus
claude-3-haiku-20240307Claude 3 Haiku
See Anthropic's Model Documentation for more details on each model's capabilities.

Configuration in CodinIT

Open CodinIT Settings

Click the settings icon (⚙️) in the CodinIT panel.

Select Provider

Choose "Anthropic" from the "API Provider" dropdown.

Enter API Key

Paste your Anthropic API key into the "Anthropic API Key" field.

Select Model

Choose your desired Claude model from the "Model" dropdown.

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 enabled in CodinIT, the model generates thinking content blocks that detail its internal reasoning. These insights are then incorporated into its final response.

CodinIT 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
feature
Available for select models, including variants of Claude Opus 4, Claude Sonnet 4, and Claude Sonnet 3.7. Models with the :thinking suffix are pre-configured in CodinIT.
Summarized Thinking (Claude 4)
feature
For Claude 4 models, the API returns a summary of the full thinking process to balance insight with efficiency. You are billed for the full thinking tokens, not just the summary.
Streaming
feature
Extended thinking responses, including the thinking blocks, can be streamed.
Tool Use & Prompt Caching
feature
Extended thinking interacts with tool use 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 significant amounts 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. Consider alternative providers if hitting limits frequently.