Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
chore: Imporve cohere provider support (#2313)
backryunebef1648be16
diff --git a/open-sse/config/audioRegistry.ts b/open-sse/config/audioRegistry.tsindex 359214aabb..197b66aaf2 100644--- a/open-sse/config/audioRegistry.ts+++ b/open-sse/config/audioRegistry.ts@@ -34,6 +34,14 @@ export const AUDIO_TRANSCRIPTION_PROVIDERS: Record<string, AudioProvider> = {],},+ cohere: {+ id: "cohere",+ baseUrl: "https://api.cohere.com/v2/audio/transcriptions",+ authType: "apikey",+ authHeader: "bearer",+ models: [{ id: "cohere-transcribe-03-2026", name: "Cohere Transcribe 2026-03" }],+ },+groq: {id: "groq",baseUrl: "https://api.groq.com/openai/v1/audio/transcriptions",diff --git a/open-sse/config/embeddingRegistry.ts b/open-sse/config/embeddingRegistry.tsindex b09cec2e84..f7370ac1b8 100644--- a/open-sse/config/embeddingRegistry.ts+++ b/open-sse/config/embeddingRegistry.ts@@ -46,6 +46,20 @@ export function buildDynamicEmbeddingProvider(node: EmbeddingProviderNodeRow): E}export const EMBEDDING_PROVIDERS: Record<string, EmbeddingProvider> = {+ cohere: {+ id: "cohere",+ baseUrl: "https://api.cohere.com/v2/embed",+ authType: "apikey",+ authHeader: "bearer",+ models: [+ { id: "embed-v4.0", name: "Embed v4.0 Pro" },+ { id: "embed-multilingual-v3.0", name: "Embed Multilingual v3.0" },+ { id: "embed-multilingual-v3.0-images", name: "Embed Multilingual v3.0 Image" },+ { id: "embed-multilingual-light-v3.0", name: "Embed Multilingual Light v3.0" },+ { id: "embed-multilingual-light-v3.0-images", name: "Embed Multilingual Light v3.0 Image" },+ ],+ },+nebius: {id: "nebius",baseUrl: "https://api.tokenfactory.nebius.com/v1/embeddings",diff --git a/open-sse/config/providerRegistry.ts b/open-sse/config/providerRegistry.tsindex 0053f604ad..16a157df5f 100644--- a/open-sse/config/providerRegistry.ts+++ b/open-sse/config/providerRegistry.ts@@ -1000,14 +1000,13 @@ export const REGISTRY: Record<string, RegistryEntry> = {authHeader: "bearer",defaultContextLength: 128000,models: [- { 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.4-nano", name: "GPT-5.4 Nano" },- { id: "gpt-4.1", name: "GPT-4.1" },- { id: "gpt-4o", name: "GPT-4o", contextLength: 128000 },+ { id: "gpt-5.5", name: "GPT-5.5", contextLength: 1050000 },+ { id: "gpt-5.4", name: "GPT-5.4", contextLength: 1050000 },+ { id: "gpt-5.4-mini", name: "GPT-5.4 Mini", contextLength: 400000 },+ { id: "gpt-5.4-nano", name: "GPT-5.4 Nano", contextLength: 400000 },+ { id: "gpt-4.1", name: "GPT-4.1", contextLength: 1047576 },{ id: "gpt-4o-2024-11-20", name: "GPT-4o (Nov 2024)", contextLength: 128000 },- { id: "o3", name: "O3", unsupportedParams: REASONING_UNSUPPORTED },+ { id: "o3", name: "O3", contextLength: 200000, unsupportedParams: REASONING_UNSUPPORTED },],},@@ -2034,6 +2033,8 @@ export const REGISTRY: Record<string, RegistryEntry> = {{ id: "command-a-reasoning-08-2025", name: "Command A Reasoning (Aug 2025)" },{ id: "command-a-vision-07-2025", name: "Command A Vision (Jul 2025)" },{ id: "command-a-03-2025", name: "Command A (Mar 2025)" },+ { id: "command-r7b-12-2024", name: "Command R7B (Dec 2024)" },+ { id: "command-r-plus-08-2024", name: "Command R Plus (Aug 2024)" },{ id: "command-r-08-2024", name: "Command R (Aug 2024)" },],},diff --git a/open-sse/config/rerankRegistry.ts b/open-sse/config/rerankRegistry.tsindex b075bf4357..dd035d07c6 100644--- a/open-sse/config/rerankRegistry.ts+++ b/open-sse/config/rerankRegistry.ts@@ -15,8 +15,9 @@ export const RERANK_PROVIDERS = {authType: "apikey",authHeader: "bearer",models: [+ { id: "rerank-v4.0-pro", name: "Rerank v4.0 Pro" },+ { id: "rerank-v4.0-fast", name: "Rerank v4.0 Fast" },{ id: "rerank-v3.5", name: "Rerank v3.5" },- { id: "rerank-english-v3.0", name: "Rerank English v3.0" },{ id: "rerank-multilingual-v3.0", name: "Rerank Multilingual v3.0" },],},