refactor(registry): B2 migrate to LiteLLM-style schema — unified models[] with kind field

- 71 registry files: flat `media.*Config.models` → `models[]` with `kind` field
- `media` wrapper removed → serviceKinds, *Config fields promoted top-level
- `type` field renamed to `kind` (llm/image/tts/stt/embedding/embedding/video/music)
- providers/index.js: PROVIDER_MEDIA now built from flat top-level media fields
- shared/constants/providers.js: buildProviderEntry reads flat top-level media fields
- route /v1/models: modelKind() uses kind||type; removed subConfig merge block
- models/info route: removed sub-config fallback lookup (all models in PROVIDER_MODELS)
- ttsProviders/index.js: synthesizeViaConfig reads tts models from PROVIDER_MODELS
- test-models route, helpers.js, validate route: kind||type compat
- Baselines: PROVIDERS 62/62 ✅, Alias 90/90 ✅

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
decolua 2026-06-14 14:32:59 +07:00
parent e53ce79abb
commit dd1e0f9bcc
82 changed files with 2518 additions and 3651 deletions

View file

@ -42,7 +42,7 @@ export function getModelType(aliasOrId, modelId) {
const models = PROVIDER_MODELS[aliasOrId]; const models = PROVIDER_MODELS[aliasOrId];
if (!models) return null; if (!models) return null;
const found = models.find(m => m.id === modelId); const found = models.find(m => m.id === modelId);
return found?.type || null; return found?.kind || found?.type || null;
} }
export function getModelUpstreamId(aliasOrId, modelId) { export function getModelUpstreamId(aliasOrId, modelId) {

View file

@ -33,8 +33,10 @@ export async function synthesizeViaConfig(provider, text, model, credentials) {
if (!handler) return null; if (!handler) return null;
const apiKey = credentials?.apiKey; const apiKey = credentials?.apiKey;
if (cfg.authType !== "none" && !apiKey) throw new Error(`${provider} API key required`); if (cfg.authType !== "none" && !apiKey) throw new Error(`${provider} API key required`);
const defaultModel = cfg.models?.[0]?.id || ""; const { PROVIDER_MODELS } = await import("open-sse/config/providerModels.js");
const { modelId, voiceId } = parseModelVoice(model, defaultModel, "", cfg.models || []); const ttsModels = (PROVIDER_MODELS[provider] || []).filter(m => (m.kind || m.type) === "tts");
const defaultModel = ttsModels[0]?.id || "";
const { modelId, voiceId } = parseModelVoice(model, defaultModel, "", ttsModels);
return handler({ baseUrl: cfg.baseUrl, apiKey, text, modelId, voiceId }); return handler({ baseUrl: cfg.baseUrl, apiKey, text, modelId, voiceId });
} }

View file

@ -20,18 +20,28 @@ function buildTransport(transport, oauth) {
return t; return t;
} }
const MEDIA_KEYS = new Set([
"serviceKinds", "ttsConfig", "sttConfig", "embeddingConfig",
"imageConfig", "imageToTextConfig", "videoConfig", "musicConfig",
"searchViaChat", "searchConfig", "fetchConfig",
"modelsFetcher", "mediaPriority", "hiddenKinds",
]);
export const PROVIDERS = {}; export const PROVIDERS = {};
export const PROVIDER_MODELS = {}; export const PROVIDER_MODELS = {};
export const PROVIDER_OAUTH = {}; export const PROVIDER_OAUTH = {};
export const PROVIDER_MEDIA = {}; export const PROVIDER_MEDIA = {};
for (const entry of REGISTRY) { for (const entry of REGISTRY) {
if (entry.transport) PROVIDERS[entry.id] = buildTransport(entry.transport, entry.oauth); if (entry.transport) PROVIDERS[entry.id] = buildTransport(entry.transport, entry.oauth);
// models omitted (undefined) → provider has no model list key; [] is a valid explicit empty list
// normalizeModel: accept terse "id" strings + derive name via regex when omitted
// alias defaults to id (doc 01 §2); without fallback all alias-less providers collide on key `undefined`
if (entry.models !== undefined) PROVIDER_MODELS[entry.alias || entry.id] = entry.models.map(normalizeModel); if (entry.models !== undefined) PROVIDER_MODELS[entry.alias || entry.id] = entry.models.map(normalizeModel);
if (entry.oauth) PROVIDER_OAUTH[entry.id] = entry.oauth; if (entry.oauth) PROVIDER_OAUTH[entry.id] = entry.oauth;
if (entry.media) PROVIDER_MEDIA[entry.id] = entry.media; // Build PROVIDER_MEDIA from top-level fields (post-migration) + legacy entry.media
const mediaFields = {};
for (const k of MEDIA_KEYS) {
if (entry[k] !== undefined) mediaFields[k] = entry[k];
}
if (entry.media) Object.assign(mediaFields, entry.media);
if (Object.keys(mediaFields).length) PROVIDER_MEDIA[entry.id] = mediaFields;
} }
// TTS model/voice tables keyed by special names (openai-tts-models, ...), not provider ids // TTS model/voice tables keyed by special names (openai-tts-models, ...), not provider ids

View file

