Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bbbf80ea6d |
No files matched your search
@@ -0,0 +1,35 @@
|
||||
name: opencode-issue-fix
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
opencode-issue-fix:
|
||||
if: github.repository == 'anomalyco/models.dev'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
issues: read
|
||||
pull-requests: read
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
|
||||
- name: Run opencode
|
||||
uses: anomalyco/opencode/github@2c14fc5586fe0b88e5c04732d2e846769cc35671 # latest
|
||||
env:
|
||||
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
|
||||
OPENCODE_PERMISSION: '{"bash": "deny"}'
|
||||
with:
|
||||
model: opencode/claude-opus-4-5
|
||||
prompt: |
|
||||
Fix the issue that was just opened.
|
||||
|
||||
Requirements:
|
||||
- Implement the smallest correct change that addresses the issue.
|
||||
- Do not use the bash/shell tool. The workflow denies it; use file read/edit tools instead.
|
||||
- If there is not enough information to make a safe fix, explain what is missing instead of making speculative changes.
|
||||
|
||||
The GitHub Action will create a pull request if you modify files.
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "Command R7B"
|
||||
family = "command-r"
|
||||
release_date = "2024-12-02"
|
||||
last_updated = "2024-12-02"
|
||||
release_date = "2024-02-27"
|
||||
last_updated = "2024-02-27"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "Gemini 2.5 Flash"
|
||||
family = "gemini-flash"
|
||||
release_date = "2025-06-17"
|
||||
last_updated = "2025-06-17"
|
||||
release_date = "2025-03-20"
|
||||
last_updated = "2025-06-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "Gemini 2.5 Pro"
|
||||
family = "gemini-pro"
|
||||
release_date = "2025-06-17"
|
||||
last_updated = "2025-06-17"
|
||||
release_date = "2025-03-20"
|
||||
last_updated = "2025-06-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "Gemma 4 E2B IT"
|
||||
family = "gemma"
|
||||
release_date = "2026-04-02"
|
||||
last_updated = "2026-04-02"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "audio"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/google/gemma-4-E2B-it"
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "Gemma 4 E4B IT"
|
||||
family = "gemma"
|
||||
release_date = "2026-04-02"
|
||||
last_updated = "2026-04-02"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "audio"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/google/gemma-4-E4B-it"
|
||||
@@ -6,7 +6,7 @@ attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 512_000
|
||||
@@ -15,7 +15,3 @@ output = 128_000
|
||||
[modalities]
|
||||
input = ["text", "image", "video"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/MiniMaxAI/MiniMax-M3"
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "Mistral Large 2.1"
|
||||
family = "mistral-large"
|
||||
release_date = "2024-11-18"
|
||||
last_updated = "2024-11-18"
|
||||
release_date = "2024-11-01"
|
||||
last_updated = "2024-11-04"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name = "Kimi K2.5"
|
||||
family = "kimi-k2"
|
||||
family = "kimi-k2.5"
|
||||
release_date = "2026-01"
|
||||
last_updated = "2026-01"
|
||||
attachment = false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name = "Kimi K2.6"
|
||||
family = "kimi-k2"
|
||||
family = "kimi-k2.6"
|
||||
release_date = "2026-04-21"
|
||||
last_updated = "2026-04-21"
|
||||
attachment = true
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
name = "Kimi K2.7 Code Highspeed"
|
||||
family = "kimi-k2"
|
||||
release_date = "2026-06-12"
|
||||
last_updated = "2026-06-12"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-01"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 262_144
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "video"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/moonshotai/Kimi-K2.7-Code"
|
||||
@@ -1,23 +0,0 @@
|
||||
name = "Kimi K2.7 Code"
|
||||
family = "kimi-k2"
|
||||
release_date = "2026-06-12"
|
||||
last_updated = "2026-06-12"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-01"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 262_144
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "video"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/moonshotai/Kimi-K2.7-Code"
|
||||
@@ -1,17 +0,0 @@
|
||||
name = "GPT-Image-1.5"
|
||||
family = "gpt-image"
|
||||
release_date = "2025-11-25"
|
||||
last_updated = "2025-11-25"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = false
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 0
|
||||
output = 0
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text", "image"]
|
||||
@@ -1,17 +0,0 @@
|
||||
name = "GPT-Image-1"
|
||||
family = "gpt-image"
|
||||
release_date = "2025-04-24"
|
||||
last_updated = "2025-04-24"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = false
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 0
|
||||
output = 0
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["image"]
|
||||
@@ -1,17 +0,0 @@
|
||||
name = "GPT-Image-2"
|
||||
family = "gpt-image"
|
||||
release_date = "2026-04-21"
|
||||
last_updated = "2026-04-21"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = false
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 0
|
||||
output = 0
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["image"]
|
||||
@@ -0,0 +1,17 @@
|
||||
name = "Aion 2.0"
|
||||
family = "o"
|
||||
release_date = "2026-03-24"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 128000
|
||||
output = 32768
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Trinity Large Thinking"
|
||||
family = "trinity"
|
||||
release_date = "2026-04-02"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256000
|
||||
output = 65536
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/arcee-ai/Trinity-Large-Thinking-FP8-Block"
|
||||
+9
-13
@@ -1,26 +1,22 @@
|
||||
name = "DeepSeek V3.2"
|
||||
family = "deepseek"
|
||||
release_date = "2025-12-03"
|
||||
last_updated = "2025-12-05"
|
||||
release_date = "2025-12-04"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-01"
|
||||
knowledge = "2025-10"
|
||||
open_weights = true
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "toggle"
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 65_536
|
||||
context = 160000
|
||||
output = 32768
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/deepseek-ai/DeepSeek-V3.2"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Gemma 3 27B"
|
||||
family = "gemma"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 40000
|
||||
output = 4096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/google/gemma-3-27b-it"
|
||||
+7
-10
@@ -1,20 +1,17 @@
|
||||
name = "Wan2.7 Image"
|
||||
release_date = "2026-05-29"
|
||||
last_updated = "2026-05-29"
|
||||
name = "Gemma 4 26B A4B Uncensored"
|
||||
family = "gemma"
|
||||
release_date = "2026-05-24"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 8_192
|
||||
output = 0
|
||||
context = 64_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Gemma 4 31B Instruct"
|
||||
family = "gemma"
|
||||
release_date = "2026-05-20"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 32000
|
||||
output = 4096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/google/gemma-4-31B-it"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "GPT OSS 120B"
|
||||
family = "gpt-oss"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128000
|
||||
output = 32768
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/openai/gpt-oss-120b"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "GPT OSS 20B"
|
||||
family = "gpt-oss"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128000
|
||||
output = 32768
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/openai/gpt-oss-20b"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Qwen 2.5 7B"
|
||||
family = "qwen"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 32000
|
||||
output = 4096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen2.5-7B-Instruct"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Qwen3 30B A3B"
|
||||
family = "qwen"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
tool_call = true
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256000
|
||||
output = 32768
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-30B-A3B-Instruct-2507"
|
||||
@@ -0,0 +1,17 @@
|
||||
name = "Qwen3.6 35B A3B Uncensored"
|
||||
family = "qwen3.6"
|
||||
release_date = "2026-05-24"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Qwen 3.6 35B A3B FP8"
|
||||
family = "qwen"
|
||||
release_date = "2026-05-20"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 32_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3.6-35B-A3B-FP8"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Qwen3 VL 30B A3B"
|
||||
family = "qwen"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
tool_call = true
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128000
|
||||
output = 4096
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-VL-30B-A3B-Instruct"
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "Venice Uncensored 1.1"
|
||||
family = "venice"
|
||||
release_date = "2026-03-18"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
tool_call = false
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 32000
|
||||
output = 4096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/cognitivecomputations/Dolphin-Mistral-24B-Venice-Edition"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Gemma 4 Uncensored"
|
||||
family = "gemma"
|
||||
release_date = "2026-04-13"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Jiunsong/supergemma4-26b-uncensored-gguf-v2"
|
||||
@@ -0,0 +1,22 @@
|
||||
name = "Google Gemma 3 27B Instruct"
|
||||
family = "gemma"
|
||||
release_date = "2025-11-04"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-07"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 198_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/google/gemma-3-27b-it"
|
||||
@@ -0,0 +1,18 @@
|
||||
name = "Grok 4.20 Multi-Agent"
|
||||
family = "grok"
|
||||
release_date = "2026-03-12"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = false
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 2_000_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,18 @@
|
||||
name = "Grok 4.20"
|
||||
family = "grok"
|
||||
release_date = "2026-03-12"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
temperature = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 2000000
|
||||
output = 128000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Hermes 3 Llama 3.1 405b"
|
||||
family = "hermes"
|
||||
release_date = "2025-09-25"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
knowledge = "2024-04"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/NousResearch/Hermes-3-Llama-3.1-405B"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Llama 3.2 3B"
|
||||
family = "llama"
|
||||
release_date = "2024-10-03"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2023-12"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/meta-llama/Llama-3.2-3B"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Llama 3.3 70B"
|
||||
family = "llama"
|
||||
release_date = "2025-04-06"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2023-12"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct"
|
||||
@@ -0,0 +1,18 @@
|
||||
name = "Mercury 2"
|
||||
family = "mercury"
|
||||
release_date = "2026-02-20"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
temperature = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 128000
|
||||
output = 50000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Mistral Small 3.2 24B Instruct"
|
||||
family = "mistral-small"
|
||||
release_date = "2026-01-15"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/mistralai/Mistral-Small-3.2-24B-Instruct-2506"
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "GLM-5.2"
|
||||
name = "GLM 4.7 Flash Heretic"
|
||||
family = "glm"
|
||||
release_date = "2026-06-13"
|
||||
last_updated = "2026-06-13"
|
||||
release_date = "2026-02-04"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
@@ -10,13 +10,12 @@ structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 131_072
|
||||
context = 200_000
|
||||
output = 24_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/zai-org/GLM-5.2"
|
||||
url = "https://huggingface.co/Olafangensan/GLM-4.7-Flash-heretic"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "OpenAI GPT OSS 120B"
|
||||
family = "gpt-oss"
|
||||
release_date = "2025-11-06"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = true
|
||||
temperature = true
|
||||
knowledge = "2025-07"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128000
|
||||
output = 16384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/openai/gpt-oss-120b"
|
||||
@@ -0,0 +1,22 @@
|
||||
name = "Qwen 3 235B A22B Instruct 2507"
|
||||
family = "qwen"
|
||||
release_date = "2025-04-29"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-07"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-235B-A22B-Instruct-2507-FP8"
|
||||
@@ -0,0 +1,22 @@
|
||||
name = "Qwen 3 235B A22B Thinking 2507"
|
||||
family = "qwen"
|
||||
release_date = "2025-04-29"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-07"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-235B-A22B-Thinking-2507-FP8"
|
||||
@@ -1,8 +1,8 @@
|
||||
name = "Qwen3.5 9B"
|
||||
name = "Qwen 3.5 9B"
|
||||
family = "qwen"
|
||||
release_date = "2026-02-23"
|
||||
last_updated = "2026-02-23"
|
||||
attachment = false
|
||||
release_date = "2026-03-05"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
@@ -10,13 +10,12 @@ structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 65_536
|
||||
context = 256_000
|
||||
output = 32_768
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/Qwen/Qwen3.5-9B"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Qwen 3 Coder 480B Turbo"
|
||||
family = "qwen"
|
||||
release_date = "2026-01-27"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 65_536
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo"
|
||||
@@ -0,0 +1,22 @@
|
||||
name = "Qwen 3 Next 80b"
|
||||
family = "qwen"
|
||||
release_date = "2025-04-29"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-07"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-Next-80B-A3B-Instruct"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Qwen3 VL 235B"
|
||||
family = "qwen3.5"
|
||||
release_date = "2026-01-16"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/Qwen/Qwen3-VL-235B-A22B-Instruct"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Venice Uncensored 1.2"
|
||||
family = "venice"
|
||||
release_date = "2026-04-01"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/cognitivecomputations/Dolphin-Mistral-24B-Venice-Edition"
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Venice Role Play Uncensored"
|
||||
family = "venice"
|
||||
release_date = "2026-02-20"
|
||||
last_updated = "2026-06-10"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
url = "https://huggingface.co/dphnAI/24B-3.2-RP-K2-final"
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "GLM-5.1"
|
||||
family = "glm"
|
||||
release_date = "2026-04-07"
|
||||
last_updated = "2026-04-07"
|
||||
release_date = "2026-03-27"
|
||||
last_updated = "2026-03-27"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "GLM-5"
|
||||
family = "glm"
|
||||
release_date = "2026-02-12"
|
||||
last_updated = "2026-02-12"
|
||||
release_date = "2026-02-11"
|
||||
last_updated = "2026-02-11"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
|
||||
@@ -13,7 +13,7 @@ import { z } from "zod";
|
||||
import path from "node:path";
|
||||
import { existsSync, readFileSync } from "node:fs";
|
||||
import { mkdir } from "node:fs/promises";
|
||||
import { inferKimiFamily, ModelFamilyValues } from "../src/family.js";
|
||||
import { ModelFamilyValues } from "../src/family.js";
|
||||
|
||||
const API_ENDPOINT = "https://llm.chutes.ai/v1/models";
|
||||
const MODEL_METADATA_DIR = path.join(import.meta.dirname, "..", "..", "..", "models");
|
||||
@@ -261,9 +261,6 @@ function matchesFamily(target: string, family: string): boolean {
|
||||
}
|
||||
|
||||
function inferFamily(modelId: string, modelName: string): string | undefined {
|
||||
const kimiFamily = inferKimiFamily(modelId, modelName);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
const sortedFamilies = [...ModelFamilyValues].sort((a, b) => b.length - a.length);
|
||||
|
||||
// First pass: try exact substring matches
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
import { z } from "zod";
|
||||
import path from "node:path";
|
||||
import { mkdir } from "node:fs/promises";
|
||||
import { inferKimiFamily, ModelFamilyValues } from "../src/family.js";
|
||||
import { ModelFamilyValues } from "../src/family.js";
|
||||
|
||||
const MODELS_API = "https://api.digitalocean.com/v2/gen-ai/models";
|
||||
const PRICING_API = "https://www.digitalocean.com/api/static-content/v1/products";
|
||||
@@ -142,7 +142,7 @@ const PRICING_NAME_MAP: Record<string, string> = {
|
||||
// DO-hosted
|
||||
"qwen3-32b": "alibaba-qwen3-32b",
|
||||
"minimax m2.5 (public preview)": "minimax-m2.5",
|
||||
"kimi k2.5": "kimi-k2",
|
||||
"kimi k2.5": "kimi-k2.5",
|
||||
"nvidia nemotron 3 super 120b (public preview)": "nvidia-nemotron-3-super-120b",
|
||||
"glm 5": "glm-5",
|
||||
};
|
||||
@@ -311,9 +311,6 @@ function formatNumber(n: number): string {
|
||||
}
|
||||
|
||||
function inferFamily(modelId: string, modelName: string): string | undefined {
|
||||
const kimiFamily = inferKimiFamily(modelId, modelName);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
const sorted = [...ModelFamilyValues].sort((a, b) => b.length - a.length);
|
||||
const targets = [modelId.toLowerCase(), modelName.toLowerCase()];
|
||||
for (const family of sorted) {
|
||||
|
||||
@@ -4,8 +4,6 @@ import { mkdir } from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
import { z } from "zod";
|
||||
|
||||
import { inferKimiFamily } from "../src/family.js";
|
||||
|
||||
// Friendli API endpoint
|
||||
const API_ENDPOINT = "https://api.friendli.ai/serverless/v1/models";
|
||||
|
||||
@@ -55,9 +53,6 @@ const familyPatterns: [RegExp, string][] = [
|
||||
];
|
||||
|
||||
function inferFamily(modelId: string, modelName: string): string | undefined {
|
||||
const kimiFamily = inferKimiFamily(modelId, modelName);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
for (const [pattern, family] of familyPatterns) {
|
||||
if (pattern.test(modelId) || pattern.test(modelName)) {
|
||||
return family;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import path from "node:path";
|
||||
import { mkdir } from "node:fs/promises";
|
||||
import { z } from "zod";
|
||||
import { inferKimiFamily, ModelFamilyValues } from "../src/family.js";
|
||||
import { ModelFamilyValues } from "../src/family.js";
|
||||
|
||||
const API_ENDPOINT = "https://trace.wandb.ai/inference/analysis/artificialanalysis/models";
|
||||
|
||||
@@ -176,9 +176,6 @@ function matchesFamily(target: string, family: string): boolean {
|
||||
}
|
||||
|
||||
function inferFamily(modelId: string, modelName: string): string | undefined {
|
||||
const kimiFamily = inferKimiFamily(modelId, modelName);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
const sortedFamilies = [...ModelFamilyValues].sort((a, b) => b.length - a.length);
|
||||
|
||||
for (const family of sortedFamilies) {
|
||||
|
||||
@@ -66,7 +66,8 @@ export const ModelFamilyValues = [
|
||||
|
||||
// Moonshot Kimi
|
||||
"kimi",
|
||||
"kimi-k2",
|
||||
"kimi-k2.5",
|
||||
"kimi-k2.6",
|
||||
"kimi-free",
|
||||
"kimi-thinking",
|
||||
|
||||
@@ -246,9 +247,6 @@ export const ModelFamilyValues = [
|
||||
// Lucid
|
||||
"lucid",
|
||||
|
||||
// LucidQuery
|
||||
"agi",
|
||||
|
||||
// Intellect
|
||||
"intellect",
|
||||
|
||||
@@ -425,10 +423,3 @@ export const ModelFamilyValues = [
|
||||
|
||||
export const ModelFamily = z.enum(ModelFamilyValues);
|
||||
export type ModelFamily = z.infer<typeof ModelFamily>;
|
||||
|
||||
export function inferKimiFamily(...values: string[]): ModelFamily | undefined {
|
||||
const target = values.join(" ").toLowerCase();
|
||||
if (/kimi[^a-z0-9]*k2(?:[^a-z0-9]*\d+)?[^a-z0-9]*thinking/.test(target)) return "kimi-thinking";
|
||||
if (/kimi[\s_-]*k2/.test(target)) return "kimi-k2";
|
||||
return undefined;
|
||||
}
|
||||
@@ -51,7 +51,6 @@ export interface SyncProvider<SourceModel> {
|
||||
skipCreates?: boolean;
|
||||
deleteMissing?: boolean;
|
||||
preserveSymlinks?: boolean;
|
||||
preserveBaseModels?: boolean;
|
||||
sameModel?(current: ExistingModel, desired: SyncedModel): boolean;
|
||||
missingNotice?(paths: string[]): string[];
|
||||
sourceID?(model: SourceModel): string;
|
||||
@@ -119,9 +118,7 @@ export async function syncProvider<SourceModel>(
|
||||
): Promise<SyncResult> {
|
||||
console.log(`\nSyncing ${provider.name}...`);
|
||||
|
||||
const existingState = await readExisting(provider.modelsDir);
|
||||
const { models: existing, brokenSymlinks } = existingState;
|
||||
let { modelMetadata } = existingState;
|
||||
const { models: existing, brokenSymlinks } = await readExisting(provider.modelsDir);
|
||||
const sourceModels = provider.parseModels(await provider.fetchModels());
|
||||
const desired = new Map<string, { model: z.infer<typeof SyncedAuthoredModel>; content: string }>();
|
||||
const desiredMetadata = new Map<string, { model: z.infer<typeof ModelMetadata>; content: string }>();
|
||||
@@ -165,28 +162,11 @@ export async function syncProvider<SourceModel>(
|
||||
});
|
||||
}
|
||||
|
||||
const translatedModel = provider.preserveBaseModels === false
|
||||
? translated.model
|
||||
: preserveBaseModel(translated.model, existing.get(relativePath)?.authored);
|
||||
const translatedBase = "base_model" in translatedModel ? translatedModel.base_model : undefined;
|
||||
let resolvedReasoning: boolean | undefined;
|
||||
if (translatedBase !== undefined) {
|
||||
if (translated.metadata?.id === translatedBase) {
|
||||
resolvedReasoning = translated.metadata.model.reasoning;
|
||||
} else {
|
||||
modelMetadata ??= await readModelMetadata(provider.modelsDir);
|
||||
const canonicalReasoning = modelMetadata[translatedBase]?.reasoning;
|
||||
resolvedReasoning = typeof canonicalReasoning === "boolean" ? canonicalReasoning : undefined;
|
||||
}
|
||||
} else {
|
||||
resolvedReasoning = existing.get(relativePath)?.toml.reasoning;
|
||||
}
|
||||
const parsed = SyncedAuthoredModel.safeParse(stripUndefined({
|
||||
id: translated.id,
|
||||
...preserveReasoningOptions(
|
||||
translatedModel,
|
||||
preserveBaseModel(translated.model, existing.get(relativePath)?.authored),
|
||||
existing.get(relativePath)?.authored,
|
||||
resolvedReasoning,
|
||||
),
|
||||
}));
|
||||
if (!parsed.success) {
|
||||
@@ -336,12 +316,7 @@ export function preserveBaseModel(model: SyncedModel, existing: ExistingModel |
|
||||
export function preserveReasoningOptions(
|
||||
model: SyncedModel,
|
||||
existing: ExistingModel | undefined,
|
||||
resolvedReasoning: boolean | undefined = existing?.reasoning,
|
||||
): SyncedModel {
|
||||
if ((model.reasoning ?? resolvedReasoning) === false) {
|
||||
const { reasoning_options: _reasoningOptions, ...withoutReasoningOptions } = model;
|
||||
return withoutReasoningOptions as SyncedModel;
|
||||
}
|
||||
if (model.reasoning_options !== undefined || existing?.reasoning_options === undefined) return model;
|
||||
return {
|
||||
...model,
|
||||
@@ -414,7 +389,7 @@ async function readExisting(modelsDir: string) {
|
||||
existing.set(file, { authored, toml, symlink });
|
||||
}
|
||||
|
||||
return { models: existing, brokenSymlinks, modelMetadata };
|
||||
return { models: existing, brokenSymlinks };
|
||||
}
|
||||
|
||||
async function isSymlink(filePath: string) {
|
||||
|
||||
@@ -2,12 +2,11 @@ import { z } from "zod";
|
||||
import { readFileSync, readdirSync } from "node:fs";
|
||||
import path from "node:path";
|
||||
|
||||
import { inferKimiFamily, ModelFamilyValues } from "../../family.js";
|
||||
import { ModelFamilyValues } from "../../family.js";
|
||||
import type { ExistingModel, SyncProvider, SyncedFullModel, SyncedModel } from "../index.js";
|
||||
|
||||
const API_ENDPOINT = "https://openrouter.ai/api/v1/models";
|
||||
const MODELS_DIR = path.join(import.meta.dirname, "..", "..", "..", "..", "..", "models");
|
||||
const MODEL_NAME_BLACKLIST = ["fable-5"];
|
||||
const modelMetadataByID = new Map<string, Record<string, unknown>>();
|
||||
const modelMetadataFilesByProvider = new Map<string, Set<string>>();
|
||||
|
||||
@@ -80,10 +79,7 @@ export const openrouter = {
|
||||
return response.json();
|
||||
},
|
||||
parseModels(raw) {
|
||||
return OpenRouterResponse.parse(raw).data.filter((model) => {
|
||||
const name = `${model.id} ${model.name}`.toLowerCase();
|
||||
return MODEL_NAME_BLACKLIST.every((value) => !name.includes(value));
|
||||
});
|
||||
return OpenRouterResponse.parse(raw).data;
|
||||
},
|
||||
translateModel(model, context) {
|
||||
return {
|
||||
@@ -117,9 +113,6 @@ function modalities(values: string[], fallback: Modality[]): Modality[] {
|
||||
}
|
||||
|
||||
function inferFamily(model: OpenRouterModel, name: string) {
|
||||
const kimiFamily = inferKimiFamily(model.id, name);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
const target = `${model.id} ${name}`.toLowerCase();
|
||||
return [...ModelFamilyValues]
|
||||
.sort((a, b) => b.length - a.length)
|
||||
|
||||
@@ -121,7 +121,6 @@ export function buildOvhcloudModel(
|
||||
last_updated: lastUpdated,
|
||||
attachment,
|
||||
reasoning,
|
||||
reasoning_options: reasoning ? existing?.reasoning_options : undefined,
|
||||
temperature: temperature || undefined,
|
||||
tool_call: toolCall,
|
||||
structured_output: structuredOutput || undefined,
|
||||
|
||||
@@ -2,8 +2,8 @@ import { readdirSync } from "node:fs";
|
||||
import path from "node:path";
|
||||
import { z } from "zod";
|
||||
|
||||
import { inferKimiFamily, ModelFamilyValues } from "../../family.js";
|
||||
import type { ExistingModel, SyncProvider, SyncedFullModel, SyncedModel } from "../index.js";
|
||||
import { ModelFamilyValues } from "../../family.js";
|
||||
import type { ExistingModel, SyncProvider, SyncedFullModel, SyncedMetadata, SyncedModel } from "../index.js";
|
||||
import { factorBaseModel } from "./openrouter.js";
|
||||
|
||||
const API_ENDPOINT = "https://api.venice.ai/api/v1/models?type=text";
|
||||
@@ -11,7 +11,6 @@ const MODELS_DIR = path.join(import.meta.dirname, "..", "..", "..", "..", "..",
|
||||
|
||||
const Capabilities = z.object({
|
||||
supportsAudioInput: z.boolean().optional(),
|
||||
supportsE2EE: z.boolean().optional(),
|
||||
supportsFunctionCalling: z.boolean().optional(),
|
||||
supportsReasoning: z.boolean().optional(),
|
||||
supportsReasoningEffort: z.boolean().optional(),
|
||||
@@ -83,7 +82,7 @@ export const venice = {
|
||||
id: "venice",
|
||||
name: "Venice",
|
||||
modelsDir: "providers/venice/models",
|
||||
preserveBaseModels: false,
|
||||
metadataNamespace: "venice",
|
||||
async fetchModels() {
|
||||
const headers = process.env.VENICE_API_KEY
|
||||
? { Authorization: `Bearer ${process.env.VENICE_API_KEY}` }
|
||||
@@ -98,14 +97,20 @@ export const venice = {
|
||||
return VeniceResponse.parse(raw).data;
|
||||
},
|
||||
translateModel(model, context) {
|
||||
if (model.model_spec.capabilities.supportsE2EE === true) return undefined;
|
||||
const id = model.id.replaceAll("/", "-");
|
||||
const existing = context.existing(id);
|
||||
const existingBase = existing?.base_model?.startsWith("venice/") === false ? existing.base_model : undefined;
|
||||
const resolvedBase = existingBase ?? resolveVeniceBaseModel(model.id, model.model_spec.name);
|
||||
const resolvedBase = existing?.base_model ?? resolveVeniceBaseModel(model.id, model.model_spec.name);
|
||||
const baseModel = resolvedBase ?? `venice/${id}`;
|
||||
const full = buildVeniceModel(model, existing, null);
|
||||
const metadata = baseModel.startsWith("venice/")
|
||||
? { id: baseModel, model: buildVeniceMetadata(full, model.model_spec.modelSource) }
|
||||
: undefined;
|
||||
return {
|
||||
id,
|
||||
model: buildVeniceModel(model, existing, resolvedBase ?? null),
|
||||
model: resolvedBase === undefined
|
||||
? factorNewMetadata(baseModel, full)
|
||||
: buildVeniceModel(model, existing, baseModel),
|
||||
metadata,
|
||||
};
|
||||
},
|
||||
} satisfies SyncProvider<VeniceModel>;
|
||||
@@ -161,17 +166,20 @@ export function buildVeniceModel(
|
||||
reasoning_options: reasoningOptions,
|
||||
tool_call: capabilities.supportsFunctionCalling === true,
|
||||
structured_output: capabilities.supportsResponseSchema === true ? true : undefined,
|
||||
temperature: undefined,
|
||||
temperature: true,
|
||||
cost,
|
||||
limit,
|
||||
modalities: { input: [...new Set(input)], output: ["text" as const] },
|
||||
};
|
||||
const changed = existing !== undefined && Object.entries(authoritative).some(([key, value]) => {
|
||||
return stable(value) !== stable(existing[key as keyof ExistingModel]);
|
||||
});
|
||||
const releaseDate = new Date(model.created * 1000).toISOString().slice(0, 10);
|
||||
const values: SyncedFullModel = {
|
||||
...authoritative,
|
||||
family: baseModel == null ? inferFamily(model.id, spec.name) ?? existing?.family : existing?.family,
|
||||
release_date: releaseDate,
|
||||
last_updated: existing?.last_updated ?? today,
|
||||
last_updated: existing === undefined || changed ? today : (existing.last_updated ?? today),
|
||||
knowledge: existing?.knowledge,
|
||||
open_weights: spec.modelSource?.toLowerCase().includes("huggingface")
|
||||
?? existing?.open_weights
|
||||
@@ -227,9 +235,6 @@ function isReasoningEffort(value: string): value is ReasoningEffort {
|
||||
}
|
||||
|
||||
function inferFamily(id: string, name: string) {
|
||||
const kimiFamily = inferKimiFamily(id, name);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
const target = `${id} ${name}`.toLowerCase();
|
||||
return [...ModelFamilyValues]
|
||||
.sort((a, b) => b.length - a.length)
|
||||
@@ -239,3 +244,37 @@ function inferFamily(id: string, name: string) {
|
||||
return new RegExp(`(^|[^a-z0-9])${value}(?=$|[^a-z0-9])`).test(target);
|
||||
});
|
||||
}
|
||||
|
||||
function buildVeniceMetadata(model: SyncedModel, source: string | undefined): SyncedMetadata {
|
||||
if ("base_model" in model) throw new Error("Cannot build Venice metadata from a factored model");
|
||||
const { cost: _cost, reasoning_options: _reasoningOptions, interleaved: _interleaved, status: _status, ...metadata } = model;
|
||||
return {
|
||||
...metadata,
|
||||
weights: model.open_weights && source?.startsWith("https://huggingface.co/")
|
||||
? [{ url: source }]
|
||||
: undefined,
|
||||
};
|
||||
}
|
||||
|
||||
function factorNewMetadata(baseModel: string, model: SyncedModel): SyncedModel {
|
||||
if ("base_model" in model) return model;
|
||||
return {
|
||||
base_model: baseModel,
|
||||
reasoning_options: model.reasoning_options,
|
||||
cost: model.cost,
|
||||
status: model.status,
|
||||
interleaved: model.interleaved,
|
||||
};
|
||||
}
|
||||
|
||||
function stable(value: unknown): string {
|
||||
if (Array.isArray(value)) return `[${value.map(stable).sort().join(",")}]`;
|
||||
if (value !== null && typeof value === "object") {
|
||||
return `{${Object.entries(value)
|
||||
.filter(([, item]) => item !== undefined)
|
||||
.sort(([a], [b]) => a.localeCompare(b))
|
||||
.map(([key, item]) => `${key}:${stable(item)}`)
|
||||
.join(",")}}`;
|
||||
}
|
||||
return JSON.stringify(value);
|
||||
}
|
||||
@@ -1,21 +1,12 @@
|
||||
import { z } from "zod";
|
||||
|
||||
import { inferKimiFamily, ModelFamilyValues } from "../../family.js";
|
||||
import { ModelFamilyValues } from "../../family.js";
|
||||
import type { ExistingModel, SyncProvider, SyncedFullModel, SyncedModel } from "../index.js";
|
||||
import { factorBaseModel, resolveCanonicalBaseModel } from "./openrouter.js";
|
||||
|
||||
const API_ENDPOINT = "https://ai-gateway.vercel.sh/v1/models";
|
||||
|
||||
const ModelType = z.enum([
|
||||
"language",
|
||||
"embedding",
|
||||
"image",
|
||||
"video",
|
||||
"reranking",
|
||||
"transcription",
|
||||
"speech",
|
||||
"realtime",
|
||||
]);
|
||||
const ModelType = z.enum(["language", "embedding", "image", "video", "reranking"]);
|
||||
|
||||
const PricingTier = z.object({
|
||||
cost: z.string(),
|
||||
@@ -39,8 +30,8 @@ export const VercelModel = z.object({
|
||||
name: z.string(),
|
||||
created: z.number(),
|
||||
released: z.number().optional(),
|
||||
context_window: z.number().optional().default(0),
|
||||
max_tokens: z.number().optional().default(0),
|
||||
context_window: z.number(),
|
||||
max_tokens: z.number(),
|
||||
type: ModelType,
|
||||
tags: z.array(z.string()).optional().default([]),
|
||||
pricing: Pricing.optional(),
|
||||
@@ -116,17 +107,9 @@ export function buildVercelModel(model: VercelModel, existing: ExistingModel | u
|
||||
cost,
|
||||
limit: { context, input, output },
|
||||
modalities: {
|
||||
input: model.type === "transcription"
|
||||
? ["audio"]
|
||||
: model.type === "realtime"
|
||||
? ["text", "audio"]
|
||||
: ["text", tags.has("vision") ? "image" : undefined, tags.has("file-input") ? "pdf" : undefined]
|
||||
.filter((value): value is "text" | "image" | "pdf" => value !== undefined),
|
||||
output: model.type === "speech"
|
||||
? ["audio"]
|
||||
: model.type === "realtime"
|
||||
? ["text", "audio"]
|
||||
: model.type === "image"
|
||||
input: ["text", tags.has("vision") ? "image" : undefined, tags.has("file-input") ? "pdf" : undefined]
|
||||
.filter((value): value is "text" | "image" | "pdf" => value !== undefined),
|
||||
output: model.type === "image"
|
||||
? ["image"]
|
||||
: model.type === "video"
|
||||
? ["video"]
|
||||
@@ -170,9 +153,6 @@ function buildCost(pricing: VercelModel["pricing"], existing?: ExistingModel["co
|
||||
}
|
||||
|
||||
function inferFamily(modelID: string, name: string) {
|
||||
const kimiFamily = inferKimiFamily(modelID, name);
|
||||
if (kimiFamily !== undefined) return kimiFamily;
|
||||
|
||||
const targets = [modelID, name].map((value) => value.toLowerCase());
|
||||
const families = [...ModelFamilyValues].sort((a, b) => b.length - a.length);
|
||||
return families.find((family) => targets.some((target) => target.includes(family.toLowerCase())))
|
||||
|
||||
@@ -0,0 +1,150 @@
|
||||
import { afterEach, expect, test } from "bun:test";
|
||||
import path from "node:path";
|
||||
import { mkdir, mkdtemp } from "node:fs/promises";
|
||||
import os from "node:os";
|
||||
|
||||
import { syncProvider } from "../src/sync/index.js";
|
||||
import {
|
||||
BasetenResponse,
|
||||
baseten,
|
||||
buildBasetenModel,
|
||||
fetchBasetenModels,
|
||||
type BasetenModel,
|
||||
} from "../src/sync/providers/baseten.js";
|
||||
|
||||
const catalogModel: BasetenModel = {
|
||||
id: "zai-org/GLM-5.1",
|
||||
name: "GLM 5.1",
|
||||
context_length: 128_000,
|
||||
max_completion_tokens: 32_000,
|
||||
input_modalities: ["text"],
|
||||
output_modalities: ["text"],
|
||||
pricing: {
|
||||
prompt: "0.00000012",
|
||||
completion: "0.0000005",
|
||||
},
|
||||
supported_features: ["reasoning", "reasoning_effort", "tools", "structured_outputs"],
|
||||
supported_sampling_parameters: ["temperature", "top_p"],
|
||||
};
|
||||
|
||||
const newCatalogModel: BasetenModel = {
|
||||
...catalogModel,
|
||||
};
|
||||
|
||||
afterEach(() => {
|
||||
baseten.modelsDir = "providers/baseten/models";
|
||||
baseten.fetchModels = async () => {
|
||||
const key = process.env.BASETEN_API_KEY;
|
||||
if (key === undefined) throw new Error("Baseten sync requires BASETEN_API_KEY");
|
||||
return fetchBasetenModels(key);
|
||||
};
|
||||
});
|
||||
|
||||
test("Baseten maps authoritative fields and preserves curated metadata", () => {
|
||||
const synced = buildBasetenModel(catalogModel, {
|
||||
name: "Old name",
|
||||
release_date: "2025-08-05",
|
||||
last_updated: "2025-09-01",
|
||||
attachment: false,
|
||||
reasoning: true,
|
||||
reasoning_options: [{ type: "effort", values: ["low", "high"] }],
|
||||
tool_call: true,
|
||||
open_weights: true,
|
||||
status: "deprecated",
|
||||
interleaved: { field: "reasoning_content" },
|
||||
base_model: "zhipuai/glm-5.1",
|
||||
base_model_omit: ["limit.input"],
|
||||
cost: { input: 0.1, output: 0.4, cache_write: 0.2 },
|
||||
limit: { context: 64_000, output: 16_000 },
|
||||
modalities: { input: ["text"], output: ["text"] },
|
||||
});
|
||||
|
||||
expect(synced).toMatchObject({
|
||||
base_model: "zhipuai/glm-5.1",
|
||||
base_model_omit: ["limit.input"],
|
||||
reasoning_options: [{ type: "effort", values: ["low", "high"] }],
|
||||
status: "deprecated",
|
||||
interleaved: { field: "reasoning_content" },
|
||||
cost: { input: 0.12, output: 0.5, cache_write: 0.2 },
|
||||
limit: { context: 128_000, output: 32_000 },
|
||||
});
|
||||
});
|
||||
|
||||
test("Baseten preserves curated reasoning when an opt-in capability is omitted", () => {
|
||||
const synced = buildBasetenModel({
|
||||
...catalogModel,
|
||||
supported_features: ["tools", "structured_outputs"],
|
||||
}, {
|
||||
name: "GLM 5.1",
|
||||
release_date: "2026-05-20",
|
||||
last_updated: "2026-05-20",
|
||||
attachment: false,
|
||||
reasoning: true,
|
||||
reasoning_options: [{ type: "toggle" }],
|
||||
tool_call: true,
|
||||
open_weights: true,
|
||||
cost: { input: 1, output: 4 },
|
||||
limit: { context: 100_000, output: 50_000 },
|
||||
modalities: { input: ["text"], output: ["text"] },
|
||||
});
|
||||
|
||||
expect(synced).toMatchObject({
|
||||
reasoning: true,
|
||||
reasoning_options: [{ type: "toggle" }],
|
||||
});
|
||||
});
|
||||
|
||||
test("Baseten sync adds exact base models, retains missing entries, and is idempotent", async () => {
|
||||
const root = await mkdtemp(path.join(os.tmpdir(), "models-dev-baseten-"));
|
||||
const modelsDir = path.join(root, "providers", "baseten", "models");
|
||||
const metadataDir = path.join(root, "models", "zhipuai");
|
||||
await mkdir(path.join(modelsDir, "stale"), { recursive: true });
|
||||
await mkdir(metadataDir, { recursive: true });
|
||||
await Bun.write(
|
||||
path.join(metadataDir, "glm-5.1.toml"),
|
||||
Bun.file(path.join(import.meta.dirname, "../../../models/zhipuai/glm-5.1.toml")),
|
||||
);
|
||||
await Bun.write(path.join(modelsDir, "stale", "model.toml"), [
|
||||
'name = "Retained"',
|
||||
'release_date = "2025-01-01"',
|
||||
'last_updated = "2025-01-01"',
|
||||
"attachment = false",
|
||||
"reasoning = false",
|
||||
"tool_call = false",
|
||||
"open_weights = false",
|
||||
"[cost]",
|
||||
"input = 1",
|
||||
"output = 1",
|
||||
"[limit]",
|
||||
"context = 1000",
|
||||
"output = 100",
|
||||
"[modalities]",
|
||||
'input = ["text"]',
|
||||
'output = ["text"]',
|
||||
"",
|
||||
].join("\n"));
|
||||
baseten.modelsDir = modelsDir;
|
||||
baseten.fetchModels = async () => ({ data: [newCatalogModel] });
|
||||
|
||||
const first = await syncProvider(baseten);
|
||||
const second = await syncProvider(baseten);
|
||||
|
||||
expect(first.created).toBe(1);
|
||||
expect(first.deleted).toBe(0);
|
||||
expect(first.notices.join(" ")).toContain("stale/model.toml");
|
||||
expect(second).toMatchObject({ created: 0, updated: 0, deleted: 0 });
|
||||
});
|
||||
|
||||
test("Baseten rejects malformed catalog responses", () => {
|
||||
expect(() => BasetenResponse.parse({ data: "broken" })).toThrow();
|
||||
});
|
||||
|
||||
test("Baseten rejects non-success API responses", async () => {
|
||||
const fetcher = async () => new Response("unauthorized", {
|
||||
status: 401,
|
||||
statusText: "Unauthorized",
|
||||
});
|
||||
|
||||
expect(fetchBasetenModels("fixture-key", fetcher as typeof fetch))
|
||||
.rejects.toThrow("Baseten models request failed: 401 Unauthorized");
|
||||
});
|
||||
@@ -0,0 +1,35 @@
|
||||
import { expect, test } from "bun:test";
|
||||
|
||||
import { buildWorkersAiModel } from "../src/sync/providers/cloudflare-workers-ai.js";
|
||||
import type { OpenRouterModel } from "../src/sync/providers/openrouter.js";
|
||||
|
||||
test("Cloudflare Workers AI sync preserves reasoning options", () => {
|
||||
const model: OpenRouterModel = {
|
||||
id: "@cf/nvidia/nemotron-3-120b-a12b",
|
||||
name: "Nemotron 3 Super 120B",
|
||||
created: 1_773_187_200,
|
||||
hugging_face_id: "nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16",
|
||||
knowledge_cutoff: null,
|
||||
context_length: 256_000,
|
||||
architecture: {
|
||||
input_modalities: ["text"],
|
||||
output_modalities: ["text"],
|
||||
},
|
||||
pricing: {
|
||||
prompt: "0.0000005",
|
||||
completion: "0.0000015",
|
||||
},
|
||||
top_provider: {
|
||||
context_length: 256_000,
|
||||
max_completion_tokens: 256_000,
|
||||
},
|
||||
supported_parameters: ["reasoning", "tools", "temperature"],
|
||||
};
|
||||
|
||||
const synced = buildWorkersAiModel(model, {
|
||||
base_model: "nvidia/nemotron-3-super-120b-a12b",
|
||||
reasoning_options: [{ type: "toggle" }],
|
||||
});
|
||||
|
||||
expect(synced.reasoning_options).toEqual([{ type: "toggle" }]);
|
||||
});
|
||||
@@ -1,15 +0,0 @@
|
||||
import { expect, test } from "bun:test";
|
||||
|
||||
import { inferKimiFamily } from "../src/family.js";
|
||||
|
||||
test("Kimi family inference ignores K2 versions", () => {
|
||||
expect(inferKimiFamily("moonshotai/kimi-k2.5")).toBe("kimi-k2");
|
||||
expect(inferKimiFamily("moonshotai/kimi-k2.7-code")).toBe("kimi-k2");
|
||||
expect(inferKimiFamily("Kimi K2.6")).toBe("kimi-k2");
|
||||
});
|
||||
|
||||
test("Kimi family inference preserves thinking variants", () => {
|
||||
expect(inferKimiFamily("moonshotai/kimi-k2-thinking")).toBe("kimi-thinking");
|
||||
expect(inferKimiFamily("Kimi K2.5 Thinking")).toBe("kimi-thinking");
|
||||
expect(inferKimiFamily("moonshotai/kimi-k2.6:thinking")).toBe("kimi-thinking");
|
||||
});
|
||||
@@ -0,0 +1,35 @@
|
||||
import { expect, test } from "bun:test";
|
||||
|
||||
import { buildGoogleModel } from "../src/sync/providers/google.js";
|
||||
|
||||
test("Google sync keeps base models compact", () => {
|
||||
const synced = buildGoogleModel({
|
||||
name: "models/gemini-3-pro-image-preview",
|
||||
displayName: "Nano Banana Pro",
|
||||
inputTokenLimit: 131_072,
|
||||
outputTokenLimit: 32_768,
|
||||
temperature: 1,
|
||||
thinking: true,
|
||||
}, {
|
||||
base_model: "google/gemini-3-pro-image-preview",
|
||||
name: "Nano Banana Pro",
|
||||
family: "gemini-pro",
|
||||
release_date: "2025-11-20",
|
||||
last_updated: "2025-11-20",
|
||||
attachment: true,
|
||||
reasoning: true,
|
||||
temperature: true,
|
||||
tool_call: false,
|
||||
knowledge: "2025-01",
|
||||
open_weights: false,
|
||||
cost: { input: 2, output: 120 },
|
||||
limit: { context: 65_536, output: 32_768 },
|
||||
modalities: { input: ["text", "image"], output: ["text", "image"] },
|
||||
});
|
||||
|
||||
expect(synced).toEqual({
|
||||
base_model: "google/gemini-3-pro-image-preview",
|
||||
cost: { input: 2, output: 120 },
|
||||
limit: { context: 131_072 },
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,121 @@
|
||||
import { expect, test } from "bun:test";
|
||||
|
||||
import { preserveBaseModel } from "../src/sync/index.js";
|
||||
import { resolveCloudflareBaseModel } from "../src/sync/providers/cloudflare-workers-ai.js";
|
||||
import { buildOpenRouterModel, type OpenRouterModel } from "../src/sync/providers/openrouter.js";
|
||||
|
||||
test("OpenRouter z-ai models inherit from zhipuai metadata", () => {
|
||||
const model: OpenRouterModel = {
|
||||
id: "z-ai/glm-5.1",
|
||||
name: "Z.AI: GLM-5.1",
|
||||
created: 1_777_680_000,
|
||||
hugging_face_id: "zai-org/GLM-5.1",
|
||||
knowledge_cutoff: null,
|
||||
context_length: 200_000,
|
||||
architecture: {
|
||||
input_modalities: ["text"],
|
||||
output_modalities: ["text"],
|
||||
},
|
||||
pricing: {
|
||||
prompt: "0.0000014",
|
||||
completion: "0.0000044",
|
||||
},
|
||||
top_provider: {
|
||||
context_length: 200_000,
|
||||
max_completion_tokens: 131_072,
|
||||
},
|
||||
supported_parameters: ["tools", "tool_choice", "temperature", "structured_outputs"],
|
||||
};
|
||||
|
||||
const synced = buildOpenRouterModel(model, undefined);
|
||||
|
||||
expect("base_model" in synced ? synced.base_model : undefined).toBe("zhipuai/glm-5.1");
|
||||
});
|
||||
|
||||
test("OpenRouter-derived syncs preserve existing base model links", () => {
|
||||
const model: OpenRouterModel = {
|
||||
id: "@cf/nvidia/nemotron-3-120b-a12b",
|
||||
name: "Nemotron 3 Super 120B",
|
||||
created: 1_773_187_200,
|
||||
hugging_face_id: "nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16",
|
||||
knowledge_cutoff: null,
|
||||
context_length: 256_000,
|
||||
architecture: {
|
||||
input_modalities: ["text"],
|
||||
output_modalities: ["text"],
|
||||
},
|
||||
pricing: {
|
||||
prompt: "0.0000005",
|
||||
completion: "0.0000015",
|
||||
},
|
||||
top_provider: {
|
||||
context_length: 256_000,
|
||||
max_completion_tokens: 256_000,
|
||||
},
|
||||
supported_parameters: ["reasoning", "tools", "temperature", "structured_outputs"],
|
||||
};
|
||||
|
||||
const synced = preserveBaseModel(buildOpenRouterModel(model, undefined), {
|
||||
base_model: "nvidia/nemotron-3-super-120b-a12b",
|
||||
base_model_omit: ["limit.input"],
|
||||
});
|
||||
|
||||
expect("base_model" in synced ? synced.base_model : undefined)
|
||||
.toBe("nvidia/nemotron-3-super-120b-a12b");
|
||||
expect("base_model_omit" in synced ? synced.base_model_omit : undefined)
|
||||
.toEqual(["limit.input"]);
|
||||
});
|
||||
|
||||
test("newly detected base models do not replace existing links", () => {
|
||||
const model: OpenRouterModel = {
|
||||
id: "z-ai/glm-5.1",
|
||||
name: "Z.AI: GLM-5.1",
|
||||
created: 1_777_680_000,
|
||||
hugging_face_id: null,
|
||||
knowledge_cutoff: null,
|
||||
context_length: 200_000,
|
||||
architecture: { input_modalities: ["text"], output_modalities: ["text"] },
|
||||
pricing: { prompt: "0.0000014", completion: "0.0000044" },
|
||||
top_provider: { context_length: 200_000, max_completion_tokens: 131_072 },
|
||||
supported_parameters: ["tools"],
|
||||
};
|
||||
const synced = buildOpenRouterModel(model, {
|
||||
base_model: "zhipuai/glm-5",
|
||||
});
|
||||
|
||||
expect("base_model" in synced ? synced.base_model : undefined).toBe("zhipuai/glm-5");
|
||||
});
|
||||
|
||||
test("undefined translated links preserve existing base model fields", () => {
|
||||
const synced = preserveBaseModel({
|
||||
base_model: undefined,
|
||||
} as never, {
|
||||
base_model: "nvidia/nemotron-3-super-120b-a12b",
|
||||
base_model_omit: ["limit.input"],
|
||||
});
|
||||
|
||||
expect("base_model" in synced ? synced.base_model : undefined)
|
||||
.toBe("nvidia/nemotron-3-super-120b-a12b");
|
||||
expect("base_model_omit" in synced ? synced.base_model_omit : undefined)
|
||||
.toEqual(["limit.input"]);
|
||||
});
|
||||
|
||||
test("new Cloudflare models discover a unique metadata base model", () => {
|
||||
const model: OpenRouterModel = {
|
||||
id: "@cf/nvidia/nemotron-3-120b-a12b",
|
||||
name: "Nemotron 3 Super 120B",
|
||||
created: 1_773_187_200,
|
||||
hugging_face_id: null,
|
||||
knowledge_cutoff: null,
|
||||
context_length: 256_000,
|
||||
architecture: { input_modalities: ["text"], output_modalities: ["text"] },
|
||||
pricing: { prompt: "0.0000005", completion: "0.0000015" },
|
||||
top_provider: { context_length: 256_000, max_completion_tokens: 256_000 },
|
||||
supported_parameters: ["reasoning"],
|
||||
};
|
||||
|
||||
expect(resolveCloudflareBaseModel(model)).toBe("nvidia/nemotron-3-super-120b-a12b");
|
||||
const synced = buildOpenRouterModel(model, undefined, resolveCloudflareBaseModel(model));
|
||||
expect("base_model" in synced ? synced.base_model : undefined)
|
||||
.toBe("nvidia/nemotron-3-super-120b-a12b");
|
||||
});
|
||||
@@ -0,0 +1,227 @@
|
||||
import { expect, test } from "bun:test";
|
||||
import path from "node:path";
|
||||
import { mkdtemp, mkdir, readlink, symlink } from "node:fs/promises";
|
||||
import os from "node:os";
|
||||
|
||||
import { AuthoredModelShape } from "../src/schema.js";
|
||||
import { syncProvider, type SyncProvider, type SyncedFullModel } from "../src/sync/index.js";
|
||||
|
||||
const model: SyncedFullModel = {
|
||||
name: "Test model",
|
||||
release_date: "2026-01-01",
|
||||
last_updated: "2026-01-01",
|
||||
attachment: false,
|
||||
reasoning: false,
|
||||
tool_call: false,
|
||||
open_weights: false,
|
||||
cost: { input: 1, output: 2 },
|
||||
limit: { context: 1_000, output: 100 },
|
||||
modalities: { input: ["text"], output: ["text"] },
|
||||
};
|
||||
|
||||
test("reasoning budgets allow only the -1 negative sentinel", () => {
|
||||
const authored = { id: "model", ...model };
|
||||
|
||||
expect(AuthoredModelShape.safeParse({
|
||||
...authored,
|
||||
reasoning_options: [{ type: "budget_tokens", min: -1, max: 32_768 }],
|
||||
}).success).toBe(true);
|
||||
expect(AuthoredModelShape.safeParse({
|
||||
...authored,
|
||||
reasoning_options: [{ type: "budget_tokens", min: -2, max: 32_768 }],
|
||||
}).success).toBe(false);
|
||||
});
|
||||
|
||||
test("reasoning efforts accept the provider default value", () => {
|
||||
expect(AuthoredModelShape.safeParse({
|
||||
id: "model",
|
||||
...model,
|
||||
reasoning: true,
|
||||
reasoning_options: [{ type: "effort", values: ["none", "default"] }],
|
||||
}).success).toBe(true);
|
||||
});
|
||||
|
||||
async function fixture() {
|
||||
const root = await mkdtemp(path.join(os.tmpdir(), "models-dev-sync-"));
|
||||
const modelsDir = path.join(root, "providers", "test", "models");
|
||||
await mkdir(modelsDir, { recursive: true });
|
||||
return { root, modelsDir };
|
||||
}
|
||||
|
||||
function provider(
|
||||
modelsDir: string,
|
||||
ids: string[],
|
||||
deleteMissing = true,
|
||||
preserveSymlinks = false,
|
||||
): SyncProvider<string> {
|
||||
return {
|
||||
id: "test",
|
||||
name: "Test",
|
||||
modelsDir,
|
||||
deleteMissing,
|
||||
preserveSymlinks,
|
||||
missingNotice: (paths) => paths.map((item) => `missing: ${item}`),
|
||||
async fetchModels() {
|
||||
return ids;
|
||||
},
|
||||
parseModels(raw) {
|
||||
return raw as string[];
|
||||
},
|
||||
translateModel(id) {
|
||||
return { id, model };
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
test("sync repairs a broken symlink returned by the source", async () => {
|
||||
const { modelsDir } = await fixture();
|
||||
const filePath = path.join(modelsDir, "model.toml");
|
||||
await symlink("missing.toml", filePath);
|
||||
|
||||
const result = await syncProvider(provider(modelsDir, ["model"]));
|
||||
|
||||
expect(result.created).toBe(1);
|
||||
expect(await Bun.file(filePath).text()).toContain('name = "Test model"');
|
||||
expect(readlink(filePath)).rejects.toThrow();
|
||||
});
|
||||
|
||||
test("sync preserves valid symlink aliases when configured", async () => {
|
||||
const { root, modelsDir } = await fixture();
|
||||
const targetPath = path.join(root, "target.toml");
|
||||
const filePath = path.join(modelsDir, "model.toml");
|
||||
await Bun.write(targetPath, `name = "Alias target"\n`);
|
||||
await symlink(targetPath, filePath);
|
||||
|
||||
const result = await syncProvider(provider(modelsDir, ["model"], true, true));
|
||||
|
||||
expect(result.updated).toBe(0);
|
||||
expect(await readlink(filePath)).toBe(targetPath);
|
||||
});
|
||||
|
||||
test("sync removes a broken symlink absent from the source", async () => {
|
||||
const { modelsDir } = await fixture();
|
||||
const filePath = path.join(modelsDir, "model.toml");
|
||||
await symlink("missing.toml", filePath);
|
||||
|
||||
const result = await syncProvider(provider(modelsDir, []));
|
||||
|
||||
expect(result.deleted).toBe(1);
|
||||
expect(await Bun.file(filePath).exists()).toBe(false);
|
||||
});
|
||||
|
||||
test("non-deleting sync reports missing broken symlinks", async () => {
|
||||
const { modelsDir } = await fixture();
|
||||
const filePath = path.join(modelsDir, "model.toml");
|
||||
await symlink("missing.toml", filePath);
|
||||
|
||||
const result = await syncProvider(provider(modelsDir, [], false));
|
||||
|
||||
expect(result.deleted).toBe(0);
|
||||
expect(result.notices).toEqual(["missing: model.toml"]);
|
||||
expect(await readlink(filePath)).toBe("missing.toml");
|
||||
});
|
||||
|
||||
test("sync preserves authored reasoning options omitted by a translator", async () => {
|
||||
const { modelsDir } = await fixture();
|
||||
const filePath = path.join(modelsDir, "model.toml");
|
||||
await Bun.write(filePath, `name = "Old name"
|
||||
release_date = "2026-01-01"
|
||||
last_updated = "2026-01-01"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "effort"
|
||||
values = ["low", "high"]
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = -1
|
||||
max = 32768
|
||||
|
||||
[cost]
|
||||
input = 1
|
||||
output = 2
|
||||
|
||||
[limit]
|
||||
context = 1000
|
||||
output = 100
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
`);
|
||||
const sync = provider(modelsDir, ["model"]);
|
||||
sync.translateModel = (id) => ({
|
||||
id,
|
||||
model: { ...model, reasoning: true },
|
||||
});
|
||||
|
||||
const first = await syncProvider(sync);
|
||||
const content = await Bun.file(filePath).text();
|
||||
const second = await syncProvider(sync);
|
||||
|
||||
expect(first.updated).toBe(1);
|
||||
expect(content).toContain("[[reasoning_options]]");
|
||||
expect(content).toContain('values = ["low", "high"]');
|
||||
expect(content).toContain("min = -1");
|
||||
expect(content).toContain("max = 32_768");
|
||||
expect(second.updated).toBe(0);
|
||||
expect(second.unchanged).toBe(1);
|
||||
});
|
||||
|
||||
test("sync writes metadata returned by a provider translator", async () => {
|
||||
const root = await mkdtemp(path.join(os.tmpdir(), "models-dev-sync-metadata-"));
|
||||
const modelsDir = path.join(root, "providers", "test", "models");
|
||||
await mkdir(modelsDir, { recursive: true });
|
||||
const sync = provider(modelsDir, ["model"]);
|
||||
sync.translateModel = () => ({
|
||||
id: "model",
|
||||
model: {
|
||||
base_model: "test/model",
|
||||
reasoning_options: [],
|
||||
cost: { input: 1, output: 2 },
|
||||
},
|
||||
metadata: {
|
||||
id: "test/model",
|
||||
model: {
|
||||
name: "Model",
|
||||
release_date: "2026-06-10",
|
||||
last_updated: "2026-06-10",
|
||||
attachment: false,
|
||||
reasoning: false,
|
||||
tool_call: true,
|
||||
open_weights: false,
|
||||
limit: { context: 1_000, output: 100 },
|
||||
modalities: { input: ["text"], output: ["text"] },
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
const first = await syncProvider(sync);
|
||||
const second = await syncProvider(sync);
|
||||
|
||||
expect(first).toMatchObject({ created: 2, updated: 0 });
|
||||
expect(second).toMatchObject({ created: 0, updated: 0 });
|
||||
expect(await Bun.file(path.join(root, "models", "test", "model.toml")).text()).toContain('name = "Model"');
|
||||
});
|
||||
|
||||
test("sync removes missing metadata only from its owned namespace", async () => {
|
||||
const { root, modelsDir } = await fixture();
|
||||
const ownedDir = path.join(root, "models", "test");
|
||||
const otherDir = path.join(root, "models", "other");
|
||||
await mkdir(ownedDir, { recursive: true });
|
||||
await mkdir(otherDir, { recursive: true });
|
||||
await Bun.write(path.join(ownedDir, "stale.toml"), 'name = "Stale"\n');
|
||||
await Bun.write(path.join(otherDir, "retained.toml"), 'name = "Retained"\n');
|
||||
const sync = provider(modelsDir, []);
|
||||
sync.metadataNamespace = "test";
|
||||
|
||||
const result = await syncProvider(sync);
|
||||
|
||||
expect(result.deleted).toBe(1);
|
||||
expect(await Bun.file(path.join(ownedDir, "stale.toml")).exists()).toBe(false);
|
||||
expect(await Bun.file(path.join(otherDir, "retained.toml")).exists()).toBe(true);
|
||||
});
|
||||
@@ -0,0 +1,143 @@
|
||||
import { expect, test } from "bun:test";
|
||||
import { readdirSync } from "node:fs";
|
||||
import path from "node:path";
|
||||
|
||||
import {
|
||||
buildVeniceModel,
|
||||
resolveVeniceBaseModel,
|
||||
VeniceResponse,
|
||||
type VeniceModel,
|
||||
} from "../src/sync/providers/venice.js";
|
||||
|
||||
const catalogModel: VeniceModel = {
|
||||
id: "openai-gpt-54",
|
||||
created: 1_772_668_800,
|
||||
model_spec: {
|
||||
name: "GPT-5.4",
|
||||
availableContextTokens: 400_000,
|
||||
maxCompletionTokens: 128_000,
|
||||
modelSource: "OpenAI",
|
||||
capabilities: {
|
||||
supportsVision: true,
|
||||
supportsReasoning: true,
|
||||
supportsReasoningEffort: true,
|
||||
reasoningEffortOptions: ["none", "low", "medium", "high"],
|
||||
supportsFunctionCalling: true,
|
||||
supportsResponseSchema: true,
|
||||
},
|
||||
pricing: {
|
||||
input: { usd: 3.13 },
|
||||
output: { usd: 18.75 },
|
||||
cache_input: { usd: 0.313 },
|
||||
extended: {
|
||||
context_token_threshold: 200_000,
|
||||
input: { usd: 6.26 },
|
||||
output: { usd: 28.125 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
test("Venice resolves flattened IDs to canonical metadata", () => {
|
||||
expect(resolveVeniceBaseModel("openai-gpt-54", "GPT-5.4")).toBe("openai/gpt-5.4");
|
||||
expect(resolveVeniceBaseModel("claude-opus-4-8-fast", "Claude Opus 4.8 Fast"))
|
||||
.toBe("anthropic/claude-opus-4-8");
|
||||
});
|
||||
|
||||
test("Venice emits empty reasoning options when efforts are unavailable", () => {
|
||||
const synced = buildVeniceModel({
|
||||
...catalogModel,
|
||||
id: "reasoning-without-efforts",
|
||||
model_spec: {
|
||||
...catalogModel.model_spec,
|
||||
name: "Reasoning Without Efforts",
|
||||
capabilities: {
|
||||
...catalogModel.model_spec.capabilities,
|
||||
reasoningEffortOptions: [],
|
||||
},
|
||||
},
|
||||
}, undefined, undefined, "2026-06-10");
|
||||
|
||||
expect(synced).toMatchObject({ reasoning: true, reasoning_options: [] });
|
||||
});
|
||||
|
||||
test("Venice uses boundary-aware family matching", () => {
|
||||
const synced = buildVeniceModel({
|
||||
...catalogModel,
|
||||
id: "google-gemma-4-31b-it",
|
||||
model_spec: { ...catalogModel.model_spec, name: "Google Gemma 4 31B Instruct" },
|
||||
}, undefined, null, "2026-06-10");
|
||||
|
||||
expect(synced).toMatchObject({ family: "gemma" });
|
||||
});
|
||||
|
||||
test("Venice maps API fields and keeps inherited models compact", () => {
|
||||
const synced = buildVeniceModel(catalogModel, {
|
||||
base_model: "openai/gpt-5.4",
|
||||
name: "GPT-5.4",
|
||||
family: "gpt",
|
||||
release_date: "2026-03-05",
|
||||
last_updated: "2026-03-09",
|
||||
attachment: true,
|
||||
reasoning: true,
|
||||
tool_call: true,
|
||||
structured_output: true,
|
||||
temperature: true,
|
||||
open_weights: false,
|
||||
interleaved: { field: "reasoning_content" },
|
||||
cost: { input: 3, output: 18, input_audio: 4 },
|
||||
limit: { context: 400_000, output: 128_000 },
|
||||
modalities: { input: ["text", "image", "pdf"], output: ["text"] },
|
||||
}, "openai/gpt-5.4", "2026-06-10");
|
||||
|
||||
expect(synced).toMatchObject({
|
||||
base_model: "openai/gpt-5.4",
|
||||
base_model_omit: ["limit.input"],
|
||||
last_updated: "2026-06-10",
|
||||
reasoning_options: [{ type: "effort", values: ["none", "low", "medium", "high"] }],
|
||||
interleaved: { field: "reasoning_content" },
|
||||
cost: {
|
||||
input: 3.13,
|
||||
output: 18.75,
|
||||
cache_read: 0.313,
|
||||
input_audio: 4,
|
||||
tiers: [{ tier: { type: "context", size: 200_000 }, input: 6.26, output: 28.125 }],
|
||||
},
|
||||
});
|
||||
expect(synced).not.toHaveProperty("family");
|
||||
expect(synced).not.toHaveProperty("release_date");
|
||||
expect(synced).not.toHaveProperty("open_weights");
|
||||
expect(synced).not.toHaveProperty("modalities");
|
||||
});
|
||||
|
||||
test("Venice preserves last_updated when authoritative data is unchanged", () => {
|
||||
const providerModel = {
|
||||
...catalogModel,
|
||||
id: "venice-only-test-model",
|
||||
model_spec: { ...catalogModel.model_spec, name: "Venice Only Test Model" },
|
||||
};
|
||||
const full = buildVeniceModel(providerModel, undefined, undefined, "2026-06-10");
|
||||
if ("base_model" in full) throw new Error("Expected a full provider model fixture");
|
||||
const synced = buildVeniceModel(providerModel, full, undefined, "2026-06-11");
|
||||
|
||||
expect(synced).toMatchObject({ last_updated: "2026-06-10" });
|
||||
});
|
||||
|
||||
test("Venice rejects malformed responses", () => {
|
||||
expect(() => VeniceResponse.parse({ data: [{ id: "broken" }] })).toThrow();
|
||||
});
|
||||
|
||||
test("all Venice models use metadata inheritance and declare reasoning options", async () => {
|
||||
const root = path.join(import.meta.dirname, "..", "..", "..");
|
||||
const modelsDir = path.join(root, "providers", "venice", "models");
|
||||
|
||||
for (const file of readdirSync(modelsDir).filter((item) => item.endsWith(".toml"))) {
|
||||
const model = Bun.TOML.parse(await Bun.file(path.join(modelsDir, file)).text()) as {
|
||||
base_model?: string;
|
||||
reasoning_options?: unknown[];
|
||||
};
|
||||
expect(model.base_model, file).toBeDefined();
|
||||
expect(model.reasoning_options, file).toBeDefined();
|
||||
expect(await Bun.file(path.join(root, "models", `${model.base_model}.toml`)).exists(), file).toBe(true);
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,113 @@
|
||||
import { expect, test } from "bun:test";
|
||||
|
||||
import { buildVercelModel, type VercelModel, vercel } from "../src/sync/providers/vercel.js";
|
||||
|
||||
const model: VercelModel = {
|
||||
id: "openai/gpt-test",
|
||||
name: "GPT Test",
|
||||
created: 1_700_000_000,
|
||||
released: 1_710_000_000,
|
||||
context_window: 128_000,
|
||||
max_tokens: 32_000,
|
||||
type: "language",
|
||||
tags: ["reasoning", "tool-use", "vision", "file-input"],
|
||||
pricing: {
|
||||
input: "0.000001",
|
||||
output: "0.000004",
|
||||
input_cache_read: "0.0000001",
|
||||
},
|
||||
};
|
||||
|
||||
test("Vercel models translate gateway metadata", () => {
|
||||
const synced = buildVercelModel(model, undefined);
|
||||
|
||||
expect(synced).toMatchObject({
|
||||
name: "GPT Test",
|
||||
release_date: "2024-03-09",
|
||||
last_updated: "2024-03-09",
|
||||
attachment: true,
|
||||
reasoning: true,
|
||||
tool_call: true,
|
||||
open_weights: false,
|
||||
cost: { input: 1, output: 4, cache_read: 0.1 },
|
||||
limit: { context: 128_000, input: 96_000, output: 32_000 },
|
||||
modalities: { input: ["text", "image", "pdf"], output: ["text"] },
|
||||
});
|
||||
});
|
||||
|
||||
test("Vercel models preserve curated metadata and missing limits", () => {
|
||||
const synced = buildVercelModel({
|
||||
...model,
|
||||
context_window: 0,
|
||||
max_tokens: 0,
|
||||
}, {
|
||||
name: "Curated name",
|
||||
release_date: "2024-01-01",
|
||||
last_updated: "2025-01-01",
|
||||
reasoning_options: [{ type: "effort", values: ["low", "high"] }],
|
||||
cost: {
|
||||
input: 2,
|
||||
output: 8,
|
||||
tiers: [{
|
||||
tier: { type: "context", size: 200_000 },
|
||||
input: 3,
|
||||
output: 12,
|
||||
}],
|
||||
},
|
||||
limit: { context: 64_000, input: 48_000, output: 16_000 },
|
||||
});
|
||||
|
||||
expect(synced.name).toBe("Curated name");
|
||||
expect(synced.last_updated).toBe("2025-01-01");
|
||||
expect(synced.reasoning_options).toEqual([{ type: "effort", values: ["low", "high"] }]);
|
||||
expect(synced.cost?.tiers).toHaveLength(1);
|
||||
expect(synced.limit).toEqual({ context: 64_000, input: 48_000, output: 16_000 });
|
||||
});
|
||||
|
||||
test("Vercel non-language models use API tool capabilities", () => {
|
||||
const synced = buildVercelModel({
|
||||
...model,
|
||||
type: "image",
|
||||
tags: [],
|
||||
}, {
|
||||
tool_call: true,
|
||||
});
|
||||
|
||||
expect(synced.tool_call).toBe(false);
|
||||
});
|
||||
|
||||
test("Vercel sync includes non-language model types", () => {
|
||||
for (const [type, output] of [
|
||||
["image", ["image"]],
|
||||
["video", ["video"]],
|
||||
["reranking", ["text"]],
|
||||
] as const) {
|
||||
const source = {
|
||||
...model,
|
||||
id: `test/${type}`,
|
||||
type,
|
||||
tags: [],
|
||||
context_window: 0,
|
||||
max_tokens: 0,
|
||||
pricing: undefined,
|
||||
};
|
||||
|
||||
expect(vercel.translateModel(source, { existing: () => undefined })).toBeDefined();
|
||||
expect(buildVercelModel(source, undefined)).toMatchObject({
|
||||
tool_call: false,
|
||||
modalities: { input: ["text"], output },
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
test("Vercel models use canonical metadata when available", () => {
|
||||
const synced = buildVercelModel({
|
||||
...model,
|
||||
id: "nvidia/nemotron-3-ultra-550b-a55b",
|
||||
name: "Nemotron 3 Ultra",
|
||||
}, undefined);
|
||||
|
||||
expect("base_model" in synced ? synced.base_model : undefined)
|
||||
.toBe("nvidia/nemotron-3-ultra-550b-a55b");
|
||||
expect("last_updated" in synced ? synced.last_updated : undefined).toBeUndefined();
|
||||
});
|
||||
@@ -0,0 +1,30 @@
|
||||
import { expect, test } from "bun:test";
|
||||
|
||||
import { buildXAIModel, type XAIModel } from "../src/sync/providers/xai.js";
|
||||
|
||||
const model: XAIModel = {
|
||||
id: "grok-test",
|
||||
created: 1_700_000_000,
|
||||
input_modalities: ["text"],
|
||||
output_modalities: ["text"],
|
||||
prompt_text_token_price: 10_000,
|
||||
completion_text_token_price: 20_000,
|
||||
};
|
||||
|
||||
test("xAI sync preserves reasoning options", () => {
|
||||
const synced = buildXAIModel(model, {
|
||||
name: "Grok Test",
|
||||
release_date: "2024-01-01",
|
||||
last_updated: "2024-01-01",
|
||||
attachment: false,
|
||||
reasoning: true,
|
||||
reasoning_options: [{ type: "effort", values: ["none", "high"] }],
|
||||
tool_call: true,
|
||||
open_weights: false,
|
||||
limit: { context: 2_000_000, output: 30_000 },
|
||||
modalities: { input: ["text"], output: ["text"] },
|
||||
});
|
||||
|
||||
expect(synced.reasoning_options).toEqual([{ type: "effort", values: ["none", "high"] }]);
|
||||
expect(synced.limit?.context).toBe(2_000_000);
|
||||
});
|
||||
@@ -3,7 +3,6 @@ release_date = "2026-02-18"
|
||||
last_updated = "2026-03-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-02-18"
|
||||
last_updated = "2026-03-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 1024, max = 63999 }]
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-01-20"
|
||||
last_updated = "2025-01-20"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -3,7 +3,6 @@ release_date = "2025-12-01"
|
||||
last_updated = "2025-12-01"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -3,7 +3,6 @@ release_date = "2025-07-15"
|
||||
last_updated = "2025-07-15"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -3,7 +3,6 @@ release_date = "2025-09-05"
|
||||
last_updated = "2025-09-05"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -3,7 +3,6 @@ release_date = "2025-09-05"
|
||||
last_updated = "2025-09-05"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2024-11-28"
|
||||
last_updated = "2024-11-28"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-07-01"
|
||||
last_updated = "2025-07-01"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-04-29"
|
||||
last_updated = "2025-04-29"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-07-22"
|
||||
last_updated = "2025-07-22"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-02-19"
|
||||
last_updated = "2025-02-19"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2024-10-31"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-10-15"
|
||||
last_updated = "2025-10-15"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-02-28"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-08-05"
|
||||
last_updated = "2025-08-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-05-14"
|
||||
last_updated = "2025-05-14"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-11-01"
|
||||
last_updated = "2025-11-01"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-02-05"
|
||||
last_updated = "2026-02-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-05-31"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-05-14"
|
||||
last_updated = "2025-05-14"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-09-29"
|
||||
last_updated = "2025-09-29"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-07-31"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-02-17"
|
||||
last_updated = "2026-02-17"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-08-31"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-01-20"
|
||||
last_updated = "2025-01-20"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-06-01"
|
||||
last_updated = "2025-06-01"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-06-15"
|
||||
last_updated = "2025-06-15"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-01-20"
|
||||
last_updated = "2025-01-20"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-03-20"
|
||||
last_updated = "2025-06-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-01"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-03-25"
|
||||
last_updated = "2025-03-25"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-01"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-12-17"
|
||||
last_updated = "2025-12-17"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-01"
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-03-01"
|
||||
last_updated = "2026-03-01"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2026-02-19"
|
||||
last_updated = "2026-02-19"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-09-15"
|
||||
last_updated = "2025-09-15"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
|
||||
@@ -4,7 +4,6 @@ release_date = "2025-08-07"
|
||||
last_updated = "2025-08-07"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = false
|
||||
knowledge = "2024-05-30"
|
||||
tool_call = true
|
||||
|
||||
Loaded 100 of 1683 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user