Skip to main content

API Configuration Profiles

API Configuration Profiles allow you to create and switch between different sets of AI settings. Each profile can have different configurations for each mode, letting you optimize your experience based on the task at hand.

info

Having multiple configuration profiles lets you quickly switch between different AI providers, models, and settings without reconfiguring everything each time you want to change your setup.

How It Works

Configuration profiles can have their own:

  • API providers (OpenAI, Anthropic, OpenRouter, Glama, etc.)
  • API keys and authentication details
  • Model selections (o3-mini-high, Claude 3.7 Sonnet, DeepSeek R1, etc.)
  • Temperature settings for controlling response randomness
  • Thinking budgets
  • Provider-specific settings

Note that available settings vary by provider and model. Each provider offers different configuration options, and even within the same provider, different models may support different parameter ranges or features.

Creating and Managing Profiles

Creating a Profile

  1. Open Settings by clicking the gear icon → Providers

  2. Click the "+" button next to the profile selector

    Profile selector with plus button
  3. Enter a name for your new profile

    Creating a new profile dialog
  4. Configure the profile settings:

    • Select your API provider

      Provider selection dropdown
    • Enter API key

      API key entry field
    • Choose a model

      Model selection interface
    • Adjust model parameters

      Model parameter adjustment controls

Switching Profiles

Switch profiles in two ways:

  1. From Settings panel: Select a different profile from the dropdown

    Profile selection dropdown in Settings
  2. During chat: Access the API Configuration dropdown in the chat interface

    API Configuration dropdown in chat interface

Pinning and Sorting Profiles

The API configuration dropdown now supports pinning your favorite profiles for quicker access:

  1. Hover over any profile in the dropdown to reveal the pin icon
  2. Click the pin icon to add the profile to your pinned list
  3. Pinned profiles appear at the top of the dropdown, sorted alphabetically
  4. Unpinned profiles appear below a separator, also sorted alphabetically
  5. You can unpin a profile by clicking the same icon again
Pinning API configuration profiles

This feature makes it easier to navigate between commonly used profiles, especially when you have many configurations.

Editing and Deleting Profiles

Profile editing interface
  • Select the profile in Settings to modify any settings
  • Click the pencil icon to rename a profile
  • Click the trash icon to delete a profile (you cannot delete the only remaining profile)

Linking Profiles to Modes

In the Prompts tab, you can explicitly associate a specific Configuration Profile with each Mode. The system also automatically remembers which profile you last used with each mode, making your workflow more efficient.

Profile-Mode association interface in Prompts tab

Security Note

API keys are stored securely in VSCode's Secret Storage and are never exposed in plain text.