@ -3,7 +3,7 @@ export const CODEX_REVIEW_SUFFIX = "-review";
export function withCodexReviewModels(models) { export function withCodexReviewModels(models) {
return models.flatMap((model) => { return models.flatMap((model) => {
if ((model.type || "llm") !== "llm" || model.id.endsWith(CODEX_REVIEW_SUFFIX)) { if ((model.kind || model.type || "llm") !== "llm" || model.id.endsWith(CODEX_REVIEW_SUFFIX)) {
return [model]; return [model];
} }
return [ return [

View file

@ -1,50 +1,28 @@
export default { export default {
"id": "alicode-intl", id: "alicode-intl",
"alias": "alicode-intl", alias: "alicode-intl",
display: { display: {
"name": "Alibaba Intl", name: "Alibaba Intl",
"icon": "cloud", icon: "cloud",
"color": "#FF6A00", color: "#FF6A00",
"textIcon": "ALi", textIcon: "ALi",
"website": "https://modelstudio.console.alibabacloud.com", website: "https://modelstudio.console.alibabacloud.com",
"notice": { notice: {
"apiKeyUrl": "https://modelstudio.console.alibabacloud.com/?apiKey=1" apiKeyUrl: "https://modelstudio.console.alibabacloud.com/?apiKey=1",
} },
}, },
category: "apikey", category: "apikey",
"transport": { transport: {
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions", baseUrl: "https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions",
"headers": {} headers: {},
}, },
"models": [ models: [
{ { id: "qwen3.5-plus", name: "Qwen3.5 Plus" },
"id": "qwen3.5-plus", { id: "kimi-k2.5", name: "Kimi K2.5" },
"name": "Qwen3.5 Plus" { id: "glm-5", name: "GLM 5" },
}, { id: "MiniMax-M2.5", name: "MiniMax M2.5" },
{ { id: "qwen3-coder-next", name: "Qwen3 Coder Next" },
"id": "kimi-k2.5", { id: "qwen3-coder-plus", name: "Qwen3 Coder Plus" },
"name": "Kimi K2.5" { id: "glm-4.7", name: "GLM 4.7" },
}, ],
{
"id": "glm-5",
"name": "GLM 5"
},
{
"id": "MiniMax-M2.5",
"name": "MiniMax M2.5"
},
{
"id": "qwen3-coder-next",
"name": "Qwen3 Coder Next"
},
{
"id": "qwen3-coder-plus",
"name": "Qwen3 Coder Plus"
},
{
"id": "glm-4.7",
"name": "GLM 4.7"
}
]
}; };

View file

@ -1,54 +1,29 @@
export default { export default {
"id": "alicode", id: "alicode",
"alias": "alicode", alias: "alicode",
display: { display: {
"name": "Alibaba", name: "Alibaba",
"icon": "cloud", icon: "cloud",
"color": "#FF6A00", color: "#FF6A00",
"textIcon": "ALi", textIcon: "ALi",
"website": "https://bailian.console.aliyun.com", website: "https://bailian.console.aliyun.com",
"notice": { notice: {
"apiKeyUrl": "https://bailian.console.aliyun.com/?apiKey=1" apiKeyUrl: "https://bailian.console.aliyun.com/?apiKey=1",
} },
}, },
category: "apikey", category: "apikey",
"transport": { transport: {
"baseUrl": "https://coding.dashscope.aliyuncs.com/v1/chat/completions", baseUrl: "https://coding.dashscope.aliyuncs.com/v1/chat/completions",
"headers": {} headers: {},
}, },
"models": [ models: [
{ { id: "qwen3.5-plus", name: "Qwen3.5 Plus" },
"id": "qwen3.5-plus", { id: "kimi-k2.5", name: "Kimi K2.5" },
"name": "Qwen3.5 Plus" { id: "glm-5", name: "GLM 5" },
}, { id: "MiniMax-M2.5", name: "MiniMax M2.5" },
{ { id: "qwen3-max-2026-01-23", name: "Qwen3 Max" },
"id": "kimi-k2.5", { id: "qwen3-coder-next", name: "Qwen3 Coder Next" },
"name": "Kimi K2.5" { id: "qwen3-coder-plus", name: "Qwen3 Coder Plus" },
}, { id: "glm-4.7", name: "GLM 4.7" },
{ ],
"id": "glm-5",
"name": "GLM 5"
},
{
"id": "MiniMax-M2.5",
"name": "MiniMax M2.5"
},
{
"id": "qwen3-max-2026-01-23",
"name": "Qwen3 Max"
},
{
"id": "qwen3-coder-next",
"name": "Qwen3 Coder Next"
},
{
"id": "qwen3-coder-plus",
"name": "Qwen3 Coder Plus"
},
{
"id": "glm-4.7",
"name": "GLM 4.7"
}
]
}; };

View file

@ -4,27 +4,28 @@ export default {
id: "anthropic", id: "anthropic",
alias: "anthropic", alias: "anthropic",
display: { display: {
"name": "Anthropic", name: "Anthropic",
"icon": "smart_toy", icon: "smart_toy",
"color": "#D97757", color: "#D97757",
"textIcon": "AN", textIcon: "AN",
"website": "https://console.anthropic.com", website: "https://console.anthropic.com",
"notice": { notice: {
"apiKeyUrl": "https://console.anthropic.com/settings/keys" apiKeyUrl: "https://console.anthropic.com/settings/keys",
} },
}, },
category: "apikey", category: "apikey",
transport: { transport: {
baseUrl: "https://api.anthropic.com/v1/messages", baseUrl: "https://api.anthropic.com/v1/messages",
format: "claude", format: "claude",
headers: { ...CLAUDE_API_HEADERS } headers: {
"Anthropic-Version": "2023-06-01",
"Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
}, },
media: {
serviceKinds: ["llm", "imageToText"]
}, },
models: [ models: [
{ id: "claude-sonnet-4-20250514", name: "Claude Sonnet 4" }, { id: "claude-sonnet-4-20250514", name: "Claude Sonnet 4" },
{ id: "claude-opus-4-20250514", name: "Claude Opus 4" }, { id: "claude-opus-4-20250514", name: "Claude Opus 4" },
{ id: "claude-3-5-sonnet-20241022", name: "Claude 3.5 Sonnet" } { id: "claude-3-5-sonnet-20241022", name: "Claude 3.5 Sonnet" },
] ],
serviceKinds: ["llm","imageToText"],
}; };

View file

@ -4,54 +4,43 @@ import { ANTIGRAVITY_OAUTH_CLIENT } from "../shared.js";
export default { export default {
id: "antigravity", id: "antigravity",
alias: "ag", alias: "ag",
uiAlias: "ag",
display: { display: {
"name": "Antigravity", name: "Antigravity",
"icon": "rocket_launch", icon: "rocket_launch",
"color": "#F59E0B", color: "#F59E0B",
"website": "https://antigravity.google", website: "https://antigravity.google",
"notice": { notice: {
"signupUrl": "https://antigravity.google" signupUrl: "https://antigravity.google",
}, },
"deprecated": true, deprecated: true,
"deprecationNotice": "RISK_NOTICE" deprecationNotice: "RISK_NOTICE",
}, },
category: "oauth", category: "oauth",
uiAlias: "ag",
transport: { transport: {
baseUrls: [ baseUrls: [
"https://daily-cloudcode-pa.googleapis.com", "https://daily-cloudcode-pa.googleapis.com",
"https://daily-cloudcode-pa.sandbox.googleapis.com" "https://daily-cloudcode-pa.sandbox.googleapis.com",
], ],
format: "antigravity", format: "antigravity",
headers: { "User-Agent": `antigravity/1.107.0 ${platform()}/${arch()}` }, headers: {
// 429/503 use computeRetryDelay hook (Retry-After header/body → cap, else backoff) "User-Agent": "antigravity/1.107.0 darwin/arm64",
retry: { 429: { attempts: 6 }, 503: { attempts: 3 } }, },
retry: {
"429": {
attempts: 6,
},
"503": {
attempts: 3,
},
},
usage: { usage: {
quotaApiUrl: "https://cloudcode-pa.googleapis.com/v1internal:fetchAvailableModels", quotaApiUrl: "https://cloudcode-pa.googleapis.com/v1internal:fetchAvailableModels",
loadProjectApiUrl: "https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist", loadProjectApiUrl: "https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",
tokenUrl: "https://oauth2.googleapis.com/token"
},
...ANTIGRAVITY_OAUTH_CLIENT
},
oauth: {
authorizeUrl: "https://accounts.google.com/o/oauth2/v2/auth",
tokenUrl: "https://oauth2.googleapis.com/token", tokenUrl: "https://oauth2.googleapis.com/token",
userInfoUrl: "https://www.googleapis.com/oauth2/v1/userinfo", },
scopes: [ clientId: "1071006060591-tmhssin2h21lcre235vtolojh4g403ep.apps.googleusercontent.com",
"https://www.googleapis.com/auth/cloud-platform", clientSecret: "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",
"https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/userinfo.profile",
"https://www.googleapis.com/auth/cclog",
"https://www.googleapis.com/auth/experimentsandconfigs"
],
apiEndpoint: "https://cloudcode-pa.googleapis.com",
apiVersion: "v1internal",
loadCodeAssistEndpoint: "https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",
onboardUserEndpoint: "https://cloudcode-pa.googleapis.com/v1internal:onboardUser",
loadCodeAssistUserAgent: "google-api-nodejs-client/9.15.1",
loadCodeAssistApiClient: "google-cloud-sdk vscode_cloudshelleditor/0.1"
,
refreshLeadMs: 300000
}, },
models: [ models: [
{ id: "gemini-3-flash-agent", name: "Gemini 3.5 Flash (High)" }, { id: "gemini-3-flash-agent", name: "Gemini 3.5 Flash (High)" },
@ -62,7 +51,28 @@ export default {
{ id: "claude-sonnet-4-6", name: "Claude Sonnet 4.6 (Thinking)" }, { id: "claude-sonnet-4-6", name: "Claude Sonnet 4.6 (Thinking)" },
{ id: "claude-opus-4-6-thinking", name: "Claude Opus 4.6 (Thinking)" }, { id: "claude-opus-4-6-thinking", name: "Claude Opus 4.6 (Thinking)" },
{ id: "gpt-oss-120b-medium", name: "GPT-OSS 120B (Medium)" }, { id: "gpt-oss-120b-medium", name: "GPT-OSS 120B (Medium)" },
{ id: "gemini-3-flash", name: "Gemini 3 Flash", thinking: false } { id: "gemini-3-flash", name: "Gemini 3 Flash", thinking: false },
], ],
features: {"usage":true}, oauth: {
authorizeUrl: "https://accounts.google.com/o/oauth2/v2/auth",
tokenUrl: "https://oauth2.googleapis.com/token",
userInfoUrl: "https://www.googleapis.com/oauth2/v1/userinfo",
scopes: [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/userinfo.profile",
"https://www.googleapis.com/auth/cclog",
"https://www.googleapis.com/auth/experimentsandconfigs",
],
apiEndpoint: "https://cloudcode-pa.googleapis.com",
apiVersion: "v1internal",
loadCodeAssistEndpoint: "https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",
onboardUserEndpoint: "https://cloudcode-pa.googleapis.com/v1internal:onboardUser",
loadCodeAssistUserAgent: "google-api-nodejs-client/9.15.1",
loadCodeAssistApiClient: "google-cloud-sdk vscode_cloudshelleditor/0.1",
refreshLeadMs: 300000,
},
features: {
usage: true,
},
}; };

View file

@ -1,45 +1,37 @@
export default { export default {
"id": "assemblyai", id: "assemblyai",
"alias": "assemblyai", alias: "assemblyai",
aliases: [
"aai",
],
uiAlias: "aai",
display: { display: {
"name": "AssemblyAI", name: "AssemblyAI",
"icon": "record_voice_over", icon: "record_voice_over",
"color": "#0062FF", color: "#0062FF",
"textIcon": "AA", textIcon: "AA",
"website": "https://assemblyai.com", website: "https://assemblyai.com",
"notice": { notice: {
"apiKeyUrl": "https://www.assemblyai.com/app/api-keys" apiKeyUrl: "https://www.assemblyai.com/app/api-keys",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "aai",
authType: "apikey", authType: "apikey",
aliases: ["aai"], transport: {
"transport": { baseUrl: "https://api.assemblyai.com/v1/audio/transcriptions",
"baseUrl": "https://api.assemblyai.com/v1/audio/transcriptions", validateUrl: "https://api.assemblyai.com/v1/account",
"validateUrl": "https://api.assemblyai.com/v1/account"
}, },
media: { models: [
{ id: "universal-3-pro", name: "Universal 3 Pro", params: ["language"], kind: "stt" },
{ id: "universal-2", name: "Universal 2", params: ["language"], kind: "stt" },
{ id: "best", name: "Best (Nano + Universal)", kind: "stt" },
{ id: "nano", name: "Nano (Fast)", kind: "stt" },
],
serviceKinds: ["stt"], serviceKinds: ["stt"],
sttConfig: { baseUrl: "https://api.assemblyai.com/v2/transcript", authType: "apikey", authHeader: "authorization", format: "assemblyai", models: [{ id: "best", name: "Best (Nano + Universal)" }, { id: "nano", name: "Nano (Fast)" }] } sttConfig: {
baseUrl: "https://api.assemblyai.com/v2/transcript",
authType: "apikey",
authHeader: "authorization",
format: "assemblyai",
}, },
"models": [
{
"id": "universal-3-pro",
"name": "Universal 3 Pro",
"type": "stt",
"params": [
"language"
]
},
{
"id": "universal-2",
"name": "Universal 2",
"type": "stt",
"params": [
"language"
]
}
]
}; };

View file

@ -1,20 +1,20 @@
export default { export default {
"id": "azure", id: "azure",
"alias": "azure", alias: "azure",
display: { display: {
"name": "Azure OpenAI", name: "Azure OpenAI",
"icon": "cloud", icon: "cloud",
"color": "#0078D4", color: "#0078D4",
"textIcon": "AZ", textIcon: "AZ",
"website": "https://azure.microsoft.com/en-us/products/ai-services/openai-service", website: "https://azure.microsoft.com/en-us/products/ai-services/openai-service",
"notice": { notice: {
"apiKeyUrl": "https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/OpenAI" apiKeyUrl: "https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/OpenAI",
} },
}, },
category: "apikey", category: "apikey",
hasProviderSpecificData: true, hasProviderSpecificData: true,
"transport": { transport: {
"baseUrl": "", baseUrl: "",
"headers": {} headers: {},
} },
}; };

View file

@ -1,83 +1,31 @@
export default { export default {
"id": "black-forest-labs", id: "black-forest-labs",
"alias": "black-forest-labs", alias: "black-forest-labs",
aliases: [
"bfl",
],
uiAlias: "bfl",
display: { display: {
"name": "Black Forest Labs", name: "Black Forest Labs",
"icon": "image", icon: "image",
"color": "#111827", color: "#111827",
"textIcon": "BF", textIcon: "BF",
"website": "https://blackforestlabs.ai", website: "https://blackforestlabs.ai",
"notice": { notice: {
"apiKeyUrl": "https://api.bfl.ai" apiKeyUrl: "https://api.bfl.ai",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "bfl",
authType: "apikey", authType: "apikey",
aliases: ["bfl"], transport: null,
"transport": null, models: [
media: { { id: "flux-pro-1.1", name: "FLUX Pro 1.1", params: ["n","size"], kind: "image" },
{ id: "flux-pro-1.1-ultra", name: "FLUX Pro 1.1 Ultra", params: ["size"], kind: "image" },
{ id: "flux-pro", name: "FLUX Pro", params: ["n","size"], kind: "image" },
{ id: "flux-dev", name: "FLUX Dev", params: ["n","size"], kind: "image" },
{ id: "flux-kontext-pro", name: "FLUX Kontext Pro (Edit)", params: ["size"], capabilities: ["edit"], kind: "image" },
{ id: "flux-kontext-max", name: "FLUX Kontext Max (Edit)", params: ["size"], capabilities: ["edit"], kind: "image" },
],
serviceKinds: ["image"], serviceKinds: ["image"],
imageConfig: { baseUrl: "https://api.bfl.ai/v1" } imageConfig: { baseUrl: "https://api.bfl.ai/v1" },
},
"models": [
{
"id": "flux-pro-1.1",
"name": "FLUX Pro 1.1",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "flux-pro-1.1-ultra",
"name": "FLUX Pro 1.1 Ultra",
"type": "image",
"params": [
"size"
]
},
{
"id": "flux-pro",
"name": "FLUX Pro",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "flux-dev",
"name": "FLUX Dev",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "flux-kontext-pro",
"name": "FLUX Kontext Pro (Edit)",
"type": "image",
"params": [
"size"
],
"capabilities": [
"edit"
]
},
{
"id": "flux-kontext-max",
"name": "FLUX Kontext Max (Edit)",
"type": "image",
"params": [
"size"
],
"capabilities": [
"edit"
]
}
]
}; };

View file

@ -1,91 +1,41 @@
export default { export default {
"id": "blackbox", id: "blackbox",
"alias": "blackbox", alias: "blackbox",
aliases: [
"bb",
],
uiAlias: "bb",
display: { display: {
"name": "Blackbox AI", name: "Blackbox AI",
"icon": "smart_toy", icon: "smart_toy",
"color": "#5B5FEF", color: "#5B5FEF",
"textIcon": "BB", textIcon: "BB",
"website": "https://blackbox.ai", website: "https://blackbox.ai",
"notice": { notice: {
"apiKeyUrl": "https://www.blackbox.ai/api-management" apiKeyUrl: "https://www.blackbox.ai/api-management",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "bb", transport: {
aliases: ["bb"], baseUrl: "https://api.blackbox.ai/chat/completions",
"transport": {
"baseUrl": "https://api.blackbox.ai/chat/completions"
}, },
"models": [ models: [
{ { id: "gpt-4o", name: "GPT-4o" },
"id": "gpt-4o", { id: "gpt-4o-mini", name: "GPT-4o mini" },
"name": "GPT-4o" { id: "claude-sonnet-4.6", name: "Claude Sonnet 4.6" },
}, { id: "claude-sonnet-4.5", name: "Claude Sonnet 4.5" },
{ { id: "claude-opus-4.6", name: "Claude Opus 4.6" },
"id": "gpt-4o-mini", { id: "claude-sonnet-4-6", name: "Claude Sonnet 4.6 (Legacy)" },
"name": "GPT-4o mini" { id: "claude-opus-4-6", name: "Claude Opus 4.6 (Legacy)" },
}, { id: "deepseek-chat", name: "DeepSeek Chat" },
{ { id: "deepseek-v3-671b", name: "DeepSeek V3 671B" },
"id": "claude-sonnet-4.6", { id: "deepseek-r1", name: "DeepSeek R1" },
"name": "Claude Sonnet 4.6" { id: "o1", name: "OpenAI o1" },
}, { id: "o3-mini", name: "OpenAI o3-mini" },
{ { id: "gemini-2.5-flash", name: "Gemini 2.5 Flash" },
"id": "claude-sonnet-4.5", { id: "gemini-3-flash-preview", name: "Gemini 3 Flash Preview" },
"name": "Claude Sonnet 4.5" { id: "qwen3-coder-plus", name: "Qwen3 Coder Plus" },
}, { id: "qwen3-max", name: "Qwen3 Max" },
{ { id: "qwen3-vl-plus", name: "Qwen3 VL Plus" },
"id": "claude-opus-4.6", ],
"name": "Claude Opus 4.6"
},
{
"id": "claude-sonnet-4-6",
"name": "Claude Sonnet 4.6 (Legacy)"
},
{
"id": "claude-opus-4-6",
"name": "Claude Opus 4.6 (Legacy)"
},
{
"id": "deepseek-chat",
"name": "DeepSeek Chat"
},
{
"id": "deepseek-v3-671b",
"name": "DeepSeek V3 671B"
},
{
"id": "deepseek-r1",
"name": "DeepSeek R1"
},
{
"id": "o1",
"name": "OpenAI o1"
},
{
"id": "o3-mini",
"name": "OpenAI o3-mini"
},
{
"id": "gemini-2.5-flash",
"name": "Gemini 2.5 Flash"
},
{
"id": "gemini-3-flash-preview",
"name": "Gemini 3 Flash Preview"
},
{
"id": "qwen3-coder-plus",
"name": "Qwen3 Coder Plus"
},
{
"id": "qwen3-max",
"name": "Qwen3 Max"
},
{
"id": "qwen3-vl-plus",
"name": "Qwen3 VL Plus"
}
]
}; };

View file

@ -1,56 +1,34 @@
export default { export default {
"id": "byteplus", id: "byteplus",
"alias": "byteplus", alias: "byteplus",
aliases: [
"bpm",
],
uiAlias: "bpm",
display: { display: {
"name": "BytePlus ModelArk", name: "BytePlus ModelArk",
"icon": "cloud", icon: "cloud",
"color": "#2563EB", color: "#2563EB",
"textIcon": "BP", textIcon: "BP",
"website": "https://console.byteplus.com/ark", website: "https://console.byteplus.com/ark",
"notice": { notice: {
"text": "Free credits for new accounts. Access to Seed 2.0, Kimi K2 Thinking, GLM 4.7, GPT-OSS-120B models.", text: "Free credits for new accounts. Access to Seed 2.0, Kimi K2 Thinking, GLM 4.7, GPT-OSS-120B models.",
"apiKeyUrl": "https://console.byteplus.com/ark/region:ark+ap-southeast-1/apiKey" apiKeyUrl: "https://console.byteplus.com/ark/region:ark+ap-southeast-1/apiKey",
} },
}, },
category: "freeTier", category: "freeTier",
uiAlias: "bpm", transport: {
aliases: ["bpm"], baseUrl: "https://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions",
"transport": { headers: {},
"baseUrl": "https://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions",
"headers": {}
}, },
media: { models: [
serviceKinds: ["llm"] { id: "seed-2-0-pro-260328", name: "Seed 2.0 Pro" },
}, { id: "seed-2-0-code-preview-260328", name: "Seed 2.0 Code Preview" },
"models": [ { id: "seed-2-0-mini-260215", name: "Seed 2.0 Mini" },
{ { id: "seed-2-0-lite-260228", name: "Seed 2.0 Lite" },
"id": "seed-2-0-pro-260328", { id: "kimi-k2-thinking-251104", name: "Kimi K2 Thinking" },
"name": "Seed 2.0 Pro" { id: "glm-4-7-251222", name: "GLM 4.7" },
}, { id: "gpt-oss-120b-250805", name: "GPT-OSS-120B" },
{ ],
"id": "seed-2-0-code-preview-260328", serviceKinds: ["llm"],
"name": "Seed 2.0 Code Preview"
},
{
"id": "seed-2-0-mini-260215",
"name": "Seed 2.0 Mini"
},
{
"id": "seed-2-0-lite-260228",
"name": "Seed 2.0 Lite"
},
{
"id": "kimi-k2-thinking-251104",
"name": "Kimi K2 Thinking"
},
{
"id": "glm-4-7-251222",
"name": "GLM 4.7"
},
{
"id": "gpt-oss-120b-250805",
"name": "GPT-OSS-120B"
}
]
}; };

View file

@ -1,46 +1,30 @@
export default { export default {
"id": "cerebras", id: "cerebras",
"alias": "cerebras", alias: "cerebras",
display: { display: {
"name": "Cerebras", name: "Cerebras",
"icon": "memory", icon: "memory",
"color": "#FF4F00", color: "#FF4F00",
"textIcon": "CB", textIcon: "CB",
"website": "https://www.cerebras.ai", website: "https://www.cerebras.ai",
"notice": { notice: {
"apiKeyUrl": "https://cloud.cerebras.ai/platform" apiKeyUrl: "https://cloud.cerebras.ai/platform",
} },
}, },
category: "apikey", category: "apikey",
"transport": { transport: {
"baseUrl": "https://api.cerebras.ai/v1/chat/completions", baseUrl: "https://api.cerebras.ai/v1/chat/completions",
"validateUrl": "https://api.cerebras.ai/v1/models", validateUrl: "https://api.cerebras.ai/v1/models",
"quirks": { "dropClientMetadata": true } quirks: {
dropClientMetadata: true,
}, },
"models": [
{
"id": "gpt-oss-120b",
"name": "GPT OSS 120B"
}, },
{ models: [
"id": "zai-glm-4.7", { id: "gpt-oss-120b", name: "GPT OSS 120B" },
"name": "ZAI GLM 4.7" { id: "zai-glm-4.7", name: "ZAI GLM 4.7" },
}, { id: "llama-3.3-70b", name: "Llama 3.3 70B" },
{ { id: "llama-4-scout-17b-16e-instruct", name: "Llama 4 Scout" },
"id": "llama-3.3-70b", { id: "qwen-3-235b-a22b-instruct-2507", name: "Qwen3 235B A22B" },
"name": "Llama 3.3 70B" { id: "qwen-3-32b", name: "Qwen3 32B" },
}, ],
{
"id": "llama-4-scout-17b-16e-instruct",
"name": "Llama 4 Scout"
},
{
"id": "qwen-3-235b-a22b-instruct-2507",
"name": "Qwen3 235B A22B"
},
{
"id": "qwen-3-32b",
"name": "Qwen3 32B"
}
]
}; };

View file

@ -1,22 +1,23 @@
export default { export default {
"id": "chutes", id: "chutes",
"alias": "chutes", alias: "chutes",
aliases: [
"ch",
],
uiAlias: "ch",
display: { display: {
"name": "Chutes AI", name: "Chutes AI",
"icon": "water_drop", icon: "water_drop",
"color": "#ffffffff", color: "#ffffffff",
"textIcon": "CH", textIcon: "CH",
"website": "https://chutes.ai", website: "https://chutes.ai",
"notice": { notice: {
"apiKeyUrl": "https://chutes.ai/app/api" apiKeyUrl: "https://chutes.ai/app/api",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "ch", transport: {
aliases: ["ch"], baseUrl: "https://llm.chutes.ai/v1/chat/completions",
"transport": { validateUrl: "https://llm.chutes.ai/v1/models",
"baseUrl": "https://llm.chutes.ai/v1/chat/completions", },
"validateUrl": "https://llm.chutes.ai/v1/models"
}
}; };

View file

@ -3,41 +3,61 @@ import { CLAUDE_CLI_SPOOF_HEADERS } from "../shared.js";
export default { export default {
id: "claude", id: "claude",
alias: "cc", alias: "cc",
uiAlias: "cc",
display: { display: {
"name": "Claude Code", name: "Claude Code",
"icon": "smart_toy", icon: "smart_toy",
"color": "#D97757", color: "#D97757",
"website": "https://claude.ai", website: "https://claude.ai",
"notice": { notice: {
"signupUrl": "https://claude.ai" signupUrl: "https://claude.ai",
}, },
"deprecated": true, deprecated: true,
"deprecationNotice": "RISK_NOTICE" deprecationNotice: "RISK_NOTICE",
}, },
category: "oauth", category: "oauth",
uiAlias: "cc",
transport: { transport: {
baseUrl: "https://api.anthropic.com/v1/messages", baseUrl: "https://api.anthropic.com/v1/messages",
format: "claude", format: "claude",
urlSuffix: "?beta=true", urlSuffix: "?beta=true",
headers: { ...CLAUDE_CLI_SPOOF_HEADERS }, headers: {
quirks: { cloakToolsOnOAuth: true }, "Anthropic-Version": "2023-06-01",
auth: {"apiKey":{"header":"x-api-key","scheme":"raw"},"oauth":{"header":"Authorization","scheme":"bearer"},"hooks":["claudeOverlay"]}, "Anthropic-Beta": "claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05,advanced-tool-use-2025-11-20,effort-2025-11-24,structured-outputs-2025-12-15,fast-mode-2026-02-01,redact-thinking-2026-02-12,token-efficient-tools-2026-03-28",
"Anthropic-Dangerous-Direct-Browser-Access": "true",
"User-Agent": "claude-cli/2.1.92 (external, sdk-cli)",
"X-App": "cli",
"X-Stainless-Helper-Method": "stream",
"X-Stainless-Retry-Count": "0",
"X-Stainless-Runtime-Version": "v24.14.0",
"X-Stainless-Package-Version": "0.80.0",
"X-Stainless-Runtime": "node",
"X-Stainless-Lang": "js",
"X-Stainless-Arch": "arm64",
"X-Stainless-Os": "MacOS",
"X-Stainless-Timeout": "600",
},
quirks: {
cloakToolsOnOAuth: true,
},
auth: {
apiKey: {
header: "x-api-key",
scheme: "raw",
},
oauth: {
header: "Authorization",
scheme: "bearer",
},
hooks: [
"claudeOverlay",
],
},
usage: { usage: {
oauthUrl: "https://api.anthropic.com/api/oauth/usage", oauthUrl: "https://api.anthropic.com/api/oauth/usage",
orgUrl: "https://api.anthropic.com/v1/organizations/{org_id}/usage", orgUrl: "https://api.anthropic.com/v1/organizations/{org_id}/usage",
settingsUrl: "https://api.anthropic.com/v1/settings" settingsUrl: "https://api.anthropic.com/v1/settings",
}, },
}, },
oauth: {
clientId: "9d1c250a-e61b-44d9-88ed-5944d1962f5e",
authorizeUrl: "https://claude.ai/oauth/authorize",
tokenUrl: "https://api.anthropic.com/v1/oauth/token",
scopes: ["org:create_api_key", "user:profile", "user:inference"],
codeChallengeMethod: "S256",
refreshLeadMs: 14400000,
refresh: {"encoding":"json"}
},
models: [ models: [
{ id: "claude-opus-4-8", name: "Claude Opus 4.8" }, { id: "claude-opus-4-8", name: "Claude Opus 4.8" },
{ id: "claude-opus-4-7", name: "Claude Opus 4.7" }, { id: "claude-opus-4-7", name: "Claude Opus 4.7" },
@ -45,7 +65,24 @@ export default {
{ id: "claude-sonnet-4-6", name: "Claude Sonnet 4.6" }, { id: "claude-sonnet-4-6", name: "Claude Sonnet 4.6" },
{ id: "claude-opus-4-5-20251101", name: "Claude 4.5 Opus" }, { id: "claude-opus-4-5-20251101", name: "Claude 4.5 Opus" },
{ id: "claude-sonnet-4-5-20250929", name: "Claude 4.5 Sonnet" }, { id: "claude-sonnet-4-5-20250929", name: "Claude 4.5 Sonnet" },
{ id: "claude-haiku-4-5-20251001", name: "Claude 4.5 Haiku" } { id: "claude-haiku-4-5-20251001", name: "Claude 4.5 Haiku" },
], ],
features: {"usage":true}, oauth: {
clientId: "9d1c250a-e61b-44d9-88ed-5944d1962f5e",
authorizeUrl: "https://claude.ai/oauth/authorize",
tokenUrl: "https://api.anthropic.com/v1/oauth/token",
scopes: [
"org:create_api_key",
"user:profile",
"user:inference",
],
codeChallengeMethod: "S256",
refreshLeadMs: 14400000,
refresh: {
encoding: "json",
},
},
features: {
usage: true,
},
}; };

View file

@ -1,68 +1,50 @@
export default { export default {
"id": "cline", id: "cline",
"alias": "cl", alias: "cl",
uiAlias: "cl",
display: { display: {
"name": "Cline", name: "Cline",
"icon": "smart_toy", icon: "smart_toy",
"color": "#5B9BD5", color: "#5B9BD5",
"textIcon": "CL", textIcon: "CL",
"website": "https://cline.bot", website: "https://cline.bot",
"notice": { notice: {
"signupUrl": "https://cline.bot" signupUrl: "https://cline.bot",
} },
}, },
category: "oauth", category: "oauth",
uiAlias: "cl", transport: {
"transport": { baseUrl: "https://api.cline.bot/api/v1/chat/completions",
"baseUrl": "https://api.cline.bot/api/v1/chat/completions", headers: {
"headers": {
"HTTP-Referer": "https://cline.bot", "HTTP-Referer": "https://cline.bot",
"X-Title": "Cline" "X-Title": "Cline",
}, },
"tokenUrl": "https://api.cline.bot/api/v1/auth/token", tokenUrl: "https://api.cline.bot/api/v1/auth/token",
"refreshUrl": "https://api.cline.bot/api/v1/auth/refresh", refreshUrl: "https://api.cline.bot/api/v1/auth/refresh",
auth: {"combined":true,"header":"Authorization","scheme":"bearer","hooks":["clineHeaders"]}, auth: {
}, combined: true,
"oauth": { header: "Authorization",
"appBaseUrl": "https://app.cline.bot", scheme: "bearer",
"apiBaseUrl": "https://api.cline.bot", hooks: [
"authorizeUrl": "https://api.cline.bot/api/v1/auth/authorize", "clineHeaders",
"tokenExchangeUrl": "https://api.cline.bot/api/v1/auth/token",
"refreshUrl": "https://api.cline.bot/api/v1/auth/refresh"
},
"models": [
{
"id": "anthropic/claude-opus-4.7",
"name": "Claude Opus 4.7"
},
{
"id": "anthropic/claude-sonnet-4.6",
"name": "Claude Sonnet 4.6"
},
{
"id": "anthropic/claude-opus-4.6",
"name": "Claude Opus 4.6"
},
{
"id": "openai/gpt-5.3-codex",
"name": "GPT-5.3 Codex"
},
{
"id": "openai/gpt-5.4",
"name": "GPT-5.4"
},
{
"id": "google/gemini-3.1-pro-preview",
"name": "Gemini 3.1 Pro Preview"
},
{
"id": "google/gemini-3.1-flash-lite-preview",
"name": "Gemini 3.1 Flash Lite Preview"
},
{
"id": "kwaipilot/kat-coder-pro",
"name": "KAT Coder Pro"
}
], ],
},
},
models: [
{ id: "anthropic/claude-opus-4.7", name: "Claude Opus 4.7" },
{ id: "anthropic/claude-sonnet-4.6", name: "Claude Sonnet 4.6" },
{ id: "anthropic/claude-opus-4.6", name: "Claude Opus 4.6" },
{ id: "openai/gpt-5.3-codex", name: "GPT-5.3 Codex" },
{ id: "openai/gpt-5.4", name: "GPT-5.4" },
{ id: "google/gemini-3.1-pro-preview", name: "Gemini 3.1 Pro Preview" },
{ id: "google/gemini-3.1-flash-lite-preview", name: "Gemini 3.1 Flash Lite Preview" },
{ id: "kwaipilot/kat-coder-pro", name: "KAT Coder Pro" },
],
oauth: {
appBaseUrl: "https://app.cline.bot",
apiBaseUrl: "https://api.cline.bot",
authorizeUrl: "https://api.cline.bot/api/v1/auth/authorize",
tokenExchangeUrl: "https://api.cline.bot/api/v1/auth/token",
refreshUrl: "https://api.cline.bot/api/v1/auth/refresh",
},
}; };

View file

@ -1,177 +1,52 @@
export default { export default {
"id": "cloudflare-ai", id: "cloudflare-ai",
"alias": "cloudflare-ai", alias: "cloudflare-ai",
aliases: [
"cf",
],
uiAlias: "cf",
display: { display: {
"name": "Cloudflare", name: "Cloudflare",
"icon": "cloud", icon: "cloud",
"color": "#F38020", color: "#F38020",
"textIcon": "CF", textIcon: "CF",
"website": "https://developers.cloudflare.com/workers-ai/", website: "https://developers.cloudflare.com/workers-ai/",
"notice": { notice: {
"text": "Workers AI free tier. Requires a Cloudflare API token and Account ID.", text: "Workers AI free tier. Requires a Cloudflare API token and Account ID.",
"apiKeyUrl": "https://dash.cloudflare.com/profile/api-tokens" apiKeyUrl: "https://dash.cloudflare.com/profile/api-tokens",
} },
}, },
category: "freeTier", category: "freeTier",
uiAlias: "cf",
hasProviderSpecificData: true, hasProviderSpecificData: true,
aliases: ["cf"], transport: {
"transport": { baseUrl: "https://api.cloudflare.com/client/v4/accounts/{accountId}/ai/v1/chat/completions",
"baseUrl": "https://api.cloudflare.com/client/v4/accounts/{accountId}/ai/v1/chat/completions"
}, },
media: { models: [
serviceKinds: ["llm", "image"], { id: "@cf/meta/llama-3.2-1b-instruct", name: "Llama 3.2 1B Instruct" },
hasProviderSpecificData: true, { id: "@cf/meta/llama-3.2-3b-instruct", name: "Llama 3.2 3B Instruct" },
imageConfig: { baseUrl: "https://api.cloudflare.com/client/v4/accounts" } { id: "@cf/meta/llama-3.1-8b-instruct-fp8-fast", name: "Llama 3.1 8B Instruct FP8 Fast" },
}, { id: "@cf/meta/llama-3.1-8b-instruct-awq", name: "Llama 3.1 8B Instruct AWQ" },
"models": [ { id: "@cf/mistralai/mistral-small-3.1-24b-instruct", name: "Mistral Small 3.1 24B Instruct" },
{ { id: "@cf/meta/llama-3.1-70b-instruct-fp8-fast", name: "Llama 3.1 70B Instruct FP8 Fast" },
"id": "@cf/meta/llama-3.2-1b-instruct", { id: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", name: "Llama 3.3 70B Instruct FP8 Fast" },
"name": "Llama 3.2 1B Instruct" { id: "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", name: "DeepSeek R1 Distill Qwen 32B" },
}, { id: "@cf/moonshotai/kimi-k2.5", name: "Kimi K2.5" },
{ { id: "@cf/moonshotai/kimi-k2.6", name: "Kimi K2.6" },
"id": "@cf/meta/llama-3.2-3b-instruct", { id: "@cf/zai-org/glm-4.7-flash", name: "GLM 4.7 Flash" },
"name": "Llama 3.2 3B Instruct" { id: "@cf/qwen/qwq-32b", name: "QwQ 32B" },
}, { id: "@cf/qwen/qwen2.5-coder-32b-instruct", name: "Qwen 2.5 Coder 32B Instruct" },
{ { id: "@cf/black-forest-labs/flux-2-klein-9b", name: "FLUX.2 Klein 9B", params: ["size"], kind: "image" },
"id": "@cf/meta/llama-3.1-8b-instruct-fp8-fast", { id: "@cf/black-forest-labs/flux-2-klein-4b", name: "FLUX.2 Klein 4B", params: ["size"], kind: "image" },
"name": "Llama 3.1 8B Instruct FP8 Fast" { id: "@cf/black-forest-labs/flux-2-dev", name: "FLUX.2 Dev", params: ["size"], kind: "image" },
}, { id: "@cf/leonardo/lucid-origin", name: "Lucid Origin", params: ["size"], kind: "image" },
{ { id: "@cf/leonardo/phoenix-1.0", name: "Phoenix 1.0", params: ["size"], kind: "image" },
"id": "@cf/meta/llama-3.1-8b-instruct-awq", { id: "@cf/black-forest-labs/flux-1-schnell", name: "FLUX.1 Schnell", params: ["size"], kind: "image" },
"name": "Llama 3.1 8B Instruct AWQ" { id: "@cf/bytedance/stable-diffusion-xl-lightning", name: "SDXL Lightning", params: ["size"], kind: "image" },
}, { id: "@cf/lykon/dreamshaper-8-lcm", name: "DreamShaper 8 LCM", params: ["size"], kind: "image" },
{ { id: "@cf/runwayml/stable-diffusion-v1-5-img2img", name: "Stable Diffusion v1.5 Img2Img", params: ["size"], capabilities: ["edit"], kind: "image" },
"id": "@cf/mistralai/mistral-small-3.1-24b-instruct", { id: "@cf/runwayml/stable-diffusion-v1-5-inpainting", name: "Stable Diffusion v1.5 Inpainting", params: ["size"], capabilities: ["edit","mask"], kind: "image" },
"name": "Mistral Small 3.1 24B Instruct" { id: "@cf/stabilityai/stable-diffusion-xl-base-1.0", name: "SDXL Base 1.0", params: ["size"], kind: "image" },
},
{
"id": "@cf/meta/llama-3.1-70b-instruct-fp8-fast",
"name": "Llama 3.1 70B Instruct FP8 Fast"
},
{
"id": "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
"name": "Llama 3.3 70B Instruct FP8 Fast"
},
{
"id": "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b",
"name": "DeepSeek R1 Distill Qwen 32B"
},
{
"id": "@cf/moonshotai/kimi-k2.5",
"name": "Kimi K2.5"
},
{
"id": "@cf/moonshotai/kimi-k2.6",
"name": "Kimi K2.6"
},
{
"id": "@cf/zai-org/glm-4.7-flash",
"name": "GLM 4.7 Flash"
},
{
"id": "@cf/qwen/qwq-32b",
"name": "QwQ 32B"
},
{
"id": "@cf/qwen/qwen2.5-coder-32b-instruct",
"name": "Qwen 2.5 Coder 32B Instruct"
},
{
"id": "@cf/black-forest-labs/flux-2-klein-9b",
"name": "FLUX.2 Klein 9B",
"type": "image",
"params": [
"size"
]
},
{
"id": "@cf/black-forest-labs/flux-2-klein-4b",
"name": "FLUX.2 Klein 4B",
"type": "image",
"params": [
"size"
]
},
{
"id": "@cf/black-forest-labs/flux-2-dev",
"name": "FLUX.2 Dev",
"type": "image",
"params": [
"size"
]
},
{
"id": "@cf/leonardo/lucid-origin",
"name": "Lucid Origin",
"type": "image",
"params": [
"size"
]
},
{
"id": "@cf/leonardo/phoenix-1.0",
"name": "Phoenix 1.0",
"type": "image",
"params": [
"size"
]
},
{
"id": "@cf/black-forest-labs/flux-1-schnell",
"name": "FLUX.1 Schnell",
"type": "image",
"params": [
"size"
]
},
{
"id": "@cf/bytedance/stable-diffusion-xl-lightning",
"name": "SDXL Lightning",
"type": "image",
"params": [
"size"
]
},
{
"id": "@cf/lykon/dreamshaper-8-lcm",
"name": "DreamShaper 8 LCM",
"type": "image",
"params": [
"size"
]
},
{
"id": "@cf/runwayml/stable-diffusion-v1-5-img2img",
"name": "Stable Diffusion v1.5 Img2Img",
"type": "image",
"params": [
"size"
], ],
"capabilities": [ serviceKinds: ["llm","image"],
"edit" imageConfig: { baseUrl: "https://api.cloudflare.com/client/v4/accounts" },
]
},
{
"id": "@cf/runwayml/stable-diffusion-v1-5-inpainting",
"name": "Stable Diffusion v1.5 Inpainting",
"type": "image",
"params": [
"size"
],
"capabilities": [
"edit",
"mask"
]
},
{
"id": "@cf/stabilityai/stable-diffusion-xl-base-1.0",
"name": "SDXL Base 1.0",
"type": "image",
"params": [
"size"
]
}
]
}; };

View file

@ -1,18 +1,30 @@
export default { export default {
"id": "codebuddy", display: { name: "CodeBuddy", icon: "smart_toy", color: "#006EFF", website: "https://copilot.tencent.com", notice: { signupUrl: "https://copilot.tencent.com" } }, id: "codebuddy",
category: "oauth", display: {
"transport": { name: "CodeBuddy",
"baseUrl": "https://copilot.tencent.com/v1/chat/completions", icon: "smart_toy",
auth: {"combined":true,"header":"Authorization","scheme":"bearer"}, color: "#006EFF",
website: "https://copilot.tencent.com",
notice: {
signupUrl: "https://copilot.tencent.com",
},
},
category: "oauth",
transport: {
baseUrl: "https://copilot.tencent.com/v1/chat/completions",
auth: {
combined: true,
header: "Authorization",
scheme: "bearer",
},
},
oauth: {
baseUrl: "https://copilot.tencent.com",
stateUrl: "https://copilot.tencent.com/v2/plugin/auth/state",
tokenUrl: "https://copilot.tencent.com/v2/plugin/auth/token",
refreshUrl: "https://copilot.tencent.com/v2/plugin/auth/token/refresh",
userAgent: "CLI/2.63.2 CodeBuddy/2.63.2",
platform: "CLI",
pollInterval: 5000,
}, },
"oauth": {
"baseUrl": "https://copilot.tencent.com",
"stateUrl": "https://copilot.tencent.com/v2/plugin/auth/state",
"tokenUrl": "https://copilot.tencent.com/v2/plugin/auth/token",
"refreshUrl": "https://copilot.tencent.com/v2/plugin/auth/token/refresh",
"userAgent": "CLI/2.63.2 CodeBuddy/2.63.2",
"platform": "CLI",
"pollInterval": 5000
}
}; };

View file

@ -3,33 +3,68 @@ import { withCodexReviewModels } from "../models/helpers.js";
export default { export default {
id: "codex", id: "codex",
alias: "cx", alias: "cx",
uiAlias: "cx",
display: { display: {
"name": "OpenAI Codex", name: "OpenAI Codex",
"icon": "code", icon: "code",
"color": "#3B82F6", color: "#3B82F6",
"website": "https://chatgpt.com/codex", website: "https://chatgpt.com/codex",
"notice": { notice: {
"signupUrl": "https://chatgpt.com/codex" signupUrl: "https://chatgpt.com/codex",
},
deprecated: true,
deprecationNotice: "RISK_NOTICE",
kindNotice: {
image: "Requires a ChatGPT Plus (or higher) account. Free accounts are not supported for image generation.",
}, },
"deprecated": true,
"deprecationNotice": "RISK_NOTICE",
"kindNotice": {
"image": "Requires a ChatGPT Plus (or higher) account. Free accounts are not supported for image generation."
}
}, },
category: "oauth", category: "oauth",
uiAlias: "cx", thinkingConfig: {
thinkingConfig: {"options":["auto","none","low","medium","high"],"defaultMode":"auto"}, options: [
"auto",
"none",
"low",
"medium",
"high",
],
defaultMode: "auto",
},
transport: { transport: {
baseUrl: "https://chatgpt.com/backend-api/codex/responses", baseUrl: "https://chatgpt.com/backend-api/codex/responses",
format: "openai-responses", format: "openai-responses",
forceStream: true, forceStream: true,
headers: { headers: {
"originator": "codex_cli_rs", originator: "codex_cli_rs",
"User-Agent": "codex_cli_rs/0.136.0" "User-Agent": "codex_cli_rs/0.136.0",
}, },
usage: { url: "https://chatgpt.com/backend-api/wham/usage" } usage: {
url: "https://chatgpt.com/backend-api/wham/usage",
}, },
},
models: [
{ id: "gpt-5.5", name: "GPT 5.5" },
{ id: "gpt-5.5-review", name: "GPT 5.5 Review", upstreamModelId: "gpt-5.5", quotaFamily: "review" },
{ id: "gpt-5.4", name: "GPT 5.4" },
{ id: "gpt-5.4-review", name: "GPT 5.4 Review", upstreamModelId: "gpt-5.4", quotaFamily: "review" },
{ id: "gpt-5.4-mini", name: "GPT 5.4 Mini" },
{ id: "gpt-5.4-mini-review", name: "GPT 5.4 Mini Review", upstreamModelId: "gpt-5.4-mini", quotaFamily: "review" },
{ id: "gpt-5.3-codex", name: "GPT 5.3 Codex" },
{ id: "gpt-5.3-codex-review", name: "GPT 5.3 Codex Review", upstreamModelId: "gpt-5.3-codex", quotaFamily: "review" },
{ id: "gpt-5.3-codex-xhigh", name: "GPT 5.3 Codex (xHigh)" },
{ id: "gpt-5.3-codex-xhigh-review", name: "GPT 5.3 Codex (xHigh) Review", upstreamModelId: "gpt-5.3-codex-xhigh", quotaFamily: "review" },
{ id: "gpt-5.3-codex-high", name: "GPT 5.3 Codex (High)" },
{ id: "gpt-5.3-codex-high-review", name: "GPT 5.3 Codex (High) Review", upstreamModelId: "gpt-5.3-codex-high", quotaFamily: "review" },
{ id: "gpt-5.3-codex-low", name: "GPT 5.3 Codex (Low)" },
{ id: "gpt-5.3-codex-low-review", name: "GPT 5.3 Codex (Low) Review", upstreamModelId: "gpt-5.3-codex-low", quotaFamily: "review" },
{ id: "gpt-5.3-codex-none", name: "GPT 5.3 Codex (None)" },
{ id: "gpt-5.3-codex-none-review", name: "GPT 5.3 Codex (None) Review", upstreamModelId: "gpt-5.3-codex-none", quotaFamily: "review" },
{ id: "gpt-5.3-codex-spark", name: "GPT 5.3 Codex Spark" },
{ id: "gpt-5.3-codex-spark-review", name: "GPT 5.3 Codex Spark Review", upstreamModelId: "gpt-5.3-codex-spark", quotaFamily: "review" },
{ id: "gpt-5.5-image", name: "GPT 5.5 Image", capabilities: ["text2img","edit"], params: ["size","quality","background","image_detail","output_format"], kind: "image" },
{ id: "gpt-5.4-image", name: "GPT 5.4 Image", capabilities: ["text2img","edit"], params: ["size","quality","background","image_detail","output_format"], kind: "image" },
{ id: "gpt-5.3-image", name: "GPT 5.3 Image", capabilities: ["text2img","edit"], params: ["size","quality","background","image_detail","output_format"], kind: "image" },
],
serviceKinds: ["llm","image"],
oauth: { oauth: {
clientId: "app_EMoamEEZ73f0CkXaXp7hrann", clientId: "app_EMoamEEZ73f0CkXaXp7hrann",
authorizeUrl: "https://auth.openai.com/oauth/authorize", authorizeUrl: "https://auth.openai.com/oauth/authorize",
@ -41,33 +76,17 @@ export default {
extraParams: { extraParams: {
id_token_add_organizations: "true", id_token_add_organizations: "true",
codex_cli_simplified_flow: "true", codex_cli_simplified_flow: "true",
originator: "codex_cli_rs" originator: "codex_cli_rs",
}
,
refreshLeadMs: 432000000
,
refresh: {"encoding":"form","scope":"openid profile email offline_access"}
,
maxRefreshAgeMs: 691200000
,
trackRefreshAt: true
}, },
media: { refreshLeadMs: 432000000,
serviceKinds: ["llm", "image"] refresh: {
encoding: "form",
scope: "openid profile email offline_access",
},
maxRefreshAgeMs: 691200000,
trackRefreshAt: true,
},
features: {
usage: true,
}, },
models: withCodexReviewModels([
{ id: "gpt-5.5", name: "GPT 5.5" },
{ id: "gpt-5.4", name: "GPT 5.4" },
{ id: "gpt-5.4-mini", name: "GPT 5.4 Mini" },
{ id: "gpt-5.3-codex", name: "GPT 5.3 Codex" },
{ id: "gpt-5.3-codex-xhigh", name: "GPT 5.3 Codex (xHigh)" },
{ id: "gpt-5.3-codex-high", name: "GPT 5.3 Codex (High)" },
{ id: "gpt-5.3-codex-low", name: "GPT 5.3 Codex (Low)" },
{ id: "gpt-5.3-codex-none", name: "GPT 5.3 Codex (None)" },
{ id: "gpt-5.3-codex-spark", name: "GPT 5.3 Codex Spark" },
{ id: "gpt-5.5-image", name: "GPT 5.5 Image", type: "image", capabilities: ["text2img", "edit"], params: ["size", "quality", "background", "image_detail", "output_format"] },
{ id: "gpt-5.4-image", name: "GPT 5.4 Image", type: "image", capabilities: ["text2img", "edit"], params: ["size", "quality", "background", "image_detail", "output_format"] },
{ id: "gpt-5.3-image", name: "GPT 5.3 Image", type: "image", capabilities: ["text2img", "edit"], params: ["size", "quality", "background", "image_detail", "output_format"] }
]),
features: {"usage":true},
}; };

View file

@ -1,34 +1,24 @@
export default { export default {
"id": "cohere", id: "cohere",
"alias": "cohere", alias: "cohere",
display: { display: {
"name": "Cohere", name: "Cohere",
"icon": "hub", icon: "hub",
"color": "#39594D", color: "#39594D",
"textIcon": "CO", textIcon: "CO",
"website": "https://cohere.com", website: "https://cohere.com",
"notice": { notice: {
"apiKeyUrl": "https://dashboard.cohere.com/api-keys" apiKeyUrl: "https://dashboard.cohere.com/api-keys",
} },
}, },
category: "apikey", category: "apikey",
"transport": { transport: {
"baseUrl": "https://api.cohere.ai/v1/chat/completions", baseUrl: "https://api.cohere.ai/v1/chat/completions",
"validateUrl": "https://api.cohere.ai/v1/models" validateUrl: "https://api.cohere.ai/v1/models",
}, },
"models": [ models: [
{ { id: "command-r-plus-08-2024", name: "Command R+ (Aug 2024)" },
"id": "command-r-plus-08-2024", { id: "command-r-08-2024", name: "Command R (Aug 2024)" },
"name": "Command R+ (Aug 2024)" { id: "command-a-03-2025", name: "Command A (Mar 2025)" },
}, ],
{
"id": "command-r-08-2024",
"name": "Command R (Aug 2024)"
},
{
"id": "command-a-03-2025",
"name": "Command A (Mar 2025)"
}
]
}; };

View file

@ -1,38 +1,19 @@
export default { export default {
"id": "comfyui", id: "comfyui",
"alias": "comfyui", alias: "comfyui",
display: { display: {
"name": "ComfyUI", name: "ComfyUI",
"icon": "account_tree", icon: "account_tree",
"color": "#4CAF50", color: "#4CAF50",
"textIcon": "CF", textIcon: "CF",
"website": "https://github.com/comfyanonymous/ComfyUI" website: "https://github.com/comfyanonymous/ComfyUI",
}, },
category: "apikey", category: "apikey",
"transport": null, transport: null,
media: { models: [
{ id: "flux-dev", name: "FLUX Dev", params: ["n","size"], kind: "image" },
{ id: "sdxl", name: "SDXL", params: ["n","size"], kind: "image" },
],
serviceKinds: ["image"], serviceKinds: ["image"],
imageConfig: { baseUrl: "http://localhost:8188" } imageConfig: { baseUrl: "http://localhost:8188" },
},
"models": [
{
"id": "flux-dev",
"name": "FLUX Dev",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "sdxl",
"name": "SDXL",
"type": "image",
"params": [
"n",
"size"
]
}
]
}; };

View file

@ -1,73 +1,42 @@
export default { export default {
"id": "commandcode", id: "commandcode",
"alias": "commandcode", alias: "commandcode",
aliases: [
"cmc",
],
uiAlias: "cmc",
display: { display: {
"name": "Command Code", name: "Command Code",
"icon": "smart_toy", icon: "smart_toy",
"color": "#000000", color: "#000000",
"textIcon": "CC", textIcon: "CC",
"website": "https://commandcode.ai", website: "https://commandcode.ai",
"notice": { notice: {
"text": "Use your CommandCode CLI API key (starts with user_...) from ~/.commandcode/auth.json or commandcode.ai/studio.", text: "Use your CommandCode CLI API key (starts with user_...) from ~/.commandcode/auth.json or commandcode.ai/studio.",
"apiKeyUrl": "https://commandcode.ai/studio" apiKeyUrl: "https://commandcode.ai/studio",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "cmc", transport: {
aliases: ["cmc"], baseUrl: "https://api.commandcode.ai/alpha/generate",
"transport": { format: "commandcode",
"baseUrl": "https://api.commandcode.ai/alpha/generate", forceStream: true,
"format": "commandcode", headers: {
"forceStream": true,
"headers": {
"x-command-code-version": "0.25.7", "x-command-code-version": "0.25.7",
"x-cli-environment": "cli" "x-cli-environment": "cli",
}
}, },
"models": [
{
"id": "deepseek/deepseek-v4-pro",
"name": "DeepSeek V4 Pro"
}, },
{ models: [
"id": "deepseek/deepseek-v4-flash", { id: "deepseek/deepseek-v4-pro", name: "DeepSeek V4 Pro" },
"name": "DeepSeek V4 Flash" { id: "deepseek/deepseek-v4-flash", name: "DeepSeek V4 Flash" },
}, { id: "moonshotai/Kimi-K2.6", name: "Kimi K2.6" },
{ { id: "moonshotai/Kimi-K2.5", name: "Kimi K2.5" },
"id": "moonshotai/Kimi-K2.6", { id: "zai-org/GLM-5.1", name: "GLM 5.1" },
"name": "Kimi K2.6" { id: "zai-org/GLM-5", name: "GLM 5" },
}, { id: "MiniMaxAI/MiniMax-M2.7", name: "MiniMax M2.7" },
{ { id: "MiniMaxAI/MiniMax-M2.5", name: "MiniMax M2.5" },
"id": "moonshotai/Kimi-K2.5", { id: "Qwen/Qwen3.6-Max-Preview", name: "Qwen 3.6 Max Preview" },
"name": "Kimi K2.5" { id: "Qwen/Qwen3.6-Plus", name: "Qwen 3.6 Plus" },
}, { id: "stepfun/Step-3.5-Flash", name: "Step 3.5 Flash" },
{ ],
"id": "zai-org/GLM-5.1",
"name": "GLM 5.1"
},
{
"id": "zai-org/GLM-5",
"name": "GLM 5"
},
{
"id": "MiniMaxAI/MiniMax-M2.7",
"name": "MiniMax M2.7"
},
{
"id": "MiniMaxAI/MiniMax-M2.5",
"name": "MiniMax M2.5"
},
{
"id": "Qwen/Qwen3.6-Max-Preview",
"name": "Qwen 3.6 Max Preview"
},
{
"id": "Qwen/Qwen3.6-Plus",
"name": "Qwen 3.6 Plus"
},
{
"id": "stepfun/Step-3.5-Flash",
"name": "Step 3.5 Flash"
}
]
}; };

View file

@ -1,100 +1,57 @@
export default { export default {
"id": "cursor", id: "cursor",
"alias": "cu", alias: "cu",
uiAlias: "cu",
display: { display: {
"name": "Cursor IDE", name: "Cursor IDE",
"icon": "edit_note", icon: "edit_note",
"color": "#00D4AA", color: "#00D4AA",
"website": "https://cursor.com", website: "https://cursor.com",
"notice": { notice: {
"signupUrl": "https://cursor.com" signupUrl: "https://cursor.com",
} },
}, },
category: "oauth", category: "oauth",
uiAlias: "cu", transport: {
"transport": { baseUrl: "https://api2.cursor.sh",
"baseUrl": "https://api2.cursor.sh", chatPath: "/aiserver.v1.ChatService/StreamUnifiedChatWithTools",
"chatPath": "/aiserver.v1.ChatService/StreamUnifiedChatWithTools", format: "cursor",
"format": "cursor", headers: {
"headers": {
"connect-accept-encoding": "gzip", "connect-accept-encoding": "gzip",
"connect-protocol-version": "1", "connect-protocol-version": "1",
"Content-Type": "application/connect+proto", "Content-Type": "application/connect+proto",
"User-Agent": "connect-es/1.6.1" "User-Agent": "connect-es/1.6.1",
}, },
"clientVersion": "3.1.0" clientVersion: "3.1.0",
}, },
"oauth": { models: [
"apiEndpoint": "https://api2.cursor.sh", { id: "default", name: "Auto (Server Picks)" },
"chatEndpoint": "/aiserver.v1.ChatService/StreamUnifiedChatWithTools", { id: "claude-4.5-opus-high-thinking", name: "Claude 4.5 Opus High Thinking" },
"modelsEndpoint": "/aiserver.v1.AiService/GetDefaultModelNudgeData", { id: "claude-4.5-opus-high", name: "Claude 4.5 Opus High" },
"api3Endpoint": "https://api3.cursor.sh", { id: "claude-4.5-sonnet-thinking", name: "Claude 4.5 Sonnet Thinking" },
"agentEndpoint": "https://agent.api5.cursor.sh", { id: "claude-4.5-sonnet", name: "Claude 4.5 Sonnet" },
"agentNonPrivacyEndpoint": "https://agentn.api5.cursor.sh", { id: "claude-4.5-haiku", name: "Claude 4.5 Haiku" },
"clientVersion": "3.1.0", { id: "claude-4.5-opus", name: "Claude 4.5 Opus" },
"clientType": "ide", { id: "gpt-5.2-codex", name: "GPT 5.2 Codex" },
"dbKeys": { { id: "claude-4.6-opus-max", name: "Claude 4.6 Opus Max" },
"accessToken": "cursorAuth/accessToken", { id: "claude-4.6-sonnet-medium-thinking", name: "Claude 4.6 Sonnet Medium Thinking" },
"machineId": "storage.serviceMachineId" { id: "kimi-k2.5", name: "Kimi K2.5" },
} { id: "gemini-3-flash-preview", name: "Gemini 3 Flash Preview" },
{ id: "gpt-5.2", name: "GPT 5.2" },
{ id: "gpt-5.3-codex", name: "GPT 5.3 Codex" },
],
oauth: {
apiEndpoint: "https://api2.cursor.sh",
chatEndpoint: "/aiserver.v1.ChatService/StreamUnifiedChatWithTools",
modelsEndpoint: "/aiserver.v1.AiService/GetDefaultModelNudgeData",
api3Endpoint: "https://api3.cursor.sh",
agentEndpoint: "https://agent.api5.cursor.sh",
agentNonPrivacyEndpoint: "https://agentn.api5.cursor.sh",
clientVersion: "3.1.0",
clientType: "ide",
dbKeys: {
accessToken: "cursorAuth/accessToken",
machineId: "storage.serviceMachineId",
}, },
"models": [
{
"id": "default",
"name": "Auto (Server Picks)"
}, },
{
"id": "claude-4.5-opus-high-thinking",
"name": "Claude 4.5 Opus High Thinking"
},
{
"id": "claude-4.5-opus-high",
"name": "Claude 4.5 Opus High"
},
{
"id": "claude-4.5-sonnet-thinking",
"name": "Claude 4.5 Sonnet Thinking"
},
{
"id": "claude-4.5-sonnet",
"name": "Claude 4.5 Sonnet"
},
{
"id": "claude-4.5-haiku",
"name": "Claude 4.5 Haiku"
},
{
"id": "claude-4.5-opus",
"name": "Claude 4.5 Opus"
},
{
"id": "gpt-5.2-codex",
"name": "GPT 5.2 Codex"
},
{
"id": "claude-4.6-opus-max",
"name": "Claude 4.6 Opus Max"
},
{
"id": "claude-4.6-sonnet-medium-thinking",
"name": "Claude 4.6 Sonnet Medium Thinking"
},
{
"id": "kimi-k2.5",
"name": "Kimi K2.5"
},
{
"id": "gemini-3-flash-preview",
"name": "Gemini 3 Flash Preview"
},
{
"id": "gpt-5.2",
"name": "GPT 5.2"
},
{
"id": "gpt-5.3-codex",
"name": "GPT 5.3 Codex"
}
]
}; };

View file

@ -1,53 +1,32 @@
export default { export default {
"id": "deepgram", id: "deepgram",
"alias": "deepgram", alias: "deepgram",
aliases: [
"dg",
],
uiAlias: "dg",
display: { display: {
"name": "Deepgram", name: "Deepgram",
"icon": "mic", icon: "mic",
"color": "#13EF93", color: "#13EF93",
"textIcon": "DG", textIcon: "DG",
"website": "https://deepgram.com", website: "https://deepgram.com",
"notice": { notice: {
"text": "$200 free credit on signup (no card required). Aura-1: $0.015/1k chars, Aura-2: $0.030/1k chars (Pay-As-You-Go).", text: "$200 free credit on signup (no card required). Aura-1: $0.015/1k chars, Aura-2: $0.030/1k chars (Pay-As-You-Go).",
"apiKeyUrl": "https://console.deepgram.com/api-keys" apiKeyUrl: "https://console.deepgram.com/api-keys",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "dg",
authType: "apikey", authType: "apikey",
aliases: ["dg"], transport: {
"transport": { baseUrl: "https://api.deepgram.com/v1/listen",
"baseUrl": "https://api.deepgram.com/v1/listen"
}, },
media: { models: [
{ id: "nova-3", name: "Nova 3", params: ["language"], kind: "stt" },
{ id: "nova-2", name: "Nova 2", params: ["language"], kind: "stt" },
{ id: "whisper-large", name: "Whisper Large", params: ["language"], kind: "stt" },
{ id: "nova", name: "Nova", kind: "stt" },
],
serviceKinds: ["stt"], serviceKinds: ["stt"],
sttConfig: { baseUrl: "https://api.deepgram.com/v1/listen", authType: "apikey", authHeader: "token", format: "deepgram", models: [{ id: "nova-3", name: "Nova 3" }, { id: "nova-2", name: "Nova 2" }, { id: "nova", name: "Nova" }] } sttConfig: { baseUrl: "https://api.deepgram.com/v1/listen", authType: "apikey", authHeader: "token", format: "deepgram" },
},
"models": [
{
"id": "nova-3",
"name": "Nova 3",
"type": "stt",
"params": [
"language"
]
},
{
"id": "nova-2",
"name": "Nova 2",
"type": "stt",
"params": [
"language"
]
},
{
"id": "whisper-large",
"name": "Whisper Large",
"type": "stt",
"params": [
"language"
]
}
]
}; };

View file

@ -1,51 +1,34 @@
export default { export default {
"id": "deepseek", id: "deepseek",
"alias": "deepseek", alias: "deepseek",
aliases: [
"ds",
],
uiAlias: "ds",
display: { display: {
"name": "DeepSeek", name: "DeepSeek",
"icon": "bolt", icon: "bolt",
"color": "#4D6BFE", color: "#4D6BFE",
"textIcon": "DS", textIcon: "DS",
"website": "https://deepseek.com", website: "https://deepseek.com",
"notice": { notice: {
"apiKeyUrl": "https://platform.deepseek.com/api_keys" apiKeyUrl: "https://platform.deepseek.com/api_keys",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "ds", transport: {
aliases: ["ds"], baseUrl: "https://api.deepseek.com/chat/completions",
"transport": { validateUrl: "https://api.deepseek.com/models",
"baseUrl": "https://api.deepseek.com/chat/completions", reasoningInject: {
"validateUrl": "https://api.deepseek.com/models", scope: "all",
reasoningInject: { scope: "all" }
}, },
"models": [
{
"id": "deepseek-v4-pro",
"name": "DeepSeek V4 Pro"
}, },
{ models: [
"id": "deepseek-v4-pro-max", { id: "deepseek-v4-pro", name: "DeepSeek V4 Pro" },
"name": "DeepSeek V4 Pro Max", { id: "deepseek-v4-pro-max", name: "DeepSeek V4 Pro Max", upstreamModelId: "deepseek-v4-pro" },
"upstreamModelId": "deepseek-v4-pro" { id: "deepseek-v4-pro-none", name: "DeepSeek V4 Pro No Thinking", upstreamModelId: "deepseek-v4-pro" },
}, { id: "deepseek-v4-flash", name: "DeepSeek V4 Flash" },
{ { id: "deepseek-chat", name: "DeepSeek V3.2 Chat" },
"id": "deepseek-v4-pro-none", { id: "deepseek-reasoner", name: "DeepSeek V3.2 Reasoner" },
"name": "DeepSeek V4 Pro No Thinking", ],
"upstreamModelId": "deepseek-v4-pro"
},
{
"id": "deepseek-v4-flash",
"name": "DeepSeek V4 Flash"
},
{
"id": "deepseek-chat",
"name": "DeepSeek V3.2 Chat"
},
{
"id": "deepseek-reasoner",
"name": "DeepSeek V3.2 Reasoner"
}
]
}; };

View file

@ -1,91 +1,32 @@
export default { export default {
"id": "fal-ai", id: "fal-ai",
"alias": "fal-ai", alias: "fal-ai",
aliases: [
"fal",
],
uiAlias: "fal",
display: { display: {
"name": "Fal.ai", name: "Fal.ai",
"icon": "image", icon: "image",
"color": "#2563EB", color: "#2563EB",
"textIcon": "FL", textIcon: "FL",
"website": "https://fal.ai", website: "https://fal.ai",
"notice": { notice: {
"apiKeyUrl": "https://fal.ai/dashboard/keys" apiKeyUrl: "https://fal.ai/dashboard/keys",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "fal",
authType: "apikey", authType: "apikey",
aliases: ["fal"], transport: null,
"transport": null, models: [
media: { { id: "fal-ai/flux/schnell", name: "FLUX Schnell", params: ["n","size"], kind: "image" },
{ id: "fal-ai/flux/dev", name: "FLUX Dev", params: ["n","size"], kind: "image" },
{ id: "fal-ai/flux-pro/v1.1", name: "FLUX Pro v1.1", params: ["n","size"], kind: "image" },
{ id: "fal-ai/flux-pro/v1.1-ultra", name: "FLUX Pro v1.1 Ultra", params: ["n","size"], kind: "image" },
{ id: "fal-ai/recraft-v3", name: "Recraft V3", params: ["n","size","style"], kind: "image" },
{ id: "fal-ai/ideogram/v2", name: "Ideogram V2", params: ["n","size","style"], kind: "image" },
{ id: "fal-ai/stable-diffusion-v35-large", name: "SD 3.5 Large", params: ["n","size"], kind: "image" },
],
serviceKinds: ["image"], serviceKinds: ["image"],
imageConfig: { baseUrl: "https://queue.fal.run" } imageConfig: { baseUrl: "https://queue.fal.run" },
},
"models": [
{
"id": "fal-ai/flux/schnell",
"name": "FLUX Schnell",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "fal-ai/flux/dev",
"name": "FLUX Dev",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "fal-ai/flux-pro/v1.1",
"name": "FLUX Pro v1.1",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "fal-ai/flux-pro/v1.1-ultra",
"name": "FLUX Pro v1.1 Ultra",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "fal-ai/recraft-v3",
"name": "Recraft V3",
"type": "image",
"params": [
"n",
"size",
"style"
]
},
{
"id": "fal-ai/ideogram/v2",
"name": "Ideogram V2",
"type": "image",
"params": [
"n",
"size",
"style"
]
},
{
"id": "fal-ai/stable-diffusion-v35-large",
"name": "SD 3.5 Large",
"type": "image",
"params": [
"n",
"size"
]
}
]
}; };

View file

@ -1,43 +1,27 @@
export default { export default {
"id": "fireworks", id: "fireworks",
"alias": "fireworks", alias: "fireworks",
display: { display: {
"name": "Fireworks AI", name: "Fireworks AI",
"icon": "local_fire_department", icon: "local_fire_department",
"color": "#7B2EF2", color: "#7B2EF2",
"textIcon": "FW", textIcon: "FW",
"website": "https://fireworks.ai", website: "https://fireworks.ai",
"notice": { notice: {
"apiKeyUrl": "https://fireworks.ai/account/api-keys" apiKeyUrl: "https://fireworks.ai/account/api-keys",
} },
}, },
category: "apikey", category: "apikey",
authType: "apikey", authType: "apikey",
"transport": { transport: {
"baseUrl": "https://api.fireworks.ai/inference/v1/chat/completions", baseUrl: "https://api.fireworks.ai/inference/v1/chat/completions",
"validateUrl": "https://api.fireworks.ai/inference/v1/models" validateUrl: "https://api.fireworks.ai/inference/v1/models",
}, },
media: { models: [
embeddingConfig: { baseUrl: "https://api.fireworks.ai/inference/v1/embeddings" } { id: "accounts/fireworks/models/deepseek-v3p1", name: "DeepSeek V3.1" },
}, { id: "accounts/fireworks/models/llama-v3p3-70b-instruct", name: "Llama 3.3 70B" },
"models": [ { id: "accounts/fireworks/models/qwen3-235b-a22b", name: "Qwen3 235B" },
{ { id: "nomic-ai/nomic-embed-text-v1.5", name: "Nomic Embed Text v1.5", kind: "embedding" },
"id": "accounts/fireworks/models/deepseek-v3p1", ],
"name": "DeepSeek V3.1" embeddingConfig: { baseUrl: "https://api.fireworks.ai/inference/v1/embeddings" },
},
{
"id": "accounts/fireworks/models/llama-v3p3-70b-instruct",
"name": "Llama 3.3 70B"
},
{
"id": "accounts/fireworks/models/qwen3-235b-a22b",
"name": "Qwen3 235B"
},
{
"id": "nomic-ai/nomic-embed-text-v1.5",
"name": "Nomic Embed Text v1.5",
"type": "embedding"
}
]
}; };

View file

@ -1,53 +1,51 @@
import { GOOGLE_OAUTH_CLIENT } from "../shared.js"; import { GOOGLE_OAUTH_CLIENT } from "../shared.js";
export default { export default {
"id": "gemini-cli", id: "gemini-cli",
"alias": "gc", alias: "gc",
uiAlias: "gc",
display: { display: {
"name": "Gemini CLI", name: "Gemini CLI",
"icon": "terminal", icon: "terminal",
"color": "#4285F4", color: "#4285F4",
"website": "https://github.com/google-gemini/gemini-cli", website: "https://github.com/google-gemini/gemini-cli",
"notice": { notice: {
"signupUrl": "https://github.com/google-gemini/gemini-cli" signupUrl: "https://github.com/google-gemini/gemini-cli",
}, },
"deprecated": true, deprecated: true,
"deprecationNotice": "RISK_NOTICE" deprecationNotice: "RISK_NOTICE",
}, },
category: "free", category: "free",
uiAlias: "gc", transport: {
"transport": { baseUrl: "https://cloudcode-pa.googleapis.com/v1internal",
"baseUrl": "https://cloudcode-pa.googleapis.com/v1internal", format: "gemini-cli",
"format": "gemini-cli",
cliVersion: "0.34.0", cliVersion: "0.34.0",
apiClient: "google-genai-sdk/1.41.0 gl-node/v22.19.0", apiClient: "google-genai-sdk/1.41.0 gl-node/v22.19.0",
usage: { usage: {
quotaUrl: "https://cloudcode-pa.googleapis.com/v1internal:retrieveUserQuota", quotaUrl: "https://cloudcode-pa.googleapis.com/v1internal:retrieveUserQuota",
loadCodeAssistUrl: "https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist" loadCodeAssistUrl: "https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",
}, },
...GOOGLE_OAUTH_CLIENT clientId: "681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com",
clientSecret: "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",
}, },
"oauth": { models: [
"authorizeUrl": "https://accounts.google.com/o/oauth2/v2/auth", { id: "gemini-3-flash-preview", name: "Gemini 3 Flash Preview" },
"tokenUrl": "https://oauth2.googleapis.com/token", { id: "gemini-3-pro-preview", name: "Gemini 3 Pro Preview" },
"userInfoUrl": "https://www.googleapis.com/oauth2/v1/userinfo", ],
"scopes": [ oauth: {
authorizeUrl: "https://accounts.google.com/o/oauth2/v2/auth",
tokenUrl: "https://oauth2.googleapis.com/token",
userInfoUrl: "https://www.googleapis.com/oauth2/v1/userinfo",
scopes: [
"https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/userinfo.profile" "https://www.googleapis.com/auth/userinfo.profile",
]
,
refresh: {"encoding":"form"}
},
"models": [
{
"id": "gemini-3-flash-preview",
"name": "Gemini 3 Flash Preview"
},
{
"id": "gemini-3-pro-preview",
"name": "Gemini 3 Pro Preview"
}
], ],
features: {"usage":true}, refresh: {
encoding: "form",
},
},
features: {
usage: true,
},
}; };

View file

@ -1,144 +1,80 @@
import { GOOGLE_OAUTH_CLIENT } from "../shared.js"; import { GOOGLE_OAUTH_CLIENT } from "../shared.js";
export default { export default {
"id": "gemini", id: "gemini",
"alias": "gemini", alias: "gemini",
display: { display: {
"name": "Gemini", name: "Gemini",
"icon": "diamond", icon: "diamond",
"color": "#4285F4", color: "#4285F4",
"textIcon": "GE", textIcon: "GE",
"website": "https://ai.google.dev", website: "https://ai.google.dev",
"notice": { notice: {
"apiKeyUrl": "https://aistudio.google.com/app/apikey" apiKeyUrl: "https://aistudio.google.com/app/apikey",
}, },
"mediaPriority": 1 mediaPriority: 1,
}, },
category: "freeTier", category: "freeTier",
"transport": { transport: {
"baseUrl": "https://generativelanguage.googleapis.com/v1beta/models", baseUrl: "https://generativelanguage.googleapis.com/v1beta/models",
"format": "gemini", format: "gemini",
...GOOGLE_OAUTH_CLIENT, clientId: "681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com",
auth: {"apiKey":{"header":"x-goog-api-key","scheme":"raw"},"oauth":{"header":"Authorization","scheme":"bearer"}}, clientSecret: "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",
auth: {
apiKey: {
header: "x-goog-api-key",
scheme: "raw",
}, },
media: { oauth: {
serviceKinds: ["llm", "embedding", "image", "imageToText", "webSearch", "tts", "stt"], header: "Authorization",
ttsConfig: { baseUrl: "https://generativelanguage.googleapis.com/v1beta/models", authType: "apikey", authHeader: "key", format: "gemini-tts", models: [{ id: "gemini-2.5-flash-preview-tts", name: "Gemini 2.5 Flash TTS" }, { id: "gemini-2.5-pro-preview-tts", name: "Gemini 2.5 Pro TTS" }] }, scheme: "bearer",
sttConfig: { baseUrl: "https://generativelanguage.googleapis.com/v1beta/models", authType: "apikey", authHeader: "key", format: "gemini-stt", models: [{ id: "gemini-2.5-pro", name: "Gemini 2.5 Pro (Best)" }, { id: "gemini-2.5-flash", name: "Gemini 2.5 Flash" }, { id: "gemini-2.5-flash-lite", name: "Gemini 2.5 Flash Lite (Cheapest)" }, { id: "gemini-2.0-flash", name: "Gemini 2.0 Flash" }] },
embeddingConfig: { baseUrl: "https://generativelanguage.googleapis.com/v1beta/models", authType: "apikey", authHeader: "key", models: [{ id: "text-embedding-004", name: "Text Embedding 004", dimensions: 768 }, { id: "embedding-001", name: "Embedding 001", dimensions: 768 }] },
searchViaChat: { defaultModel: "gemini-2.5-flash", endpoint: "https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent", pricingUrl: "https://ai.google.dev/pricing", freeTier: "Free tier: 15 RPM, 1M tokens/day on gemini-2.5-flash via AI Studio." },
imageConfig: { baseUrl: "https://generativelanguage.googleapis.com/v1beta/models" }
}, },
"models": [
{
"id": "gemini-3.1-pro-preview",
"name": "Gemini 3.1 Pro Preview"
}, },
{
"id": "gemini-3.1-flash-lite-preview",
"name": "Gemini 3.1 Flash Lite Preview"
}, },
{ models: [
"id": "gemini-3-flash-preview", { id: "gemini-3.1-pro-preview", name: "Gemini 3.1 Pro Preview" },
"name": "Gemini 3 Flash Preview" { id: "gemini-3.1-flash-lite-preview", name: "Gemini 3.1 Flash Lite Preview" },
}, { id: "gemini-3-flash-preview", name: "Gemini 3 Flash Preview" },
{ { id: "gemini-2.5-pro", name: "Gemini 2.5 Pro" },
"id": "gemini-2.5-pro", { id: "gemini-2.5-flash", name: "Gemini 2.5 Flash" },
"name": "Gemini 2.5 Pro" { id: "gemini-2.5-flash-lite", name: "Gemini 2.5 Flash Lite" },
}, { id: "gemini-2.0-flash", name: "Gemini 2.0 Flash" },
{ { id: "gemini-2.0-flash-lite", name: "Gemini 2.0 Flash Lite" },
"id": "gemini-2.5-flash", { id: "gemma-4-31b-it", name: "Gemma 4 31B IT" },
"name": "Gemini 2.5 Flash" { id: "gemini-embedding-2-preview", name: "Gemini Embedding 2 Preview", kind: "embedding" },
}, { id: "gemini-embedding-001", name: "Gemini Embedding 001", kind: "embedding" },
{ { id: "text-embedding-005", name: "Text Embedding 005", kind: "embedding" },
"id": "gemini-2.5-flash-lite", { id: "text-embedding-004", name: "Text Embedding 004 (Legacy)", kind: "embedding" },
"name": "Gemini 2.5 Flash Lite" { id: "gemini-3.1-flash-image-preview", name: "Gemini 3.1 Flash Image (Nano Banana 2)", params: [], kind: "image" },
}, { id: "gemini-3-pro-image-preview", name: "Gemini 3 Pro Image (Nano Banana Pro)", params: [], kind: "image" },
{ { id: "gemini-2.5-flash-image", name: "Gemini 2.5 Flash Image (Nano Banana)", params: [], kind: "image" },
"id": "gemini-2.0-flash", { id: "gemini-2.5-pro", name: "Gemini 2.5 Pro (Best)", params: ["language","prompt"], kind: "stt" },
"name": "Gemini 2.0 Flash" { id: "gemini-2.5-flash", name: "Gemini 2.5 Flash", params: ["language","prompt"], kind: "stt" },
}, { id: "gemini-2.5-flash-lite", name: "Gemini 2.5 Flash Lite (Cheapest)", params: ["language","prompt"], kind: "stt" },
{ { id: "gemini-2.0-flash", name: "Gemini 2.0 Flash", params: ["language","prompt"], kind: "stt" },
"id": "gemini-2.0-flash-lite", { id: "gemini-2.5-flash-preview-tts", name: "Gemini 2.5 Flash TTS", kind: "tts" },
"name": "Gemini 2.0 Flash Lite" { id: "gemini-2.5-pro-preview-tts", name: "Gemini 2.5 Pro TTS", kind: "tts" },
}, { id: "embedding-001", name: "Embedding 001", dimensions: 768, kind: "embedding" },
{
"id": "gemma-4-31b-it",
"name": "Gemma 4 31B IT"
},
{
"id": "gemini-embedding-2-preview",
"name": "Gemini Embedding 2 Preview",
"type": "embedding"
},
{
"id": "gemini-embedding-001",
"name": "Gemini Embedding 001",
"type": "embedding"
},
{
"id": "text-embedding-005",
"name": "Text Embedding 005",
"type": "embedding"
},
{
"id": "text-embedding-004",
"name": "Text Embedding 004 (Legacy)",
"type": "embedding"
},
{
"id": "gemini-3.1-flash-image-preview",
"name": "Gemini 3.1 Flash Image (Nano Banana 2)",
"type": "image",
"params": []
},
{
"id": "gemini-3-pro-image-preview",
"name": "Gemini 3 Pro Image (Nano Banana Pro)",
"type": "image",
"params": []
},
{
"id": "gemini-2.5-flash-image",
"name": "Gemini 2.5 Flash Image (Nano Banana)",
"type": "image",
"params": []
},
{
"id": "gemini-2.5-pro",
"name": "Gemini 2.5 Pro (Best)",
"type": "stt",
"params": [
"language",
"prompt"
]
},
{
"id": "gemini-2.5-flash",
"name": "Gemini 2.5 Flash",
"type": "stt",
"params": [
"language",
"prompt"
]
},
{
"id": "gemini-2.5-flash-lite",
"name": "Gemini 2.5 Flash Lite (Cheapest)",
"type": "stt",
"params": [
"language",
"prompt"
]
},
{
"id": "gemini-2.0-flash",
"name": "Gemini 2.0 Flash",
"type": "stt",
"params": [
"language",
"prompt"
]
}
], ],
serviceKinds: ["llm","embedding","image","imageToText","webSearch","tts","stt"],
ttsConfig: {
baseUrl: "https://generativelanguage.googleapis.com/v1beta/models",
authType: "apikey",
authHeader: "key",
format: "gemini-tts",
},
sttConfig: {
baseUrl: "https://generativelanguage.googleapis.com/v1beta/models",
authType: "apikey",
authHeader: "key",
format: "gemini-stt",
},
embeddingConfig: { baseUrl: "https://generativelanguage.googleapis.com/v1beta/models", authType: "apikey", authHeader: "key" },
imageConfig: { baseUrl: "https://generativelanguage.googleapis.com/v1beta/models" },
searchViaChat: {
defaultModel: "gemini-2.5-flash",
endpoint: "https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent",
pricingUrl: "https://ai.google.dev/pricing",
freeTier: "Free tier: 15 RPM, 1M tokens/day on gemini-2.5-flash via AI Studio.",
},
}; };

View file

@ -1,24 +1,23 @@
export default { export default {
"id": "github", id: "github",
"alias": "gh", alias: "gh",
uiAlias: "gh",
display: { display: {
"name": "GitHub Copilot", name: "GitHub Copilot",
"icon": "code", icon: "code",
"color": "#333333", color: "#333333",
"website": "https://github.com/features/copilot", website: "https://github.com/features/copilot",
"notice": { notice: {
"signupUrl": "https://github.com/features/copilot" signupUrl: "https://github.com/features/copilot",
}, },
"deprecated": true, deprecated: true,
"deprecationNotice": "RISK_NOTICE" deprecationNotice: "RISK_NOTICE",
}, },
category: "oauth", category: "oauth",
uiAlias: "gh", transport: {
"transport": { baseUrl: "https://api.githubcopilot.com/chat/completions",
"baseUrl": "https://api.githubcopilot.com/chat/completions", responsesUrl: "https://api.githubcopilot.com/responses",
"responsesUrl": "https://api.githubcopilot.com/responses", headers: {
"headers": {
"copilot-integration-id": "vscode-chat", "copilot-integration-id": "vscode-chat",
"editor-version": "vscode/1.110.0", "editor-version": "vscode/1.110.0",
"editor-plugin-version": "copilot-chat/0.38.0", "editor-plugin-version": "copilot-chat/0.38.0",
@ -27,136 +26,63 @@ export default {
"x-github-api-version": "2025-04-01", "x-github-api-version": "2025-04-01",
"x-vscode-user-agent-library-version": "electron-fetch", "x-vscode-user-agent-library-version": "electron-fetch",
"X-Initiator": "user", "X-Initiator": "user",
"Accept": "application/json", Accept: "application/json",
"Content-Type": "application/json" "Content-Type": "application/json",
}, },
copilot: { vscodeVersion: "1.110.0", chatVersion: "0.38.0", userAgent: "GitHubCopilotChat/0.38.0", apiVersion: "2025-04-01" }, copilot: {
usage: { url: "https://api.github.com/copilot_internal/user" } vscodeVersion: "1.110.0",
chatVersion: "0.38.0",
userAgent: "GitHubCopilotChat/0.38.0",
apiVersion: "2025-04-01",
}, },
"oauth": { usage: {
"clientId": "Iv1.b507a08c87ecfe98", url: "https://api.github.com/copilot_internal/user",
"authorizeUrl": "https://github.com/login/oauth/authorize",
"deviceCodeUrl": "https://github.com/login/device/code",
"tokenUrl": "https://github.com/login/oauth/access_token",
"userInfoUrl": "https://api.github.com/user",
"scopes": "read:user",
"apiVersion": "2022-11-28",
"copilotTokenUrl": "https://api.github.com/copilot_internal/v2/token",
"userAgent": "GitHubCopilotChat/0.26.7",
"editorVersion": "vscode/1.85.0",
"editorPluginVersion": "copilot-chat/0.26.7"
}, },
media: {
serviceKinds: ["llm", "embedding"],
embeddingConfig: { baseUrl: "https://models.github.ai/inference/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "text-embedding-3-small", name: "Text Embedding 3 Small (GitHub)", dimensions: 1536 }, { id: "text-embedding-3-large", name: "Text Embedding 3 Large (GitHub)", dimensions: 3072 }] }
}, },
"models": [ models: [
{ { id: "gpt-3.5-turbo", name: "GPT-3.5 Turbo" },
"id": "gpt-3.5-turbo", { id: "gpt-4", name: "GPT-4" },
"name": "GPT-3.5 Turbo" { id: "gpt-4o", name: "GPT-4o" },
}, { id: "gpt-4o-mini", name: "GPT-4o mini" },
{ { id: "gpt-4.1", name: "GPT-4.1" },
"id": "gpt-4", { id: "gpt-5-mini", name: "GPT-5 Mini" },
"name": "GPT-4" { id: "gpt-5.2", name: "GPT-5.2" },
}, { id: "gpt-5.2-codex", name: "GPT-5.2 Codex" },
{ { id: "gpt-5.3-codex", name: "GPT-5.3 Codex" },
"id": "gpt-4o", { id: "gpt-5.4", name: "GPT-5.4" },
"name": "GPT-4o" { id: "gpt-5.4-mini", name: "GPT-5.4 Mini" },
}, { id: "claude-haiku-4.5", name: "Claude Haiku 4.5" },
{ { id: "claude-opus-4.5", name: "Claude Opus 4.5" },
"id": "gpt-4o-mini", { id: "claude-sonnet-4", name: "Claude Sonnet 4" },
"name": "GPT-4o mini" { id: "claude-sonnet-4.5", name: "Claude Sonnet 4.5" },
}, { id: "claude-sonnet-4.6", name: "Claude Sonnet 4.6" },
{ { id: "claude-opus-4.6", name: "Claude Opus 4.6" },
"id": "gpt-4.1", { id: "claude-opus-4.7", name: "Claude Opus 4.7" },
"name": "GPT-4.1" { id: "gemini-2.5-pro", name: "Gemini 2.5 Pro" },
}, { id: "gemini-3-flash-preview", name: "Gemini 3 Flash" },
{ { id: "gemini-3.1-pro-preview", name: "Gemini 3.1 Pro" },
"id": "gpt-5-mini", { id: "grok-code-fast-1", name: "Grok Code Fast 1" },
"name": "GPT-5 Mini" { id: "oswe-vscode-prime", name: "Raptor Mini" },
}, { id: "goldeneye-free-auto", name: "GoldenEye" },
{ { id: "text-embedding-3-small", name: "Text Embedding 3 Small (GitHub)", kind: "embedding" },
"id": "gpt-5.2", { id: "text-embedding-3-large", name: "Text Embedding 3 Large (GitHub)", kind: "embedding" },
"name": "GPT-5.2"
},
{
"id": "gpt-5.2-codex",
"name": "GPT-5.2 Codex"
},
{
"id": "gpt-5.3-codex",
"name": "GPT-5.3 Codex"
},
{
"id": "gpt-5.4",
"name": "GPT-5.4"
},
{
"id": "gpt-5.4-mini",
"name": "GPT-5.4 Mini"
},
{
"id": "claude-haiku-4.5",
"name": "Claude Haiku 4.5"
},
{
"id": "claude-opus-4.5",
"name": "Claude Opus 4.5"
},
{
"id": "claude-sonnet-4",
"name": "Claude Sonnet 4"
},
{
"id": "claude-sonnet-4.5",
"name": "Claude Sonnet 4.5"
},
{
"id": "claude-sonnet-4.6",
"name": "Claude Sonnet 4.6"
},
{
"id": "claude-opus-4.6",
"name": "Claude Opus 4.6"
},
{
"id": "claude-opus-4.7",
"name": "Claude Opus 4.7"
},
{
"id": "gemini-2.5-pro",
"name": "Gemini 2.5 Pro"
},
{
"id": "gemini-3-flash-preview",
"name": "Gemini 3 Flash"
},
{
"id": "gemini-3.1-pro-preview",
"name": "Gemini 3.1 Pro"
},
{
"id": "grok-code-fast-1",
"name": "Grok Code Fast 1"
},
{
"id": "oswe-vscode-prime",
"name": "Raptor Mini"
},
{
"id": "goldeneye-free-auto",
"name": "GoldenEye"
},
{
"id": "text-embedding-3-small",
"name": "Text Embedding 3 Small (GitHub)",
"type": "embedding"
},
{
"id": "text-embedding-3-large",
"name": "Text Embedding 3 Large (GitHub)",
"type": "embedding"
}
], ],
features: {"usage":true}, serviceKinds: ["llm","embedding"],
embeddingConfig: { baseUrl: "https://models.github.ai/inference/embeddings", authType: "apikey", authHeader: "bearer" },
oauth: {
clientId: "Iv1.b507a08c87ecfe98",
authorizeUrl: "https://github.com/login/oauth/authorize",
deviceCodeUrl: "https://github.com/login/device/code",
tokenUrl: "https://github.com/login/oauth/access_token",
userInfoUrl: "https://api.github.com/user",
scopes: "read:user",
apiVersion: "2022-11-28",
copilotTokenUrl: "https://api.github.com/copilot_internal/v2/token",
userAgent: "GitHubCopilotChat/0.26.7",
editorVersion: "vscode/1.85.0",
editorPluginVersion: "copilot-chat/0.26.7",
},
features: {
usage: true,
},
}; };

View file

@ -1,17 +1,30 @@
export default { export default {
"id": "gitlab", display: { name: "GitLab Duo", icon: "code", color: "#FC6D26", textIcon: "GL", website: "https://gitlab.com", notice: { signupUrl: "https://gitlab.com" } }, id: "gitlab",
category: "oauth", display: {
"transport": { name: "GitLab Duo",
"baseUrl": "https://gitlab.com/api/v4/chat/completions", icon: "code",
auth: {"combined":true,"header":"Authorization","scheme":"bearer"}, color: "#FC6D26",
textIcon: "GL",
website: "https://gitlab.com",
notice: {
signupUrl: "https://gitlab.com",
},
},
category: "oauth",
transport: {
baseUrl: "https://gitlab.com/api/v4/chat/completions",
auth: {
combined: true,
header: "Authorization",
scheme: "bearer",
},
},
oauth: {
defaultBaseUrl: "https://gitlab.com",
authorizeUrlPath: "/oauth/authorize",
tokenUrlPath: "/oauth/token",
userInfoUrlPath: "/api/v4/user",
scope: "api read_user",
codeChallengeMethod: "S256",
}, },
"oauth": {
"defaultBaseUrl": "https://gitlab.com",
"authorizeUrlPath": "/oauth/authorize",
"tokenUrlPath": "/oauth/token",
"userInfoUrlPath": "/api/v4/user",
"scope": "api read_user",
"codeChallengeMethod": "S256"
}
}; };

View file

@ -1,44 +1,33 @@
export default { export default {
"id": "glm-cn", id: "glm-cn",
"alias": "glm-cn", alias: "glm-cn",
display: { display: {
"name": "GLM (China)", name: "GLM (China)",
"icon": "code", icon: "code",
"color": "#DC2626", color: "#DC2626",
"textIcon": "GC", textIcon: "GC",
"website": "https://open.bigmodel.cn", website: "https://open.bigmodel.cn",
"notice": { notice: {
"apiKeyUrl": "https://open.bigmodel.cn/usercenter/apikeys" apiKeyUrl: "https://open.bigmodel.cn/usercenter/apikeys",
} },
}, },
category: "apikey", category: "apikey",
"transport": { transport: {
"baseUrl": "https://open.bigmodel.cn/api/coding/paas/v4/chat/completions", baseUrl: "https://open.bigmodel.cn/api/coding/paas/v4/chat/completions",
"headers": {}, headers: {},
usage: { url: "https://open.bigmodel.cn/api/monitor/usage/quota/limit" } usage: {
url: "https://open.bigmodel.cn/api/monitor/usage/quota/limit",
}, },
"models": [
{
"id": "glm-5.1",
"name": "GLM 5.1"
}, },
{ models: [
"id": "glm-5", { id: "glm-5.1", name: "GLM 5.1" },
"name": "GLM 5" { id: "glm-5", name: "GLM 5" },
}, { id: "glm-4.7", name: "GLM-4.7" },
{ { id: "glm-4.6", name: "GLM-4.6" },
"id": "glm-4.7", { id: "glm-4.5-air", name: "GLM-4.5-Air" },
"name": "GLM-4.7"
},
{
"id": "glm-4.6",
"name": "GLM-4.6"
},
{
"id": "glm-4.5-air",
"name": "GLM-4.5-Air"
}
], ],
features: {"usage":true,"usageApikey":true}, features: {
usage: true,
usageApikey: true,
},
}; };

View file

@ -4,29 +4,41 @@ export default {
id: "glm", id: "glm",
alias: "glm", alias: "glm",
display: { display: {
"name": "GLM Coding", name: "GLM Coding",
"icon": "code", icon: "code",
"color": "#2563EB", color: "#2563EB",
"textIcon": "GL", textIcon: "GL",
"website": "https://open.bigmodel.cn", website: "https://open.bigmodel.cn",
"notice": { notice: {
"apiKeyUrl": "https://open.bigmodel.cn/usercenter/apikeys" apiKeyUrl: "https://open.bigmodel.cn/usercenter/apikeys",
} },
}, },
category: "apikey", category: "apikey",
transport: { transport: {
baseUrl: "https://api.z.ai/api/anthropic/v1/messages", baseUrl: "https://api.z.ai/api/anthropic/v1/messages",
format: "claude", format: "claude",
urlSuffix: "?beta=true", urlSuffix: "?beta=true",
headers: { ...CLAUDE_API_HEADERS }, headers: {
auth: { "combined": true, "header": "x-api-key", "scheme": "raw" }, "Anthropic-Version": "2023-06-01",
usage: { url: "https://api.z.ai/api/monitor/usage/quota/limit" }, "Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
},
auth: {
combined: true,
header: "x-api-key",
scheme: "raw",
},
usage: {
url: "https://api.z.ai/api/monitor/usage/quota/limit",
},
}, },
models: [ models: [
{ id: "glm-5.1", name: "GLM 5.1" }, { id: "glm-5.1", name: "GLM 5.1" },
{ id: "glm-5", name: "GLM 5" }, { id: "glm-5", name: "GLM 5" },
{ id: "glm-4.7", name: "GLM 4.7" }, { id: "glm-4.7", name: "GLM 4.7" },
{ id: "glm-4.6v", name: "GLM 4.6V (Vision)" } { id: "glm-4.6v", name: "GLM 4.6V (Vision)" },
], ],
features: { "usage": true, "usageApikey": true }, features: {
usage: true,
usageApikey: true,
},
}; };

View file

@ -1,73 +1,38 @@
export default { export default {
"id": "grok-web", id: "grok-web",
"alias": "grok-web", alias: "grok-web",
aliases: [
"gw",
],
uiAlias: "gw",
display: { display: {
"name": "Grok Web (Subscription)", name: "Grok Web (Subscription)",
"icon": "auto_awesome", icon: "auto_awesome",
"color": "#1DA1F2", color: "#1DA1F2",
"textIcon": "GW", textIcon: "GW",
"website": "https://grok.com" website: "https://grok.com",
}, },
category: "webCookie", category: "webCookie",
uiAlias: "gw",
authType: "cookie", authType: "cookie",
authHint: "Paste your sso= cookie value from grok.com", authHint: "Paste your sso= cookie value from grok.com",
transport: {
baseUrl: "https://grok.com/rest/app-chat/conversations/new",
format: "grok-web",
authType: "cookie",
},
models: [
{ id: "grok-3", name: "Grok 3" },
{ id: "grok-3-mini", name: "Grok 3 Mini (Thinking)" },
{ id: "grok-3-thinking", name: "Grok 3 Thinking" },
{ id: "grok-4", name: "Grok 4" },
{ id: "grok-4-mini", name: "Grok 4 Mini (Thinking)" },
{ id: "grok-4-thinking", name: "Grok 4 Thinking" },
{ id: "grok-4-heavy", name: "Grok 4 Heavy (SuperGrok)" },
{ id: "grok-4.1-mini", name: "Grok 4.1 Mini (Thinking)" },
{ id: "grok-4.1-fast", name: "Grok 4.1 Fast" },
{ id: "grok-4.1-expert", name: "Grok 4.1 Expert" },
{ id: "grok-4.1-thinking", name: "Grok 4.1 Thinking" },
{ id: "grok-4.2", name: "Grok 4.2 (4.20 Beta)" },
],
passthroughModels: true, passthroughModels: true,
aliases: ["gw"],
"transport": {
"baseUrl": "https://grok.com/rest/app-chat/conversations/new",
"format": "grok-web",
"authType": "cookie"
},
"models": [
{
"id": "grok-3",
"name": "Grok 3"
},
{
"id": "grok-3-mini",
"name": "Grok 3 Mini (Thinking)"
},
{
"id": "grok-3-thinking",
"name": "Grok 3 Thinking"
},
{
"id": "grok-4",
"name": "Grok 4"
},
{
"id": "grok-4-mini",
"name": "Grok 4 Mini (Thinking)"
},
{
"id": "grok-4-thinking",
"name": "Grok 4 Thinking"
},
{
"id": "grok-4-heavy",
"name": "Grok 4 Heavy (SuperGrok)"
},
{
"id": "grok-4.1-mini",
"name": "Grok 4.1 Mini (Thinking)"
},
{
"id": "grok-4.1-fast",
"name": "Grok 4.1 Fast"
},
{
"id": "grok-4.1-expert",
"name": "Grok 4.1 Expert"
},
{
"id": "grok-4.1-thinking",
"name": "Grok 4.1 Thinking"
},
{
"id": "grok-4.2",
"name": "Grok 4.2 (4.20 Beta)"
}
]
}; };

View file

@ -1,75 +1,35 @@
export default { export default {
"id": "groq", id: "groq",
"alias": "groq", alias: "groq",
display: { display: {
"name": "Groq", name: "Groq",
"icon": "speed", icon: "speed",
"color": "#F55036", color: "#F55036",
"textIcon": "GQ", textIcon: "GQ",
"website": "https://groq.com", website: "https://groq.com",
"notice": { notice: {
"apiKeyUrl": "https://console.groq.com/keys" apiKeyUrl: "https://console.groq.com/keys",
} },
}, },
category: "apikey", category: "apikey",
"transport": { transport: {
"baseUrl": "https://api.groq.com/openai/v1/chat/completions", baseUrl: "https://api.groq.com/openai/v1/chat/completions",
"validateUrl": "https://api.groq.com/openai/v1/models" validateUrl: "https://api.groq.com/openai/v1/models",
}, },
media: { models: [
serviceKinds: ["llm", "imageToText", "stt"], { id: "llama-3.3-70b-versatile", name: "Llama 3.3 70B" },
sttConfig: { baseUrl: "https://api.groq.com/openai/v1/audio/transcriptions", authType: "apikey", authHeader: "bearer", format: "openai", models: [{ id: "whisper-large-v3", name: "Whisper Large v3" }, { id: "whisper-large-v3-turbo", name: "Whisper Large v3 Turbo" }, { id: "distil-whisper-large-v3-en", name: "Distil Whisper Large v3 EN" }] } { id: "meta-llama/llama-4-maverick-17b-128e-instruct", name: "Llama 4 Maverick" },
{ id: "qwen/qwen3-32b", name: "Qwen3 32B" },
{ id: "openai/gpt-oss-120b", name: "GPT-OSS 120B" },
{ id: "whisper-large-v3", name: "Whisper Large v3", params: ["language","response_format","temperature","prompt"], kind: "stt" },
{ id: "whisper-large-v3-turbo", name: "Whisper Large v3 Turbo", params: ["language","response_format","temperature","prompt"], kind: "stt" },
{ id: "distil-whisper-large-v3-en", name: "Distil Whisper Large v3 EN", params: ["language","response_format","temperature","prompt"], kind: "stt" },
],
serviceKinds: ["llm","imageToText","stt"],
sttConfig: {
baseUrl: "https://api.groq.com/openai/v1/audio/transcriptions",
authType: "apikey",
authHeader: "bearer",
format: "openai",
}, },
"models": [
{
"id": "llama-3.3-70b-versatile",
"name": "Llama 3.3 70B"
},
{
"id": "meta-llama/llama-4-maverick-17b-128e-instruct",
"name": "Llama 4 Maverick"
},
{
"id": "qwen/qwen3-32b",
"name": "Qwen3 32B"
},
{
"id": "openai/gpt-oss-120b",
"name": "GPT-OSS 120B"
},
{
"id": "whisper-large-v3",
"name": "Whisper Large v3",
"type": "stt",
"params": [
"language",
"response_format",
"temperature",
"prompt"
]
},
{
"id": "whisper-large-v3-turbo",
"name": "Whisper Large v3 Turbo",
"type": "stt",
"params": [
"language",
"response_format",
"temperature",
"prompt"
]
},
{
"id": "distil-whisper-large-v3-en",
"name": "Distil Whisper Large v3 EN",
"type": "stt",
"params": [
"language",
"response_format",
"temperature",
"prompt"
]
}
]
}; };

View file

@ -1,54 +1,31 @@
export default { export default {
"id": "huggingface", id: "huggingface",
"alias": "huggingface", alias: "huggingface",
aliases: [
"hf",
],
uiAlias: "hf",
display: { display: {
"name": "HuggingFace", name: "HuggingFace",
"icon": "face", icon: "face",
"color": "#FFD21E", color: "#FFD21E",
"textIcon": "HF", textIcon: "HF",
"website": "https://huggingface.co", website: "https://huggingface.co",
"notice": { notice: {
"apiKeyUrl": "https://huggingface.co/settings/tokens" apiKeyUrl: "https://huggingface.co/settings/tokens",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "hf",
authType: "apikey", authType: "apikey",
hiddenKinds: ["tts"], hiddenKinds: [
aliases: ["hf"], "tts",
"transport": null, ],
media: { transport: null,
imageConfig: { baseUrl: "https://api-inference.huggingface.co/models" } models: [
}, { id: "black-forest-labs/FLUX.1-schnell", name: "FLUX.1 Schnell", params: [], kind: "image" },
"models": [ { id: "stabilityai/stable-diffusion-xl-base-1.0", name: "SDXL Base 1.0", params: [], kind: "image" },
{ { id: "openai/whisper-large-v3", name: "Whisper Large v3 (HF)", params: ["language"], kind: "stt" },
"id": "black-forest-labs/FLUX.1-schnell", { id: "openai/whisper-small", name: "Whisper Small (HF)", params: ["language"], kind: "stt" },
"name": "FLUX.1 Schnell", ],
"type": "image", imageConfig: { baseUrl: "https://api-inference.huggingface.co/models" },
"params": []
},
{
"id": "stabilityai/stable-diffusion-xl-base-1.0",
"name": "SDXL Base 1.0",
"type": "image",
"params": []
},
{
"id": "openai/whisper-large-v3",
"name": "Whisper Large v3 (HF)",
"type": "stt",
"params": [
"language"
]
},
{
"id": "openai/whisper-small",
"name": "Whisper Small (HF)",
"type": "stt",
"params": [
"language"
]
}
]
}; };

View file

@ -1,57 +1,34 @@
export default { export default {
"id": "hyperbolic", id: "hyperbolic",
"alias": "hyperbolic", alias: "hyperbolic",
aliases: [
"hyp",
],
uiAlias: "hyp",
display: { display: {
"name": "Hyperbolic", name: "Hyperbolic",
"icon": "bolt", icon: "bolt",
"color": "#00D4FF", color: "#00D4FF",
"textIcon": "HY", textIcon: "HY",
"website": "https://hyperbolic.xyz", website: "https://hyperbolic.xyz",
"notice": { notice: {
"apiKeyUrl": "https://app.hyperbolic.xyz/settings" apiKeyUrl: "https://app.hyperbolic.xyz/settings",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "hyp",
authType: "apikey", authType: "apikey",
aliases: ["hyp"], transport: {
"transport": { baseUrl: "https://api.hyperbolic.xyz/v1/chat/completions",
"baseUrl": "https://api.hyperbolic.xyz/v1/chat/completions", validateUrl: "https://api.hyperbolic.xyz/v1/models",
"validateUrl": "https://api.hyperbolic.xyz/v1/models"
}, },
"models": [ models: [
{ { id: "Qwen/QwQ-32B", name: "QwQ 32B" },
"id": "Qwen/QwQ-32B", { id: "deepseek-ai/DeepSeek-R1", name: "DeepSeek R1" },
"name": "QwQ 32B" { id: "deepseek-ai/DeepSeek-V3", name: "DeepSeek V3" },
}, { id: "meta-llama/Llama-3.3-70B-Instruct", name: "Llama 3.3 70B" },
{ { id: "meta-llama/Llama-3.2-3B-Instruct", name: "Llama 3.2 3B" },
"id": "deepseek-ai/DeepSeek-R1", { id: "Qwen/Qwen2.5-72B-Instruct", name: "Qwen 2.5 72B" },
"name": "DeepSeek R1" { id: "Qwen/Qwen2.5-Coder-32B-Instruct", name: "Qwen 2.5 Coder 32B" },
}, { id: "NousResearch/Hermes-3-Llama-3.1-70B", name: "Hermes 3 70B" },
{ ],
"id": "deepseek-ai/DeepSeek-V3",
"name": "DeepSeek V3"
},
{
"id": "meta-llama/Llama-3.3-70B-Instruct",
"name": "Llama 3.3 70B"
},
{
"id": "meta-llama/Llama-3.2-3B-Instruct",
"name": "Llama 3.2 3B"
},
{
"id": "Qwen/Qwen2.5-72B-Instruct",
"name": "Qwen 2.5 72B"
},
{
"id": "Qwen/Qwen2.5-Coder-32B-Instruct",
"name": "Qwen 2.5 Coder 32B"
},
{
"id": "NousResearch/Hermes-3-Llama-3.1-70B",
"name": "Hermes 3 70B"
}
]
}; };

View file

@ -1,86 +1,49 @@
export default { export default {
"id": "iflow", alias: "if", display: { name: "iFlow AI", icon: "water_drop", color: "#6366F1", website: "https://iflow.cn", notice: { signupUrl: "https://iflow.cn" } }, id: "iflow",
alias: "if",
display: {
name: "iFlow AI",
icon: "water_drop",
color: "#6366F1",
website: "https://iflow.cn",
notice: {
signupUrl: "https://iflow.cn",
},
},
category: "oauth", category: "oauth",
"transport": { transport: {
"baseUrl": "https://apis.iflow.cn/v1/chat/completions", baseUrl: "https://apis.iflow.cn/v1/chat/completions",
"headers": { headers: {
"User-Agent": "iFlow-Cli" "User-Agent": "iFlow-Cli",
}
}, },
"oauth": {
"clientId": "10009311001",
"clientSecret": "4Z3YjXycVsQvyGF1etiNlIBB4RsqSDtW",
"authorizeUrl": "https://iflow.cn/oauth",
"tokenUrl": "https://iflow.cn/oauth/token",
"userInfoUrl": "https://iflow.cn/api/oauth/getUserInfo",
"extraParams": {
"loginMethod": "phone",
"type": "phone"
}
,
refreshLeadMs: 86400000
}, },
"models": [ models: [
{ { id: "qwen3-coder-plus", name: "Qwen3 Coder Plus" },
"id": "qwen3-coder-plus", { id: "qwen3-max", name: "Qwen3 Max" },
"name": "Qwen3 Coder Plus" { id: "qwen3-vl-plus", name: "Qwen3 VL Plus" },
{ id: "qwen3-max-preview", name: "Qwen3 Max Preview" },
{ id: "qwen3-235b", name: "Qwen3 235B A22B" },
{ id: "qwen3-235b-a22b-instruct", name: "Qwen3 235B A22B Instruct" },
{ id: "qwen3-235b-a22b-thinking-2507", name: "Qwen3 235B A22B Thinking" },
{ id: "qwen3-32b", name: "Qwen3 32B" },
{ id: "kimi-k2", name: "Kimi K2" },
{ id: "deepseek-v3.2", name: "DeepSeek V3.2 Exp" },
{ id: "deepseek-v3.1", name: "DeepSeek V3.1 Terminus" },
{ id: "deepseek-v3", name: "DeepSeek V3 671B" },
{ id: "deepseek-r1", name: "DeepSeek R1" },
{ id: "glm-4.7", name: "GLM 4.7" },
{ id: "iflow-rome-30ba3b", name: "iFlow ROME" },
],
oauth: {
clientId: "10009311001",
clientSecret: "4Z3YjXycVsQvyGF1etiNlIBB4RsqSDtW",
authorizeUrl: "https://iflow.cn/oauth",
tokenUrl: "https://iflow.cn/oauth/token",
userInfoUrl: "https://iflow.cn/api/oauth/getUserInfo",
extraParams: {
loginMethod: "phone",
type: "phone",
}, },
{ refreshLeadMs: 86400000,
"id": "qwen3-max",
"name": "Qwen3 Max"
}, },
{
"id": "qwen3-vl-plus",
"name": "Qwen3 VL Plus"
},
{
"id": "qwen3-max-preview",
"name": "Qwen3 Max Preview"
},
{
"id": "qwen3-235b",
"name": "Qwen3 235B A22B"
},
{
"id": "qwen3-235b-a22b-instruct",
"name": "Qwen3 235B A22B Instruct"
},
{
"id": "qwen3-235b-a22b-thinking-2507",
"name": "Qwen3 235B A22B Thinking"
},
{
"id": "qwen3-32b",
"name": "Qwen3 32B"
},
{
"id": "kimi-k2",
"name": "Kimi K2"
},
{
"id": "deepseek-v3.2",
"name": "DeepSeek V3.2 Exp"
},
{
"id": "deepseek-v3.1",
"name": "DeepSeek V3.1 Terminus"
},
{
"id": "deepseek-v3",
"name": "DeepSeek V3 671B"
},
{
"id": "deepseek-r1",
"name": "DeepSeek R1"
},
{
"id": "glm-4.7",
"name": "GLM 4.7"
},
{
"id": "iflow-rome-30ba3b",
"name": "iFlow ROME"
}
]
}; };

View file

@ -1,61 +1,43 @@
export default { export default {
"id": "kilocode", id: "kilocode",
"alias": "kc", alias: "kc",
uiAlias: "kc",
display: { display: {
"name": "Kilo Code", name: "Kilo Code",
"icon": "code", icon: "code",
"color": "#FF6B35", color: "#FF6B35",
"textIcon": "KC", textIcon: "KC",
"website": "https://kilocode.ai", website: "https://kilocode.ai",
"notice": { notice: {
"signupUrl": "https://kilocode.ai" signupUrl: "https://kilocode.ai",
} },
}, },
category: "oauth", category: "oauth",
uiAlias: "kc", transport: {
"transport": { baseUrl: "https://api.kilo.ai/api/openrouter/chat/completions",
"baseUrl": "https://api.kilo.ai/api/openrouter/chat/completions", headers: {},
"headers": {}, auth: {
auth: {"combined":true,"header":"Authorization","scheme":"bearer","hooks":["kilocodeOrg"]}, combined: true,
}, header: "Authorization",
"oauth": { scheme: "bearer",
"apiBaseUrl": "https://api.kilo.ai", hooks: [
"initiateUrl": "https://api.kilo.ai/api/device-auth/codes", "kilocodeOrg",
"pollUrlBase": "https://api.kilo.ai/api/device-auth/codes"
},
"models": [
{
"id": "anthropic/claude-sonnet-4-20250514",
"name": "Claude Sonnet 4"
},
{
"id": "anthropic/claude-opus-4-20250514",
"name": "Claude Opus 4"
},
{
"id": "google/gemini-2.5-pro",
"name": "Gemini 2.5 Pro"
},
{
"id": "google/gemini-2.5-flash",
"name": "Gemini 2.5 Flash"
},
{
"id": "openai/gpt-4.1",
"name": "GPT-4.1"
},
{
"id": "openai/o3",
"name": "o3"
},
{
"id": "deepseek/deepseek-chat",
"name": "DeepSeek Chat"
},
{
"id": "deepseek/deepseek-reasoner",
"name": "DeepSeek Reasoner"
}
], ],
},
},
models: [
{ id: "anthropic/claude-sonnet-4-20250514", name: "Claude Sonnet 4" },
{ id: "anthropic/claude-opus-4-20250514", name: "Claude Opus 4" },
{ id: "google/gemini-2.5-pro", name: "Gemini 2.5 Pro" },
{ id: "google/gemini-2.5-flash", name: "Gemini 2.5 Flash" },
{ id: "openai/gpt-4.1", name: "GPT-4.1" },
{ id: "openai/o3", name: "o3" },
{ id: "deepseek/deepseek-chat", name: "DeepSeek Chat" },
{ id: "deepseek/deepseek-reasoner", name: "DeepSeek Reasoner" },
],
oauth: {
apiBaseUrl: "https://api.kilo.ai",
initiateUrl: "https://api.kilo.ai/api/device-auth/codes",
pollUrlBase: "https://api.kilo.ai/api/device-auth/codes",
},
}; };

View file

@ -3,29 +3,49 @@ import { CLAUDE_API_HEADERS, KIMI_CODING_BASE_URL } from "../shared.js";
export default { export default {
id: "kimi-coding", id: "kimi-coding",
alias: "kmc", alias: "kmc",
display: { name: "Kimi Coding", icon: "psychology", color: "#1E40AF", textIcon: "KC", website: "https://kimi.moonshot.cn", notice: { signupUrl: "https://kimi.moonshot.cn" } }, display: {
name: "Kimi Coding",
icon: "psychology",
color: "#1E40AF",
textIcon: "KC",
website: "https://kimi.moonshot.cn",
notice: {
signupUrl: "https://kimi.moonshot.cn",
},
},
category: "oauth", category: "oauth",
transport: { transport: {
baseUrl: KIMI_CODING_BASE_URL, baseUrl: "https://api.kimi.com/coding/v1/messages",
format: "claude", format: "claude",
urlSuffix: "?beta=true", urlSuffix: "?beta=true",
headers: { ...CLAUDE_API_HEADERS }, headers: {
"Anthropic-Version": "2023-06-01",
"Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
},
clientId: "17e5f671-d194-4dfb-9706-5516cb48c098", clientId: "17e5f671-d194-4dfb-9706-5516cb48c098",
tokenUrl: "https://auth.kimi.com/api/oauth/token", tokenUrl: "https://auth.kimi.com/api/oauth/token",
refreshUrl: "https://auth.kimi.com/api/oauth/token", refreshUrl: "https://auth.kimi.com/api/oauth/token",
auth: {"combined":true,"header":"x-api-key","scheme":"raw","hooks":["kimiHeaders"]}, auth: {
combined: true,
header: "x-api-key",
scheme: "raw",
hooks: [
"kimiHeaders",
],
}, },
oauth: {
deviceCodeUrl: "https://auth.kimi.com/api/oauth/device_authorization",
tokenUrl: "https://auth.kimi.com/api/oauth/token"
,
refreshLeadMs: 300000
}, },
models: [ models: [
{ id: "kimi-k2.6", name: "Kimi K2.6" }, { id: "kimi-k2.6", name: "Kimi K2.6" },
{ id: "kimi-k2.5", name: "Kimi K2.5" }, { id: "kimi-k2.5", name: "Kimi K2.5" },
{ id: "kimi-k2.5-thinking", name: "Kimi K2.5 Thinking" }, { id: "kimi-k2.5-thinking", name: "Kimi K2.5 Thinking" },
{ id: "kimi-latest", name: "Kimi Latest" } { id: "kimi-latest", name: "Kimi Latest" },
], ],
features: {"usage":true}, oauth: {
deviceCodeUrl: "https://auth.kimi.com/api/oauth/device_authorization",
tokenUrl: "https://auth.kimi.com/api/oauth/token",
refreshLeadMs: 300000,
},
features: {
usage: true,
},
}; };

View file

@ -4,31 +4,40 @@ export default {
id: "kimi", id: "kimi",
alias: "kimi", alias: "kimi",
display: { display: {
"name": "Kimi", name: "Kimi",
"icon": "psychology", icon: "psychology",
"color": "#1E3A8A", color: "#1E3A8A",
"textIcon": "KM", textIcon: "KM",
"website": "https://kimi.moonshot.cn", website: "https://kimi.moonshot.cn",
"notice": { notice: {
"apiKeyUrl": "https://platform.moonshot.ai/console/api-keys" apiKeyUrl: "https://platform.moonshot.ai/console/api-keys",
} },
}, },
category: "apikey", category: "apikey",
transport: { transport: {
baseUrl: KIMI_CODING_BASE_URL, baseUrl: "https://api.kimi.com/coding/v1/messages",
format: "claude", format: "claude",
urlSuffix: "?beta=true", urlSuffix: "?beta=true",
headers: { ...CLAUDE_API_HEADERS }, headers: {
auth: {"combined":true,"header":"x-api-key","scheme":"raw"}, "Anthropic-Version": "2023-06-01",
"Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
},
auth: {
combined: true,
header: "x-api-key",
scheme: "raw",
}, },
media: {
serviceKinds: ["llm", "webSearch"],
searchViaChat: { defaultModel: "kimi-k2.5", endpoint: "https://api.moonshot.cn/v1/chat/completions", pricingUrl: "https://platform.moonshot.ai/docs/pricing/chat" }
}, },
models: [ models: [
{ id: "kimi-k2.6", name: "Kimi K2.6" }, { id: "kimi-k2.6", name: "Kimi K2.6" },
{ id: "kimi-k2.5", name: "Kimi K2.5" }, { id: "kimi-k2.5", name: "Kimi K2.5" },
{ id: "kimi-k2.5-thinking", name: "Kimi K2.5 Thinking" }, { id: "kimi-k2.5-thinking", name: "Kimi K2.5 Thinking" },
{ id: "kimi-latest", name: "Kimi Latest" } { id: "kimi-latest", name: "Kimi Latest" },
], ],
serviceKinds: ["llm","webSearch"],
searchViaChat: {
defaultModel: "kimi-k2.5",
endpoint: "https://api.moonshot.cn/v1/chat/completions",
pricingUrl: "https://platform.moonshot.ai/docs/pricing/chat",
},
}; };

View file

@ -1,120 +1,90 @@
export default { export default {
"id": "kiro", id: "kiro",
"alias": "kr", alias: "kr",
uiAlias: "kr",
display: { display: {
"name": "Kiro AI", name: "Kiro AI",
"icon": "psychology_alt", icon: "psychology_alt",
"color": "#FF6B35", color: "#FF6B35",
"website": "https://kiro.dev", website: "https://kiro.dev",
"notice": { notice: {
"signupUrl": "https://kiro.dev" signupUrl: "https://kiro.dev",
}, },
"deprecated": true, deprecated: true,
"deprecationNotice": "RISK_NOTICE" deprecationNotice: "RISK_NOTICE",
}, },
category: "free", category: "free",
uiAlias: "kr", transport: {
"transport": { baseUrl: "https://runtime.us-east-1.kiro.dev/generateAssistantResponse",
"baseUrl": "https://runtime.us-east-1.kiro.dev/generateAssistantResponse", baseUrls: [
"baseUrls": [
"https://runtime.us-east-1.kiro.dev/generateAssistantResponse", "https://runtime.us-east-1.kiro.dev/generateAssistantResponse",
"https://codewhisperer.us-east-1.amazonaws.com/generateAssistantResponse", "https://codewhisperer.us-east-1.amazonaws.com/generateAssistantResponse",
"https://q.us-east-1.amazonaws.com/generateAssistantResponse" "https://q.us-east-1.amazonaws.com/generateAssistantResponse",
], ],
"format": "kiro", format: "kiro",
"retry": { retry: {
"429": 0 "429": 0,
}, },
"headers": { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",
"Accept": "application/vnd.amazon.eventstream", Accept: "application/vnd.amazon.eventstream",
"X-Amz-Target": "AmazonCodeWhispererStreamingService.GenerateAssistantResponse", "X-Amz-Target": "AmazonCodeWhispererStreamingService.GenerateAssistantResponse",
"User-Agent": "AWS-SDK-JS/3.0.0 kiro-ide/1.0.0", "User-Agent": "AWS-SDK-JS/3.0.0 kiro-ide/1.0.0",
"X-Amz-User-Agent": "aws-sdk-js/3.0.0 kiro-ide/1.0.0" "X-Amz-User-Agent": "aws-sdk-js/3.0.0 kiro-ide/1.0.0",
}, },
"tokenUrl": "https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken", tokenUrl: "https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",
"authUrl": "https://prod.us-east-1.auth.desktop.kiro.dev", authUrl: "https://prod.us-east-1.auth.desktop.kiro.dev",
usage: { usage: {
cwHost: "https://codewhisperer.us-east-1.amazonaws.com", cwHost: "https://codewhisperer.us-east-1.amazonaws.com",
qHost: "https://q.us-east-1.amazonaws.com", qHost: "https://q.us-east-1.amazonaws.com",
limitsPath: "/getUsageLimits" limitsPath: "/getUsageLimits",
}
}, },
"oauth": {
"ssoOidcEndpoint": "https://oidc.us-east-1.amazonaws.com",
"registerClientUrl": "https://oidc.us-east-1.amazonaws.com/client/register",
"deviceAuthUrl": "https://oidc.us-east-1.amazonaws.com/device_authorization",
"tokenUrl": "https://oidc.us-east-1.amazonaws.com/token",
"startUrl": "https://view.awsapps.com/start",
"clientName": "kiro-oauth-client",
"clientType": "public",
"scopes": ["codewhisperer:completions", "codewhisperer:analysis", "codewhisperer:conversations"],
"grantTypes": ["urn:ietf:params:oauth:grant-type:device_code", "refresh_token"],
"issuerUrl": "https://identitycenter.amazonaws.com/ssoins-722374e8c3c8e6c6",
"socialAuthEndpoint": "https://prod.us-east-1.auth.desktop.kiro.dev",
"socialLoginUrl": "https://prod.us-east-1.auth.desktop.kiro.dev/login",
"socialTokenUrl": "https://prod.us-east-1.auth.desktop.kiro.dev/oauth/token",
"socialRefreshUrl": "https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",
"authMethods": ["builder-id", "idc", "google", "github", "import"]
}, },
"models": [ models: [
{ { id: "claude-sonnet-4.5", name: "Claude Sonnet 4.5" },
"id": "claude-sonnet-4.5", { id: "claude-haiku-4.5", name: "Claude Haiku 4.5" },
"name": "Claude Sonnet 4.5" { id: "deepseek-3.2", name: "DeepSeek 3.2", strip: ["image","audio"] },
}, { id: "qwen3-coder-next", name: "Qwen3 Coder Next", strip: ["image","audio"] },
{ { id: "glm-5", name: "GLM 5" },
"id": "claude-haiku-4.5", { id: "MiniMax-M2.5", name: "MiniMax M2.5" },
"name": "Claude Haiku 4.5" { id: "claude-sonnet-4.5-thinking", name: "Claude Sonnet 4.5 (Thinking)" },
}, { id: "claude-haiku-4.5-thinking", name: "Claude Haiku 4.5 (Thinking)" },
{ { id: "claude-sonnet-4.5-agentic", name: "Claude Sonnet 4.5 (Agentic)" },
"id": "deepseek-3.2", { id: "claude-haiku-4.5-agentic", name: "Claude Haiku 4.5 (Agentic)" },
"name": "DeepSeek 3.2", { id: "claude-sonnet-4.5-thinking-agentic", name: "Claude Sonnet 4.5 (Thinking + Agentic)" },
"strip": [ { id: "claude-haiku-4.5-thinking-agentic", name: "Claude Haiku 4.5 (Thinking + Agentic)" },
"image",
"audio"
]
},
{
"id": "qwen3-coder-next",
"name": "Qwen3 Coder Next",
"strip": [
"image",
"audio"
]
},
{
"id": "glm-5",
"name": "GLM 5"
},
{
"id": "MiniMax-M2.5",
"name": "MiniMax M2.5"
},
{
"id": "claude-sonnet-4.5-thinking",
"name": "Claude Sonnet 4.5 (Thinking)"
},
{
"id": "claude-haiku-4.5-thinking",
"name": "Claude Haiku 4.5 (Thinking)"
},
{
"id": "claude-sonnet-4.5-agentic",
"name": "Claude Sonnet 4.5 (Agentic)"
},
{
"id": "claude-haiku-4.5-agentic",
"name": "Claude Haiku 4.5 (Agentic)"
},
{
"id": "claude-sonnet-4.5-thinking-agentic",
"name": "Claude Sonnet 4.5 (Thinking + Agentic)"
},
{
"id": "claude-haiku-4.5-thinking-agentic",
"name": "Claude Haiku 4.5 (Thinking + Agentic)"
}
], ],
features: {"usage":true}, oauth: {
ssoOidcEndpoint: "https://oidc.us-east-1.amazonaws.com",
registerClientUrl: "https://oidc.us-east-1.amazonaws.com/client/register",
deviceAuthUrl: "https://oidc.us-east-1.amazonaws.com/device_authorization",
tokenUrl: "https://oidc.us-east-1.amazonaws.com/token",
startUrl: "https://view.awsapps.com/start",
clientName: "kiro-oauth-client",
clientType: "public",
scopes: [
"codewhisperer:completions",
"codewhisperer:analysis",
"codewhisperer:conversations",
],
grantTypes: [
"urn:ietf:params:oauth:grant-type:device_code",
"refresh_token",
],
issuerUrl: "https://identitycenter.amazonaws.com/ssoins-722374e8c3c8e6c6",
socialAuthEndpoint: "https://prod.us-east-1.auth.desktop.kiro.dev",
socialLoginUrl: "https://prod.us-east-1.auth.desktop.kiro.dev/login",
socialTokenUrl: "https://prod.us-east-1.auth.desktop.kiro.dev/oauth/token",
socialRefreshUrl: "https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",
authMethods: [
"builder-id",
"idc",
"google",
"github",
"import",
],
},
features: {
usage: true,
},
}; };

View file

@ -0,0 +1,271 @@
/**
* migrate-registry.mjs
* Migrates all registry files to Model-A schema:
* - models[] = ALL models (chat + media), field `kind` (default "llm")
* - media wrapper removed → fields promoted top-level
* - *Config.models removed (data merged into models[])
* - format: terse, consistent indent
*
* Run: node --experimental-vm-modules migrate-registry.mjs [--dry]
*/
import { readFileSync, writeFileSync, readdirSync } from "node:fs";
import { fileURLToPath } from "node:url";
import { dirname, join } from "node:path";
import { createRequire } from "node:module";
const __dirname = dirname(fileURLToPath(import.meta.url));
const REGISTRY_DIR = __dirname; // script lives in registry/
const DRY = process.argv.includes("--dry");
// *Config.models field → kind value
const CFG_KIND = {
ttsConfig: "tts",
sttConfig: "stt",
embeddingConfig: "embedding",
imageConfig: "image",
imageToTextConfig: "imageToText",
videoConfig: "video",
musicConfig: "music",
};
// Fields in *Config that are NOT models (keep on config)
const MODEL_ONLY_KEY = "models";
// Top-level registry fields that are NOT media-config (don't flatten these from media)
// serviceKinds + *Config + searchViaChat + mediaConfig + passthroughModels are media fields
// Everything else is already top-level
const MEDIA_WHITELIST = new Set([
"serviceKinds",
"ttsConfig", "sttConfig", "embeddingConfig",
"imageConfig", "imageToTextConfig", "videoConfig", "musicConfig",
"searchViaChat", "searchConfig", "fetchConfig",
"modelsFetcher", "hasProviderSpecificData", "passthroughModels",
"mediaPriority", "hiddenKinds",
]);
function migrateEntry(entry, filename) {
const out = {};
// 1. Top-level identity/transport fields (preserve order)
const TRANSPORT_KEYS = ["id", "alias", "aliases", "uiAlias", "display", "category",
"authType", "authHint", "authModes", "hasOAuth", "noAuth",
"hasProviderSpecificData", "thinkingConfig", "hiddenKinds",
"regions", "defaultRegion", "passthroughModels", "transport"];
for (const k of TRANSPORT_KEYS) {
if (entry[k] !== undefined) out[k] = entry[k];
}
// 2. Collect existing models[] (convert type→kind, skip if kind already set)
const existingModels = (entry.models || []).map(m => {
const { type, ...rest } = m;
const kind = m.kind ?? (type && type !== "llm" ? type : undefined);
return kind ? { ...rest, kind } : rest;
});
const existingIds = new Set(existingModels.map(m => m.id));
// 3. Extract models from *Config.models (merge into models[])
const mediaModels = [];
const media = entry.media || {};
for (const [cfgKey, kind] of Object.entries(CFG_KIND)) {
const cfg = media[cfgKey];
if (!cfg?.models) continue;
for (const m of cfg.models) {
// Check if same id+kind combo already exists to avoid true duplicates
const dup = existingModels.find(x => x.id === m.id && (x.kind ?? "llm") === kind);
if (dup) continue;
const { ...mClean } = m;
mediaModels.push({ ...mClean, kind });
}
}
// 4. Merge models (existing first, then media additions)
const allModels = [...existingModels, ...mediaModels];
// Only include models key if non-empty or explicitly defined
if (allModels.length > 0 || entry.models !== undefined) {
out.models = allModels;
}
// 5. Flatten media fields (without .models sub-arrays)
for (const [k, v] of Object.entries(media)) {
if (!MEDIA_WHITELIST.has(k)) continue;
if (CFG_KIND[k]) {
// Strip .models from config, keep rest
const { models: _m, ...cfgRest } = (v || {});
if (Object.keys(cfgRest).length > 0) out[k] = cfgRest;
} else {
out[k] = v;
}
}
// 6. Other top-level fields not in TRANSPORT_KEYS and not media (e.g. features, oauth, usage in transport)
const SKIP = new Set([...TRANSPORT_KEYS, "models", "media", ...Object.keys(CFG_KIND),
"serviceKinds", "searchViaChat", "searchConfig", "fetchConfig",
"modelsFetcher", "passthroughModels", "mediaPriority"]);
for (const [k, v] of Object.entries(entry)) {
if (!SKIP.has(k)) out[k] = v;
}
return out;
}
// Format a registry entry as clean JS (no JSON.stringify — write proper ES module)
function formatValue(v, indent = 0) {
const pad = " ".repeat(indent);
const pad1 = " ".repeat(indent + 1);
if (v === null || v === undefined) return String(v);
if (typeof v === "boolean" || typeof v === "number") return String(v);
if (typeof v === "string") return JSON.stringify(v);
if (Array.isArray(v)) {
if (v.length === 0) return "[]";
// Model arrays: 1 model per line (compact inline object)
const items = v.map(item => {
if (typeof item === "object" && item !== null && !Array.isArray(item)) {
return `${pad1}${formatInlineObject(item)}`;
}
return `${pad1}${formatValue(item, indent + 1)}`;
});
return `[\n${items.join(",\n")},\n${pad}]`;
}
if (typeof v === "object") {
const keys = Object.keys(v);
if (keys.length === 0) return "{}";
const lines = keys.map(k => {
const key = /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(k) ? k : JSON.stringify(k);
return `${pad1}${key}: ${formatValue(v[k], indent + 1)}`;
});
return `{\n${lines.join(",\n")},\n${pad}}`;
}
return JSON.stringify(v);
}
// Inline compact object: { id: "x", name: "y", kind: "tts", dimensions: 1536 }
function formatInlineObject(obj) {
const parts = Object.entries(obj).map(([k, v]) => {
const key = /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(k) ? k : JSON.stringify(k);
return `${key}: ${JSON.stringify(v)}`;
});
return `{ ${parts.join(", ")} }`;
}
// Config objects (ttsConfig etc) — inline single line if short, else multi-line
function formatConfig(cfg) {
const line = `{ ${Object.entries(cfg).map(([k,v])=>`${k}: ${JSON.stringify(v)}`).join(", ")} }`;
if (line.length <= 120) return line;
const pad1 = " ".repeat(2);
const lines = Object.entries(cfg).map(([k,v]) => `${pad1}${k}: ${JSON.stringify(v)}`);
return `{\n${lines.join(",\n")},\n }`;
}
// Top-level registry entry formatter
function formatEntry(entry, imports = "") {
const lines = [];
if (imports) lines.push(imports, "");
lines.push("export default {");
const TOP_ORDER = [
"id", "alias", "aliases", "uiAlias", "display", "category",
"authType", "authHint", "authModes", "hasOAuth", "noAuth",
"hasProviderSpecificData", "thinkingConfig", "hiddenKinds",
"regions", "defaultRegion", "transport",
"models",
// media fields
"serviceKinds",
"ttsConfig", "sttConfig", "embeddingConfig",
"imageConfig", "imageToTextConfig", "videoConfig", "musicConfig",
"searchViaChat", "searchConfig", "fetchConfig", "modelsFetcher",
"passthroughModels", "mediaPriority",
// other
"oauth", "features",
];
const emitted = new Set();
function emitKey(k) {
if (!(k in entry) || emitted.has(k)) return;
emitted.add(k);
const v = entry[k];
const key = /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(k) ? k : JSON.stringify(k);
// Config objects (xConfig) — special inline format
if (CFG_KIND[k] || k === "searchViaChat" || k === "searchConfig" || k === "fetchConfig" || k === "modelsFetcher") {
lines.push(` ${key}: ${formatConfig(v)},`);
return;
}
// models[] — terse per-line
if (k === "models" && Array.isArray(v)) {
if (v.length === 0) { lines.push(` models: [],`); return; }
lines.push(` models: [`);
for (const m of v) lines.push(` ${formatInlineObject(m)},`);
lines.push(` ],`);
return;
}
// serviceKinds — inline array
if (k === "serviceKinds") {
lines.push(` serviceKinds: ${JSON.stringify(v)},`);
return;
}
// display — multi-line
if (k === "display") {
lines.push(` display: ${formatValue(v, 1)},`);
return;
}
// transport — multi-line
if (k === "transport") {
lines.push(` transport: ${formatValue(v, 1)},`);
return;
}
// Everything else
lines.push(` ${key}: ${formatValue(v, 1)},`);
}
for (const k of TOP_ORDER) emitKey(k);
// Emit any remaining keys not in TOP_ORDER
for (const k of Object.keys(entry)) emitKey(k);
lines.push("};");
return lines.join("\n") + "\n";
}
// --- Main ---
const files = readdirSync(REGISTRY_DIR).filter(f => f.endsWith(".js") && f !== "index.js");
let count = 0;
for (const file of files) {
const path = join(REGISTRY_DIR, file);
const src = readFileSync(path, "utf8");
// Extract import lines (for files that import shared constants)
const importLines = src.split("\n").filter(l => l.startsWith("import "));
const importSrc = importLines.join("\n");
// Dynamic import to get entry
let entry;
try {
const mod = await import(`${join(REGISTRY_DIR, file)}?t=${Date.now()}`);
entry = mod.default;
} catch (e) {
console.error(`SKIP ${file}: ${e.message}`);
continue;
}
const migrated = migrateEntry(entry, file);
const output = formatEntry(migrated, importSrc);
if (DRY) {
console.log(`\n=== ${file} ===\n${output}`);
} else {
writeFileSync(path, output, "utf8");
count++;
}
}
console.log(DRY ? `[DRY] Would migrate ${files.length} files` : `✅ Migrated ${count} files`);

View file

@ -1,30 +1,22 @@
export default { export default {
"id": "mimo-free", id: "mimo-free",
"alias": "mmf", alias: "mmf",
uiAlias: "mmf",
display: { display: {
"name": "MiMo Code Free", name: "MiMo Code Free",
"icon": "smart_toy", icon: "smart_toy",
"color": "#FF6900", color: "#FF6900",
"textIcon": "MF" textIcon: "MF",
}, },
category: "free", category: "free",
uiAlias: "mmf",
noAuth: true, noAuth: true,
passthroughModels: true, transport: {
"transport": { baseUrl: "https://api.xiaomimimo.com/api/free-ai/openai/chat",
"baseUrl": "https://api.xiaomimimo.com/api/free-ai/openai/chat",
"noAuth": true
},
media: {
noAuth: true, noAuth: true,
passthroughModels: true,
modelsFetcher: { url: "https://models.dev/api.json", type: "mimo-free" }
}, },
"models": [ models: [
{ { id: "mimo-auto", name: "MiMo Auto" },
"id": "mimo-auto", ],
"name": "MiMo Auto" modelsFetcher: { url: "https://models.dev/api.json", type: "mimo-free" },
} passthroughModels: true,
]
}; };

View file

@ -4,35 +4,60 @@ export default {
id: "minimax-cn", id: "minimax-cn",
alias: "minimax-cn", alias: "minimax-cn",
display: { display: {
"name": "Minimax (China)", name: "Minimax (China)",
"icon": "memory", icon: "memory",
"color": "#DC2626", color: "#DC2626",
"textIcon": "MC", textIcon: "MC",
"website": "https://www.minimaxi.com", website: "https://www.minimaxi.com",
"notice": { notice: {
"apiKeyUrl": "https://platform.minimaxi.com/user-center/basic-information/interface-key" apiKeyUrl: "https://platform.minimaxi.com/user-center/basic-information/interface-key",
} },
}, },
category: "apikey", category: "apikey",
transport: { transport: {
baseUrl: "https://api.minimaxi.com/anthropic/v1/messages", baseUrl: "https://api.minimaxi.com/anthropic/v1/messages",
format: "claude", format: "claude",
urlSuffix: "?beta=true", urlSuffix: "?beta=true",
headers: { ...CLAUDE_API_HEADERS }, headers: {
quirks: { dropOutputConfig: true }, "Anthropic-Version": "2023-06-01",
reasoningInject: { scope: "all" }, "Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
auth: { "combined": true, "header": "x-api-key", "scheme": "raw" }, },
usage: { urls: ["https://www.minimaxi.com/v1/api/openplatform/coding_plan/remains", "https://api.minimaxi.com/v1/api/openplatform/coding_plan/remains"] }, quirks: {
dropOutputConfig: true,
},
reasoningInject: {
scope: "all",
},
auth: {
combined: true,
header: "x-api-key",
scheme: "raw",
},
usage: {
urls: [
"https://www.minimaxi.com/v1/api/openplatform/coding_plan/remains",
"https://api.minimaxi.com/v1/api/openplatform/coding_plan/remains",
],
}, },
media: {
serviceKinds: ["llm", "tts"],
ttsConfig: { baseUrl: "https://api.minimaxi.com/v1/t2a_v2", authType: "apikey", authHeader: "bearer", format: "minimax-tts", models: [{ id: "speech-2.8-hd", name: "Speech 2.8 HD" }, { id: "speech-2.8-turbo", name: "Speech 2.8 Turbo" }, { id: "speech-2.6-hd", name: "Speech 2.6 HD" }, { id: "speech-2.6-turbo", name: "Speech 2.6 Turbo" }, { id: "speech-02-hd", name: "Speech 02 HD" }, { id: "speech-02-turbo", name: "Speech 02 Turbo" }, { id: "speech-01-hd", name: "Speech 01 HD" }, { id: "speech-01-turbo", name: "Speech 01 Turbo" }] }
}, },
models: [ models: [
{ id: "MiniMax-M3", name: "MiniMax M3", targetFormat: "claude" }, { id: "MiniMax-M3", name: "MiniMax M3", targetFormat: "claude" },
{ id: "MiniMax-M2.7", name: "MiniMax M2.7" }, { id: "MiniMax-M2.7", name: "MiniMax M2.7" },
{ id: "MiniMax-M2.5", name: "MiniMax M2.5" }, { id: "MiniMax-M2.5", name: "MiniMax M2.5" },
{ id: "MiniMax-M2.1", name: "MiniMax M2.1" } { id: "MiniMax-M2.1", name: "MiniMax M2.1" },
{ id: "speech-2.8-hd", name: "Speech 2.8 HD", kind: "tts" },
{ id: "speech-2.8-turbo", name: "Speech 2.8 Turbo", kind: "tts" },
{ id: "speech-2.6-hd", name: "Speech 2.6 HD", kind: "tts" },
{ id: "speech-2.6-turbo", name: "Speech 2.6 Turbo", kind: "tts" },
{ id: "speech-02-hd", name: "Speech 02 HD", kind: "tts" },
{ id: "speech-02-turbo", name: "Speech 02 Turbo", kind: "tts" },
{ id: "speech-01-hd", name: "Speech 01 HD", kind: "tts" },
{ id: "speech-01-turbo", name: "Speech 01 Turbo", kind: "tts" },
], ],
features: { "usage": true, "usageApikey": true }, serviceKinds: ["llm","tts"],
ttsConfig: { baseUrl: "https://api.minimaxi.com/v1/t2a_v2", authType: "apikey", authHeader: "bearer", format: "minimax-tts" },
features: {
usage: true,
usageApikey: true,
},
}; };

View file

@ -4,38 +4,67 @@ export default {
id: "minimax", id: "minimax",
alias: "minimax", alias: "minimax",
display: { display: {
"name": "Minimax Coding", name: "Minimax Coding",
"icon": "memory", icon: "memory",
"color": "#7C3AED", color: "#7C3AED",
"textIcon": "MM", textIcon: "MM",
"website": "https://www.minimaxi.com", website: "https://www.minimaxi.com",
"notice": { notice: {
"apiKeyUrl": "https://platform.minimaxi.com/user-center/basic-information/interface-key" apiKeyUrl: "https://platform.minimaxi.com/user-center/basic-information/interface-key",
} },
}, },
category: "apikey", category: "apikey",
transport: { transport: {
baseUrl: "https://api.minimax.io/anthropic/v1/messages", baseUrl: "https://api.minimax.io/anthropic/v1/messages",
format: "claude", format: "claude",
urlSuffix: "?beta=true", urlSuffix: "?beta=true",
headers: { ...CLAUDE_API_HEADERS }, headers: {
quirks: { dropOutputConfig: true }, "Anthropic-Version": "2023-06-01",
reasoningInject: { scope: "all" }, "Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
auth: {"combined":true,"header":"x-api-key","scheme":"raw"}, },
usage: { urls: ["https://www.minimax.io/v1/token_plan/remains", "https://api.minimax.io/v1/api/openplatform/coding_plan/remains"] }, quirks: {
dropOutputConfig: true,
},
reasoningInject: {
scope: "all",
},
auth: {
combined: true,
header: "x-api-key",
scheme: "raw",
},
usage: {
urls: [
"https://www.minimax.io/v1/token_plan/remains",
"https://api.minimax.io/v1/api/openplatform/coding_plan/remains",
],
}, },
media: {
serviceKinds: ["llm", "image", "imageToText", "webSearch", "tts"],
ttsConfig: { baseUrl: "https://api.minimax.io/v1/t2a_v2", authType: "apikey", authHeader: "bearer", format: "minimax-tts", models: [{ id: "speech-2.8-hd", name: "Speech 2.8 HD" }, { id: "speech-2.8-turbo", name: "Speech 2.8 Turbo" }, { id: "speech-2.6-hd", name: "Speech 2.6 HD" }, { id: "speech-2.6-turbo", name: "Speech 2.6 Turbo" }, { id: "speech-02-hd", name: "Speech 02 HD" }, { id: "speech-02-turbo", name: "Speech 02 Turbo" }, { id: "speech-01-hd", name: "Speech 01 HD" }, { id: "speech-01-turbo", name: "Speech 01 Turbo" }] },
searchViaChat: { defaultModel: "MiniMax-M2.7", endpoint: "https://api.minimaxi.com/v1/text/chatcompletion_v2", pricingUrl: "https://www.minimaxi.com/document/price" },
imageConfig: { baseUrl: "https://api.minimaxi.com/v1/images/generations" }
}, },
models: [ models: [
{ id: "MiniMax-M3", name: "MiniMax M3", targetFormat: "claude" }, { id: "MiniMax-M3", name: "MiniMax M3", targetFormat: "claude" },
{ id: "MiniMax-M2.7", name: "MiniMax M2.7" }, { id: "MiniMax-M2.7", name: "MiniMax M2.7" },
{ id: "MiniMax-M2.5", name: "MiniMax M2.5" }, { id: "MiniMax-M2.5", name: "MiniMax M2.5" },
{ id: "MiniMax-M2.1", name: "MiniMax M2.1" }, { id: "MiniMax-M2.1", name: "MiniMax M2.1" },
{ id: "minimax-image-01", name: "MiniMax Image 01", type: "image", params: ["n", "size", "response_format"] } { id: "minimax-image-01", name: "MiniMax Image 01", params: ["n","size","response_format"], kind: "image" },
{ id: "speech-2.8-hd", name: "Speech 2.8 HD", kind: "tts" },
{ id: "speech-2.8-turbo", name: "Speech 2.8 Turbo", kind: "tts" },
{ id: "speech-2.6-hd", name: "Speech 2.6 HD", kind: "tts" },
{ id: "speech-2.6-turbo", name: "Speech 2.6 Turbo", kind: "tts" },
{ id: "speech-02-hd", name: "Speech 02 HD", kind: "tts" },
{ id: "speech-02-turbo", name: "Speech 02 Turbo", kind: "tts" },
{ id: "speech-01-hd", name: "Speech 01 HD", kind: "tts" },
{ id: "speech-01-turbo", name: "Speech 01 Turbo", kind: "tts" },
], ],
features: {"usage":true,"usageApikey":true}, serviceKinds: ["llm","image","imageToText","webSearch","tts"],
ttsConfig: { baseUrl: "https://api.minimax.io/v1/t2a_v2", authType: "apikey", authHeader: "bearer", format: "minimax-tts" },
imageConfig: { baseUrl: "https://api.minimaxi.com/v1/images/generations" },
searchViaChat: {
defaultModel: "MiniMax-M2.7",
endpoint: "https://api.minimaxi.com/v1/text/chatcompletion_v2",
pricingUrl: "https://www.minimaxi.com/document/price",
},
features: {
usage: true,
usageApikey: true,
},
}; };

View file

@ -1,43 +1,30 @@
export default { export default {
"id": "mistral", id: "mistral",
"alias": "mistral", alias: "mistral",
display: { display: {
"name": "Mistral", name: "Mistral",
"icon": "air", icon: "air",
"color": "#FF7000", color: "#FF7000",
"textIcon": "MI", textIcon: "MI",
"website": "https://mistral.ai", website: "https://mistral.ai",
"notice": { notice: {
"apiKeyUrl": "https://console.mistral.ai/api-keys" apiKeyUrl: "https://console.mistral.ai/api-keys",
} },
}, },
category: "apikey", category: "apikey",
"transport": { transport: {
"baseUrl": "https://api.mistral.ai/v1/chat/completions", baseUrl: "https://api.mistral.ai/v1/chat/completions",
"validateUrl": "https://api.mistral.ai/v1/models", validateUrl: "https://api.mistral.ai/v1/models",
"quirks": { "dropClientMetadata": true } quirks: {
dropClientMetadata: true,
}, },
media: {
serviceKinds: ["llm", "imageToText", "embedding"],
embeddingConfig: { baseUrl: "https://api.mistral.ai/v1/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "mistral-embed", name: "Mistral Embed", dimensions: 1024 }] }
}, },
"models": [ models: [
{ { id: "mistral-large-latest", name: "Mistral Large 3" },
"id": "mistral-large-latest", { id: "codestral-latest", name: "Codestral" },
"name": "Mistral Large 3" { id: "mistral-medium-latest", name: "Mistral Medium 3" },
}, { id: "mistral-embed", name: "Mistral Embed", kind: "embedding" },
{ ],
"id": "codestral-latest", serviceKinds: ["llm","imageToText","embedding"],
"name": "Codestral" embeddingConfig: { baseUrl: "https://api.mistral.ai/v1/embeddings", authType: "apikey", authHeader: "bearer" },
},
{
"id": "mistral-medium-latest",
"name": "Mistral Medium 3"
},
{
"id": "mistral-embed",
"name": "Mistral Embed",
"type": "embedding"
}
]
}; };

View file

@ -1,15 +1,17 @@
export default { export default {
"id": "mmf", display: { name: "MMF", icon: "hub", color: "#6366F1", textIcon: "MF" }, id: "mmf",
category: "apikey", display: {
"transport": { name: "MMF",
"baseUrl": "https://api.xiaomimimo.com/api/free-ai/openai/chat", icon: "hub",
"noAuth": true color: "#6366F1",
textIcon: "MF",
}, },
"models": [ category: "apikey",
{ transport: {
"id": "mimo-auto", baseUrl: "https://api.xiaomimimo.com/api/free-ai/openai/chat",
"name": "MiMo Auto" noAuth: true,
} },
] models: [
{ id: "mimo-auto", name: "MiMo Auto" },
],
}; };

View file

@ -1,47 +1,33 @@
export default { export default {
"id": "nanobanana", id: "nanobanana",
"alias": "nanobanana", alias: "nanobanana",
aliases: [
"nb",
],
uiAlias: "nb",
display: { display: {
"name": "NanoBanana API", name: "NanoBanana API",
"icon": "extension", icon: "extension",
"color": "#FFD700", color: "#FFD700",
"textIcon": "🍌", textIcon: "🍌",
"website": "https://nanobananaapi.ai", website: "https://nanobananaapi.ai",
"notice": { notice: {
"text": "3rd-party proxy for Google Nano Banana (Gemini 2.5/3 Flash Image). For official, use Gemini provider.", text: "3rd-party proxy for Google Nano Banana (Gemini 2.5/3 Flash Image). For official, use Gemini provider.",
"apiKeyUrl": "https://nanobananaapi.ai/dashboard" apiKeyUrl: "https://nanobananaapi.ai/dashboard",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "nb", transport: {
aliases: ["nb"], baseUrl: "https://api.nanobananaapi.ai/v1/chat/completions",
"transport": { validateUrl: "https://api.nanobananaapi.ai/v1/models",
"baseUrl": "https://api.nanobananaapi.ai/v1/chat/completions",
"validateUrl": "https://api.nanobananaapi.ai/v1/models"
}, },
media: { models: [
serviceKinds: ["llm", "image"], { id: "nanobanana-flash", name: "NanoBanana Flash", params: ["n","size"], kind: "image" },
imageConfig: { baseUrl: "https://api.nanobananaapi.ai/api/v1/nanobanana/generate", pollUrl: "https://api.nanobananaapi.ai/api/v1/nanobanana/record-info" } { id: "nanobanana-pro", name: "NanoBanana Pro", params: ["n","size"], kind: "image" },
],
serviceKinds: ["llm","image"],
imageConfig: {
baseUrl: "https://api.nanobananaapi.ai/api/v1/nanobanana/generate",
pollUrl: "https://api.nanobananaapi.ai/api/v1/nanobanana/record-info",
}, },
"models": [
{
"id": "nanobanana-flash",
"name": "NanoBanana Flash",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "nanobanana-pro",
"name": "NanoBanana Pro",
"type": "image",
"params": [
"n",
"size"
]
}
]
}; };

View file

@ -1,35 +1,25 @@
export default { export default {
"id": "nebius", id: "nebius",
"alias": "nebius", alias: "nebius",
display: { display: {
"name": "Nebius AI", name: "Nebius AI",
"icon": "cloud", icon: "cloud",
"color": "#6C5CE7", color: "#6C5CE7",
"textIcon": "NB", textIcon: "NB",
"website": "https://nebius.com", website: "https://nebius.com",
"notice": { notice: {
"apiKeyUrl": "https://studio.nebius.com/settings/api-keys" apiKeyUrl: "https://studio.nebius.com/settings/api-keys",
} },
}, },
category: "apikey", category: "apikey",
authType: "apikey", authType: "apikey",
"transport": { transport: {
"baseUrl": "https://api.studio.nebius.ai/v1/chat/completions", baseUrl: "https://api.studio.nebius.ai/v1/chat/completions",
"validateUrl": "https://api.studio.nebius.ai/v1/models" validateUrl: "https://api.studio.nebius.ai/v1/models",
}, },
media: { models: [
embeddingConfig: { baseUrl: "https://api.tokenfactory.nebius.com/v1/embeddings" } { id: "meta-llama/Llama-3.3-70B-Instruct", name: "Llama 3.3 70B Instruct" },
}, { id: "Qwen/Qwen3-Embedding-8B", name: "Qwen3 Embedding 8B", kind: "embedding" },
"models": [ ],
{ embeddingConfig: { baseUrl: "https://api.tokenfactory.nebius.com/v1/embeddings" },
"id": "meta-llama/Llama-3.3-70B-Instruct",
"name": "Llama 3.3 70B Instruct"
},
{
"id": "Qwen/Qwen3-Embedding-8B",
"name": "Qwen3 Embedding 8B",
"type": "embedding"
}
]
}; };

View file

@ -1,49 +1,36 @@
export default { export default {
"id": "nvidia", id: "nvidia",
"alias": "nvidia", alias: "nvidia",
display: { display: {
"name": "NVIDIA NIM", name: "NVIDIA NIM",
"icon": "developer_board", icon: "developer_board",
"color": "#76B900", color: "#76B900",
"textIcon": "NV", textIcon: "NV",
"website": "https://developer.nvidia.com/nim", website: "https://developer.nvidia.com/nim",
"notice": { notice: {
"text": "Free access for NVIDIA Developer Program members (prototyping & testing).", text: "Free access for NVIDIA Developer Program members (prototyping & testing).",
"apiKeyUrl": "https://build.nvidia.com/settings/api-keys" apiKeyUrl: "https://build.nvidia.com/settings/api-keys",
} },
}, },
category: "freeTier", category: "freeTier",
"transport": { transport: {
"baseUrl": "https://integrate.api.nvidia.com/v1/chat/completions", baseUrl: "https://integrate.api.nvidia.com/v1/chat/completions",
"validateUrl": "https://integrate.api.nvidia.com/v1/models" validateUrl: "https://integrate.api.nvidia.com/v1/models",
}, },
media: { models: [
serviceKinds: ["llm", "tts", "embedding"], { id: "minimaxai/minimax-m2.7", name: "Minimax M2.7" },
ttsConfig: { baseUrl: "https://integrate.api.nvidia.com/v1/audio/speech", authType: "apikey", authHeader: "bearer", format: "nvidia-tts", models: [{ id: "fastpitch", name: "FastPitch" }, { id: "tacotron2", name: "Tacotron2" }] }, { id: "z-ai/glm4.7", name: "GLM 4.7" },
embeddingConfig: { baseUrl: "https://integrate.api.nvidia.com/v1/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "nvidia/nv-embedqa-e5-v5", name: "NV EmbedQA E5 v5", dimensions: 1024 }] } { id: "nvidia/nv-embedqa-e5-v5", name: "NV EmbedQA E5 v5", kind: "embedding" },
{ id: "nvidia/parakeet-ctc-1.1b-asr", name: "Parakeet CTC 1.1B", params: ["language"], kind: "stt" },
{ id: "fastpitch", name: "FastPitch", kind: "tts" },
{ id: "tacotron2", name: "Tacotron2", kind: "tts" },
],
serviceKinds: ["llm","tts","embedding"],
ttsConfig: {
baseUrl: "https://integrate.api.nvidia.com/v1/audio/speech",
authType: "apikey",
authHeader: "bearer",
format: "nvidia-tts",
}, },
"models": [ embeddingConfig: { baseUrl: "https://integrate.api.nvidia.com/v1/embeddings", authType: "apikey", authHeader: "bearer" },
{
"id": "minimaxai/minimax-m2.7",
"name": "Minimax M2.7"
},
{
"id": "z-ai/glm4.7",
"name": "GLM 4.7"
},
{
"id": "nvidia/nv-embedqa-e5-v5",
"name": "NV EmbedQA E5 v5",
"type": "embedding"
},
{
"id": "nvidia/parakeet-ctc-1.1b-asr",
"name": "Parakeet CTC 1.1B",
"type": "stt",
"params": [
"language"
]
}
]
}; };

View file

@ -1,20 +1,17 @@
export default { export default {
"id": "ollama-local", id: "ollama-local",
"alias": "ollama-local", alias: "ollama-local",
display: { display: {
"name": "Ollama Local", name: "Ollama Local",
"icon": "cloud", icon: "cloud",
"color": "#ffffffff", color: "#ffffffff",
"textIcon": "OL", textIcon: "OL",
"website": "https://ollama.com" website: "https://ollama.com",
}, },
category: "apikey", category: "apikey",
"transport": { transport: {
"baseUrl": "http://localhost:11434/api/chat", baseUrl: "http://localhost:11434/api/chat",
"format": "ollama" format: "ollama",
}, },
media: { serviceKinds: ["llm"],
serviceKinds: ["llm"]
}
}; };

View file

@ -1,52 +1,33 @@
export default { export default {
"id": "ollama", id: "ollama",
"alias": "ollama", alias: "ollama",
display: { display: {
"name": "Ollama Cloud", name: "Ollama Cloud",
"icon": "cloud", icon: "cloud",
"color": "#ffffffff", color: "#ffffffff",
"textIcon": "OL", textIcon: "OL",
"website": "https://ollama.com", website: "https://ollama.com",
"notice": { notice: {
"text": "Free tier: light usage, 1 cloud model at a time (limits reset every 5h & 7d). Pro $20/mo · Max $100/mo.", text: "Free tier: light usage, 1 cloud model at a time (limits reset every 5h & 7d). Pro $20/mo · Max $100/mo.",
"apiKeyUrl": "https://ollama.com/settings/keys" apiKeyUrl: "https://ollama.com/settings/keys",
} },
}, },
category: "freeTier", category: "freeTier",
"transport": { transport: {
"baseUrl": "https://ollama.com/api/chat", baseUrl: "https://ollama.com/api/chat",
"validateUrl": "https://ollama.com/api/tags", validateUrl: "https://ollama.com/api/tags",
"format": "ollama" format: "ollama",
}, },
media: { models: [
serviceKinds: ["llm"] { id: "gpt-oss:120b", name: "GPT OSS 120B" },
}, { id: "kimi-k2.5", name: "Kimi K2.5" },
"models": [ { id: "glm-5", name: "GLM 5" },
{ { id: "minimax-m2.5", name: "MiniMax M2.5" },
"id": "gpt-oss:120b", { id: "glm-4.7-flash", name: "GLM 4.7 Flash" },
"name": "GPT OSS 120B" { id: "qwen3.5", name: "Qwen3.5" },
},
{
"id": "kimi-k2.5",
"name": "Kimi K2.5"
},
{
"id": "glm-5",
"name": "GLM 5"
},
{
"id": "minimax-m2.5",
"name": "MiniMax M2.5"
},
{
"id": "glm-4.7-flash",
"name": "GLM 4.7 Flash"
},
{
"id": "qwen3.5",
"name": "Qwen3.5"
}
], ],
features: {"usage":true}, serviceKinds: ["llm"],
features: {
usage: true,
},
}; };

View file

@ -1,205 +1,80 @@
export default { export default {
"id": "openai", id: "openai",
"alias": "openai", alias: "openai",
display: { display: {
"name": "OpenAI", name: "OpenAI",
"icon": "auto_awesome", icon: "auto_awesome",
"color": "#10A37F", color: "#10A37F",
"textIcon": "OA", textIcon: "OA",
"website": "https://platform.openai.com", website: "https://platform.openai.com",
"notice": { notice: {
"apiKeyUrl": "https://platform.openai.com/api-keys" apiKeyUrl: "https://platform.openai.com/api-keys",
} },
}, },
category: "apikey", category: "apikey",
thinkingConfig: {"options":["auto","none","low","medium","high"],"defaultMode":"auto"}, thinkingConfig: {
"transport": { options: [
"baseUrl": "https://api.openai.com/v1/chat/completions", "auto",
"forceStream": true "none",
"low",
"medium",
"high",
],
defaultMode: "auto",
}, },
media: { transport: {
serviceKinds: ["llm", "embedding", "tts", "stt", "image", "imageToText", "webSearch"], baseUrl: "https://api.openai.com/v1/chat/completions",
ttsConfig: { baseUrl: "https://api.openai.com/v1/audio/speech", authType: "apikey", authHeader: "bearer", format: "openai", defaultModel: "gpt-4o-mini-tts", models: [{ id: "tts-1", name: "TTS-1" }, { id: "tts-1-hd", name: "TTS-1 HD" }, { id: "gpt-4o-mini-tts", name: "GPT-4o Mini TTS" }] }, forceStream: true,
sttConfig: { baseUrl: "https://api.openai.com/v1/audio/transcriptions", authType: "apikey", authHeader: "bearer", format: "openai", models: [{ id: "whisper-1", name: "Whisper 1" }, { id: "gpt-4o-transcribe", name: "GPT-4o Transcribe" }, { id: "gpt-4o-mini-transcribe", name: "GPT-4o Mini Transcribe" }] }, },
embeddingConfig: { baseUrl: "https://api.openai.com/v1/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "text-embedding-3-small", name: "Text Embedding 3 Small", dimensions: 1536 }, { id: "text-embedding-3-large", name: "Text Embedding 3 Large", dimensions: 3072 }, { id: "text-embedding-ada-002", name: "Text Embedding Ada 002", dimensions: 1536 }] }, models: [
{ id: "gpt-5.4", name: "GPT-5.4" },
{ id: "gpt-5.4-mini", name: "GPT-5.4 Mini" },
{ id: "gpt-5.4-nano", name: "GPT-5.4 Nano" },
{ id: "gpt-5.2", name: "GPT-5.2" },
{ id: "gpt-5.1", name: "GPT-5.1" },
{ id: "gpt-5", name: "GPT-5" },
{ id: "gpt-5-mini", name: "GPT-5 Mini" },
{ id: "gpt-5-nano", name: "GPT-5 Nano" },
{ id: "gpt-4o", name: "GPT-4o" },
{ id: "gpt-4o-mini", name: "GPT-4o Mini" },
{ id: "gpt-4-turbo", name: "GPT-4 Turbo" },
{ id: "gpt-4.1", name: "GPT-4.1" },
{ id: "gpt-4.1-mini", name: "GPT-4.1 Mini" },
{ id: "gpt-4.1-nano", name: "GPT-4.1 Nano" },
{ id: "o3", name: "O3" },
{ id: "o3-mini", name: "O3 Mini" },
{ id: "o3-pro", name: "O3 Pro" },
{ id: "o4-mini", name: "O4 Mini" },
{ id: "o1", name: "O1" },
{ id: "o1-mini", name: "O1 Mini" },
{ id: "text-embedding-3-large", name: "Text Embedding 3 Large", kind: "embedding" },
{ id: "text-embedding-3-small", name: "Text Embedding 3 Small", kind: "embedding" },
{ id: "text-embedding-ada-002", name: "Text Embedding Ada 002", kind: "embedding" },
{ id: "tts-1", name: "TTS-1", kind: "tts" },
{ id: "tts-1-hd", name: "TTS-1 HD", kind: "tts" },
{ id: "gpt-4o-mini-tts", name: "GPT-4o Mini TTS", kind: "tts" },
{ id: "whisper-1", name: "Whisper 1", params: ["language","response_format","temperature","prompt"], kind: "stt" },
{ id: "gpt-4o-transcribe", name: "GPT-4o Transcribe", params: ["language","response_format","temperature","prompt"], kind: "stt" },
{ id: "gpt-4o-mini-transcribe", name: "GPT-4o Mini Transcribe", params: ["language","response_format","temperature","prompt"], kind: "stt" },
{ id: "gpt-image-1", name: "GPT Image 1", params: ["n","size","quality","response_format"], kind: "image" },
{ id: "dall-e-3", name: "DALL-E 3", params: ["size","quality","style","response_format"], kind: "image" },
{ id: "dall-e-2", name: "DALL-E 2", params: ["n","size","response_format"], kind: "image" },
],
serviceKinds: ["llm","embedding","tts","stt","image","imageToText","webSearch"],
ttsConfig: {
baseUrl: "https://api.openai.com/v1/audio/speech",
authType: "apikey",
authHeader: "bearer",
format: "openai",
defaultModel: "gpt-4o-mini-tts",
},
sttConfig: {
baseUrl: "https://api.openai.com/v1/audio/transcriptions",
authType: "apikey",
authHeader: "bearer",
format: "openai",
},
embeddingConfig: { baseUrl: "https://api.openai.com/v1/embeddings", authType: "apikey", authHeader: "bearer" },
imageConfig: { baseUrl: "https://api.openai.com/v1/images/generations" }, imageConfig: { baseUrl: "https://api.openai.com/v1/images/generations" },
searchViaChat: { defaultModel: "gpt-4o-mini", pricingUrl: "https://openai.com/api/pricing" } searchViaChat: { defaultModel: "gpt-4o-mini", pricingUrl: "https://openai.com/api/pricing" },
},
"models": [
{
"id": "gpt-5.4",
"name": "GPT-5.4"
},
{
"id": "gpt-5.4-mini",
"name": "GPT-5.4 Mini"
},
{
"id": "gpt-5.4-nano",
"name": "GPT-5.4 Nano"
},
{
"id": "gpt-5.2",
"name": "GPT-5.2"
},
{
"id": "gpt-5.1",
"name": "GPT-5.1"
},
{
"id": "gpt-5",
"name": "GPT-5"
},
{
"id": "gpt-5-mini",
"name": "GPT-5 Mini"
},
{
"id": "gpt-5-nano",
"name": "GPT-5 Nano"
},
{
"id": "gpt-4o",
"name": "GPT-4o"
},
{
"id": "gpt-4o-mini",
"name": "GPT-4o Mini"
},
{
"id": "gpt-4-turbo",
"name": "GPT-4 Turbo"
},
{
"id": "gpt-4.1",
"name": "GPT-4.1"
},
{
"id": "gpt-4.1-mini",
"name": "GPT-4.1 Mini"
},
{
"id": "gpt-4.1-nano",
"name": "GPT-4.1 Nano"
},
{
"id": "o3",
"name": "O3"
},
{
"id": "o3-mini",
"name": "O3 Mini"
},
{
"id": "o3-pro",
"name": "O3 Pro"
},
{
"id": "o4-mini",
"name": "O4 Mini"
},
{
"id": "o1",
"name": "O1"
},
{
"id": "o1-mini",
"name": "O1 Mini"
},
{
"id": "text-embedding-3-large",
"name": "Text Embedding 3 Large",
"type": "embedding"
},
{
"id": "text-embedding-3-small",
"name": "Text Embedding 3 Small",
"type": "embedding"
},
{
"id": "text-embedding-ada-002",
"name": "Text Embedding Ada 002",
"type": "embedding"
},
{
"id": "tts-1",
"name": "TTS-1",
"type": "tts"
},
{
"id": "tts-1-hd",
"name": "TTS-1 HD",
"type": "tts"
},
{
"id": "gpt-4o-mini-tts",
"name": "GPT-4o Mini TTS",
"type": "tts"
},
{
"id": "whisper-1",
"name": "Whisper 1",
"type": "stt",
"params": [
"language",
"response_format",
"temperature",
"prompt"
]
},
{
"id": "gpt-4o-transcribe",
"name": "GPT-4o Transcribe",
"type": "stt",
"params": [
"language",
"response_format",
"temperature",
"prompt"
]
},
{
"id": "gpt-4o-mini-transcribe",
"name": "GPT-4o Mini Transcribe",
"type": "stt",
"params": [
"language",
"response_format",
"temperature",
"prompt"
]
},
{
"id": "gpt-image-1",
"name": "GPT Image 1",
"type": "image",
"params": [
"n",
"size",
"quality",
"response_format"
]
},
{
"id": "dall-e-3",
"name": "DALL-E 3",
"type": "image",
"params": [
"size",
"quality",
"style",
"response_format"
]
},
{
"id": "dall-e-2",
"name": "DALL-E 2",
"type": "image",
"params": [
"n",
"size",
"response_format"
]
}
]
}; };

View file

@ -1,67 +1,36 @@
export default { export default {
"id": "opencode-go", id: "opencode-go",
"alias": "opencode-go", alias: "opencode-go",
aliases: [
"ocg",
],
uiAlias: "ocg",
display: { display: {
"name": "OpenCode Go", name: "OpenCode Go",
"icon": "terminal", icon: "terminal",
"color": "#E87040", color: "#E87040",
"textIcon": "OC", textIcon: "OC",
"website": "https://opencode.ai/auth", website: "https://opencode.ai/auth",
"notice": { notice: {
"text": "OpenCode Go subscription: $5/mo (then 0/mo). Access to Kimi, GLM, Qwen, MiMo, MiniMax models.", text: "OpenCode Go subscription: $5/mo (then 0/mo). Access to Kimi, GLM, Qwen, MiMo, MiniMax models.",
"apiKeyUrl": "https://opencode.ai/auth" apiKeyUrl: "https://opencode.ai/auth",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "ocg", transport: {
aliases: ["ocg"], baseUrl: "https://opencode.ai/zen/go/v1/chat/completions",
"transport": { headers: {},
"baseUrl": "https://opencode.ai/zen/go/v1/chat/completions",
"headers": {}
}, },
"models": [ models: [
{ { id: "kimi-k2.6", name: "Kimi K2.6" },
"id": "kimi-k2.6", { id: "kimi-k2.5", name: "Kimi K2.5" },
"name": "Kimi K2.6" { id: "glm-5.1", name: "GLM 5.1" },
}, { id: "glm-5", name: "GLM 5" },
{ { id: "qwen3.5-plus", name: "Qwen 3.5 Plus" },
"id": "kimi-k2.5", { id: "qwen3.6-plus", name: "Qwen 3.6 Plus" },
"name": "Kimi K2.5" { id: "mimo-v2-pro", name: "MiMo V2 Pro" },
}, { id: "mimo-v2-omni", name: "MiMo V2 Omni" },
{ { id: "minimax-m2.7", name: "MiniMax M2.7", targetFormat: "claude" },
"id": "glm-5.1", { id: "minimax-m2.5", name: "MiniMax M2.5", targetFormat: "claude" },
"name": "GLM 5.1" ],
},
{
"id": "glm-5",
"name": "GLM 5"
},
{
"id": "qwen3.5-plus",
"name": "Qwen 3.5 Plus"
},
{
"id": "qwen3.6-plus",
"name": "Qwen 3.6 Plus"
},
{
"id": "mimo-v2-pro",
"name": "MiMo V2 Pro"
},
{
"id": "mimo-v2-omni",
"name": "MiMo V2 Omni"
},
{
"id": "minimax-m2.7",
"name": "MiniMax M2.7",
"targetFormat": "claude"
},
{
"id": "minimax-m2.5",
"name": "MiniMax M2.5",
"targetFormat": "claude"
}
]
}; };

View file

@ -1,28 +1,23 @@
export default { export default {
"id": "opencode", id: "opencode",
"alias": "oc", alias: "oc",
uiAlias: "oc",
display: { display: {
"name": "OpenCode Free", name: "OpenCode Free",
"icon": "terminal", icon: "terminal",
"color": "#E87040", color: "#E87040",
"textIcon": "OC" textIcon: "OC",
}, },
category: "free", category: "free",
uiAlias: "oc",
noAuth: true, noAuth: true,
passthroughModels: true, transport: {
"transport": { baseUrl: "https://opencode.ai",
"baseUrl": "https://opencode.ai", headers: {
"headers": { "x-opencode-client": "desktop",
"x-opencode-client": "desktop"
}, },
"noAuth": true
},
media: {
noAuth: true, noAuth: true,
passthroughModels: true,
modelsFetcher: { url: "https://opencode.ai/zen/v1/models", type: "opencode-free" }
}, },
"models": [] models: [],
modelsFetcher: { url: "https://opencode.ai/zen/v1/models", type: "opencode-free" },
passthroughModels: true,
}; };

View file

@ -1,124 +1,57 @@
export default { export default {
"id": "openrouter", id: "openrouter",
"alias": "openrouter", alias: "openrouter",
display: { display: {
"name": "OpenRouter", name: "OpenRouter",
"icon": "router", icon: "router",
"color": "#F97316", color: "#F97316",
"textIcon": "OR", textIcon: "OR",
"website": "https://openrouter.ai", website: "https://openrouter.ai",
"notice": { notice: {
"text": "Free tier: 27+ free models, no credit card needed, 200 req/day. After 0 credit: 1,000 req/day.", text: "Free tier: 27+ free models, no credit card needed, 200 req/day. After 0 credit: 1,000 req/day.",
"apiKeyUrl": "https://openrouter.ai/settings/keys" apiKeyUrl: "https://openrouter.ai/settings/keys",
} },
}, },
category: "freeTier", category: "freeTier",
"transport": { transport: {
"baseUrl": "https://openrouter.ai/api/v1/chat/completions", baseUrl: "https://openrouter.ai/api/v1/chat/completions",
"headers": { headers: {
"HTTP-Referer": "https://endpoint-proxy.local", "HTTP-Referer": "https://endpoint-proxy.local",
"X-Title": "Endpoint Proxy" "X-Title": "Endpoint Proxy",
} },
},
models: [
{ id: "openai/text-embedding-3-large", name: "OpenAI Text Embedding 3 Large", kind: "embedding" },
{ id: "openai/text-embedding-3-small", name: "OpenAI Text Embedding 3 Small", kind: "embedding" },
{ id: "openai/text-embedding-ada-002", name: "OpenAI Text Embedding Ada 002", kind: "embedding" },
{ id: "qwen/qwen3-embedding-8b", name: "Qwen3 Embedding 8B", kind: "embedding" },
{ id: "perplexity/pplx-embed-v1-4b", name: "Perplexity Embed V1 4B", kind: "embedding" },
{ id: "perplexity/pplx-embed-v1-0.6b", name: "Perplexity Embed V1 0.6B", kind: "embedding" },
{ id: "nvidia/llama-nemotron-embed-vl-1b-v2:free", name: "NVIDIA Nemotron Embed VL 1B V2 (Free)", kind: "embedding" },
{ id: "openai/gpt-4o-mini-tts", name: "GPT-4o Mini TTS", kind: "tts" },
{ id: "openai/tts-1-hd", name: "TTS-1 HD", kind: "tts" },
{ id: "openai/tts-1", name: "TTS-1", kind: "tts" },
{ id: "openai/dall-e-3", name: "DALL-E 3 (via OpenRouter)", params: ["size","quality","style","response_format"], kind: "image" },
{ id: "openai/gpt-image-1", name: "GPT Image 1 (via OpenRouter)", params: ["n","size","quality","response_format"], kind: "image" },
{ id: "google/imagen-3.0-generate-002", name: "Imagen 3 (via OpenRouter)", params: ["n","size"], kind: "image" },
{ id: "black-forest-labs/FLUX.1-schnell", name: "FLUX.1 Schnell (via OpenRouter)", params: ["n","size"], kind: "image" },
],
serviceKinds: ["llm","embedding","tts","imageToText"],
ttsConfig: {
baseUrl: "https://openrouter.ai/api/v1/chat/completions",
defaultModel: "openai/gpt-4o-mini-tts",
headers: {"HTTP-Referer":"https://endpoint-proxy.local","X-Title":"Endpoint Proxy"},
},
embeddingConfig: {
baseUrl: "https://openrouter.ai/api/v1/embeddings",
authType: "apikey",
authHeader: "bearer",
headers: {"HTTP-Referer":"https://endpoint-proxy.local","X-Title":"Endpoint Proxy"},
},
imageConfig: {
baseUrl: "https://openrouter.ai/api/v1/images/generations",
headers: {"HTTP-Referer":"https://endpoint-proxy.local","X-Title":"Endpoint Proxy"},
}, },
media: {
serviceKinds: ["llm", "embedding", "tts", "imageToText"],
embeddingConfig: { baseUrl: "https://openrouter.ai/api/v1/embeddings", authType: "apikey", authHeader: "bearer", headers: { "HTTP-Referer": "https://endpoint-proxy.local", "X-Title": "Endpoint Proxy" }, models: [{ id: "openai/text-embedding-3-small", name: "Text Embedding 3 Small (OpenRouter)", dimensions: 1536 }, { id: "openai/text-embedding-3-large", name: "Text Embedding 3 Large (OpenRouter)", dimensions: 3072 }, { id: "openai/text-embedding-ada-002", name: "Text Embedding Ada 002 (OpenRouter)", dimensions: 1536 }] },
modelsFetcher: { url: "https://openrouter.ai/api/v1/models", type: "openrouter-free" }, modelsFetcher: { url: "https://openrouter.ai/api/v1/models", type: "openrouter-free" },
imageConfig: { baseUrl: "https://openrouter.ai/api/v1/images/generations", headers: { "HTTP-Referer": "https://endpoint-proxy.local", "X-Title": "Endpoint Proxy" } }, passthroughModels: true,
ttsConfig: { baseUrl: "https://openrouter.ai/api/v1/chat/completions", defaultModel: "openai/gpt-4o-mini-tts", headers: { "HTTP-Referer": "https://endpoint-proxy.local", "X-Title": "Endpoint Proxy" } },
passthroughModels: true
},
"models": [
{
"id": "openai/text-embedding-3-large",
"name": "OpenAI Text Embedding 3 Large",
"type": "embedding"
},
{
"id": "openai/text-embedding-3-small",
"name": "OpenAI Text Embedding 3 Small",
"type": "embedding"
},
{
"id": "openai/text-embedding-ada-002",
"name": "OpenAI Text Embedding Ada 002",
"type": "embedding"
},
{
"id": "qwen/qwen3-embedding-8b",
"name": "Qwen3 Embedding 8B",
"type": "embedding"
},
{
"id": "perplexity/pplx-embed-v1-4b",
"name": "Perplexity Embed V1 4B",
"type": "embedding"
},
{
"id": "perplexity/pplx-embed-v1-0.6b",
"name": "Perplexity Embed V1 0.6B",
"type": "embedding"
},
{
"id": "nvidia/llama-nemotron-embed-vl-1b-v2:free",
"name": "NVIDIA Nemotron Embed VL 1B V2 (Free)",
"type": "embedding"
},
{
"id": "openai/gpt-4o-mini-tts",
"name": "GPT-4o Mini TTS",
"type": "tts"
},
{
"id": "openai/tts-1-hd",
"name": "TTS-1 HD",
"type": "tts"
},
{
"id": "openai/tts-1",
"name": "TTS-1",
"type": "tts"
},
{
"id": "openai/dall-e-3",
"name": "DALL-E 3 (via OpenRouter)",
"type": "image",
"params": [
"size",
"quality",
"style",
"response_format"
]
},
{
"id": "openai/gpt-image-1",
"name": "GPT Image 1 (via OpenRouter)",
"type": "image",
"params": [
"n",
"size",
"quality",
"response_format"
]
},
{
"id": "google/imagen-3.0-generate-002",
"name": "Imagen 3 (via OpenRouter)",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "black-forest-labs/FLUX.1-schnell",
"name": "FLUX.1 Schnell (via OpenRouter)",
"type": "image",
"params": [
"n",
"size"
]
}
]
}; };

View file

@ -1,52 +1,32 @@
export default { export default {
"id": "perplexity-web", id: "perplexity-web",
"alias": "perplexity-web", alias: "perplexity-web",
aliases: [
"pw",
],
uiAlias: "pw",
display: { display: {
"name": "Perplexity Web (Pro/Max)", name: "Perplexity Web (Pro/Max)",
"icon": "search", icon: "search",
"color": "#20808D", color: "#20808D",
"textIcon": "PW", textIcon: "PW",
"website": "https://www.perplexity.ai" website: "https://www.perplexity.ai",
}, },
category: "webCookie", category: "webCookie",
uiAlias: "pw",
authType: "cookie", authType: "cookie",
authHint: "Paste your __Secure-next-auth.session-token cookie value from perplexity.ai", authHint: "Paste your __Secure-next-auth.session-token cookie value from perplexity.ai",
aliases: ["pw"], transport: {
"transport": { baseUrl: "https://www.perplexity.ai/rest/sse/perplexity_ask",
"baseUrl": "https://www.perplexity.ai/rest/sse/perplexity_ask", format: "perplexity-web",
"format": "perplexity-web", authType: "cookie",
"authType": "cookie"
}, },
"models": [ models: [
{ { id: "pplx-auto", name: "Perplexity Auto (Free)" },
"id": "pplx-auto", { id: "pplx-sonar", name: "Perplexity Sonar" },
"name": "Perplexity Auto (Free)" { id: "pplx-gpt", name: "GPT-5.4 (via Perplexity)" },
}, { id: "pplx-gemini", name: "Gemini 3.1 Pro (via Perplexity)" },
{ { id: "pplx-sonnet", name: "Claude Sonnet 4.6 (via Perplexity)" },
"id": "pplx-sonar", { id: "pplx-opus", name: "Claude Opus 4.6 (via Perplexity)" },
"name": "Perplexity Sonar" { id: "pplx-nemotron", name: "Nemotron 3 Super (via Perplexity)" },
}, ],
{
"id": "pplx-gpt",
"name": "GPT-5.4 (via Perplexity)"
},
{
"id": "pplx-gemini",
"name": "Gemini 3.1 Pro (via Perplexity)"
},
{
"id": "pplx-sonnet",
"name": "Claude Sonnet 4.6 (via Perplexity)"
},
{
"id": "pplx-opus",
"name": "Claude Opus 4.6 (via Perplexity)"
},
{
"id": "pplx-nemotron",
"name": "Nemotron 3 Super (via Perplexity)"
}
]
}; };

View file

@ -1,37 +1,34 @@
export default { export default {
"id": "perplexity", id: "perplexity",
"alias": "perplexity", alias: "perplexity",
aliases: [
"pplx",
],
uiAlias: "pplx",
display: { display: {
"name": "Perplexity", name: "Perplexity",
"icon": "search", icon: "search",
"color": "#20808D", color: "#20808D",
"textIcon": "PP", textIcon: "PP",
"website": "https://www.perplexity.ai", website: "https://www.perplexity.ai",
"notice": { notice: {
"apiKeyUrl": "https://www.perplexity.ai/settings/api" apiKeyUrl: "https://www.perplexity.ai/settings/api",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "pplx",
authType: "apikey", authType: "apikey",
aliases: ["pplx"], transport: {
"transport": { baseUrl: "https://api.perplexity.ai/chat/completions",
"baseUrl": "https://api.perplexity.ai/chat/completions", validateUrl: "https://api.perplexity.ai/models",
"validateUrl": "https://api.perplexity.ai/models"
}, },
media: { models: [
serviceKinds: ["llm", "webSearch"], { id: "sonar-pro", name: "Sonar Pro" },
searchViaChat: { defaultModel: "sonar", endpoint: "https://api.perplexity.ai/chat/completions", pricingUrl: "https://docs.perplexity.ai/guides/pricing" } { id: "sonar", name: "Sonar" },
],
serviceKinds: ["llm","webSearch"],
searchViaChat: {
defaultModel: "sonar",
endpoint: "https://api.perplexity.ai/chat/completions",
pricingUrl: "https://docs.perplexity.ai/guides/pricing",
}, },
"models": [
{
"id": "sonar-pro",
"name": "Sonar Pro"
},
{
"id": "sonar",
"name": "Sonar"
}
]
}; };

View file

@ -1,86 +1,53 @@
export default { export default {
"id": "qoder", id: "qoder",
"alias": "qd", alias: "qd",
uiAlias: "qd",
display: { display: {
"name": "Qoder", name: "Qoder",
"icon": "water_drop", icon: "water_drop",
"color": "#EC4899", color: "#EC4899",
"website": "https://qoder.com", website: "https://qoder.com",
"notice": { notice: {
"signupUrl": "https://qoder.com" signupUrl: "https://qoder.com",
}, },
"deprecated": true, deprecated: true,
"deprecationNotice": "RISK_NOTICE" deprecationNotice: "RISK_NOTICE",
}, },
category: "free", category: "free",
uiAlias: "qd", transport: {
"transport": { baseUrl: "https://api3.qoder.sh/algo/api/v2/service/pro/sse/agent_chat_generation",
"baseUrl": "https://api3.qoder.sh/algo/api/v2/service/pro/sse/agent_chat_generation", headers: {},
"headers": {}, timeoutMs: 120000,
"timeoutMs": 120000, stallTimeoutMs: 120000,
"stallTimeoutMs": 120000, usage: {
usage: { url: "https://openapi.qoder.sh/api/v2/quota/usage" } url: "https://openapi.qoder.sh/api/v2/quota/usage",
}, },
"oauth": {
"openApiBaseUrl": "https://openapi.qoder.sh",
"centerBaseUrl": "https://center.qoder.sh",
"chatBaseUrl": "https://api3.qoder.sh",
"deviceTokenUrl": "https://openapi.qoder.sh/api/v1/deviceToken/poll",
"refreshUrl": "https://center.qoder.sh/algo/api/v3/user/refresh_token",
"userInfoUrl": "https://openapi.qoder.sh/api/v1/userinfo",
"quotaUsageUrl": "https://openapi.qoder.sh/api/v2/quota/usage",
"loginUrl": "https://qoder.com/device/selectAccounts"
}, },
"models": [ models: [
{ { id: "auto", name: "Qoder Auto" },
"id": "auto", { id: "ultimate", name: "Qoder Ultimate" },
"name": "Qoder Auto" { id: "performance", name: "Qoder Performance" },
}, { id: "efficient", name: "Qoder Efficient" },
{ { id: "lite", name: "Qoder Lite" },
"id": "ultimate", { id: "qmodel", name: "Qwen 3.6 Plus (Qoder)" },
"name": "Qoder Ultimate" { id: "qmodel_latest", name: "Qoder Qwen 3.7 Max" },
}, { id: "dmodel", name: "DeepSeek V4 Pro (Qoder)" },
{ { id: "dfmodel", name: "DeepSeek V4 Flash (Qoder)" },
"id": "performance", { id: "gm51model", name: "GLM 5.1 (Qoder)" },
"name": "Qoder Performance" { id: "kmodel", name: "Kimi K2.6 (Qoder)" },
}, { id: "mmodel", name: "MiniMax M2.7 (Qoder)" },
{
"id": "efficient",
"name": "Qoder Efficient"
},
{
"id": "lite",
"name": "Qoder Lite"
},
{
"id": "qmodel",
"name": "Qwen 3.6 Plus (Qoder)"
},
{
"id": "qmodel_latest",
"name": "Qoder Qwen 3.7 Max"
},
{
"id": "dmodel",
"name": "DeepSeek V4 Pro (Qoder)"
},
{
"id": "dfmodel",
"name": "DeepSeek V4 Flash (Qoder)"
},
{
"id": "gm51model",
"name": "GLM 5.1 (Qoder)"
},
{
"id": "kmodel",
"name": "Kimi K2.6 (Qoder)"
},
{
"id": "mmodel",
"name": "MiniMax M2.7 (Qoder)"
}
], ],
features: {"usage":true}, oauth: {
openApiBaseUrl: "https://openapi.qoder.sh",
centerBaseUrl: "https://center.qoder.sh",
chatBaseUrl: "https://api3.qoder.sh",
deviceTokenUrl: "https://openapi.qoder.sh/api/v1/deviceToken/poll",
refreshUrl: "https://center.qoder.sh/algo/api/v3/user/refresh_token",
userInfoUrl: "https://openapi.qoder.sh/api/v1/userinfo",
quotaUsageUrl: "https://openapi.qoder.sh/api/v2/quota/usage",
loginUrl: "https://qoder.com/device/selectAccounts",
},
features: {
usage: true,
},
}; };

View file

@ -1,35 +1,31 @@
export default { export default {
"id": "qwen", alias: "qw", display: { name: "Qwen Code", icon: "psychology", color: "#10B981", website: "https://chat.qwen.ai", notice: { signupUrl: "https://chat.qwen.ai" } }, id: "qwen",
alias: "qw",
display: {
name: "Qwen Code",
icon: "psychology",
color: "#10B981",
website: "https://chat.qwen.ai",
notice: {
signupUrl: "https://chat.qwen.ai",
},
},
category: "oauth", category: "oauth",
"transport": { transport: {
"baseUrl": "https://portal.qwen.ai/v1/chat/completions" baseUrl: "https://portal.qwen.ai/v1/chat/completions",
}, },
"oauth": { models: [
"clientId": "f0304373b74a44d2b584a3fb70ca9e56", { id: "qwen3-coder-plus", name: "Qwen3 Coder Plus" },
"deviceCodeUrl": "https://chat.qwen.ai/api/v1/oauth2/device/code", { id: "qwen3-coder-flash", name: "Qwen3 Coder Flash" },
"tokenUrl": "https://chat.qwen.ai/api/v1/oauth2/token", { id: "vision-model", name: "Qwen3 Vision Model" },
"scope": "openid profile email model.completion", { id: "coder-model", name: "Qwen3.6 Coder Model" },
"codeChallengeMethod": "S256" ],
, oauth: {
refreshLeadMs: 1200000 clientId: "f0304373b74a44d2b584a3fb70ca9e56",
deviceCodeUrl: "https://chat.qwen.ai/api/v1/oauth2/device/code",
tokenUrl: "https://chat.qwen.ai/api/v1/oauth2/token",
scope: "openid profile email model.completion",
codeChallengeMethod: "S256",
refreshLeadMs: 1200000,
}, },
"models": [
{
"id": "qwen3-coder-plus",
"name": "Qwen3 Coder Plus"
},
{
"id": "qwen3-coder-flash",
"name": "Qwen3 Coder Flash"
},
{
"id": "vision-model",
"name": "Qwen3 Vision Model"
},
{
"id": "coder-model",
"name": "Qwen3.6 Coder Model"
}
]
}; };

View file

@ -1,44 +1,23 @@
export default { export default {
"id": "recraft", id: "recraft",
"alias": "recraft", alias: "recraft",
display: { display: {
"name": "Recraft", name: "Recraft",
"icon": "image", icon: "image",
"color": "#EC4899", color: "#EC4899",
"textIcon": "RC", textIcon: "RC",
"website": "https://recraft.ai", website: "https://recraft.ai",
"notice": { notice: {
"apiKeyUrl": "https://www.recraft.ai/profile/api" apiKeyUrl: "https://www.recraft.ai/profile/api",
} },
}, },
category: "apikey", category: "apikey",
authType: "apikey", authType: "apikey",
"transport": null, transport: null,
media: { models: [
{ id: "recraftv3", name: "Recraft V3", params: ["n","size","style"], kind: "image" },
{ id: "recraftv2", name: "Recraft V2", params: ["n","size","style"], kind: "image" },
],
serviceKinds: ["image"], serviceKinds: ["image"],
imageConfig: { baseUrl: "https://external.api.recraft.ai/v1/images/generations" } imageConfig: { baseUrl: "https://external.api.recraft.ai/v1/images/generations" },
},
"models": [
{
"id": "recraftv3",
"name": "Recraft V3",
"type": "image",
"params": [
"n",
"size",
"style"
]
},
{
"id": "recraftv2",
"name": "Recraft V2",
"type": "image",
"params": [
"n",
"size",
"style"
]
}
]
}; };

View file

@ -1,54 +1,29 @@
export default { export default {
"id": "runwayml", id: "runwayml",
"alias": "runwayml", alias: "runwayml",
aliases: [
"runway",
],
uiAlias: "runway",
display: { display: {
"name": "Runway ML", name: "Runway ML",
"icon": "movie", icon: "movie",
"color": "#000000", color: "#000000",
"textIcon": "RW", textIcon: "RW",
"website": "https://runwayml.com", website: "https://runwayml.com",
"notice": { notice: {
"apiKeyUrl": "https://dev.runwayml.com" apiKeyUrl: "https://dev.runwayml.com",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "runway",
authType: "apikey", authType: "apikey",
aliases: ["runway"], transport: null,
"transport": null, models: [
media: { { id: "gen4_image", name: "Gen-4 Image", params: ["size"], kind: "image" },
{ id: "gen4_image_turbo", name: "Gen-4 Image Turbo", params: ["size"], kind: "image" },
{ id: "gen4_turbo", name: "Gen-4 Turbo", params: [], kind: "video" },
{ id: "gen3a_turbo", name: "Gen-3 Alpha Turbo", params: [], kind: "video" },
],
serviceKinds: ["image"], serviceKinds: ["image"],
imageConfig: { baseUrl: "https://api.dev.runwayml.com/v1" } imageConfig: { baseUrl: "https://api.dev.runwayml.com/v1" },
},
"models": [
{
"id": "gen4_image",
"name": "Gen-4 Image",
"type": "image",
"params": [
"size"
]
},
{
"id": "gen4_image_turbo",
"name": "Gen-4 Image Turbo",
"type": "image",
"params": [
"size"
]
},
{
"id": "gen4_turbo",
"name": "Gen-4 Turbo",
"type": "video",
"params": []
},
{
"id": "gen3a_turbo",
"name": "Gen-3 Alpha Turbo",
"type": "video",
"params": []
}
]
}; };

View file

@ -1,38 +1,19 @@
export default { export default {
"id": "sdwebui", id: "sdwebui",
"alias": "sdwebui", alias: "sdwebui",
display: { display: {
"name": "SD WebUI", name: "SD WebUI",
"icon": "brush", icon: "brush",
"color": "#FF7043", color: "#FF7043",
"textIcon": "SD", textIcon: "SD",
"website": "https://github.com/AUTOMATIC1111/stable-diffusion-webui" website: "https://github.com/AUTOMATIC1111/stable-diffusion-webui",
}, },
category: "apikey", category: "apikey",
"transport": null, transport: null,
media: { models: [
{ id: "stable-diffusion-v1-5", name: "Stable Diffusion v1.5", params: ["n","size"], kind: "image" },
{ id: "sdxl-base-1.0", name: "SDXL Base 1.0", params: ["n","size"], kind: "image" },
],
serviceKinds: ["image"], serviceKinds: ["image"],
imageConfig: { baseUrl: "http://localhost:7860/sdapi/v1/txt2img" } imageConfig: { baseUrl: "http://localhost:7860/sdapi/v1/txt2img" },
},
"models": [
{
"id": "stable-diffusion-v1-5",
"name": "Stable Diffusion v1.5",
"type": "image",
"params": [
"n",
"size"
]
},
{
"id": "sdxl-base-1.0",
"name": "SDXL Base 1.0",
"type": "image",
"params": [
"n",
"size"
]
}
]
}; };

View file

@ -1,86 +1,37 @@
export default { export default {
"id": "siliconflow", id: "siliconflow",
"alias": "siliconflow", alias: "siliconflow",
display: { display: {
"name": "SiliconFlow", name: "SiliconFlow",
"icon": "cloud_queue", icon: "cloud_queue",
"color": "#5B6EF5", color: "#5B6EF5",
"textIcon": "SF", textIcon: "SF",
"website": "https://cloud.siliconflow.com", website: "https://cloud.siliconflow.com",
"notice": { notice: {
"apiKeyUrl": "https://cloud.siliconflow.com/account/ak" apiKeyUrl: "https://cloud.siliconflow.com/account/ak",
} },
}, },
category: "apikey", category: "apikey",
"transport": { transport: {
"baseUrl": "https://api.siliconflow.com/v1/chat/completions", baseUrl: "https://api.siliconflow.com/v1/chat/completions",
"validateUrl": "https://api.siliconflow.com/v1/models" validateUrl: "https://api.siliconflow.com/v1/models",
}, },
"models": [ models: [
{ { id: "deepseek-ai/DeepSeek-V4-Pro", name: "DeepSeek V4 Pro" },
"id": "deepseek-ai/DeepSeek-V4-Pro", { id: "deepseek-ai/DeepSeek-V4-Flash", name: "DeepSeek V4 Flash" },
"name": "DeepSeek V4 Pro" { id: "deepseek-ai/DeepSeek-V3.2", name: "DeepSeek V3.2" },
}, { id: "deepseek-ai/DeepSeek-V3.2-Exp", name: "DeepSeek V3.2 Exp" },
{ { id: "deepseek-ai/DeepSeek-V3.1", name: "DeepSeek V3.1" },
"id": "deepseek-ai/DeepSeek-V4-Flash", { id: "deepseek-ai/DeepSeek-V3.1-Terminus", name: "DeepSeek V3.1 Terminus" },
"name": "DeepSeek V4 Flash" { id: "deepseek-ai/DeepSeek-R1", name: "DeepSeek R1" },
}, { id: "Qwen/Qwen3.5-397B-A17B", name: "Qwen 3.5 397B A17B" },
{ { id: "Qwen/Qwen3.5-122B-A10B", name: "Qwen 3.5 122B A10B" },
"id": "deepseek-ai/DeepSeek-V3.2", { id: "zai-org/GLM-5.1", name: "GLM 5.1" },
"name": "DeepSeek V3.2" { id: "zai-org/GLM-5", name: "GLM 5" },
}, { id: "moonshotai/Kimi-K2.6", name: "Kimi K2.6" },
{ { id: "moonshotai/Kimi-K2.5", name: "Kimi K2.5" },
"id": "deepseek-ai/DeepSeek-V3.2-Exp", { id: "openai/gpt-oss-120b", name: "GPT OSS 120B" },
"name": "DeepSeek V3.2 Exp" { id: "MiniMaxAI/MiniMax-M2.5", name: "MiniMax M2.5" },
}, { id: "inclusionAI/Ling-flash-2.0", name: "Ling Flash 2.0" },
{ ],
"id": "deepseek-ai/DeepSeek-V3.1",
"name": "DeepSeek V3.1"
},
{
"id": "deepseek-ai/DeepSeek-V3.1-Terminus",
"name": "DeepSeek V3.1 Terminus"
},
{
"id": "deepseek-ai/DeepSeek-R1",
"name": "DeepSeek R1"
},
{
"id": "Qwen/Qwen3.5-397B-A17B",
"name": "Qwen 3.5 397B A17B"
},
{
"id": "Qwen/Qwen3.5-122B-A10B",
"name": "Qwen 3.5 122B A10B"
},
{
"id": "zai-org/GLM-5.1",
"name": "GLM 5.1"
},
{
"id": "zai-org/GLM-5",
"name": "GLM 5"
},
{
"id": "moonshotai/Kimi-K2.6",
"name": "Kimi K2.6"
},
{
"id": "moonshotai/Kimi-K2.5",
"name": "Kimi K2.5"
},
{
"id": "openai/gpt-oss-120b",
"name": "GPT OSS 120B"
},
{
"id": "MiniMaxAI/MiniMax-M2.5",
"name": "MiniMax M2.5"
},
{
"id": "inclusionAI/Ling-flash-2.0",
"name": "Ling Flash 2.0"
}
]
}; };

View file

@ -1,67 +1,30 @@
export default { export default {
"id": "stability-ai", id: "stability-ai",
"alias": "stability-ai", alias: "stability-ai",
aliases: [
"stability",
],
uiAlias: "stability",
display: { display: {
"name": "Stability AI", name: "Stability AI",
"icon": "image", icon: "image",
"color": "#8B5CF6", color: "#8B5CF6",
"textIcon": "SA", textIcon: "SA",
"website": "https://stability.ai", website: "https://stability.ai",
"notice": { notice: {
"apiKeyUrl": "https://platform.stability.ai/account/keys" apiKeyUrl: "https://platform.stability.ai/account/keys",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "stability",
authType: "apikey", authType: "apikey",
aliases: ["stability"], transport: null,
"transport": null, models: [
media: { { id: "stable-image-ultra", name: "Stable Image Ultra", params: ["size"], kind: "image" },
{ id: "stable-image-core", name: "Stable Image Core", params: ["size","style"], kind: "image" },
{ id: "sd3.5-large", name: "Stable Diffusion 3.5 Large", params: ["size"], kind: "image" },
{ id: "sd3.5-large-turbo", name: "Stable Diffusion 3.5 Large Turbo", params: ["size"], kind: "image" },
{ id: "sd3.5-medium", name: "Stable Diffusion 3.5 Medium", params: ["size"], kind: "image" },
],
serviceKinds: ["image"], serviceKinds: ["image"],
imageConfig: { baseUrl: "https://api.stability.ai/v2beta/stable-image/generate" } imageConfig: { baseUrl: "https://api.stability.ai/v2beta/stable-image/generate" },
},
"models": [
{
"id": "stable-image-ultra",
"name": "Stable Image Ultra",
"type": "image",
"params": [
"size"
]
},
{
"id": "stable-image-core",
"name": "Stable Image Core",
"type": "image",
"params": [
"size",
"style"
]
},
{
"id": "sd3.5-large",
"name": "Stable Diffusion 3.5 Large",
"type": "image",
"params": [
"size"
]
},
{
"id": "sd3.5-large-turbo",
"name": "Stable Diffusion 3.5 Large Turbo",
"type": "image",
"params": [
"size"
]
},
{
"id": "sd3.5-medium",
"name": "Stable Diffusion 3.5 Medium",
"type": "image",
"params": [
"size"
]
}
]
}; };

View file

@ -1,52 +1,29 @@
export default { export default {
"id": "together", id: "together",
"alias": "together", alias: "together",
display: { display: {
"name": "Together AI", name: "Together AI",
"icon": "group_work", icon: "group_work",
"color": "#0F6FFF", color: "#0F6FFF",
"textIcon": "TG", textIcon: "TG",
"website": "https://www.together.ai", website: "https://www.together.ai",
"notice": { notice: {
"apiKeyUrl": "https://api.together.xyz/settings/api-keys" apiKeyUrl: "https://api.together.xyz/settings/api-keys",
} },
}, },
category: "apikey", category: "apikey",
authType: "apikey", authType: "apikey",
"transport": { transport: {
"baseUrl": "https://api.together.xyz/v1/chat/completions", baseUrl: "https://api.together.xyz/v1/chat/completions",
"validateUrl": "https://api.together.xyz/v1/models" validateUrl: "https://api.together.xyz/v1/models",
}, },
media: { models: [
embeddingConfig: { baseUrl: "https://api.together.xyz/v1/embeddings" } { id: "meta-llama/Llama-3.3-70B-Instruct-Turbo", name: "Llama 3.3 70B Turbo" },
}, { id: "deepseek-ai/DeepSeek-R1", name: "DeepSeek R1" },
"models": [ { id: "Qwen/Qwen3-235B-A22B", name: "Qwen3 235B" },
{ { id: "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8", name: "Llama 4 Maverick" },
"id": "meta-llama/Llama-3.3-70B-Instruct-Turbo", { id: "BAAI/bge-large-en-v1.5", name: "BGE Large EN v1.5", kind: "embedding" },
"name": "Llama 3.3 70B Turbo" { id: "togethercomputer/m2-bert-80M-8k-retrieval", name: "M2 BERT 80M 8K", kind: "embedding" },
}, ],
{ embeddingConfig: { baseUrl: "https://api.together.xyz/v1/embeddings" },
"id": "deepseek-ai/DeepSeek-R1",
"name": "DeepSeek R1"
},
{
"id": "Qwen/Qwen3-235B-A22B",
"name": "Qwen3 235B"
},
{
"id": "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8",
"name": "Llama 4 Maverick"
},
{
"id": "BAAI/bge-large-en-v1.5",
"name": "BGE Large EN v1.5",
"type": "embedding"
},
{
"id": "togethercomputer/m2-bert-80M-8k-retrieval",
"name": "M2 BERT 80M 8K",
"type": "embedding"
}
]
}; };

View file

@ -1,36 +1,39 @@
export default { export default {
"id": "vercel-ai-gateway", id: "vercel-ai-gateway",
"alias": "vercel-ai-gateway", alias: "vercel-ai-gateway",
aliases: [
"vercel",
],
uiAlias: "vercel",
display: { display: {
"name": "Vercel AI Gateway", name: "Vercel AI Gateway",
"icon": "deployed_code", icon: "deployed_code",
"color": "#111827", color: "#111827",
"textIcon": "VG", textIcon: "VG",
"website": "https://vercel.com/ai-gateway", website: "https://vercel.com/ai-gateway",
"notice": { notice: {
"text": "Unified OpenAI-compatible endpoint from Vercel. Use your AI Gateway API key, then pick models with provider/model IDs like anthropic/claude-sonnet-4.6 or openai/gpt-5.4.", text: "Unified OpenAI-compatible endpoint from Vercel. Use your AI Gateway API key, then pick models with provider/model IDs like anthropic/claude-sonnet-4.6 or openai/gpt-5.4.",
"apiKeyUrl": "https://vercel.com/dashboard/~/ai-gateway" apiKeyUrl: "https://vercel.com/dashboard/~/ai-gateway",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "vercel", transport: {
passthroughModels: true, baseUrl: "https://ai-gateway.vercel.sh/v1/chat/completions",
aliases: ["vercel"], retry: {
"transport": { "429": 2,
"baseUrl": "https://ai-gateway.vercel.sh/v1/chat/completions",
"retry": {
"429": 2
}, },
usage: { url: "https://ai-gateway.vercel.sh/v1/credits" } usage: {
url: "https://ai-gateway.vercel.sh/v1/credits",
}, },
media: { },
serviceKinds: ["llm", "embedding", "image", "imageToText", "webSearch"], serviceKinds: ["llm","embedding","image","imageToText","webSearch"],
embeddingConfig: { baseUrl: "https://ai-gateway.vercel.sh/v1/embeddings" },
imageConfig: { baseUrl: "https://ai-gateway.vercel.sh/v1/images/generations" },
searchViaChat: { defaultModel: "openai/gpt-4o-mini", pricingUrl: "https://vercel.com/docs/ai-gateway/pricing" }, searchViaChat: { defaultModel: "openai/gpt-4o-mini", pricingUrl: "https://vercel.com/docs/ai-gateway/pricing" },
modelsFetcher: { url: "https://ai-gateway.vercel.sh/v1/models", type: "openai" }, modelsFetcher: { url: "https://ai-gateway.vercel.sh/v1/models", type: "openai" },
imageConfig: { baseUrl: "https://ai-gateway.vercel.sh/v1/images/generations" }, passthroughModels: true,
embeddingConfig: { baseUrl: "https://ai-gateway.vercel.sh/v1/embeddings" }, features: {
passthroughModels: true usage: true,
usageApikey: true,
}, },
features: {"usage":true,"usageApikey":true},
}; };

View file

@ -1,39 +1,28 @@
export default { export default {
"id": "vertex-partner", id: "vertex-partner",
"alias": "vertex-partner", alias: "vertex-partner",
aliases: [
"vxp",
],
uiAlias: "vxp",
display: { display: {
"name": "Vertex Partner", name: "Vertex Partner",
"icon": "cloud", icon: "cloud",
"color": "#34A853", color: "#34A853",
"textIcon": "VP", textIcon: "VP",
"website": "https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-partner-models", website: "https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-partner-models",
"notice": { notice: {
"apiKeyUrl": "https://console.cloud.google.com/iam-admin/serviceaccounts" apiKeyUrl: "https://console.cloud.google.com/iam-admin/serviceaccounts",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "vxp", transport: {
aliases: ["vxp"], baseUrl: "https://aiplatform.googleapis.com",
"transport": {
"baseUrl": "https://aiplatform.googleapis.com"
}, },
"models": [ models: [
{ { id: "deepseek-ai/deepseek-v3.2-maas", name: "DeepSeek V3.2 (Vertex)" },
"id": "deepseek-ai/deepseek-v3.2-maas", { id: "qwen/qwen3-next-80b-a3b-thinking-maas", name: "Qwen3 Next 80B Thinking (Vertex)" },
"name": "DeepSeek V3.2 (Vertex)" { id: "qwen/qwen3-next-80b-a3b-instruct-maas", name: "Qwen3 Next 80B Instruct (Vertex)" },
}, { id: "zai-org/glm-5-maas", name: "GLM-5 (Vertex)" },
{ ],
"id": "qwen/qwen3-next-80b-a3b-thinking-maas",
"name": "Qwen3 Next 80B Thinking (Vertex)"
},
{
"id": "qwen/qwen3-next-80b-a3b-instruct-maas",
"name": "Qwen3 Next 80B Instruct (Vertex)"
},
{
"id": "zai-org/glm-5-maas",
"name": "GLM-5 (Vertex)"
}
]
}; };

View file

@ -1,44 +1,31 @@
export default { export default {
"id": "vertex", id: "vertex",
"alias": "vertex", alias: "vertex",
aliases: [
"vx",
],
uiAlias: "vx",
display: { display: {
"name": "Vertex AI", name: "Vertex AI",
"icon": "cloud", icon: "cloud",
"color": "#4285F4", color: "#4285F4",
"textIcon": "VX", textIcon: "VX",
"website": "https://cloud.google.com/vertex-ai", website: "https://cloud.google.com/vertex-ai",
"notice": { notice: {
"text": "New Google Cloud accounts get $300 free credits. Requires GCP project + Service Account with Vertex AI API enabled.", text: "New Google Cloud accounts get $300 free credits. Requires GCP project + Service Account with Vertex AI API enabled.",
"apiKeyUrl": "https://console.cloud.google.com/iam-admin/serviceaccounts" apiKeyUrl: "https://console.cloud.google.com/iam-admin/serviceaccounts",
} },
}, },
category: "freeTier", category: "freeTier",
uiAlias: "vx", transport: {
aliases: ["vx"], baseUrl: "https://aiplatform.googleapis.com",
"transport": { format: "vertex",
"baseUrl": "https://aiplatform.googleapis.com",
"format": "vertex"
}, },
media: { models: [
serviceKinds: ["llm", "imageToText"] { id: "gemini-3.1-pro-preview", name: "Gemini 3.1 Pro Preview" },
}, { id: "gemini-3.1-flash-lite-preview", name: "Gemini 3.1 Flash Lite Preview" },
"models": [ { id: "gemini-3-flash-preview", name: "Gemini 3 Flash Preview" },
{ { id: "gemini-2.5-flash", name: "Gemini 2.5 Flash" },
"id": "gemini-3.1-pro-preview", ],
"name": "Gemini 3.1 Pro Preview" serviceKinds: ["llm","imageToText"],
},
{
"id": "gemini-3.1-flash-lite-preview",
"name": "Gemini 3.1 Flash Lite Preview"
},
{
"id": "gemini-3-flash-preview",
"name": "Gemini 3 Flash Preview"
},
{
"id": "gemini-2.5-flash",
"name": "Gemini 2.5 Flash"
}
]
}; };

View file

@ -1,60 +1,34 @@
export default { export default {
"id": "volcengine-ark", id: "volcengine-ark",
"alias": "volcengine-ark", alias: "volcengine-ark",
aliases: [
"ark",
],
uiAlias: "ark",
display: { display: {
"name": "Volcengine Ark", name: "Volcengine Ark",
"icon": "cloud", icon: "cloud",
"color": "#1677FF", color: "#1677FF",
"textIcon": "ARK", textIcon: "ARK",
"website": "https://ark.cn-beijing.volces.com", website: "https://ark.cn-beijing.volces.com",
"notice": { notice: {
"apiKeyUrl": "https://console.volcengine.com/ark/region:ark+cn-beijing/apiKey" apiKeyUrl: "https://console.volcengine.com/ark/region:ark+cn-beijing/apiKey",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "ark", transport: {
aliases: ["ark"], baseUrl: "https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions",
"transport": { headers: {},
"baseUrl": "https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions",
"headers": {}
}, },
"models": [ models: [
{ { id: "Doubao-Seed-2.0-Code", name: "Doubao-Seed-2.0-Code" },
"id": "Doubao-Seed-2.0-Code", { id: "Doubao-Seed-2.0-pro", name: "Doubao-Seed-2.0-pro" },
"name": "Doubao-Seed-2.0-Code" { id: "Doubao-Seed-2.0-lite", name: "Doubao-Seed-2.0-lite" },
}, { id: "Doubao-Seed-Code", name: "Doubao-Seed-Code" },
{ { id: "DeepSeek-V4-Flash", name: "DeepSeek-V4-Flash" },
"id": "Doubao-Seed-2.0-pro", { id: "DeepSeek-V4-Pro", name: "DeepSeek-V4-Pro" },
"name": "Doubao-Seed-2.0-pro" { id: "GLM-5.1", name: "GLM-5.1" },
}, { id: "MiniMax-M2.7", name: "MiniMax-M2.7" },
{ { id: "Kimi-K2.6", name: "Kimi-K2.6" },
"id": "Doubao-Seed-2.0-lite", ],
"name": "Doubao-Seed-2.0-lite"
},
{
"id": "Doubao-Seed-Code",
"name": "Doubao-Seed-Code"
},
{
"id": "DeepSeek-V4-Flash",
"name": "DeepSeek-V4-Flash"
},
{
"id": "DeepSeek-V4-Pro",
"name": "DeepSeek-V4-Pro"
},
{
"id": "GLM-5.1",
"name": "GLM-5.1"
},
{
"id": "MiniMax-M2.7",
"name": "MiniMax-M2.7"
},
{
"id": "Kimi-K2.6",
"name": "Kimi-K2.6"
}
]
}; };

View file

@ -1,60 +1,29 @@
export default { export default {
"id": "voyage-ai", id: "voyage-ai",
"alias": "voyage-ai", alias: "voyage-ai",
uiAlias: "voyage",
display: { display: {
"name": "Voyage AI", name: "Voyage AI",
"icon": "data_array", icon: "data_array",
"color": "#0EA5E9", color: "#0EA5E9",
"textIcon": "VG", textIcon: "VG",
"website": "https://www.voyageai.com", website: "https://www.voyageai.com",
"notice": { notice: {
"apiKeyUrl": "https://dash.voyageai.com/api-keys" apiKeyUrl: "https://dash.voyageai.com/api-keys",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "voyage",
authType: "apikey", authType: "apikey",
"transport": null, transport: null,
media: { models: [
{ id: "voyage-3-large", name: "Voyage 3 Large", kind: "embedding" },
{ id: "voyage-3.5", name: "Voyage 3.5", kind: "embedding" },
{ id: "voyage-3.5-lite", name: "Voyage 3.5 Lite", kind: "embedding" },
{ id: "voyage-code-3", name: "Voyage Code 3", kind: "embedding" },
{ id: "voyage-finance-2", name: "Voyage Finance 2", kind: "embedding" },
{ id: "voyage-law-2", name: "Voyage Law 2", kind: "embedding" },
{ id: "voyage-multilingual-2", name: "Voyage Multilingual 2", kind: "embedding" },
],
serviceKinds: ["embedding"], serviceKinds: ["embedding"],
embeddingConfig: { baseUrl: "https://api.voyageai.com/v1/embeddings" } embeddingConfig: { baseUrl: "https://api.voyageai.com/v1/embeddings" },
},
"models": [
{
"id": "voyage-3-large",
"name": "Voyage 3 Large",
"type": "embedding"
},
{
"id": "voyage-3.5",
"name": "Voyage 3.5",
"type": "embedding"
},
{
"id": "voyage-3.5-lite",
"name": "Voyage 3.5 Lite",
"type": "embedding"
},
{
"id": "voyage-code-3",
"name": "Voyage Code 3",
"type": "embedding"
},
{
"id": "voyage-finance-2",
"name": "Voyage Finance 2",
"type": "embedding"
},
{
"id": "voyage-law-2",
"name": "Voyage Law 2",
"type": "embedding"
},
{
"id": "voyage-multilingual-2",
"name": "Voyage Multilingual 2",
"type": "embedding"
}
]
}; };

View file

@ -1,60 +1,42 @@
export default { export default {
"id": "xai", id: "xai",
"alias": "xai", alias: "xai",
display: { display: {
"name": "xAI (Grok)", name: "xAI (Grok)",
"icon": "auto_awesome", icon: "auto_awesome",
"color": "#1DA1F2", color: "#1DA1F2",
"textIcon": "XA", textIcon: "XA",
"website": "https://x.ai", website: "https://x.ai",
"notice": { notice: {
"apiKeyUrl": "https://console.x.ai" apiKeyUrl: "https://console.x.ai",
} },
}, },
category: "apikey", category: "apikey",
authModes: [
"oauth",
"apikey",
],
hasOAuth: true, hasOAuth: true,
authModes: ["oauth","apikey"], transport: {
"transport": { baseUrl: "https://api.x.ai/v1/chat/completions",
"baseUrl": "https://api.x.ai/v1/chat/completions", validateUrl: "https://api.x.ai/v1/models",
"validateUrl": "https://api.x.ai/v1/models", responsesUrl: "https://api.x.ai/v1/responses",
"responsesUrl": "https://api.x.ai/v1/responses", clientId: "b1a00492-073a-47ea-816f-4c329264a828",
"clientId": "b1a00492-073a-47ea-816f-4c329264a828", tokenUrl: "https://auth.x.ai/oauth2/token",
"tokenUrl": "https://auth.x.ai/oauth2/token", refreshUrl: "https://auth.x.ai/oauth2/token",
"refreshUrl": "https://auth.x.ai/oauth2/token"
}, },
media: { models: [
serviceKinds: ["llm", "imageToText", "webSearch", "image"], { id: "grok-4", name: "Grok 4" },
searchViaChat: { defaultModel: "grok-4.20-reasoning", endpoint: "https://api.x.ai/v1/responses", pricingUrl: "https://x.ai/api#pricing" }, { id: "grok-4-fast-reasoning", name: "Grok 4 Fast Reasoning" },
imageConfig: { baseUrl: "https://api.x.ai/v1/images/generations", bodyFields: ["model", "prompt", "n", "response_format"] }, { id: "grok-code-fast-1", name: "Grok Code Fast" },
authModes: ["oauth", "apikey"], { id: "grok-3", name: "Grok 3" },
hasOAuth: true { id: "grok-2-image-1212", name: "Grok 2 Image", params: ["n","response_format"], kind: "image" },
],
serviceKinds: ["llm","imageToText","webSearch","image"],
imageConfig: { baseUrl: "https://api.x.ai/v1/images/generations", bodyFields: ["model","prompt","n","response_format"] },
searchViaChat: {
defaultModel: "grok-4.20-reasoning",
endpoint: "https://api.x.ai/v1/responses",
pricingUrl: "https://x.ai/api#pricing",
}, },
"models": [
{
"id": "grok-4",
"name": "Grok 4"
},
{
"id": "grok-4-fast-reasoning",
"name": "Grok 4 Fast Reasoning"
},
{
"id": "grok-code-fast-1",
"name": "Grok Code Fast"
},
{
"id": "grok-3",
"name": "Grok 3"
},
{
"id": "grok-2-image-1212",
"name": "Grok 2 Image",
"type": "image",
"params": [
"n",
"response_format"
]
}
]
}; };

View file

@ -1,40 +1,29 @@
export default { export default {
"id": "xiaomi-mimo", id: "xiaomi-mimo",
"alias": "xiaomi-mimo", alias: "xiaomi-mimo",
aliases: [
"mimo",
],
uiAlias: "mimo",
display: { display: {
"name": "Xiaomi MiMo", name: "Xiaomi MiMo",
"icon": "smart_toy", icon: "smart_toy",
"color": "#FF6900", color: "#FF6900",
"textIcon": "XM", textIcon: "XM",
"website": "https://xiaomimimo.com", website: "https://xiaomimimo.com",
"notice": { notice: {
"apiKeyUrl": "https://xiaomimimo.com" apiKeyUrl: "https://xiaomimimo.com",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "mimo", transport: {
aliases: ["mimo"], baseUrl: "https://api.xiaomimimo.com/v1/chat/completions",
"transport": { validateUrl: "https://api.xiaomimimo.com/v1/models",
"baseUrl": "https://api.xiaomimimo.com/v1/chat/completions",
"validateUrl": "https://api.xiaomimimo.com/v1/models"
}, },
"models": [ models: [
{ { id: "mimo-v2.5-pro", name: "MiMo V2.5 Pro" },
"id": "mimo-v2.5-pro", { id: "mimo-v2.5", name: "MiMo V2.5" },
"name": "MiMo V2.5 Pro" { id: "mimo-v2-omni", name: "MiMo V2 Omni" },
}, { id: "mimo-v2-flash", name: "MiMo V2 Flash" },
{ ],
"id": "mimo-v2.5",
"name": "MiMo V2.5"
},
{
"id": "mimo-v2-omni",
"name": "MiMo V2 Omni"
},
{
"id": "mimo-v2-flash",
"name": "MiMo V2 Flash"
}
]
}; };

View file

@ -1,70 +1,42 @@
export default { export default {
"id": "xiaomi-tokenplan", id: "xiaomi-tokenplan",
"alias": "xiaomi-tokenplan", alias: "xiaomi-tokenplan",
aliases: [
"xmtp",
],
uiAlias: "xmtp",
display: { display: {
"name": "Xiaomi MiMo (Token Plan)", name: "Xiaomi MiMo (Token Plan)",
"icon": "smart_toy", icon: "smart_toy",
"color": "#FF6700", color: "#FF6700",
"textIcon": "XT", textIcon: "XT",
"website": "https://mimo.xiaomi.com", website: "https://mimo.xiaomi.com",
"notice": { notice: {
"text": "Xiaomi MiMo Token Plan subscription (API key starts with tp-). Token Plan keys are cluster-specific — select the region matching your subscription.", text: "Xiaomi MiMo Token Plan subscription (API key starts with tp-). Token Plan keys are cluster-specific — select the region matching your subscription.",
"apiKeyUrl": "https://mimo.xiaomi.com" apiKeyUrl: "https://mimo.xiaomi.com",
} },
}, },
category: "apikey", category: "apikey",
uiAlias: "xmtp",
hasProviderSpecificData: true, hasProviderSpecificData: true,
defaultRegion: "sgp", defaultRegion: "sgp",
aliases: ["xmtp"], transport: {
"transport": { baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1/chat/completions",
"baseUrl": "https://token-plan-sgp.xiaomimimo.com/v1/chat/completions",
regions: { regions: {
sgp: "https://token-plan-sgp.xiaomimimo.com/v1", sgp: "https://token-plan-sgp.xiaomimimo.com/v1",
cn: "https://token-plan-cn.xiaomimimo.com/v1", cn: "https://token-plan-cn.xiaomimimo.com/v1",
ams: "https://token-plan-ams.xiaomimimo.com/v1" ams: "https://token-plan-ams.xiaomimimo.com/v1",
}, },
defaultRegion: "sgp" defaultRegion: "sgp",
}, },
"models": [ models: [
{ { id: "mimo-v2.5-pro", name: "MiMo V2.5 Pro" },
"id": "mimo-v2.5-pro", { id: "mimo-v2.5-pro-claude", name: "MiMo V2.5 Pro (Claude Native)", targetFormat: "claude", upstreamModelId: "mimo-v2.5-pro" },
"name": "MiMo V2.5 Pro" { id: "mimo-v2.5", name: "MiMo V2.5" },
}, { id: "mimo-v2-pro", name: "MiMo V2 Pro" },
{ { id: "mimo-v2-omni", name: "MiMo V2 Omni" },
"id": "mimo-v2.5-pro-claude", { id: "mimo-v2-tts", name: "MiMo V2 TTS" },
"name": "MiMo V2.5 Pro (Claude Native)", { id: "mimo-v2.5-tts", name: "MiMo V2.5 TTS" },
"targetFormat": "claude", { id: "mimo-v2.5-tts-voiceclone", name: "MiMo V2.5 TTS Voice Clone" },
"upstreamModelId": "mimo-v2.5-pro" { id: "mimo-v2.5-tts-voicedesign", name: "MiMo V2.5 TTS Voice Design" },
}, ],
{
"id": "mimo-v2.5",
"name": "MiMo V2.5"
},
{
"id": "mimo-v2-pro",
"name": "MiMo V2 Pro"
},
{
"id": "mimo-v2-omni",
"name": "MiMo V2 Omni"
},
{
"id": "mimo-v2-tts",
"name": "MiMo V2 TTS"
},
{
"id": "mimo-v2.5-tts",
"name": "MiMo V2.5 TTS"
},
{
"id": "mimo-v2.5-tts-voiceclone",
"name": "MiMo V2.5 TTS Voice Clone"
},
{
"id": "mimo-v2.5-tts-voicedesign",
"name": "MiMo V2.5 TTS Voice Design"
}
]
}; };

View file

@ -613,19 +613,20 @@ function TtsExampleCard({ providerId }) {
</span> </span>
</Row> </Row>
{/* Model selector — prefer ttsConfig.models, else providerModels via modelKey */} {/* Model selector — prefer PROVIDER_MODELS[kind=tts], else providerModels via modelKey */}
{config.hasModelSelector && (config.modelKey || AI_PROVIDERS[providerId]?.ttsConfig?.models?.length) && ( {config.hasModelSelector && (config.modelKey || getModelsByProviderId(providerId).some(m => (m.kind || m.type) === "tts")) && (
<Row label="Model"> <Row label="Model">
<select <select
value={selectedModel} value={selectedModel}
onChange={(e) => setSelectedModel(e.target.value)} onChange={(e) => setSelectedModel(e.target.value)}
className="w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary" className="w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"
> >
{((AI_PROVIDERS[providerId]?.ttsConfig?.models?.length {(() => {
? AI_PROVIDERS[providerId].ttsConfig.models const ttsModels = getModelsByProviderId(providerId).filter(m => (m.kind || m.type) === "tts");
: getModelsByProviderId(config.modelKey)) || []).map((m) => ( return (ttsModels.length ? ttsModels : getModelsByProviderId(config.modelKey) || []).map((m) => (
<option key={m.id} value={m.id}>{m.name || m.id}</option> <option key={m.id} value={m.id}>{m.name || m.id}</option>
))} ));
})()}
</select> </select>
</Row> </Row>
)} )}

View file

@ -44,14 +44,14 @@ export async function POST(request, { params }) {
// Warm up with first model to trigger token refresh (if needed) before parallel calls. // Warm up with first model to trigger token refresh (if needed) before parallel calls.
// This prevents race condition where multiple requests concurrently refresh the same token. // This prevents race condition where multiple requests concurrently refresh the same token.
const [first, ...rest] = models; const [first, ...rest] = models;
const firstKind = first.type || "llm"; const firstKind = first.kind || first.type || "llm";
const firstResult = await pingModelByKind(`${alias}/${first.id}`, firstKind, baseUrl); const firstResult = await pingModelByKind(`${alias}/${first.id}`, firstKind, baseUrl);
const results = [{ modelId: first.id, name: first.name || first.id, ...firstResult }]; const results = [{ modelId: first.id, name: first.name || first.id, ...firstResult }];
if (rest.length > 0) { if (rest.length > 0) {
const restResults = await Promise.all( const restResults = await Promise.all(
rest.map(async (model) => { rest.map(async (model) => {
const result = await pingModelByKind(`${alias}/${model.id}`, model.type || "llm", baseUrl); const result = await pingModelByKind(`${alias}/${model.id}`, model.kind || model.type || "llm", baseUrl);
return { modelId: model.id, name: model.name || model.id, ...result }; return { modelId: model.id, name: model.name || model.id, ...result };
}) })
); );

View file

@ -75,7 +75,7 @@ async function probeMediaProvider(provider, apiKey) {
const res = await fetch(cfg.baseUrl, { const res = await fetch(cfg.baseUrl, {
method, method,
headers, headers,
body: method === "GET" ? undefined : JSON.stringify({ input: "ping", text: "ping", prompt: "ping", model: cfg.models?.[0]?.id || "test" }), body: method === "GET" ? undefined : JSON.stringify({ input: "ping", text: "ping", prompt: "ping", model: getDefaultModel(provider) || "test" }),
signal: AbortSignal.timeout(8000), signal: AbortSignal.timeout(8000),
}); });
return res.status !== 401 && res.status !== 403; return res.status !== 401 && res.status !== 403;

View file

@ -52,21 +52,10 @@ function lookup(fullId) {
const list = PROVIDER_MODELS[alias] || PROVIDER_MODELS[providerId] || []; const list = PROVIDER_MODELS[alias] || PROVIDER_MODELS[providerId] || [];
const m = list.find((x) => x.id === modelId); const m = list.find((x) => x.id === modelId);
if (m) { if (m) {
const kind = m.type || "llm"; const kind = m.kind || m.type || "llm";
return buildInfo({ alias, providerId, model: m, kind, providerInfo }); return buildInfo({ alias, providerId, model: m, kind, providerInfo });
} }
// Sub-configs (TTS/STT/embedding only-in-config)
const subs = [
["tts", providerInfo?.ttsConfig],
["stt", providerInfo?.sttConfig],
["embedding", providerInfo?.embeddingConfig],
];
for (const [kind, cfg] of subs) {
const sm = cfg?.models?.find((x) => x.id === modelId);
if (sm) return buildInfo({ alias, providerId, model: sm, kind, providerInfo });
}
// Web search/fetch — virtual model id "search" / "fetch" // Web search/fetch — virtual model id "search" / "fetch"
if (modelId === "search" && providerInfo?.searchConfig) { if (modelId === "search" && providerInfo?.searchConfig) {
return buildInfo({ return buildInfo({

View file

@ -59,8 +59,9 @@ const MODEL_TYPE_TO_KIND = {
}; };
function modelKind(model) { function modelKind(model) {
if (!model?.type) return LLM_KIND; const k = model?.kind || model?.type;
return MODEL_TYPE_TO_KIND[model.type] || LLM_KIND; if (!k) return LLM_KIND;
return MODEL_TYPE_TO_KIND[k] || LLM_KIND;
} }
// For dynamic/unknown model IDs (compatible providers, alias map, custom models) // For dynamic/unknown model IDs (compatible providers, alias map, custom models)
@ -360,29 +361,8 @@ export async function buildModelsList(kindFilter) {
}); });
} }
// Merge sub-config models (TTS / embedding) that live on AI_PROVIDERS, not PROVIDER_MODELS
const providerInfo = AI_PROVIDERS[providerId];
const subConfigModels = [];
if (kindFilter.includes("tts") && Array.isArray(providerInfo?.ttsConfig?.models)) {
for (const m of providerInfo.ttsConfig.models) {
if (m?.id) subConfigModels.push(m.id);
}
}
if (kindFilter.includes("embedding") && Array.isArray(providerInfo?.embeddingConfig?.models)) {
for (const m of providerInfo.embeddingConfig.models) {
if (m?.id) subConfigModels.push(m.id);
}
}
for (const subId of subConfigModels) {
if (isDisabled(outputAlias, subId) || isDisabled(staticAlias, subId)) continue;
models.push({
id: `${outputAlias}/${subId}`,
object: "model",
owned_by: outputAlias,
});
}
// Web search/fetch — provider IS the model, expose as {alias}/search and/or {alias}/fetch with explicit kind // Web search/fetch — provider IS the model, expose as {alias}/search and/or {alias}/fetch with explicit kind
const providerInfo = AI_PROVIDERS[providerId];
if (kindFilter.includes("webSearch") && providerInfo?.searchConfig) { if (kindFilter.includes("webSearch") && providerInfo?.searchConfig) {
models.push({ models.push({
id: `${outputAlias}/search`, id: `${outputAlias}/search`,

View file

@ -1,13 +1,26 @@
// Provider definitions // Provider definitions
import REGISTRY from "open-sse/providers/registry/index.js"; import REGISTRY from "open-sse/providers/registry/index.js";
const MEDIA_ENTRY_KEYS = [
"serviceKinds", "ttsConfig", "sttConfig", "embeddingConfig",
"imageConfig", "imageToTextConfig", "videoConfig", "musicConfig",
"searchViaChat", "searchConfig", "fetchConfig",
"modelsFetcher", "mediaPriority", "hiddenKinds",
];
// Build provider UI object from registry entry // Build provider UI object from registry entry
function buildProviderEntry(r) { function buildProviderEntry(r) {
const mediaFields = {};
// Support both legacy r.media wrapper and new flat top-level fields (post-migration)
if (r.media) Object.assign(mediaFields, r.media);
for (const k of MEDIA_ENTRY_KEYS) {
if (r[k] !== undefined) mediaFields[k] = r[k];
}
return { return {
...(r.display || {}), ...(r.display || {}),
id: r.id, id: r.id,
alias: r.uiAlias || r.alias, alias: r.uiAlias || r.alias,
...(r.media || {}), ...mediaFields,
...(r.thinkingConfig ? { thinkingConfig: r.thinkingConfig } : {}), ...(r.thinkingConfig ? { thinkingConfig: r.thinkingConfig } : {}),
...(r.regions ? { regions: r.regions, defaultRegion: r.defaultRegion } : {}), ...(r.regions ? { regions: r.regions, defaultRegion: r.defaultRegion } : {}),
...(r.hasProviderSpecificData ? { hasProviderSpecificData: true } : {}), ...(r.hasProviderSpecificData ? { hasProviderSpecificData: true } : {}),
@ -17,7 +30,6 @@ function buildProviderEntry(r) {
...(r.authModes ? { authModes: r.authModes } : {}), ...(r.authModes ? { authModes: r.authModes } : {}),
...(r.authType ? { authType: r.authType } : {}), ...(r.authType ? { authType: r.authType } : {}),
...(r.authHint ? { authHint: r.authHint } : {}), ...(r.authHint ? { authHint: r.authHint } : {}),
...(r.hiddenKinds ? { hiddenKinds: r.hiddenKinds } : {}),
}; };
} }