The PROVIDER_CONFIG object is the central registry for all supported LLM providers, their available models, logos, display names, and specific model configurations (like temperature and systemPrompt).
Supported providers include:
openaigoogleanthropicgroq
When adding a new provider, you must define its models, logo, modelLogos, displayNames, and modelConfigs within this object. Note that some models (like gpt-5 or meta-llama/llama-4-scout-17b-16e-instruct) use specialized systemPrompt values to enforce JSON output formats.
export const PROVIDER_CONFIG = {
openai: {
models: ["gpt-4o", "gpt-4.1-2025-04-14", "o3-2025-04-16", "gpt-5", "gpt-5.1"] as const,
logo: "/openai.svg",
// ...
modelConfigs: {
"gpt-5": { temperature: 1, systemPrompt: GPT_5_PROMPT },
// ...
},
},
// ...
} as const;