Anthropic Claude Setup
Anthropic Claude is recognized for top-tier instructions adherence and deep comprehension of structured hierarchy logic. It is highly recommended for complex, professional-level scene design workflows.
1. Getting an API Key
[!WARNING] Anthropic Console API keys operate on a prepaid basis. You must purchase credit balance in your account before calling the API. Empty developer accounts will receive
403or429quota errors.
- Navigate to the Anthropic Console.
- Log in or create a developer account.
- Go to the Billing tab and add a minimum prepay balance ($5 recommended) to active your account.
- Navigate to API Keys in the navigation header.
- Click Create Key, name it, and copy it immediately. The key will start with
sk-ant-.
2. Configuring Unity
- Open your Unity Project.
- Navigate to Project Settings:
Edit ➔ Project Settings... - Click on the AI Scene Organizer tab in the sidebar.
- Select
Claudefrom the Active Provider dropdown. - Paste your key into the Claude API Key input field.
- Click Apply & Save Settings.
3. Recommended Models
You can configure the active model name in the settings panel:
| Model ID | Performance | Recommendation |
|---|---|---|
claude-3-5-sonnet-latest / claude-3-7-sonnet-latest | Industry-leading spatial/semantic reasoning. Slow but extremely high quality. | Best for nested environments. |
claude-3-5-haiku-latest | Very fast execution and lower cost, highly reliable. | Recommended for daily tasks. |
4. Troubleshooting Claude Connection
- Error
401 Unauthorized: Verify that your API key is correct, starts withsk-ant-, and does not have extra whitespace. - Error
403 Forbidden/429 Limit Exceeded: Ensure you have funded your Anthropic Console account. Free tier grants are rarely provided, and a prepaid balance is required. - Header Errors: The integration automatically configures Anthropic-required headers like
anthropic-version. Ensure you do not block outbound HTTPS requests tohttps://api.anthropic.com/in your network firewall.