One place to configure your AI stack.
Manage language-model providers, API credentials, model choices and routing weights, generation defaults, and vector database connections from one clear settings workspace.
What you can configure
A compact overview before you connect a provider.
API credentials and providers
Enable providers, save partially masked API keys, and set API endpoints or cloud deployment details.
Model selection and routing
Choose a primary provider and model, set per-provider weights, and tune shared request defaults.
Vector database connections
Keep a vector-store endpoint, credentials, collection, embedding model, and dimensions together.
What these settings mean
This page gathers the provider and infrastructure choices used by an AI application. It saves and reloads the configuration locally; the application’s server-side model calls and routing must be wired to consume these values separately.
API credentials and model providers
Each provider card stores its enabled state, API key, base URL, optional organization/project or cloud deployment details, default model, and relative routing weight. Providers included here are OpenAI, Azure OpenAI, Anthropic, Google Gemini, DeepSeek, Mistral, xAI, and Cohere.
Model selection and request defaults
The primary provider controls the dependent default-model selector. Model IDs are the exact strings intended for a provider request; Azure OpenAI uses your deployment name. Temperature, top-p, penalties, reasoning effort, output limits, streaming, retries, timeouts, and concurrency are shared adapter defaults, not universally supported API fields.
Vector database connections
The vector-store section holds provider type, endpoint, credential, index or collection, namespace, embedding provider/model, vector dimensions, and distance metric. Keep the index schema aligned with the embedding model and use separate credentials with the least privilege required.
Save and load behavior
On first visit, a credential-free starter configuration is saved automatically. Selecting Save settings writes the current versioned configuration to this origin’s browser localStorage; opening this page loads it automatically. The clear action removes the saved entry and returns the form to its starter defaults.
Saved API keys are shown with only a short prefix and suffix, and can be revealed while editing. This is visual masking only: browser localStorage stores the full values in readable form and any script running on this origin can access them. Because this page uses Interactive Server, edited values also pass through the server-side Blazor circuit over HTTPS; this page does not send them to an LLM provider. Use this implementation for a trusted local or prototype experience—not as a production secret vault.
Choose storage for the way you deploy
Browser localStorage
Persists across reloads in one browser profile and origin. It does not sync across devices and is not encrypted.
Authenticated backend database
Store per-user preferences server-side with access controls and encryption at rest for multi-device or team experiences.
Secret manager / vault
Keep provider keys in Azure Key Vault, AWS Secrets Manager, or Google Secret Manager; let the server retrieve them using managed identity or workload identity.
Environment variables
Useful for local development and deployment configuration, but not editable per user from a browser form. Session storage is a temporary, tab-scoped alternative.
Curated API model IDs, not guessed aliases
The low-cost, balanced, and high-capability labels reflect official model descriptions, lifecycle status, and published pricing as checked on October 30, 2026; they are not measured popularity rankings. OpenAI’s current API catalog now centers on GPT-6, so GPT-5.6 Luna is no longer the current low-cost recommendation. Actual cost depends on both token rates and workload: reasoning, long prompts, tool loops, and output length can change usage. Gemini 3.8 Flash explicitly uses more tokens for some complex agentic tasks; select a lower supported reasoning effort and output cap when cost matters. Azure availability and pricing vary by deployment and region. DeepSeek documents only two distinct current text model IDs, so the picker does not invent a third; use its custom model ID field if your account exposes another compatible model.
Recommended production setup
Keep browser storage for non-sensitive preferences only. Send model requests through an authenticated server-side service, retrieve API keys from a secret manager, validate provider-specific parameters, and normalize routing weights across healthy enabled providers. Rotate keys regularly and never expose them in client-side API calls.
Live, two-space-indented JSON from pavelklosis.ai-agents.settings.v1.
The view refreshes after page load, Save, and Reset.
API keys and vector credentials are partially masked by default. Reveal them only when needed.