From 3cb9a1cd3dd1d86cea6a105d9177af0cbfbf2b06 Mon Sep 17 00:00:00 2001 From: Christian Landgren Date: Fri, 23 Jan 2026 01:01:40 +0100 Subject: [PATCH 1/3] feat: add Berget.AI provider Add Berget.AI as an OpenAI-compatible provider with base URL api.berget.ai/v1. Models included: - Text: Llama 3.3 70B, Qwen3 32B, GPT-OSS-120B, GLM 4.7, Mistral Small 3.2 24B - Embedding: Multilingual-E5-large-instruct, Multilingual-E5-large - Rerank: bge-reranker-v2-m3 - Speech-to-Text: KB-Whisper-Large --- providers/berget/logo.svg | 3 +++ .../models/BAAI/bge-reranker-v2-m3.toml | 22 ++++++++++++++++++ .../berget/models/KBLab/kb-whisper-large.toml | 22 ++++++++++++++++++ providers/berget/models/Qwen/Qwen3-32B.toml | 23 +++++++++++++++++++ .../multilingual-e5-large-instruct.toml | 22 ++++++++++++++++++ .../intfloat/multilingual-e5-large.toml | 22 ++++++++++++++++++ .../meta-llama/Llama-3.3-70B-Instruct.toml | 23 +++++++++++++++++++ .../Mistral-Small-3.2-24B-Instruct-2506.toml | 23 +++++++++++++++++++ .../berget/models/openai/gpt-oss-120b.toml | 23 +++++++++++++++++++ providers/berget/models/zai-org/GLM-4.7.toml | 23 +++++++++++++++++++ providers/berget/provider.toml | 5 ++++ 11 files changed, 211 insertions(+) create mode 100644 providers/berget/logo.svg create mode 100644 providers/berget/models/BAAI/bge-reranker-v2-m3.toml create mode 100644 providers/berget/models/KBLab/kb-whisper-large.toml create mode 100644 providers/berget/models/Qwen/Qwen3-32B.toml create mode 100644 providers/berget/models/intfloat/multilingual-e5-large-instruct.toml create mode 100644 providers/berget/models/intfloat/multilingual-e5-large.toml create mode 100644 providers/berget/models/meta-llama/Llama-3.3-70B-Instruct.toml create mode 100644 providers/berget/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506.toml create mode 100644 providers/berget/models/openai/gpt-oss-120b.toml create mode 100644 providers/berget/models/zai-org/GLM-4.7.toml create mode 100644 providers/berget/provider.toml diff --git a/providers/berget/logo.svg b/providers/berget/logo.svg new file mode 100644 index 000000000..831547a59 --- /dev/null +++ b/providers/berget/logo.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/providers/berget/models/BAAI/bge-reranker-v2-m3.toml b/providers/berget/models/BAAI/bge-reranker-v2-m3.toml new file mode 100644 index 000000000..3c2a51dfd --- /dev/null +++ b/providers/berget/models/BAAI/bge-reranker-v2-m3.toml @@ -0,0 +1,22 @@ +name = "bge-reranker-v2-m3" +family = "bge" +release_date = "2025-04-23" +last_updated = "2025-04-23" +attachment = false +reasoning = false +temperature = false +knowledge = "2025-04" +tool_call = false +open_weights = true + +[cost] +input = 0.1 +output = 0.1 + +[limit] +context = 512 +output = 512 + +[modalities] +input = ["text"] +output = ["text"] \ No newline at end of file diff --git a/providers/berget/models/KBLab/kb-whisper-large.toml b/providers/berget/models/KBLab/kb-whisper-large.toml new file mode 100644 index 000000000..59f87bb60 --- /dev/null +++ b/providers/berget/models/KBLab/kb-whisper-large.toml @@ -0,0 +1,22 @@ +name = "KB-Whisper-Large" +family = "whisper" +release_date = "2025-04-27" +last_updated = "2025-04-27" +attachment = false +reasoning = false +temperature = false +knowledge = "2025-04" +tool_call = true +open_weights = true + +[cost] +input = 3 +output = 3 + +[limit] +context = 480_000 +output = 4_800 + +[modalities] +input = ["audio"] +output = ["text"] \ No newline at end of file diff --git a/providers/berget/models/Qwen/Qwen3-32B.toml b/providers/berget/models/Qwen/Qwen3-32B.toml new file mode 100644 index 000000000..b7ccc54da --- /dev/null +++ b/providers/berget/models/Qwen/Qwen3-32B.toml @@ -0,0 +1,23 @@ +name = "Qwen3 32B" +family = "qwen" +release_date = "2025-04-29" +last_updated = "2025-04-29" +attachment = false +reasoning = true +temperature = true +knowledge = "2025-04" +tool_call = true +structured_output = true +open_weights = true + +[cost] +input = 0.5 +output = 0.5 + +[limit] +context = 32_000 +output = 8_192 + +[modalities] +input = ["text"] +output = ["text"] \ No newline at end of file diff --git a/providers/berget/models/intfloat/multilingual-e5-large-instruct.toml b/providers/berget/models/intfloat/multilingual-e5-large-instruct.toml new file mode 100644 index 000000000..d6dbf6082 --- /dev/null +++ b/providers/berget/models/intfloat/multilingual-e5-large-instruct.toml @@ -0,0 +1,22 @@ +name = "Multilingual-E5-large-instruct" +family = "text-embedding" +release_date = "2025-04-27" +last_updated = "2025-04-27" +attachment = false +reasoning = false +temperature = false +knowledge = "2025-04" +tool_call = false +open_weights = true + +[cost] +input = 0.02 +output = 0 + +[limit] +context = 512 +output = 1024 + +[modalities] +input = ["text"] +output = ["text"] \ No newline at end of file diff --git a/providers/berget/models/intfloat/multilingual-e5-large.toml b/providers/berget/models/intfloat/multilingual-e5-large.toml new file mode 100644 index 000000000..2ac869f90 --- /dev/null +++ b/providers/berget/models/intfloat/multilingual-e5-large.toml @@ -0,0 +1,22 @@ +name = "Multilingual-E5-large" +family = "text-embedding" +release_date = "2025-09-11" +last_updated = "2025-09-11" +attachment = false +reasoning = false +temperature = false +knowledge = "2025-09" +tool_call = false +open_weights = true + +[cost] +input = 0.02 +output = 0 + +[limit] +context = 512 +output = 1024 + +[modalities] +input = ["text"] +output = ["text"] \ No newline at end of file diff --git a/providers/berget/models/meta-llama/Llama-3.3-70B-Instruct.toml b/providers/berget/models/meta-llama/Llama-3.3-70B-Instruct.toml new file mode 100644 index 000000000..3d0795bf0 --- /dev/null +++ b/providers/berget/models/meta-llama/Llama-3.3-70B-Instruct.toml @@ -0,0 +1,23 @@ +name = "Llama 3.3 70B Instruct" +family = "llama" +release_date = "2025-04-27" +last_updated = "2025-04-27" +attachment = false +reasoning = true +temperature = true +knowledge = "2024-12" +tool_call = true +structured_output = true +open_weights = true + +[cost] +input = 0.9 +output = 0.9 + +[limit] +context = 128_000 +output = 8_192 + +[modalities] +input = ["text"] +output = ["text"] \ No newline at end of file diff --git a/providers/berget/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506.toml b/providers/berget/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506.toml new file mode 100644 index 000000000..545304e69 --- /dev/null +++ b/providers/berget/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506.toml @@ -0,0 +1,23 @@ +name = "Mistral Small 3.2 24B Instruct 2506" +family = "mistral" +release_date = "2025-10-01" +last_updated = "2025-10-01" +attachment = false +reasoning = true +temperature = true +knowledge = "2025-09" +tool_call = true +structured_output = true +open_weights = true + +[cost] +input = 0.3 +output = 0.3 + +[limit] +context = 32_000 +output = 8_192 + +[modalities] +input = ["text"] +output = ["text"] \ No newline at end of file diff --git a/providers/berget/models/openai/gpt-oss-120b.toml b/providers/berget/models/openai/gpt-oss-120b.toml new file mode 100644 index 000000000..fa44887c0 --- /dev/null +++ b/providers/berget/models/openai/gpt-oss-120b.toml @@ -0,0 +1,23 @@ +name = "GPT-OSS-120B" +family = "gpt-oss" +release_date = "2025-08-05" +last_updated = "2025-08-05" +attachment = false +reasoning = true +temperature = true +knowledge = "2025-08" +tool_call = true +structured_output = true +open_weights = true + +[cost] +input = 0.3 +output = 0.9 + +[limit] +context = 128_000 +output = 8_192 + +[modalities] +input = ["text"] +output = ["text"] \ No newline at end of file diff --git a/providers/berget/models/zai-org/GLM-4.7.toml b/providers/berget/models/zai-org/GLM-4.7.toml new file mode 100644 index 000000000..0982f3dfa --- /dev/null +++ b/providers/berget/models/zai-org/GLM-4.7.toml @@ -0,0 +1,23 @@ +name = "GLM 4.7" +family = "glm" +release_date = "2026-01-19" +last_updated = "2026-01-19" +attachment = false +reasoning = true +temperature = true +knowledge = "2025-12" +tool_call = true +structured_output = true +open_weights = true + +[cost] +input = 0.7 +output = 2.3 + +[limit] +context = 128_000 +output = 8_192 + +[modalities] +input = ["text"] +output = ["text"] \ No newline at end of file diff --git a/providers/berget/provider.toml b/providers/berget/provider.toml new file mode 100644 index 000000000..b93c3265d --- /dev/null +++ b/providers/berget/provider.toml @@ -0,0 +1,5 @@ +name = "Berget.AI" +env = ["BERGET_API_KEY"] +npm = "@ai-sdk/openai-compatible" +api = "https://api.berget.ai/v1" +doc = "https://api.berget.ai" \ No newline at end of file From cb8d8e86980a02b4adea9412c78418d3b6b0d53b Mon Sep 17 00:00:00 2001 From: Christian Landgren Date: Fri, 23 Jan 2026 01:05:12 +0100 Subject: [PATCH 2/3] chore: remove Qwen3 32B model --- providers/berget/models/Qwen/Qwen3-32B.toml | 23 --------------------- 1 file changed, 23 deletions(-) delete mode 100644 providers/berget/models/Qwen/Qwen3-32B.toml diff --git a/providers/berget/models/Qwen/Qwen3-32B.toml b/providers/berget/models/Qwen/Qwen3-32B.toml deleted file mode 100644 index b7ccc54da..000000000 --- a/providers/berget/models/Qwen/Qwen3-32B.toml +++ /dev/null @@ -1,23 +0,0 @@ -name = "Qwen3 32B" -family = "qwen" -release_date = "2025-04-29" -last_updated = "2025-04-29" -attachment = false -reasoning = true -temperature = true -knowledge = "2025-04" -tool_call = true -structured_output = true -open_weights = true - -[cost] -input = 0.5 -output = 0.5 - -[limit] -context = 32_000 -output = 8_192 - -[modalities] -input = ["text"] -output = ["text"] \ No newline at end of file From eb98dd43051200d82c214b9c3fcec4f274df5870 Mon Sep 17 00:00:00 2001 From: Christian Landgren Date: Fri, 23 Jan 2026 01:10:35 +0100 Subject: [PATCH 3/3] fix: address Copilot review comments - Change Mistral family from 'mistral' to 'mistral-small' for consistency - Fix Llama 3.3 70B knowledge date from '2024-12' to '2023-12' - Set tool_call to false for KB-Whisper-Large (speech-to-text models don't support tool calling) --- providers/berget/models/KBLab/kb-whisper-large.toml | 2 +- providers/berget/models/meta-llama/Llama-3.3-70B-Instruct.toml | 2 +- .../models/mistralai/Mistral-Small-3.2-24B-Instruct-2506.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/providers/berget/models/KBLab/kb-whisper-large.toml b/providers/berget/models/KBLab/kb-whisper-large.toml index 59f87bb60..9324a1db9 100644 --- a/providers/berget/models/KBLab/kb-whisper-large.toml +++ b/providers/berget/models/KBLab/kb-whisper-large.toml @@ -6,7 +6,7 @@ attachment = false reasoning = false temperature = false knowledge = "2025-04" -tool_call = true +tool_call = false open_weights = true [cost] diff --git a/providers/berget/models/meta-llama/Llama-3.3-70B-Instruct.toml b/providers/berget/models/meta-llama/Llama-3.3-70B-Instruct.toml index 3d0795bf0..92c161c23 100644 --- a/providers/berget/models/meta-llama/Llama-3.3-70B-Instruct.toml +++ b/providers/berget/models/meta-llama/Llama-3.3-70B-Instruct.toml @@ -5,7 +5,7 @@ last_updated = "2025-04-27" attachment = false reasoning = true temperature = true -knowledge = "2024-12" +knowledge = "2023-12" tool_call = true structured_output = true open_weights = true diff --git a/providers/berget/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506.toml b/providers/berget/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506.toml index 545304e69..cdbb578f3 100644 --- a/providers/berget/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506.toml +++ b/providers/berget/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506.toml @@ -1,5 +1,5 @@ name = "Mistral Small 3.2 24B Instruct 2506" -family = "mistral" +family = "mistral-small" release_date = "2025-10-01" last_updated = "2025-10-01" attachment = false