Skip to main content
Connect Your AI

Get an Anthropic (Claude) API key

Create a Claude API key in the Claude Console and add an Anthropic connection to Vinaa.

Written By Sujeevan Nagarajah

Last updated 22 days ago

Choose Anthropic in Vinaa to use Claude through the API. An API key is a secret code that connects requests to your Claude Console account and its API billing.

Understand API billing

The Claude API and your Claude app subscription are separate ways to use Claude. For the API, you need a Console account with usable credits or another billing arrangement. Most organizations use prepaid credits; see Anthropic's billing guide.

Some eligible Claude subscriptions offer API credits, but you must link a Console organization and claim them. Check Anthropic's current API credit program. A Claude app login alone isn't an API key.

If you want Vinaa to use your Claude plan through Claude Code instead, follow “Use your Claude plan in Vinaa.” That connection is Experimental.

Create your Console account and key

  1. Sign in or create an account in the Claude Console.

  2. Open the Console billing page.

  3. Check for usable credits, or add credits using the billing options available to your account.

  4. Open the API keys page.

  5. Click Create key.

  6. Give the key a recognizable name, such as Vinaa.

  7. Choose the requested expiration, account and workspace options for your own use.

  8. Create the key.

  9. Copy the full secret key before closing the dialog.

The Console shows the full secret only when it is created. If you lose it, create another. See Anthropic's key-creation guide for account and permission details.

Connect Anthropic in Vinaa

  1. Open Vinaa → Settings… (⌘,).

  2. Select AI Models.

  3. Click Add Connection in the toolbar.

  4. Select Anthropic under Model Providers.

  5. Enter a Name, or keep the suggested name.

  6. Paste the key into API Key.

  7. Click Continue.

  8. In Choose Models, select the Claude models you want available.

  9. Click Add Connection.

Your key is stored in the macOS Keychain. Open a chat and press ⌘L to choose one of the Claude models you added.

Check costs or replace a key

API use is charged according to the model and the amount processed, measured in tokens—small pieces of text. Review Anthropic's current API pricing and your Console usage.

If messages fail after setup, check your Console credit balance and the error shown in Vinaa. To replace a revoked or expired key, open your connection in AI Models and click Edit…. Keep secret keys out of chats and screenshots.

Related articles

  • Which AI connection should I use?

  • Use your Claude plan in Vinaa

  • Choose a model for a chat

  • Fix AI connection problems