Skip to main content

LLM Providers

Kaleidoscope uses LLM models for input generation, persona creation, and judge scoring. You need at least one provider configured to run evaluations.

Credential Sources

Credentials can come from two places:

SourceSet byScopeHow
SharedAdministratorAll users.env file or system environment variables
PersonalEach userThat user onlyProviders page in the UI (encrypted in database)

If a shared key is already configured for a provider, users see it as "Managed" and cannot override it with personal credentials.

Supported Providers

ProviderEnvironment Variable(s)Default Model
GeminiGEMINI_API_KEYgemini/gemini-3.1-flash-lite
OpenAIOPENAI_API_KEYopenai/gpt-5.4-nano
Azure OpenAIAZURE_API_KEY, AZURE_API_BASEazure/gpt-5.4-nano
AnthropicANTHROPIC_API_KEYanthropic/claude-haiku-4-5
AWS BedrockAWS_BEARER_TOKEN_BEDROCKbedrock/anthropic.claude-haiku-4-5-20251001-v1:0
OpenRouterOPENROUTER_API_KEY (optional: OPENROUTER_API_BASE)openrouter/openrouter/free
FireworksFIREWORKS_AI_API_KEYfireworks/qwen3p6-plus
note

Default models are intentionally small. We recommend running multiple small models as judges and calculating their reliability scores as a baseline. After which, you can add more advanced models and compare whether the cost increase is justified by improved alignment.

Services

ServiceEnvironment VariablePurpose
SerperSERPER_API_KEYWeb search for grounding input generation in real-world context

Managing the Provider Catalog

The provider catalog lives at backend/src/common/llm/provider_catalog.yaml. Edit this file if you need to:

  • Configure shared secrets for your deployment
  • Add new models to an existing provider
  • Add an entirely new provider

Each provider entry follows this structure:

providers:
- key: openai
display_name: OpenAI
litellm_prefix: openai/
logo_path: /icons/OpenAI-black-monoblossom.png
credential_fields:
- key: OPENAI_API_KEY
label: API Key
env_var: OPENAI_API_KEY
required: true
default_model: openai/gpt-5.4-nano
common_models:
- openai/gpt-5.4
- openai/gpt-5.4-mini
embedding_models:
- openai/text-embedding-3-small

The provider's default_model appears first in dropdowns and registered-model lists once credentials are configured. Additional models listed under common_models appear after the default model, with duplicates removed.

Managing Credentials in the UI

Navigate to Providers in the sidebar to see all providers and their status:

  • Configured (green) - all required fields are filled; models from this provider are available
  • Managed (blue) - shared credentials set by the administrator (read-only for users)
  • Not set (grey) - no credentials configured; models from this provider won't appear in dropdowns