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 403 or 429 quota errors.

  1. Navigate to the Anthropic Console.
  2. Log in or create a developer account.
  3. Go to the Billing tab and add a minimum prepay balance ($5 recommended) to active your account.
  4. Navigate to API Keys in the navigation header.
  5. Click Create Key, name it, and copy it immediately. The key will start with sk-ant-.

2. Configuring Unity

  1. Open your Unity Project.
  2. Navigate to Project Settings: Edit ➔ Project Settings...
  3. Click on the AI Scene Organizer tab in the sidebar.
  4. Select Claude from the Active Provider dropdown.
  5. Paste your key into the Claude API Key input field.
  6. Click Apply & Save Settings.

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 with sk-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 to https://api.anthropic.com/ in your network firewall.

This site uses Just the Docs, a documentation theme for Jekyll.