AI Provider Settings

Configure AI providers, API keys, and model parameters.

AI Provider Settings

Configure your AI providers, API keys, models, and advanced parameters.


Provider Selection

Select from available AI providers:

ProviderDescription
OpenAIGPT-4, GPT-4o, and other OpenAI models
AnthropicClaude 3.5 Sonnet, Claude 3 Opus, etc.
Google GeminiGemini 1.5 Pro, Gemini 1.5 Flash, etc.
xAIGrok models
DeepSeekDeepSeek Chat and Reasoner
OllamaLocal models via Ollama
CustomYour own OpenAI-compatible endpoints

Click a provider button in the grid to select it. The active provider is highlighted.


API Key

Enter your API key for the selected provider:

  • Keys are stored locally in your browser
  • Never sent to BraceKit servers
  • Unique per provider

Paste your key into the API Key field. Click the eye icon to show/hide the value.

Note: Ollama running on localhost doesnโ€™t require an API key.


Base URL

For Custom Providers and Ollama, you can configure a custom Base URL:

  • Ollama: Change from default http://localhost:11434 to connect to a remote server
  • Custom: Enter the full API endpoint URL

Model Selection

Choose a model for the selected provider:

  • Dropdown: If the provider supports model fetching, select from the list
  • Manual Input: Type the model name if not in the list

Managing Models (Custom Providers)

For custom providers, models are shown as chips directly in the Model field:

  • Select Model: Click a chip to make it the active model (highlighted in blue)
  • Add Model: Type a name in the input at the bottom of the chip list and press Enter or click +
  • Remove Model: Click the ร— on any chip

Custom Providers

Add your own API endpoints that are compatible with OpenAI, Anthropic, Gemini, or Ollama formats.

Adding a Custom Provider

  1. Click the + Add button in the provider grid
  2. Fill in the details:
    • Name: Display name for the provider
    • Format: API format (OpenAI, Anthropic, Gemini, or Ollama)
    • Base URL: API endpoint (e.g., https://api.example.com/v1)
  3. Click Save Provider

Removing a Custom Provider

Hover over a custom provider button in the grid and click the ร— that appears in the top-right corner.


Context Window

Set the context window size for the current provider:

  • This affects auto-compact threshold calculations
  • Default values are provided based on provider presets
  • Override if using a model with a different context window

Model Parameters

Fine-tune model behavior with advanced parameters. Available parameters vary by provider format.

Common Parameters

ParameterDescriptionRange
TemperatureControls creativity. Low = consistent, High = varied0.0 - 2.0
Top PControls word choice breadth. Lower = more focused0.0 - 1.0
Max TokensMaximum response lengthAny positive integer

Advanced Parameters

ParameterProviderDescription
Top KAnthropic, Gemini, OllamaLimits word choices to top K options
Min POllamaMinimum probability threshold for tokens
Context WindowOllamaContext window size in tokens (num_ctx)
Keep AliveOllamaHow long to keep model in memory (e.g., โ€œ5mโ€, โ€œ24hโ€)
Thinking BudgetAnthropic, GeminiMax tokens for internal reasoning (when enabled)

Resetting Parameters

Click โ€œReset to defaultsโ€ to clear all custom parameter values.