From a4473d252aae5ee1591336264ce7fd7cdaa9835f Mon Sep 17 00:00:00 2001 From: Acbox Date: Sun, 22 Mar 2026 19:54:03 +0800 Subject: [PATCH] feat(provider): add 15 provider presets --- .gitignore | 1 + conf/providers/anthropic.yaml | 69 +++- conf/providers/deepseek.yaml | 19 + conf/providers/google.yaml | 185 ++++++++- conf/providers/groq.yaml | 83 +++++ conf/providers/huggingface.yaml | 62 ++++ conf/providers/lmstudio.yaml | 17 + conf/providers/minimax.yaml | 75 ++++ conf/providers/mistral.yaml | 102 +++++ conf/providers/moonshot.yaml | 89 +++++ conf/providers/newapi.yaml | 6 + conf/providers/ollama.yaml | 341 +++++++++++++++++ conf/providers/openai.yaml | 340 ++++++++++++++++- conf/providers/openrouter.yaml | 405 ++++++++++++++++++++ conf/providers/qwen.yaml | 640 ++++++++++++++++++++++++++++++++ conf/providers/xai.yaml | 82 ++++ 16 files changed, 2474 insertions(+), 42 deletions(-) create mode 100644 conf/providers/deepseek.yaml create mode 100644 conf/providers/groq.yaml create mode 100644 conf/providers/huggingface.yaml create mode 100644 conf/providers/lmstudio.yaml create mode 100644 conf/providers/minimax.yaml create mode 100644 conf/providers/mistral.yaml create mode 100644 conf/providers/moonshot.yaml create mode 100644 conf/providers/newapi.yaml create mode 100644 conf/providers/ollama.yaml create mode 100644 conf/providers/openrouter.yaml create mode 100644 conf/providers/qwen.yaml create mode 100644 conf/providers/xai.yaml diff --git a/.gitignore b/.gitignore index 2a5be4ee..cc0dd760 100644 --- a/.gitignore +++ b/.gitignore @@ -107,3 +107,4 @@ config.toml data _main-ref/ .toolkit/ +/scripts/vendor diff --git a/conf/providers/anthropic.yaml b/conf/providers/anthropic.yaml index d71bf0d8..3f210e72 100644 --- a/conf/providers/anthropic.yaml +++ b/conf/providers/anthropic.yaml @@ -1,9 +1,58 @@ name: Anthropic client_type: anthropic-messages -icon: https://www.anthropic.com/images/icons/apple-touch-icon.png +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/anthropic.svg base_url: https://api.anthropic.com models: + - model_id: claude-opus-4-6 + name: Claude Opus 4.6 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1000000 + + - model_id: claude-sonnet-4-6 + name: Claude Sonnet 4.6 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1000000 + + - model_id: claude-opus-4-5-20251101 + name: Claude Opus 4.5 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: claude-sonnet-4-5-20250929 + name: Claude Sonnet 4.5 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: claude-haiku-4-5-20251001 + name: Claude Haiku 4.5 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: claude-opus-4-1-20250805 + name: Claude Opus 4.1 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: claude-opus-4-20250514 + name: Claude Opus 4 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + - model_id: claude-sonnet-4-20250514 name: Claude Sonnet 4 type: chat @@ -11,22 +60,8 @@ models: compatibilities: [vision, tool-call, reasoning] context_window: 200000 - - model_id: claude-4-opus-20250514 - name: Claude 4 Opus - type: chat - config: - compatibilities: [vision, tool-call, reasoning] - context_window: 200000 - - - model_id: claude-3-7-sonnet-20250219 - name: Claude 3.7 Sonnet - type: chat - config: - compatibilities: [vision, tool-call, reasoning] - context_window: 200000 - - - model_id: claude-3-5-haiku-20241022 - name: Claude 3.5 Haiku + - model_id: claude-3-haiku-20240307 + name: Claude 3 Haiku type: chat config: compatibilities: [vision, tool-call] diff --git a/conf/providers/deepseek.yaml b/conf/providers/deepseek.yaml new file mode 100644 index 00000000..0bfca920 --- /dev/null +++ b/conf/providers/deepseek.yaml @@ -0,0 +1,19 @@ +name: DeepSeek +client_type: openai-completions +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/deepseek-color.svg +base_url: https://api.deepseek.com/v1 + +models: + - model_id: deepseek-chat + name: DeepSeek V3.2 + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: deepseek-reasoner + name: DeepSeek V3.2 Thinking + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 diff --git a/conf/providers/google.yaml b/conf/providers/google.yaml index 6fcf58c7..2110c584 100644 --- a/conf/providers/google.yaml +++ b/conf/providers/google.yaml @@ -1,39 +1,202 @@ name: Google client_type: google-generative-ai -icon: https://www.gstatic.com/lamda/images/gemini_favicon_f069958c85030456e93de685481c559f160ea06b.png +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/google-color.svg base_url: https://generativelanguage.googleapis.com/v1beta models: + - model_id: gemini-pro-latest + name: Gemini Pro Latest + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1114112 + + - model_id: gemini-flash-latest + name: Gemini Flash Latest + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1114112 + + - model_id: gemini-flash-lite-latest + name: Gemini Flash-Lite Latest + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1114112 + + - model_id: gemini-3.1-flash-image-preview + name: Nano Banana 2 + type: chat + config: + compatibilities: [vision, reasoning, image-output] + context_window: 163840 + + - model_id: gemini-3.1-pro-preview + name: Gemini 3.1 Pro Preview + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1114112 + + - model_id: gemini-3.1-flash-lite-preview + name: Gemini 3.1 Flash-Lite Preview + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1114112 + + - model_id: gemini-3-flash-preview + name: Gemini 3 Flash Preview + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1114112 + + - model_id: gemini-3-pro-image-preview + name: Nano Banana Pro + type: chat + config: + compatibilities: [vision, reasoning, image-output] + context_window: 163840 + - model_id: gemini-2.5-pro name: Gemini 2.5 Pro type: chat config: compatibilities: [vision, tool-call, reasoning] - context_window: 1048576 + context_window: 1114112 + + - model_id: gemini-2.5-pro-preview-06-05 + name: Gemini 2.5 Pro Preview 06-05 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1114112 + + - model_id: gemini-2.5-pro-preview-05-06 + name: Gemini 2.5 Pro Preview 05-06 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1114112 - model_id: gemini-2.5-flash name: Gemini 2.5 Flash type: chat config: compatibilities: [vision, tool-call, reasoning] - context_window: 1048576 + context_window: 1114112 + + - model_id: gemini-2.5-flash-image + name: Nano Banana + type: chat + config: + compatibilities: [vision, image-output] + context_window: 98304 + + - model_id: gemini-2.5-flash-lite + name: Gemini 2.5 Flash-Lite + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1114112 + + - model_id: gemini-2.5-flash-lite-preview-09-2025 + name: Gemini 2.5 Flash-Lite Preview Sep 2025 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1114112 - model_id: gemini-2.0-flash name: Gemini 2.0 Flash type: chat config: compatibilities: [vision, tool-call] - context_window: 1048576 + context_window: 1056768 - - model_id: gemini-2.0-flash-lite - name: Gemini 2.0 Flash Lite + - model_id: gemini-2.0-flash-001 + name: Gemini 2.0 Flash 001 type: chat config: compatibilities: [vision, tool-call] - context_window: 1048576 + context_window: 1056768 - - model_id: text-embedding-004 - name: Text Embedding 004 - type: embedding + - model_id: gemini-2.0-flash-exp-image-generation + name: Gemini 2.0 Flash (Image Generation) Experimental + type: chat config: - dimensions: 768 + compatibilities: [vision, image-output] + context_window: 1056768 + + - model_id: gemini-2.0-flash-lite + name: Gemini 2.0 Flash-Lite + type: chat + config: + compatibilities: [vision] + context_window: 1056768 + + - model_id: gemini-2.0-flash-lite-001 + name: Gemini 2.0 Flash-Lite 001 + type: chat + config: + compatibilities: [vision] + context_window: 1056768 + + - model_id: gemini-1.5-flash-002 + name: Gemini 1.5 Flash 002 + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 1008192 + + - model_id: gemini-1.5-pro-002 + name: Gemini 1.5 Pro 002 + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 2008192 + + - model_id: gemini-1.5-flash-8b-latest + name: Gemini 1.5 Flash 8B + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 1008192 + + - model_id: gemma-3-1b-it + name: Gemma 3 1B + type: chat + config: + context_window: 40960 + + - model_id: gemma-3-4b-it + name: Gemma 3 4B + type: chat + config: + context_window: 40960 + + - model_id: gemma-3-12b-it + name: Gemma 3 12B + type: chat + config: + context_window: 40960 + + - model_id: gemma-3-27b-it + name: Gemma 3 27B + type: chat + config: + context_window: 139264 + + - model_id: gemma-3n-e2b-it + name: Gemma 3n E2B + type: chat + config: + context_window: 10240 + + - model_id: gemma-3n-e4b-it + name: Gemma 3n E4B + type: chat + config: + context_window: 10240 diff --git a/conf/providers/groq.yaml b/conf/providers/groq.yaml new file mode 100644 index 00000000..9897a4bd --- /dev/null +++ b/conf/providers/groq.yaml @@ -0,0 +1,83 @@ +name: Groq +client_type: openai-completions +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/groq.svg +base_url: https://api.groq.com/openai/v1 + +models: + - model_id: groq/compound + name: Compound + type: chat + config: + context_window: 131072 + + - model_id: groq/compound-mini + name: Compound Mini + type: chat + config: + context_window: 131072 + + - model_id: openai/gpt-oss-120b + name: GPT OSS 120B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: openai/gpt-oss-20b + name: GPT OSS 20B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: moonshotai/kimi-k2-instruct-0905 + name: Kimi K2 0905 + type: chat + config: + compatibilities: [tool-call] + context_window: 262144 + + - model_id: meta-llama/llama-4-scout-17b-16e-instruct + name: Llama 4 Scout (17Bx16E) + type: chat + config: + context_window: 131072 + + - model_id: qwen/qwen3-32b + name: Qwen3 32B + type: chat + config: + compatibilities: [reasoning] + context_window: 131072 + + - model_id: llama-3.1-8b-instant + name: Llama 3.1 8B Instant + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: llama-3.3-70b-versatile + name: Llama 3.3 70B Versatile + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: meta-llama/llama-guard-4-12b + name: Llama Guard 4 12B + type: chat + config: + context_window: 131072 + + - model_id: meta-llama/llama-prompt-guard-2-22m + name: Llama Prompt Guard 2 22M + type: chat + config: + context_window: 512 + + - model_id: meta-llama/llama-prompt-guard-2-86m + name: Llama Prompt Guard 2 86M + type: chat + config: + context_window: 512 diff --git a/conf/providers/huggingface.yaml b/conf/providers/huggingface.yaml new file mode 100644 index 00000000..793c14cb --- /dev/null +++ b/conf/providers/huggingface.yaml @@ -0,0 +1,62 @@ +name: HuggingFace +client_type: openai-completions +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/huggingface-color.svg +base_url: https://router.huggingface.co/hf-inference/v1 + +models: + - model_id: mistralai/Mistral-7B-Instruct-v0.3 + name: Mistral 7B Instruct v0.3 + type: chat + config: + context_window: 32768 + + - model_id: google/gemma-2-2b-it + name: Gemma 2 2B Instruct + type: chat + config: + context_window: 8192 + + - model_id: Qwen/Qwen2.5-72B-Instruct + name: Qwen 2.5 72B Instruct + type: chat + config: + context_window: 32768 + + - model_id: Qwen/Qwen2.5-Coder-32B-Instruct + name: Qwen 2.5 Coder 32B Instruct + type: chat + config: + context_window: 32768 + + - model_id: Qwen/QwQ-32B-Preview + name: QwQ 32B Preview + type: chat + config: + compatibilities: [reasoning] + context_window: 32768 + + - model_id: microsoft/Phi-3.5-mini-instruct + name: Phi 3.5 mini instruct + type: chat + config: + context_window: 32768 + + - model_id: NousResearch/Hermes-3-Llama-3.1-8B + name: Hermes 3 Llama 3.1 8B + type: chat + config: + context_window: 16384 + + - model_id: deepseek-ai/DeepSeek-R1-Distill-Qwen-32B + name: DeepSeek R1 (Distill Qwen 32B) + type: chat + config: + compatibilities: [reasoning] + context_window: 16384 + + - model_id: deepseek-ai/DeepSeek-R1 + name: DeepSeek R1 + type: chat + config: + compatibilities: [reasoning] + context_window: 128000 diff --git a/conf/providers/lmstudio.yaml b/conf/providers/lmstudio.yaml new file mode 100644 index 00000000..75ef5b24 --- /dev/null +++ b/conf/providers/lmstudio.yaml @@ -0,0 +1,17 @@ +name: LM Studio +client_type: openai-completions +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/lmstudio.svg +base_url: http://127.0.0.1:1234/v1 + +models: + - model_id: llama3.1 + name: Llama 3.1 8B + type: chat + config: + context_window: 128000 + + - model_id: qwen2.5-14b-instruct + name: Qwen2.5 14B + type: chat + config: + context_window: 128000 diff --git a/conf/providers/minimax.yaml b/conf/providers/minimax.yaml new file mode 100644 index 00000000..2c94e2b5 --- /dev/null +++ b/conf/providers/minimax.yaml @@ -0,0 +1,75 @@ +name: Minimax +client_type: openai-completions +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/minimax-color.svg +base_url: https://api.minimaxi.com/v1 + +models: + - model_id: MiniMax-M2.7 + name: MiniMax M2.7 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 204800 + + - model_id: MiniMax-M2.7-highspeed + name: MiniMax M2.7 Highspeed + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 204800 + + - model_id: MiniMax-M2.5 + name: MiniMax M2.5 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 204800 + + - model_id: MiniMax-M2.5-Lightning + name: MiniMax M2.5 Lightning + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 204800 + + - model_id: MiniMax-M2.1 + name: MiniMax M2.1 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 204800 + + - model_id: MiniMax-M2.1-Lightning + name: MiniMax M2.1 Lightning + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 204800 + + - model_id: MiniMax-M2 + name: MiniMax M2 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 204800 + + - model_id: MiniMax-M2-Stable + name: MiniMax M2 Stable + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 204800 + + - model_id: MiniMax-M1 + name: MiniMax M1 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 1000192 + + - model_id: MiniMax-Text-01 + name: MiniMax Text 01 + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 1000192 diff --git a/conf/providers/mistral.yaml b/conf/providers/mistral.yaml new file mode 100644 index 00000000..2e70118a --- /dev/null +++ b/conf/providers/mistral.yaml @@ -0,0 +1,102 @@ +name: Mistral +client_type: openai-completions +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/mistral-color.svg +base_url: https://api.mistral.ai/v1 + +models: + - model_id: devstral-2512 + name: Devstral 2 + type: chat + config: + compatibilities: [tool-call] + context_window: 262144 + + - model_id: labs-devstral-small-2512 + name: Devstral Small 2 + type: chat + config: + compatibilities: [tool-call] + context_window: 262144 + + - model_id: mistral-medium-latest + name: Mistral Medium 3.1 + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: magistral-medium-latest + name: Magistral Medium 1.2 + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 131072 + + - model_id: magistral-small-2509 + name: Magistral Small 1.2 + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 131072 + + - model_id: open-mistral-nemo + name: Mistral Nemo + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 131072 + + - model_id: mistral-small-latest + name: Mistral Small 3.2 + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: mistral-large-latest + name: Mistral Large 2.1 + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 131072 + + - model_id: codestral-latest + name: Codestral 2508 + type: chat + config: + compatibilities: [tool-call] + context_window: 256000 + + - model_id: pixtral-large-latest + name: Pixtral Large + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 131072 + + - model_id: pixtral-12b-2409 + name: Pixtral 12B + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 131072 + + - model_id: ministral-3b-latest + name: Ministral 3B + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: ministral-8b-latest + name: Ministral 8B + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: open-codestral-mamba + name: Codestral Mamba + type: chat + config: + context_window: 256000 diff --git a/conf/providers/moonshot.yaml b/conf/providers/moonshot.yaml new file mode 100644 index 00000000..b6d61223 --- /dev/null +++ b/conf/providers/moonshot.yaml @@ -0,0 +1,89 @@ +name: Moonshot +client_type: openai-completions +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/moonshot.svg +base_url: https://api.moonshot.cn/v1 + +models: + - model_id: kimi-k2.5 + name: Kimi K2.5 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 262144 + + - model_id: kimi-k2-thinking + name: Kimi K2 Thinking + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 262144 + + - model_id: kimi-k2-thinking-turbo + name: Kimi K2 Thinking Turbo + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 262144 + + - model_id: kimi-k2-0905-preview + name: Kimi K2 0905 Preview + type: chat + config: + compatibilities: [tool-call] + context_window: 262144 + + - model_id: kimi-k2-0711-preview + name: Kimi K2 0711 Preview + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: kimi-k2-turbo-preview + name: Kimi K2 Turbo Preview + type: chat + config: + compatibilities: [tool-call] + context_window: 262144 + + - model_id: moonshot-v1-8k + name: Moonshot V1 8K + type: chat + config: + compatibilities: [tool-call] + context_window: 8192 + + - model_id: moonshot-v1-32k + name: Moonshot V1 32K + type: chat + config: + compatibilities: [tool-call] + context_window: 32768 + + - model_id: moonshot-v1-128k + name: Moonshot V1 128K + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: moonshot-v1-8k-vision-preview + name: Moonshot V1 8K Vision Preview + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 8192 + + - model_id: moonshot-v1-32k-vision-preview + name: Moonshot V1 32K Vision Preview + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 32768 + + - model_id: moonshot-v1-128k-vision-preview + name: Moonshot V1 128K Vision Preview + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 131072 diff --git a/conf/providers/newapi.yaml b/conf/providers/newapi.yaml new file mode 100644 index 00000000..ca904019 --- /dev/null +++ b/conf/providers/newapi.yaml @@ -0,0 +1,6 @@ +name: New API +client_type: openai-completions +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/newapi-color.svg +base_url: https://your.new-api-provider.com + +models: diff --git a/conf/providers/ollama.yaml b/conf/providers/ollama.yaml new file mode 100644 index 00000000..a279c696 --- /dev/null +++ b/conf/providers/ollama.yaml @@ -0,0 +1,341 @@ +name: Ollama +client_type: openai-completions +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/ollama.svg +base_url: http://127.0.0.1:11434/v1 + +models: + - model_id: "deepseek-v3.1:671b" + name: DeepSeek V3.1 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 163840 + + - model_id: "gpt-oss:20b" + name: GPT-OSS 20B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: "gpt-oss:120b" + name: GPT-OSS 120B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: "qwen3-coder:480b" + name: Qwen3 Coder 480B + type: chat + config: + compatibilities: [tool-call] + context_window: 262144 + + - model_id: deepseek-r1 + name: DeepSeek R1 + type: chat + config: + compatibilities: [reasoning] + context_window: 65536 + + - model_id: deepseek-v3 + name: DeepSeek V3 671B + type: chat + config: + context_window: 65536 + + - model_id: llama3.1 + name: Llama 3.1 8B + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: "llama3.1:70b" + name: Llama 3.1 70B + type: chat + config: + context_window: 128000 + + - model_id: "llama3.1:405b" + name: Llama 3.1 405B + type: chat + config: + context_window: 128000 + + - model_id: codellama + name: Code Llama 7B + type: chat + config: + context_window: 16384 + + - model_id: "codellama:13b" + name: Code Llama 13B + type: chat + config: + context_window: 16384 + + - model_id: "codellama:34b" + name: Code Llama 34B + type: chat + config: + context_window: 16384 + + - model_id: "codellama:70b" + name: Code Llama 70B + type: chat + config: + context_window: 16384 + + - model_id: qwq + name: QwQ 32B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 128000 + + - model_id: qwen3 + name: Qwen3 7B + type: chat + config: + compatibilities: [tool-call] + context_window: 65536 + + - model_id: "qwen2.5:0.5b" + name: Qwen2.5 0.5B + type: chat + config: + context_window: 128000 + + - model_id: "qwen2.5:1.5b" + name: Qwen2.5 1.5B + type: chat + config: + context_window: 128000 + + - model_id: qwen2.5 + name: Qwen2.5 7B + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: "qwen2.5:72b" + name: Qwen2.5 72B + type: chat + config: + context_window: 128000 + + - model_id: codeqwen + name: CodeQwen1.5 7B + type: chat + config: + compatibilities: [tool-call] + context_window: 65536 + + - model_id: "qwen2:0.5b" + name: Qwen2 0.5B + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: "qwen2:1.5b" + name: Qwen2 1.5B + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: qwen2 + name: Qwen2 7B + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: "qwen2:72b" + name: Qwen2 72B + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: "gemma2:2b" + name: Gemma 2 2B + type: chat + config: + context_window: 8192 + + - model_id: gemma2 + name: Gemma 2 9B + type: chat + config: + context_window: 8192 + + - model_id: "gemma2:27b" + name: Gemma 2 27B + type: chat + config: + context_window: 8192 + + - model_id: "codegemma:2b" + name: CodeGemma 2B + type: chat + config: + context_window: 8192 + + - model_id: codegemma + name: CodeGemma 7B + type: chat + config: + context_window: 8192 + + - model_id: phi3 + name: Phi-3 3.8B + type: chat + config: + context_window: 128000 + + - model_id: "phi3:14b" + name: Phi-3 14B + type: chat + config: + context_window: 128000 + + - model_id: wizardlm2 + name: WizardLM 2 7B + type: chat + config: + context_window: 32768 + + - model_id: "wizardlm2:8x22b" + name: WizardLM 2 8x22B + type: chat + config: + context_window: 65536 + + - model_id: mathstral + name: MathΣtral 7B + type: chat + config: + context_window: 32768 + + - model_id: mistral + name: Mistral 7B + type: chat + config: + compatibilities: [tool-call] + context_window: 32768 + + - model_id: mixtral + name: Mixtral 8x7B + type: chat + config: + compatibilities: [tool-call] + context_window: 32768 + + - model_id: "mixtral:8x22b" + name: Mixtral 8x22B + type: chat + config: + compatibilities: [tool-call] + context_window: 65536 + + - model_id: mistral-large + name: Mixtral Large 123B + type: chat + config: + context_window: 128000 + + - model_id: mistral-nemo + name: Mixtral Nemo 12B + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: codestral + name: Codestral 22B + type: chat + config: + context_window: 32768 + + - model_id: aya + name: Aya 23 8B + type: chat + config: + context_window: 8192 + + - model_id: "aya:35b" + name: Aya 23 35B + type: chat + config: + context_window: 8192 + + - model_id: command-r + name: Command R 35B + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: command-r-plus + name: Command R+ 104B + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: deepseek-v2 + name: DeepSeek V2 16B + type: chat + config: + context_window: 32768 + + - model_id: "deepseek-v2:236b" + name: DeepSeek V2 236B + type: chat + config: + context_window: 128000 + + - model_id: deepseek-coder-v2 + name: DeepSeek Coder V2 16B + type: chat + config: + context_window: 128000 + + - model_id: "deepseek-coder-v2:236b" + name: DeepSeek Coder V2 236B + type: chat + config: + context_window: 128000 + + - model_id: llava + name: LLaVA 7B + type: chat + config: + compatibilities: [vision] + context_window: 4096 + + - model_id: "llava:13b" + name: LLaVA 13B + type: chat + config: + compatibilities: [vision] + context_window: 4096 + + - model_id: "llava:34b" + name: LLaVA 34B + type: chat + config: + compatibilities: [vision] + context_window: 4096 + + - model_id: minicpm-v + name: MiniCPM-V 8B + type: chat + config: + compatibilities: [vision] + context_window: 128000 diff --git a/conf/providers/openai.yaml b/conf/providers/openai.yaml index e7f32bba..78610c6e 100644 --- a/conf/providers/openai.yaml +++ b/conf/providers/openai.yaml @@ -1,9 +1,177 @@ name: OpenAI client_type: openai-responses -icon: https://cdn.openai.com/API/logo-assets/openai-logomark.png +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/openai.svg base_url: https://api.openai.com/v1 models: + - model_id: gpt-5.4 + name: GPT-5.4 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1050000 + + - model_id: gpt-5.4-pro + name: GPT-5.4 Pro + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1050000 + + - model_id: gpt-5.4-mini + name: GPT-5.4 mini + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5.4-nano + name: GPT-5.4 nano + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5.3-chat-latest + name: GPT-5.3 Chat + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 128000 + + - model_id: gpt-5.3-codex + name: GPT-5.3 Codex + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5.2 + name: GPT-5.2 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5.2-codex + name: GPT-5.2 Codex + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5.2-pro + name: GPT-5.2 pro + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5.2-chat-latest + name: GPT-5.2 Chat + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 128000 + + - model_id: gpt-5.1 + name: GPT-5.1 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5.1-chat-latest + name: GPT-5.1 Chat + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 128000 + + - model_id: gpt-5.1-codex-max + name: GPT-5.1 Codex Max + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5.1-codex + name: GPT-5.1 Codex + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5.1-codex-mini + name: GPT-5.1 Codex mini + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5-pro + name: GPT-5 pro + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5-codex + name: GPT-5 Codex + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5 + name: GPT-5 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5-mini + name: GPT-5 mini + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5-nano + name: GPT-5 nano + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 400000 + + - model_id: gpt-5-chat-latest + name: GPT-5 Chat + type: chat + config: + compatibilities: [vision] + context_window: 400000 + + - model_id: o4-mini + name: o4-mini + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: o4-mini-deep-research + name: o4-mini Deep Research + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: o3-pro + name: o3-pro + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + - model_id: o3 name: o3 type: chat @@ -11,18 +179,32 @@ models: compatibilities: [vision, tool-call, reasoning] context_window: 200000 + - model_id: o3-deep-research + name: o3 Deep Research + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + - model_id: o3-mini - name: o3 Mini + name: o3-mini type: chat config: compatibilities: [tool-call, reasoning] context_window: 200000 - - model_id: o4-mini - name: o4 Mini + - model_id: o1-pro + name: o1-pro type: chat config: - compatibilities: [vision, tool-call, reasoning, image-output] + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: o1 + name: o1 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] context_window: 200000 - model_id: gpt-4.1 @@ -33,19 +215,32 @@ models: context_window: 1047576 - model_id: gpt-4.1-mini - name: GPT-4.1 Mini + name: GPT-4.1 mini type: chat config: compatibilities: [vision, tool-call] context_window: 1047576 - model_id: gpt-4.1-nano - name: GPT-4.1 Nano + name: GPT-4.1 nano type: chat config: compatibilities: [vision, tool-call] context_window: 1047576 + - model_id: gpt-4o-mini + name: GPT-4o mini + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 128000 + + - model_id: gpt-4o-mini-search-preview + name: GPT-4o mini Search Preview + type: chat + config: + context_window: 128000 + - model_id: gpt-4o name: GPT-4o type: chat @@ -53,21 +248,138 @@ models: compatibilities: [vision, tool-call] context_window: 128000 - - model_id: gpt-4o-mini - name: GPT-4o Mini + - model_id: gpt-4o-search-preview + name: GPT-4o Search Preview + type: chat + config: + context_window: 128000 + + - model_id: gpt-4o-2024-11-20 + name: GPT-4o 1120 type: chat config: compatibilities: [vision, tool-call] context_window: 128000 - - model_id: text-embedding-3-small - name: Embedding 3 Small - type: embedding + - model_id: gpt-4o-2024-05-13 + name: GPT-4o 0513 + type: chat config: - dimensions: 1536 + compatibilities: [vision, tool-call] + context_window: 128000 + + - model_id: gpt-audio + name: GPT Audio + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: gpt-4o-audio-preview + name: GPT-4o Audio Preview + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: gpt-4o-mini-audio-preview + name: GPT-4o mini Audio + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: gpt-4-turbo + name: GPT-4 Turbo + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 128000 + + - model_id: gpt-4-turbo-2024-04-09 + name: GPT-4 Turbo Vision 0409 + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 128000 + + - model_id: gpt-4-turbo-preview + name: GPT-4 Turbo Preview + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: gpt-4-0125-preview + name: GPT-4 Turbo Preview 0125 + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: gpt-4-1106-preview + name: GPT-4 Turbo Preview 1106 + type: chat + config: + compatibilities: [tool-call] + context_window: 128000 + + - model_id: gpt-4 + name: GPT-4 + type: chat + config: + compatibilities: [tool-call] + context_window: 8192 + + - model_id: gpt-4-0613 + name: GPT-4 0613 + type: chat + config: + compatibilities: [tool-call] + context_window: 8192 + + - model_id: gpt-3.5-turbo + name: GPT-3.5 Turbo + type: chat + config: + compatibilities: [tool-call] + context_window: 16384 + + - model_id: gpt-3.5-turbo-0125 + name: GPT-3.5 Turbo 0125 + type: chat + config: + compatibilities: [tool-call] + context_window: 16384 + + - model_id: gpt-3.5-turbo-1106 + name: GPT-3.5 Turbo 1106 + type: chat + config: + compatibilities: [tool-call] + context_window: 16384 + + - model_id: gpt-3.5-turbo-instruct + name: GPT-3.5 Turbo Instruct + type: chat + config: + context_window: 4096 + + - model_id: computer-use-preview + name: Computer Use Preview + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 8192 - model_id: text-embedding-3-large - name: Embedding 3 Large + name: Text Embedding 3 Large type: embedding config: dimensions: 3072 + + - model_id: text-embedding-3-small + name: Text Embedding 3 Small + type: embedding + config: + dimensions: 1536 diff --git a/conf/providers/openrouter.yaml b/conf/providers/openrouter.yaml new file mode 100644 index 00000000..27c7ea31 --- /dev/null +++ b/conf/providers/openrouter.yaml @@ -0,0 +1,405 @@ +name: OpenRouter +client_type: openai-completions +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/openrouter.svg +base_url: https://openrouter.ai/api/v1 + +models: + - model_id: openrouter/auto + name: Auto (best for prompt) + type: chat + config: + context_window: 2000000 + + - model_id: deepseek/deepseek-chat-v3.1 + name: DeepSeek V3.1 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 163840 + + - model_id: google/gemini-2.5-flash-image-preview + name: Nano Banana + type: chat + config: + compatibilities: [vision, image-output] + context_window: 40960 + + - model_id: "qwen/qwen3-30b-a3b:free" + name: Qwen3 30B A3B (Free) + type: chat + config: + compatibilities: [reasoning] + context_window: 40960 + + - model_id: qwen/qwen3-30b-a3b + name: Qwen3 30B A3B + type: chat + config: + compatibilities: [reasoning] + context_window: 40960 + + - model_id: "qwen/qwen3-8b:free" + name: Qwen3 8B (Free) + type: chat + config: + compatibilities: [reasoning] + context_window: 40960 + + - model_id: "qwen/qwen3-14b:free" + name: Qwen3 14B (Free) + type: chat + config: + compatibilities: [reasoning] + context_window: 40960 + + - model_id: qwen/qwen3-14b + name: Qwen3 14B + type: chat + config: + compatibilities: [reasoning] + context_window: 40960 + + - model_id: "qwen/qwen3-32b:free" + name: Qwen3 32B (Free) + type: chat + config: + compatibilities: [reasoning] + context_window: 40960 + + - model_id: qwen/qwen3-32b + name: Qwen3 32B + type: chat + config: + compatibilities: [reasoning] + context_window: 40960 + + - model_id: "qwen/qwen3-235b-a22b:free" + name: Qwen3 235B A22B (Free) + type: chat + config: + compatibilities: [reasoning] + context_window: 131072 + + - model_id: qwen/qwen3-235b-a22b + name: Qwen3 235B A22B + type: chat + config: + compatibilities: [reasoning] + context_window: 40960 + + - model_id: "tngtech/deepseek-r1t-chimera:free" + name: DeepSeek R1T Chimera (Free) + type: chat + config: + compatibilities: [reasoning] + context_window: 163840 + + - model_id: thudm/glm-z1-rumination-32b + name: GLM Z1 Rumination 32B + type: chat + config: + compatibilities: [reasoning] + context_window: 32000 + + - model_id: thudm/glm-z1-32b + name: GLM Z1 32B + type: chat + config: + compatibilities: [reasoning] + context_window: 32768 + + - model_id: "thudm/glm-4-32b:free" + name: GLM 4 32B (Free) + type: chat + config: + compatibilities: [reasoning] + context_window: 32000 + + - model_id: thudm/glm-4-32b + name: GLM 4 32B + type: chat + config: + compatibilities: [reasoning] + context_window: 32000 + + - model_id: google/gemini-2.5-pro + name: Gemini 2.5 Pro + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1048576 + + - model_id: google/gemini-2.5-pro-preview + name: Gemini 2.5 Pro Preview + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1048576 + + - model_id: google/gemini-2.5-flash + name: Gemini 2.5 Flash + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1048576 + + - model_id: google/gemini-2.5-flash-preview + name: Gemini 2.5 Flash Preview + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1048576 + + - model_id: "google/gemini-2.5-flash-preview:thinking" + name: Gemini 2.5 Flash Preview (thinking) + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1048576 + + - model_id: openai/o3 + name: o3 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: openai/o4-mini-high + name: o4-mini (high) + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: openai/o4-mini + name: o4-mini + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: openai/gpt-4.1 + name: GPT-4.1 + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 1047576 + + - model_id: openai/gpt-4.1-mini + name: GPT-4.1 mini + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 1047576 + + - model_id: openai/gpt-4.1-nano + name: GPT-4.1 nano + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 1047576 + + - model_id: openai/o3-mini-high + name: o3-mini (high) + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 200000 + + - model_id: openai/o3-mini + name: o3-mini + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 200000 + + - model_id: openai/o1-mini + name: o1-mini + type: chat + config: + compatibilities: [reasoning] + context_window: 128000 + + - model_id: openai/o1-preview + name: o1-preview + type: chat + config: + compatibilities: [reasoning] + context_window: 128000 + + - model_id: openai/gpt-4o-mini + name: GPT-4o mini + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 128000 + + - model_id: openai/gpt-4o + name: GPT-4o + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 128000 + + - model_id: deepseek/deepseek-r1-0528 + name: DeepSeek R1 0528 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 163840 + + - model_id: "deepseek/deepseek-r1-0528:free" + name: DeepSeek R1 0528 (Free) + type: chat + config: + compatibilities: [reasoning] + context_window: 163840 + + - model_id: deepseek/deepseek-r1 + name: DeepSeek R1 + type: chat + config: + compatibilities: [reasoning] + context_window: 163840 + + - model_id: "deepseek/deepseek-r1:free" + name: DeepSeek R1 (Free) + type: chat + config: + compatibilities: [reasoning] + context_window: 163840 + + - model_id: deepseek/deepseek-chat-v3-0324 + name: DeepSeek V3 0324 + type: chat + config: + context_window: 163840 + + - model_id: "deepseek/deepseek-chat-v3-0324:free" + name: DeepSeek V3 0324 (Free) + type: chat + config: + context_window: 163840 + + - model_id: anthropic/claude-opus-4.5 + name: Claude Opus 4.5 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: anthropic/claude-sonnet-4.5 + name: Claude Sonnet 4.5 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: anthropic/claude-3-haiku + name: Claude 3 Haiku + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 200000 + + - model_id: anthropic/claude-3.5-haiku + name: Claude 3.5 Haiku + type: chat + config: + compatibilities: [tool-call] + context_window: 200000 + + - model_id: anthropic/claude-3.5-sonnet + name: Claude 3.5 Sonnet + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 200000 + + - model_id: anthropic/claude-3.7-sonnet + name: Claude 3.7 Sonnet + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: anthropic/claude-sonnet-4 + name: Claude Sonnet 4 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: anthropic/claude-opus-4 + name: Claude Opus 4 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 200000 + + - model_id: anthropic/claude-3-opus + name: Claude 3 Opus + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 200000 + + - model_id: google/gemini-flash-1.5 + name: Gemini 1.5 Flash + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 1008192 + + - model_id: google/gemini-2.0-flash-001 + name: Gemini 2.0 Flash + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 1056768 + + - model_id: google/gemini-pro-1.5 + name: Gemini 1.5 Pro + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 2008192 + + - model_id: meta-llama/llama-3.2-11b-vision-instruct + name: Llama 3.2 11B Vision + type: chat + config: + compatibilities: [vision] + context_window: 131072 + + - model_id: meta-llama/llama-3.3-70b-instruct + name: Llama 3.3 70B Instruct + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: "meta-llama/llama-3.3-70b-instruct:free" + name: Llama 3.3 70B Instruct (Free) + type: chat + config: + compatibilities: [tool-call] + context_window: 65536 + + - model_id: "qwen/qwen-2-7b-instruct:free" + name: Qwen2 7B (Free) + type: chat + config: + context_window: 32768 + + - model_id: "meta-llama/llama-3.1-8b-instruct:free" + name: Llama 3.1 8B (Free) + type: chat + config: + context_window: 131072 + + - model_id: "google/gemma-2-9b-it:free" + name: Gemma 2 9B (Free) + type: chat + config: + context_window: 8192 diff --git a/conf/providers/qwen.yaml b/conf/providers/qwen.yaml new file mode 100644 index 00000000..f1b030de --- /dev/null +++ b/conf/providers/qwen.yaml @@ -0,0 +1,640 @@ +name: Aliyun Bailian +client_type: openai-completions +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/qwen-color.svg +base_url: https://dashscope.aliyuncs.com/compatible-mode/v1 + +models: + - model_id: kimi-k2.5 + name: Kimi K2.5 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 262144 + + - model_id: MiniMax-M2.5 + name: MiniMax-M2.5 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 204800 + + - model_id: MiniMax-M2.1 + name: MiniMax-M2.1 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 204800 + + - model_id: qwen3-vl-plus + name: Qwen3 VL Plus + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 262144 + + - model_id: qwen3-vl-flash + name: Qwen3 VL Flash + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 262144 + + - model_id: deepseek-v3.2 + name: DeepSeek V3.2 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: deepseek-v3.2-exp + name: DeepSeek V3.2 Exp + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: deepseek-v3.1 + name: DeepSeek V3.1 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: kimi-k2-thinking + name: Kimi K2 Thinking + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 262144 + + - model_id: Moonshot-Kimi-K2-Instruct + name: Kimi K2 Instruct + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: glm-5 + name: GLM-5 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 202752 + + - model_id: glm-4.7 + name: GLM-4.7 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 202752 + + - model_id: glm-4.6 + name: GLM-4.6 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 202752 + + - model_id: glm-4.5 + name: GLM-4.5 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: glm-4.5-air + name: GLM-4.5-Air + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: qwen3-coder-next + name: Qwen3 Coder Next + type: chat + config: + compatibilities: [tool-call] + context_window: 262144 + + - model_id: qwen3-coder-plus + name: Qwen3 Coder Plus + type: chat + config: + compatibilities: [tool-call] + context_window: 1000000 + + - model_id: qwen3-coder-flash + name: Qwen3 Coder Flash + type: chat + config: + compatibilities: [tool-call] + context_window: 1000000 + + - model_id: qwen3-coder-480b-a35b-instruct + name: Qwen3 Coder 480B A35B + type: chat + config: + compatibilities: [tool-call] + context_window: 262144 + + - model_id: qwen3-coder-30b-a3b-instruct + name: Qwen3 Coder 30B A3B + type: chat + config: + compatibilities: [tool-call] + context_window: 262144 + + - model_id: qwen3.5-397b-a17b + name: Qwen3.5-397B-A17B + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 262144 + + - model_id: qwen3.5-122b-a10b + name: Qwen3.5-122B-A10B + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 262144 + + - model_id: qwen3.5-27b + name: Qwen3.5-27B + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 262144 + + - model_id: qwen3.5-35b-a3b + name: Qwen3.5-35B-A3B + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 262144 + + - model_id: qwen3-235b-a22b-thinking-2507 + name: Qwen3 235B A22B Thinking 2507 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: qwen3-235b-a22b-instruct-2507 + name: Qwen3 235B A22B Instruct 2507 + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: qwen3-30b-a3b-thinking-2507 + name: Qwen3 30B A3B Thinking 2507 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: qwen3-30b-a3b-instruct-2507 + name: Qwen3 30B A3B Instruct 2507 + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: qwen3-next-80b-a3b-thinking + name: Qwen3 Next 80B A3B Thinking + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: qwen3-next-80b-a3b-instruct + name: Qwen3 Next 80B A3B Instruct + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: qwen3-235b-a22b + name: Qwen3 235B A22B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: qwen3-32b + name: Qwen3 32B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: qwen3-30b-a3b + name: Qwen3 30B A3B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: qwen3-14b + name: Qwen3 14B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: qwen3-8b + name: Qwen3 8B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: qwen3-4b + name: Qwen3 4B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: qwen3-1.7b + name: Qwen3 1.7B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 32768 + + - model_id: qwen3-0.6b + name: Qwen3 0.6B + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 32768 + + - model_id: qwq-plus + name: QwQ Plus + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: qwen3.5-flash + name: Qwen3.5 Flash + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1000000 + + - model_id: qwen-flash + name: Qwen Flash + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 1000000 + + - model_id: qwen-turbo + name: Qwen Turbo + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 1000000 + + - model_id: qwen3.5-plus + name: Qwen3.5 Plus + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 1000000 + + - model_id: qwen-plus + name: Qwen Plus + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 1000000 + + - model_id: qwen3-max + name: Qwen3 Max + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 262144 + + - model_id: qwen3-max-preview + name: Qwen3 Max Preview + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 262144 + + - model_id: qwen-max + name: Qwen Max + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: qwen-long + name: Qwen Long + type: chat + config: + compatibilities: [tool-call] + context_window: 10000000 + + - model_id: qwen3-omni-flash + name: Qwen3 Omni Flash + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 65536 + + - model_id: qwen-omni-turbo + name: Qwen Omni Turbo + type: chat + config: + compatibilities: [vision] + context_window: 32768 + + - model_id: qwen2.5-omni-7b + name: Qwen2.5 Omni 7B + type: chat + config: + compatibilities: [vision] + context_window: 32768 + + - model_id: qwen-vl-plus + name: Qwen VL Plus + type: chat + config: + compatibilities: [vision] + context_window: 131072 + + - model_id: qwen-vl-max + name: Qwen VL Max + type: chat + config: + compatibilities: [vision] + context_window: 131072 + + - model_id: qwen-vl-ocr + name: Qwen VL OCR + type: chat + config: + compatibilities: [vision] + context_window: 34096 + + - model_id: qwen3-vl-30b-a3b-thinking + name: Qwen3 VL 30B A3B Thinking + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 131072 + + - model_id: qwen3-vl-30b-a3b-instruct + name: Qwen3 VL 30B A3B Instruct + type: chat + config: + compatibilities: [vision] + context_window: 131072 + + - model_id: qwen3-vl-8b-thinking + name: Qwen3 VL 8B Thinking + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 131072 + + - model_id: qwen3-vl-8b-instruct + name: Qwen3 VL 8B Instruct + type: chat + config: + compatibilities: [vision] + context_window: 131072 + + - model_id: qwen3-vl-235b-a22b-thinking + name: Qwen3 VL 235B A22B Thinking + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 131072 + + - model_id: qwen3-vl-235b-a22b-instruct + name: Qwen3 VL 235B A22B Instruct + type: chat + config: + compatibilities: [vision] + context_window: 131072 + + - model_id: qwen3-vl-32b-thinking + name: Qwen3 VL 32B Thinking + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 131072 + + - model_id: qwen3-vl-32b-instruct + name: Qwen3 VL 32B Instruct + type: chat + config: + compatibilities: [vision] + context_window: 131072 + + - model_id: qwen-math-turbo + name: Qwen Math Turbo + type: chat + config: + context_window: 4096 + + - model_id: qwen-math-plus + name: Qwen Math Plus + type: chat + config: + context_window: 4096 + + - model_id: qwen-coder-turbo + name: Qwen Coder Turbo + type: chat + config: + context_window: 131072 + + - model_id: qwen-coder-plus + name: Qwen Coder Plus + type: chat + config: + context_window: 131072 + + - model_id: qwq-32b + name: QwQ 32B + type: chat + config: + compatibilities: [reasoning] + context_window: 131072 + + - model_id: qwq-32b-preview + name: QwQ 32B Preview + type: chat + config: + compatibilities: [reasoning] + context_window: 32768 + + - model_id: qvq-max + name: QVQ Max + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 131072 + + - model_id: qvq-plus + name: QVQ Plus + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 131072 + + - model_id: qvq-72b-preview + name: QVQ 72B Preview + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 32768 + + - model_id: qwen2.5-7b-instruct + name: Qwen2.5 7B + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: qwen2.5-14b-instruct + name: Qwen2.5 14B + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: qwen2.5-32b-instruct + name: Qwen2.5 32B + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: qwen2.5-72b-instruct + name: Qwen2.5 72B + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: qwen2.5-14b-instruct-1m + name: Qwen2.5 14B 1M + type: chat + config: + compatibilities: [tool-call] + context_window: 1000000 + + - model_id: qwen2.5-math-7b-instruct + name: Qwen2.5 Math 7B + type: chat + config: + context_window: 4096 + + - model_id: qwen2.5-math-72b-instruct + name: Qwen2.5 Math 72B + type: chat + config: + context_window: 4096 + + - model_id: qwen2.5-coder-7b-instruct + name: Qwen2.5 Coder 7B + type: chat + config: + context_window: 131072 + + - model_id: qwen2.5-coder-14b-instruct + name: Qwen2.5 Coder 14B + type: chat + config: + context_window: 131072 + + - model_id: qwen2.5-coder-32b-instruct + name: Qwen2.5 Coder 32B + type: chat + config: + context_window: 131072 + + - model_id: qwen2.5-vl-72b-instruct + name: Qwen2.5 VL 72B + type: chat + config: + compatibilities: [vision] + context_window: 131072 + + - model_id: qwen2.5-vl-32b-instruct + name: Qwen2.5 VL 32B + type: chat + config: + compatibilities: [vision] + context_window: 131072 + + - model_id: qwen2.5-vl-7b-instruct + name: Qwen2.5 VL 7B + type: chat + config: + compatibilities: [vision] + context_window: 131072 + + - model_id: deepseek-r1-0528 + name: DeepSeek R1 0528 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072 + + - model_id: deepseek-v3 + name: DeepSeek V3 + type: chat + config: + compatibilities: [tool-call] + context_window: 65536 + + - model_id: deepseek-r1-distill-qwen-1.5b + name: DeepSeek R1 Distill Qwen 1.5B + type: chat + config: + compatibilities: [reasoning] + context_window: 32768 + + - model_id: deepseek-r1-distill-qwen-7b + name: DeepSeek R1 Distill Qwen 7B + type: chat + config: + compatibilities: [reasoning] + context_window: 32768 + + - model_id: deepseek-r1-distill-qwen-14b + name: DeepSeek R1 Distill Qwen 14B + type: chat + config: + compatibilities: [reasoning] + context_window: 32768 + + - model_id: deepseek-r1-distill-qwen-32b + name: DeepSeek R1 Distill Qwen 32B + type: chat + config: + compatibilities: [reasoning] + context_window: 32768 + + - model_id: deepseek-r1-distill-llama-8b + name: DeepSeek R1 Distill Llama 8B + type: chat + config: + compatibilities: [reasoning] + context_window: 32768 + + - model_id: deepseek-r1-distill-llama-70b + name: DeepSeek R1 Distill Llama 70B + type: chat + config: + compatibilities: [reasoning] + context_window: 32768 diff --git a/conf/providers/xai.yaml b/conf/providers/xai.yaml new file mode 100644 index 00000000..777428c1 --- /dev/null +++ b/conf/providers/xai.yaml @@ -0,0 +1,82 @@ +name: xAI (Grok) +client_type: openai-completions +icon: https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1/icons/xai.svg +base_url: https://api.x.ai/v1 + +models: + - model_id: grok-4.20-beta-0309-reasoning + name: Grok 4.20 Beta + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 2000000 + + - model_id: grok-4.20-beta-0309-non-reasoning + name: Grok 4.20 Beta (Non-Reasoning) + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 2000000 + + - model_id: grok-4.20-multi-agent-beta-0309 + name: Grok 4.20 Multi-Agent Beta + type: chat + config: + compatibilities: [vision, reasoning] + context_window: 2000000 + + - model_id: grok-4-1-fast-non-reasoning + name: Grok 4.1 Fast (Non-Reasoning) + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 2000000 + + - model_id: grok-4-1-fast-reasoning + name: Grok 4.1 Fast + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 2000000 + + - model_id: grok-4-fast-non-reasoning + name: Grok 4 Fast (Non-Reasoning) + type: chat + config: + compatibilities: [vision, tool-call] + context_window: 2000000 + + - model_id: grok-4-fast-reasoning + name: Grok 4 Fast + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 2000000 + + - model_id: grok-code-fast-1 + name: Grok Code Fast 1 + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 256000 + + - model_id: grok-4 + name: Grok 4 0709 + type: chat + config: + compatibilities: [vision, tool-call, reasoning] + context_window: 256000 + + - model_id: grok-3 + name: Grok 3 + type: chat + config: + compatibilities: [tool-call] + context_window: 131072 + + - model_id: grok-3-mini + name: Grok 3 Mini + type: chat + config: + compatibilities: [tool-call, reasoning] + context_window: 131072