Adds .aurelio/providers/registry.yaml as the one source of truth for every provider the fleet exposes (openrouter, openai-codex, nous, zai, kimi-coding, kimi-coding-cn, minimax, minimax-cn, bedrock, openai, anthropic, gemini, moonshot, qwen, qwen-code, alibaba-cloud, claude-code, antigravity, mimocode, local). Each entry carries kind/auth/protocol/models/context/surfaces/streaming + fallback. scripts/generate-provider-mirrors.py emits three generated mirrors under .aurelio/providers/dist/ and can patch Dirac's providers.json in place: - portal.providers.json -> aurelio-theia ProviderCatalog / Gabinete Hub - mcp.providers.json -> model_router.py runtime registry - dirac.providers.json -> Dirac picker shape --check exits non-zero when dist/ is stale (CI guard).
255 lines
6.6 KiB
JSON
255 lines
6.6 KiB
JSON
{
|
|
"version": 1,
|
|
"chatFallback": [
|
|
"kimi-coding",
|
|
"qwen-code",
|
|
"gemini",
|
|
"anthropic",
|
|
"openai",
|
|
"minimax",
|
|
"zai",
|
|
"openrouter"
|
|
],
|
|
"embedFallback": [
|
|
"gemini",
|
|
"openai",
|
|
"qwen",
|
|
"local"
|
|
],
|
|
"providers": [
|
|
{
|
|
"id": "openrouter",
|
|
"label": "OpenRouter",
|
|
"auth": "api_key",
|
|
"keyEnv": "OPENROUTER_API_KEY",
|
|
"baseUrl": "https://openrouter.ai/api/v1",
|
|
"protocol": "openai",
|
|
"chatModel": "anthropic/claude-sonnet-4",
|
|
"embeddingModel": null,
|
|
"maxContext": 200000,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "openai-codex",
|
|
"label": "ChatGPT Subscription (Codex OAuth)",
|
|
"auth": "oauth",
|
|
"keyEnv": null,
|
|
"baseUrl": "https://chatgpt.com/backend-api/codex",
|
|
"protocol": "openai",
|
|
"chatModel": "gpt-5-codex",
|
|
"embeddingModel": null,
|
|
"maxContext": 200000,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "nous",
|
|
"label": "Nous Portal",
|
|
"auth": "oauth",
|
|
"keyEnv": null,
|
|
"baseUrl": "https://inference-api.nousresearch.com/v1",
|
|
"protocol": "openai",
|
|
"chatModel": "Hermes-4-70B",
|
|
"embeddingModel": null,
|
|
"maxContext": 131072,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "zai",
|
|
"label": "Z.AI / GLM",
|
|
"auth": "api_key",
|
|
"keyEnv": "ZAI_API_KEY",
|
|
"baseUrl": "https://api.z.ai/api/paas/v4",
|
|
"protocol": "openai",
|
|
"chatModel": "glm-4.6",
|
|
"embeddingModel": null,
|
|
"maxContext": 128000,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "kimi-coding",
|
|
"label": "Kimi for Coding",
|
|
"auth": "api_key",
|
|
"keyEnv": "KIMI_API_KEY",
|
|
"baseUrl": "https://api.moonshot.ai/v1",
|
|
"protocol": "openai",
|
|
"chatModel": "kimi-k2-0905-preview",
|
|
"embeddingModel": null,
|
|
"maxContext": 131072,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "kimi-coding-cn",
|
|
"label": "Kimi for Coding (China)",
|
|
"auth": "api_key",
|
|
"keyEnv": "KIMI_CN_API_KEY",
|
|
"baseUrl": "https://api.moonshot.cn/v1",
|
|
"protocol": "openai",
|
|
"chatModel": "kimi-k2-0905-preview",
|
|
"embeddingModel": null,
|
|
"maxContext": 131072,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "minimax",
|
|
"label": "MiniMax",
|
|
"auth": "api_key",
|
|
"keyEnv": "MINIMAX_API_KEY",
|
|
"baseUrl": "https://api.minimax.io/v1",
|
|
"protocol": "openai",
|
|
"chatModel": "MiniMax-M2",
|
|
"embeddingModel": null,
|
|
"maxContext": 200000,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "minimax-cn",
|
|
"label": "MiniMax (China)",
|
|
"auth": "api_key",
|
|
"keyEnv": "MINIMAX_CN_API_KEY",
|
|
"baseUrl": "https://api.minimaxi.com/v1",
|
|
"protocol": "openai",
|
|
"chatModel": "MiniMax-M2",
|
|
"embeddingModel": null,
|
|
"maxContext": 200000,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "bedrock",
|
|
"label": "Amazon Bedrock",
|
|
"auth": "iam",
|
|
"keyEnv": null,
|
|
"baseUrl": "",
|
|
"protocol": "bedrock-converse",
|
|
"chatModel": "anthropic.claude-sonnet-4-20250514-v1:0",
|
|
"embeddingModel": "amazon.titan-embed-text-v2:0",
|
|
"maxContext": 200000,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "openai",
|
|
"label": "OpenAI",
|
|
"auth": "api_key",
|
|
"keyEnv": "OPENAI_API_KEY",
|
|
"baseUrl": "https://api.openai.com/v1",
|
|
"protocol": "openai",
|
|
"chatModel": "gpt-4o",
|
|
"embeddingModel": "text-embedding-3-large",
|
|
"maxContext": 128000,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "anthropic",
|
|
"label": "Anthropic",
|
|
"auth": "api_key",
|
|
"keyEnv": "ANTHROPIC_API_KEY",
|
|
"baseUrl": "https://api.anthropic.com/v1",
|
|
"protocol": "anthropic",
|
|
"chatModel": "claude-sonnet-4-20250514",
|
|
"embeddingModel": null,
|
|
"maxContext": 200000,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "gemini",
|
|
"label": "Google Gemini",
|
|
"auth": "api_key",
|
|
"keyEnv": "GEMINI_API_KEY",
|
|
"baseUrl": "https://generativelanguage.googleapis.com/v1beta",
|
|
"protocol": "gemini",
|
|
"chatModel": "gemini-2.5-pro",
|
|
"embeddingModel": "text-embedding-004",
|
|
"maxContext": 1000000,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "moonshot",
|
|
"label": "Moonshot",
|
|
"auth": "api_key",
|
|
"keyEnv": "MOONSHOT_API_KEY",
|
|
"baseUrl": "https://api.moonshot.ai/v1",
|
|
"protocol": "openai",
|
|
"chatModel": "moonshot-v1-128k",
|
|
"embeddingModel": null,
|
|
"maxContext": 128000,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "qwen",
|
|
"label": "Alibaba Qwen (DashScope)",
|
|
"auth": "api_key",
|
|
"keyEnv": "DASHSCOPE_API_KEY",
|
|
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
"protocol": "openai",
|
|
"chatModel": "qwen-max",
|
|
"embeddingModel": "text-embedding-v3",
|
|
"maxContext": 131072,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "qwen-code",
|
|
"label": "Qwen Code (Alibaba Cloud)",
|
|
"auth": "api_key",
|
|
"keyEnv": "DASHSCOPE_API_KEY",
|
|
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
"protocol": "openai",
|
|
"chatModel": "qwen3-coder-plus",
|
|
"embeddingModel": null,
|
|
"maxContext": 131072,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "alibaba-cloud",
|
|
"label": "Alibaba Cloud (Model Studio)",
|
|
"auth": "api_key",
|
|
"keyEnv": "ALIBABA_CLOUD_API_KEY",
|
|
"baseUrl": "https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
|
|
"protocol": "openai",
|
|
"chatModel": "qwen-max",
|
|
"embeddingModel": "text-embedding-v3",
|
|
"maxContext": 131072,
|
|
"streaming": true,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "antigravity",
|
|
"label": "Antigravity CLI",
|
|
"auth": "oauth",
|
|
"keyEnv": "ANTIGRAVITY_API_KEY",
|
|
"baseUrl": "https://antigravity.portugalfuturista.org",
|
|
"protocol": "portal",
|
|
"chatModel": "antigravity-default",
|
|
"embeddingModel": null,
|
|
"maxContext": 200000,
|
|
"streaming": false,
|
|
"fallback": true
|
|
},
|
|
{
|
|
"id": "local",
|
|
"label": "Local (Ollama / sentence-transformers)",
|
|
"auth": "none",
|
|
"keyEnv": null,
|
|
"baseUrl": "http://127.0.0.1:11434",
|
|
"protocol": "openai",
|
|
"chatModel": "qwen2.5-coder:14b",
|
|
"embeddingModel": "all-MiniLM-L6-v2",
|
|
"maxContext": 32768,
|
|
"streaming": true,
|
|
"fallback": true
|
|
}
|
|
]
|
|
}
|