Compare commits
1
Commits
dev
..
issue-6151
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ca1ef5f9d |
No files matched your search
@@ -2,7 +2,7 @@ name: Dev CI Fixer
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: [Deploy, Sync Model Catalogs]
|
||||
workflows: [Deploy]
|
||||
types: [completed]
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
# Sources (accessed 2026-09-03):
|
||||
# https://www.qwencloud.com/models/qwen3.8-max-0902
|
||||
# https://www.alibabacloud.com/help/en/model-studio/qwen3-8-max
|
||||
# https://docs.qwencloud.com/developer-guides/text-generation/thinking
|
||||
# Snapshot of qwen3.8-max (alias qwen3.8-max-2026-09-02). Same limits,
|
||||
# hybrid thinking, modalities, and tool ecosystem as qwen3.8-max; post-trained
|
||||
# for stronger coding, collaborative agents, and vision/document understanding.
|
||||
# PDF input: inherits Completions PDF理解 / document parsing from the Max line
|
||||
# (same as models/alibaba/qwen3.8-max.toml).
|
||||
|
||||
name = "Qwen3.8 Max 0902"
|
||||
description = "2026-09-02 upgraded snapshot of Qwen3.8 Max with stronger coding, collaborative agents, and multimodal document understanding"
|
||||
family = "qwen"
|
||||
release_date = "2026-09-02"
|
||||
last_updated = "2026-09-02"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "video", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,22 +0,0 @@
|
||||
# Sources: https://docs.aws.amazon.com/nova/latest/nova2-userguide/what-is-nova-2.html
|
||||
# https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-amazon-nova-2-lite.html
|
||||
# Launch: https://aws.amazon.com/about-aws/whats-new/2025/12/nova-2-foundation-models-amazon-bedrock/
|
||||
name = "Nova 2 Lite"
|
||||
description = "Multimodal reasoning model for visual analysis, planning, and tool use"
|
||||
family = "nova"
|
||||
release_date = "2025-12-02"
|
||||
last_updated = "2025-12-01"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2025-10"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 65_536
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "video", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,24 +0,0 @@
|
||||
# Sources: https://docs.aws.amazon.com/nova/latest/userguide/what-is-nova.html
|
||||
# https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-amazon-nova-lite.html
|
||||
# Launch: https://aws.amazon.com/blogs/aws/introducing-amazon-nova-frontier-intelligence-and-industry-leading-price-performance/
|
||||
# PDF document input is supported through Bedrock Converse.
|
||||
# Output: the Nova V1 guide's 10K is confirmed by US Bedrock Converse boundary checks (2026-09-09).
|
||||
name = "Nova Lite"
|
||||
description = "Efficient model for low-latency assistance, extraction, and routine automation"
|
||||
family = "nova-lite"
|
||||
release_date = "2024-12-03"
|
||||
last_updated = "2024-12-03"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-10"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 300_000
|
||||
output = 10_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "video", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +0,0 @@
|
||||
# Sources: https://docs.aws.amazon.com/nova/latest/userguide/what-is-nova.html
|
||||
# https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-amazon-nova-micro.html
|
||||
# Launch: https://aws.amazon.com/blogs/aws/introducing-amazon-nova-frontier-intelligence-and-industry-leading-price-performance/
|
||||
# Output: the Nova V1 guide's 10K is confirmed by US Bedrock Converse boundary checks (2026-09-09).
|
||||
name = "Nova Micro"
|
||||
description = "Efficient model for low-latency assistance, extraction, and routine automation"
|
||||
family = "nova-micro"
|
||||
release_date = "2024-12-03"
|
||||
last_updated = "2024-12-03"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-10"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 10_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +0,0 @@
|
||||
# Launch: https://aws.amazon.com/blogs/aws/amazon-nova-premier-our-most-capable-model-for-complex-tasks-and-teacher-for-model-distillation/
|
||||
# Specs (including 10K output): https://docs.aws.amazon.com/nova/latest/userguide/what-is-nova.html
|
||||
# Prompted CoT, not a native thinking mode: https://docs.aws.amazon.com/nova/latest/userguide/prompting-chain-of-thought.html
|
||||
# Bedrock's generic Premier card conflicts on launch date, output limit, and reasoning; use the Nova V1 guide and launch announcement.
|
||||
name = "Nova Premier"
|
||||
description = "Multimodal model for complex analysis, long-context understanding, tool use, and model distillation"
|
||||
family = "nova"
|
||||
release_date = "2025-04-30"
|
||||
last_updated = "2025-04-30"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-10"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 10_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "video", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,24 +0,0 @@
|
||||
# Sources: https://docs.aws.amazon.com/nova/latest/userguide/what-is-nova.html
|
||||
# https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-amazon-nova-pro.html
|
||||
# Launch: https://aws.amazon.com/blogs/aws/introducing-amazon-nova-frontier-intelligence-and-industry-leading-price-performance/
|
||||
# PDF document input is supported through Bedrock Converse.
|
||||
# Output: the Nova V1 guide's 10K is confirmed by US Bedrock Converse boundary checks (2026-09-09).
|
||||
name = "Nova Pro"
|
||||
description = "Flagship model for demanding analysis, coding, and production agent workflows"
|
||||
family = "nova-pro"
|
||||
release_date = "2024-12-03"
|
||||
last_updated = "2024-12-03"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-10"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 300_000
|
||||
output = 10_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "video", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,28 +0,0 @@
|
||||
# Sources:
|
||||
# https://www.deepseek.com/en/news/v4-preview/
|
||||
# https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash
|
||||
name = "DeepSeek V4 Flash 0423"
|
||||
description = "Initial DeepSeek V4 Flash snapshot for economical reasoning, coding, and million-token agent workloads"
|
||||
family = "deepseek-flash"
|
||||
release_date = "2026-04-23"
|
||||
last_updated = "2026-04-23"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-05"
|
||||
open_weights = true
|
||||
license = "MIT"
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 384_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash"
|
||||
@@ -1,21 +0,0 @@
|
||||
name = "DeepSeek V4.1 Flash"
|
||||
description = "DeepSeek V4.1 Flash model for reasoning and agentic coding"
|
||||
family = "deepseek-flash"
|
||||
release_date = "2026-09-10"
|
||||
last_updated = "2026-09-10"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-05"
|
||||
open_weights = true
|
||||
license = "MIT"
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 384_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,4 +1,4 @@
|
||||
name = "Nano Banana Pro Preview"
|
||||
name = "Nano Banana Pro"
|
||||
description = "Nano Banana Pro for higher-fidelity image generation and design-heavy edits"
|
||||
family = "gemini-pro"
|
||||
release_date = "2025-11-20"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name = "Nano Banana 2 Preview"
|
||||
name = "Nano Banana 2"
|
||||
description = "Image model for prompt-driven generation, editing, and visual design workflows"
|
||||
family = "gemini-flash"
|
||||
release_date = "2026-02-26"
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
# https://ai.google.dev/gemma/docs/core/model_card_3
|
||||
# https://blog.google/technology/developers/gemma-3/
|
||||
name = "Gemma 3 12B IT"
|
||||
description = "Open multimodal Gemma instruction model for multilingual text generation and image understanding"
|
||||
family = "gemma"
|
||||
release_date = "2025-03-12"
|
||||
last_updated = "2025-03-12"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2024-08"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/google/gemma-3-12b-it"
|
||||
@@ -1,25 +0,0 @@
|
||||
# https://ai.google.dev/gemma/docs/core/model_card_3
|
||||
# https://blog.google/technology/developers/gemma-3/
|
||||
name = "Gemma 3 27B IT"
|
||||
description = "Largest open Gemma 3 instruction model for multilingual text generation and visual understanding"
|
||||
family = "gemma"
|
||||
release_date = "2025-03-12"
|
||||
last_updated = "2025-03-12"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2024-08"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/google/gemma-3-27b-it"
|
||||
@@ -1,25 +0,0 @@
|
||||
# https://ai.google.dev/gemma/docs/core/model_card_3
|
||||
# https://blog.google/technology/developers/gemma-3/
|
||||
name = "Gemma 3 4B IT"
|
||||
description = "Open multimodal Gemma instruction model for efficient text generation and image understanding"
|
||||
family = "gemma"
|
||||
release_date = "2025-03-12"
|
||||
last_updated = "2025-03-12"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2024-08"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/google/gemma-3-4b-it"
|
||||
@@ -1,23 +0,0 @@
|
||||
name = "Llama-3.1-70B-Instruct"
|
||||
description = "Open Llama instruction model for multilingual chat, reasoning, and coding"
|
||||
family = "llama"
|
||||
release_date = "2024-07-23"
|
||||
last_updated = "2024-07-23"
|
||||
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]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/meta-llama/Llama-3.1-70B-Instruct"
|
||||
@@ -3,7 +3,7 @@ description = "Popular open Llama workhorse for multilingual chat, coding, and s
|
||||
family = "llama"
|
||||
release_date = "2024-12-06"
|
||||
last_updated = "2024-12-06"
|
||||
attachment = false
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# https://github.com/meta-llama/llama-models/blob/main/models/llama4/MODEL_CARD.md
|
||||
name = "Llama 4 Scout 17B Instruct"
|
||||
description = "Open Llama with long-context vision for efficient multimodal agents"
|
||||
family = "llama"
|
||||
@@ -12,7 +11,7 @@ knowledge = "2024-08"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 10_000_000
|
||||
context = 3_500_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
|
||||
@@ -11,8 +11,8 @@ structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 1_048_576
|
||||
output = 131_072
|
||||
context = 1_000_000
|
||||
output = 32_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf", "video"]
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
# Sources:
|
||||
# https://research.meta.ai/blog/introducing-muse-spark-1-3
|
||||
# https://dev.meta.ai/docs/models
|
||||
# https://openrouter.ai/meta/muse-spark-1.3 (OpenRouter Meta-hosted catalog snapshot, 2026-09-02)
|
||||
|
||||
name = "Muse Spark 1.3"
|
||||
description = "Muse Spark 1.3 is a multimodal reasoning model from Meta for long-running agentic, multi-agent, and coding workflows. It improves long-horizon agent collaboration, instruction following, and coding efficiency relative to Muse Spark 1.2."
|
||||
family = "muse"
|
||||
release_date = "2026-09-02"
|
||||
last_updated = "2026-09-02"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 1_048_576
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "video", "pdf", "audio"]
|
||||
output = ["text"]
|
||||
@@ -1,27 +0,0 @@
|
||||
# Sources:
|
||||
# https://mistral.ai/news/devstral-2-vibe-cli/
|
||||
# https://huggingface.co/mistralai/Devstral-Small-2-24B-Instruct-2512
|
||||
name = "Devstral Small 2"
|
||||
description = "Compact multimodal coding model for repository exploration, file editing, and software agents"
|
||||
family = "devstral"
|
||||
release_date = "2025-12-09"
|
||||
last_updated = "2025-12-09"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-12"
|
||||
open_weights = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 262_144
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/mistralai/Devstral-Small-2-24B-Instruct-2512"
|
||||
@@ -1,27 +0,0 @@
|
||||
# https://docs.mistral.ai/models/magistral-small-1-2-25-09
|
||||
# https://huggingface.co/mistralai/Magistral-Small-2509
|
||||
# https://huggingface.co/mistralai/Magistral-Small-2509/blob/main/generation_config.json
|
||||
# Native generation config sets max_new_tokens = 131072, matching the model card's max_tokens setting.
|
||||
name = "Magistral Small 1.2"
|
||||
description = "Open multimodal reasoning model for transparent analysis of text and images"
|
||||
family = "magistral"
|
||||
release_date = "2025-09-18"
|
||||
last_updated = "2025-09-18"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
license = "Apache 2.0"
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/mistralai/Magistral-Small-2509"
|
||||
@@ -1,26 +0,0 @@
|
||||
# Sources:
|
||||
# https://mistral.ai/news/mistral-3/
|
||||
# https://huggingface.co/mistralai/Ministral-3-14B-Instruct-2512
|
||||
name = "Ministral 14B"
|
||||
description = "Compact multimodal Mistral model for local assistants, edge agents, and efficient tool use"
|
||||
family = "ministral"
|
||||
release_date = "2025-12-02"
|
||||
last_updated = "2025-12-02"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
license = "Apache-2.0"
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 262_144
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/mistralai/Ministral-3-14B-Instruct-2512"
|
||||
@@ -1,29 +0,0 @@
|
||||
# https://docs.mistral.ai/models/ministral-3-14b-25-12
|
||||
# https://huggingface.co/mistralai/Ministral-3-14B-Instruct-2512
|
||||
# https://huggingface.co/mistralai/Ministral-3-14B-Instruct-2512/blob/main/generation_config.json
|
||||
# Native examples request max_tokens = 262144; generation_config.max_length is also 262144.
|
||||
# This is a shared prompt/generation ceiling, not a host-specific independent output cap.
|
||||
name = "Ministral 3 14B"
|
||||
description = "Open vision-language model for efficient local deployment, instruction following, and tool use"
|
||||
family = "ministral"
|
||||
release_date = "2025-12-02"
|
||||
last_updated = "2025-12-02"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
license = "Apache 2.0"
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 262_144
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/mistralai/Ministral-3-14B-Instruct-2512"
|
||||
@@ -1,29 +0,0 @@
|
||||
# https://mistral.ai/news/mistral-3
|
||||
# https://huggingface.co/mistralai/Ministral-3-3B-Instruct-2512
|
||||
# https://huggingface.co/mistralai/Ministral-3-3B-Instruct-2512/blob/main/generation_config.json
|
||||
# Native examples request max_tokens = 262144; generation_config.max_length is also 262144.
|
||||
# This is a shared prompt/generation ceiling, not a host-specific independent output cap.
|
||||
name = "Ministral 3 3B"
|
||||
description = "Compact open vision-language model for edge deployment, instruction following, and tool use"
|
||||
family = "ministral"
|
||||
release_date = "2025-12-02"
|
||||
last_updated = "2025-12-02"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
license = "Apache 2.0"
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 262_144
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/mistralai/Ministral-3-3B-Instruct-2512"
|
||||
@@ -1,29 +0,0 @@
|
||||
# https://mistral.ai/news/mistral-3
|
||||
# https://huggingface.co/mistralai/Ministral-3-8B-Instruct-2512
|
||||
# https://huggingface.co/mistralai/Ministral-3-8B-Instruct-2512/blob/main/generation_config.json
|
||||
# Native examples request max_tokens = 262144; generation_config.max_length is also 262144.
|
||||
# This is a shared prompt/generation ceiling, not a host-specific independent output cap.
|
||||
name = "Ministral 3 8B"
|
||||
description = "Compact open vision-language model for edge deployment, instruction following, and tool use"
|
||||
family = "ministral"
|
||||
release_date = "2025-12-02"
|
||||
last_updated = "2025-12-02"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
license = "Apache 2.0"
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 262_144
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/mistralai/Ministral-3-8B-Instruct-2512"
|
||||
@@ -1,22 +0,0 @@
|
||||
# Sources:
|
||||
# https://mistral.ai/news/ministraux/
|
||||
# https://ai.azure.com/catalog/models/Ministral-3B
|
||||
name = "Ministral 3B"
|
||||
description = "Compact Mistral model for edge, latency-sensitive, and cost-efficient workloads"
|
||||
family = "ministral"
|
||||
release_date = "2024-10-16"
|
||||
last_updated = "2024-10-16"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2024-03"
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,8 +1,7 @@
|
||||
# https://mistral.ai/news/mistral-3
|
||||
name = "Mistral Large 3"
|
||||
description = "Mistral's largest general model for enterprise agents, coding, and multilingual reasoning"
|
||||
family = "mistral-large"
|
||||
release_date = "2025-12-02"
|
||||
release_date = "2024-11-01"
|
||||
last_updated = "2025-12-02"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
name = "Pixtral Large (25.02)"
|
||||
description = "Mistral vision-language model for image understanding and multimodal chat"
|
||||
family = "pixtral"
|
||||
release_date = "2025-04-08"
|
||||
last_updated = "2025-04-08"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,29 +0,0 @@
|
||||
# https://mistral.ai/news/voxtral/
|
||||
# https://huggingface.co/mistralai/Voxtral-Mini-3B-2507
|
||||
# https://huggingface.co/mistralai/Voxtral-Mini-3B-2507/blob/main/params.json
|
||||
# https://docs.mistral.ai/api/endpoint/chat
|
||||
# Native params specify 32768 positions, matching the card's 32k context.
|
||||
# Output is this shared-window ceiling: prompt + max_tokens must fit; no separate native output cap is published.
|
||||
name = "Voxtral Mini 3B 2507"
|
||||
description = "Open audio-language model for speech transcription, audio understanding, and voice-driven tool use"
|
||||
family = "voxtral"
|
||||
release_date = "2025-07-15"
|
||||
last_updated = "2025-07-15"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
license = "Apache 2.0"
|
||||
|
||||
[limit]
|
||||
context = 32_768
|
||||
output = 32_768
|
||||
|
||||
[modalities]
|
||||
input = ["text", "audio"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/mistralai/Voxtral-Mini-3B-2507"
|
||||
@@ -1,29 +0,0 @@
|
||||
# https://mistral.ai/news/voxtral/
|
||||
# https://huggingface.co/mistralai/Voxtral-Small-24B-2507
|
||||
# https://huggingface.co/mistralai/Voxtral-Small-24B-2507/blob/main/params.json
|
||||
# https://docs.mistral.ai/api/endpoint/chat
|
||||
# Native params specify 32768 positions, matching the card's 32k context.
|
||||
# Output is this shared-window ceiling: prompt + max_tokens must fit; no separate native output cap is published.
|
||||
name = "Voxtral Small 24B 2507"
|
||||
description = "Open audio-language model for speech transcription, audio understanding, and voice-driven tool use"
|
||||
family = "voxtral"
|
||||
release_date = "2025-07-15"
|
||||
last_updated = "2025-07-15"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
license = "Apache 2.0"
|
||||
|
||||
[limit]
|
||||
context = 32_768
|
||||
output = 32_768
|
||||
|
||||
[modalities]
|
||||
input = ["text", "audio"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/mistralai/Voxtral-Small-24B-2507"
|
||||
@@ -1,20 +0,0 @@
|
||||
name = "GPT-6 Astra (Fast)"
|
||||
description = "Fast variant of GPT-6 Astra for low-latency assistance and high-volume workloads."
|
||||
family = "gpt-astra"
|
||||
release_date = "2026-09-04"
|
||||
last_updated = "2026-09-04"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 1_050_000
|
||||
input = 922_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,166 +0,0 @@
|
||||
name = "GPT-6 Astra"
|
||||
description = "GPT-6 Astra is OpenAI's most capable model for complex reasoning, coding, computer use, research, and document creation."
|
||||
family = "gpt-astra"
|
||||
release_date = "2026-09-04"
|
||||
last_updated = "2026-09-04"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2026-04-30"
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 1_050_000
|
||||
input = 922_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
|
||||
[[benchmarks]]
|
||||
name = "Agents' Last Exam"
|
||||
score = 59.3
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "OSWorld"
|
||||
score = 72.6
|
||||
metric = "partial score"
|
||||
dataset = "V2-Offline (v2026.08.08)"
|
||||
version = "2.0"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "ScreenSpot-Pro"
|
||||
score = 92.7
|
||||
metric = "accuracy"
|
||||
variant = "no tools"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "AutomationBench"
|
||||
score = 41.4
|
||||
metric = "success rate"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "BenchCAD"
|
||||
score = 95.9
|
||||
metric = "geometric overlap"
|
||||
variant = "with tools"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "BrowseComp"
|
||||
score = 91.5
|
||||
metric = "accuracy"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "Terminal-Bench"
|
||||
score = 57.9
|
||||
metric = "success rate"
|
||||
version = "4.0"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "DeepSWE"
|
||||
score = 74.1
|
||||
metric = "resolve rate"
|
||||
version = "1.1"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "FrontierCode"
|
||||
score = 64.5
|
||||
metric = "score"
|
||||
dataset = "Extended"
|
||||
version = "1.1"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "Terminal-Bench Science"
|
||||
score = 64.6
|
||||
metric = "success rate"
|
||||
version = "0.1"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "FrontierMath"
|
||||
score = 97.6
|
||||
metric = "accuracy"
|
||||
dataset = "Tier 4"
|
||||
version = "v2"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "GPQA Diamond"
|
||||
score = 96.0
|
||||
metric = "accuracy"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "Humanity's Last Exam"
|
||||
score = 57.2
|
||||
metric = "accuracy"
|
||||
variant = "with tools"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "ExploitBench"
|
||||
score = 100.0
|
||||
metric = "success rate"
|
||||
variant = "without production safeguards"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "SRE-Bench"
|
||||
score = 88.0
|
||||
metric = "success rate"
|
||||
variant = "single attempt"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "ARC-AGI-3"
|
||||
score = 99.9
|
||||
metric = "RHAE"
|
||||
harness = "Responses API"
|
||||
source = "https://openai.com/index/gpt-6-astra/"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "Artificial Analysis Intelligence Index"
|
||||
score = 61
|
||||
metric = "index score"
|
||||
variant = "max"
|
||||
version = "4.1.1"
|
||||
source = "https://artificialanalysis.ai/articles/benchmarking-gpt-6-astra"
|
||||
date = "2026-09-03"
|
||||
|
||||
[[benchmarks]]
|
||||
name = "Artificial Analysis Coding Agent Index"
|
||||
score = 67
|
||||
metric = "index score"
|
||||
harness = "Codex"
|
||||
variant = "max"
|
||||
version = "1.4"
|
||||
source = "https://artificialanalysis.ai/articles/benchmarking-gpt-6-astra"
|
||||
date = "2026-09-03"
|
||||
@@ -1,32 +0,0 @@
|
||||
# Model and reasoning controls: https://huggingface.co/openai/gpt-oss-safeguard-20b
|
||||
# Text-only, reasoning and structured outputs: https://openai.com/index/gpt-oss-safeguard-technical-report/
|
||||
# Tool-call format: https://huggingface.co/openai/gpt-oss-safeguard-20b/blob/main/chat_template.jinja
|
||||
# Context: https://huggingface.co/openai/gpt-oss-safeguard-20b/blob/8a11e17b25c973a24099d4016bf2e17dd7ec1574/config.json
|
||||
# Output is the configured decoder-context ceiling, not a published hosted-API output maximum.
|
||||
# Prompt, reasoning and final output share the 131,072-token budget; usable output is the remaining context.
|
||||
# No separate fixed output cap: https://huggingface.co/openai/gpt-oss-safeguard-20b/blob/8a11e17b25c973a24099d4016bf2e17dd7ec1574/generation_config.json
|
||||
# Reference generation has a caller-supplied token cap (0 = uncapped): https://github.com/openai/gpt-oss/blob/main/gpt_oss/torch/model.py
|
||||
# Release: https://openai.com/index/introducing-gpt-oss-safeguard/
|
||||
name = "GPT OSS Safeguard 20B"
|
||||
description = "Safety model for policy screening, moderation, and risk-aware routing workflows"
|
||||
family = "gpt-oss"
|
||||
release_date = "2025-10-29"
|
||||
last_updated = "2025-10-29"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/openai/gpt-oss-safeguard-20b"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Sources (accessed 2026-09-03):
|
||||
# https://huggingface.co/openbmb/MiniCPM5-1B (model card, config)
|
||||
# https://github.com/OpenBMB/MiniCPM (release announcement 2026-05-19)
|
||||
name = "MiniCPM5-1B"
|
||||
description = "Dense 1B-class open-source model for on-device and resource-constrained use, with native long-context support, Think / No Think chat modes, and tool calling"
|
||||
release_date = "2026-05-19"
|
||||
last_updated = "2026-05-19"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
license = "apache-2.0"
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
|
||||
[[weights]]
|
||||
label = "Hugging Face"
|
||||
url = "https://huggingface.co/openbmb/MiniCPM5-1B"
|
||||
@@ -1,20 +0,0 @@
|
||||
# https://writer.com/blog/actions-with-palmyra-x4/
|
||||
# https://dev.writer.com/home/models
|
||||
name = "Palmyra X4"
|
||||
description = "Enterprise language model for workflow automation, coding, data analysis, and tool use"
|
||||
family = "palmyra"
|
||||
release_date = "2024-10-09"
|
||||
last_updated = "2025-04-28"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,21 +0,0 @@
|
||||
# https://writer.com/blog/long-context-palmyra-x5/
|
||||
# https://dev.writer.com/home/models
|
||||
# https://dev.writer.com/home/chat-with-images
|
||||
name = "Palmyra X5"
|
||||
description = "Reasoning model for deliberate analysis, multi-step problem solving, and tool use"
|
||||
family = "palmyra"
|
||||
release_date = "2025-04-28"
|
||||
last_updated = "2025-04-28"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,22 +0,0 @@
|
||||
# Sources:
|
||||
# - https://x.ai/news/grok-4-1-fast
|
||||
# - https://docs.cloud.google.com/vertex-ai/generative-ai/docs/partner-models/grok/grok-4-1-fast
|
||||
name = "Grok 4.1 Fast (Reasoning)"
|
||||
description = "xAI's fast agentic tool-calling model with a 2M context window and built-in reasoning"
|
||||
family = "grok"
|
||||
release_date = "2025-11-19"
|
||||
last_updated = "2025-11-19"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 2_000_000
|
||||
output = 30_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,4 +1,3 @@
|
||||
# Open weights: https://huggingface.co/zai-org/GLM-5.3-Flash (MIT, safetensors)
|
||||
name = "GLM-5.3-Flash"
|
||||
description = "Native multimodal GLM model for efficient coding and long-horizon agent tasks"
|
||||
family = "glm"
|
||||
@@ -9,7 +8,7 @@ reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
|
||||
@@ -6,10 +6,6 @@ const check = process.argv.includes("--check");
|
||||
const result = await syncProviderByID("cloudflare-ai-gateway", { dryRun: check });
|
||||
|
||||
if (check) {
|
||||
if (result.notices.length > 0) {
|
||||
console.error(`--check: ${result.notices.join("\n")}`);
|
||||
process.exit(1);
|
||||
}
|
||||
if (result.files.length > 0) {
|
||||
console.error(`--check: ${result.files.length} file(s) out of date`);
|
||||
process.exit(1);
|
||||
|
||||
@@ -16,7 +16,6 @@ export const ModelFamilyValues = [
|
||||
"gpt-sol",
|
||||
"gpt-terra",
|
||||
"gpt-luna",
|
||||
"gpt-astra",
|
||||
"gpt-oss",
|
||||
"gpt-image",
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ import { z } from "zod";
|
||||
|
||||
import { AuthoredModel, AuthoredModelShape, ModelMetadata } from "../schema.js";
|
||||
import { openMissingModelIssues } from "./missing-issues.js";
|
||||
import { MissingReasoningOptionsError } from "./missing-reasoning-options.js";
|
||||
import { ambient } from "./providers/ambient.js";
|
||||
import { anthropic } from "./providers/anthropic.js";
|
||||
import { baseten } from "./providers/baseten.js";
|
||||
@@ -252,25 +251,16 @@ export async function syncProvider<SourceModel>(
|
||||
const caseNormalizedDesiredPaths = new Map<string, string>();
|
||||
const desiredMetadata = new Map<string, { model: z.infer<typeof ModelMetadata>; content: string }>();
|
||||
const skippedRemote: string[] = [];
|
||||
const missingReasoning = new Map<string, string>();
|
||||
|
||||
for (const sourceModel of sourceModels) {
|
||||
let translated: ReturnType<typeof provider.translateModel>;
|
||||
try {
|
||||
translated = provider.translateModel(sourceModel, {
|
||||
existing(id) {
|
||||
return existing.get(`${id}.toml`)?.toml;
|
||||
},
|
||||
authored(id) {
|
||||
return existing.get(`${id}.toml`)?.authored;
|
||||
},
|
||||
});
|
||||
} catch (error) {
|
||||
if (!(error instanceof MissingReasoningOptionsError)) throw error;
|
||||
missingReasoning.set(error.modelId, error.message);
|
||||
console.warn(error.message);
|
||||
continue;
|
||||
}
|
||||
const translated = provider.translateModel(sourceModel, {
|
||||
existing(id) {
|
||||
return existing.get(`${id}.toml`)?.toml;
|
||||
},
|
||||
authored(id) {
|
||||
return existing.get(`${id}.toml`)?.authored;
|
||||
},
|
||||
});
|
||||
if (translated === undefined) {
|
||||
const skippedID = provider.sourceID?.(sourceModel);
|
||||
if (skippedID !== undefined) skippedRemote.push(skippedID);
|
||||
@@ -453,10 +443,6 @@ export async function syncProvider<SourceModel>(
|
||||
const missingLocal: string[] = [];
|
||||
for (const relativePath of new Set([...existing.keys(), ...brokenSymlinks])) {
|
||||
if (desired.has(relativePath)) continue;
|
||||
if (missingReasoning.has(relativePath.slice(0, -5))) {
|
||||
unchanged++;
|
||||
continue;
|
||||
}
|
||||
if (provider.deleteMissing === false) {
|
||||
missingLocal.push(relativePath);
|
||||
console.log(`Retaining model missing from source: ${relativePath}`);
|
||||
@@ -479,26 +465,22 @@ export async function syncProvider<SourceModel>(
|
||||
}
|
||||
|
||||
const notices = [
|
||||
...missingReasoning.values(),
|
||||
...provider.skippedNotice?.(skippedRemote) ?? [],
|
||||
...provider.missingNotice?.(missingLocal) ?? [],
|
||||
];
|
||||
|
||||
const issueModels = [
|
||||
...(provider.skipCreates === true ? skippedRemote : []),
|
||||
...missingReasoning.keys(),
|
||||
];
|
||||
if (
|
||||
provider.trackMissingModels !== false
|
||||
&& issueModels.length > 0
|
||||
provider.skipCreates === true
|
||||
&& provider.trackMissingModels !== false
|
||||
&& skippedRemote.length > 0
|
||||
&& options.openIssues === true
|
||||
) {
|
||||
try {
|
||||
notices.push(
|
||||
...await openMissingModelIssues(
|
||||
{ id: provider.id, name: provider.name, modelsDir: provider.modelsDir },
|
||||
issueModels,
|
||||
{ dryRun: options.dryRun, reasons: Object.fromEntries(missingReasoning) },
|
||||
skippedRemote,
|
||||
{ dryRun: options.dryRun },
|
||||
),
|
||||
);
|
||||
} catch (error) {
|
||||
|
||||
@@ -6,18 +6,15 @@ export interface MissingModelIssueTarget {
|
||||
|
||||
export interface OpenMissingModelIssuesOptions {
|
||||
dryRun?: boolean;
|
||||
reasons?: Record<string, string>;
|
||||
}
|
||||
|
||||
function issueTitle(providerId: string, modelId: string) {
|
||||
return `[missing-model] ${providerId}: ${modelId}`;
|
||||
}
|
||||
|
||||
function issueBody(provider: MissingModelIssueTarget, modelId: string, reason?: string) {
|
||||
function issueBody(provider: MissingModelIssueTarget, modelId: string) {
|
||||
return [
|
||||
reason === undefined
|
||||
? `The **${provider.name}** catalog sync found remote model \`${modelId}\` that is not in the local catalog.`
|
||||
: `The **${provider.name}** catalog sync is missing reasoning options for remote model \`${modelId}\`. Any existing local entry was left unchanged.`,
|
||||
`The **${provider.name}** catalog sync found remote model \`${modelId}\` that is not in the local catalog.`,
|
||||
"",
|
||||
`| Field | Value |`,
|
||||
`| --- | --- |`,
|
||||
@@ -25,13 +22,8 @@ function issueBody(provider: MissingModelIssueTarget, modelId: string, reason?:
|
||||
`| Model ID | \`${modelId}\` |`,
|
||||
`| Expected path | \`${provider.modelsDir}/${modelId}.toml\` |`,
|
||||
"",
|
||||
reason === undefined
|
||||
? "This provider uses `skipCreates` because the remote source is not enough to auto-author a full TOML."
|
||||
: `Sync diagnostic: ${reason}`,
|
||||
"This provider uses `skipCreates` because the remote source is not enough to auto-author a full TOML.",
|
||||
"Add the model manually (prefer `base_model` when matching `models/` metadata exists).",
|
||||
...(reason === undefined ? [] : [
|
||||
`Research the provider's reasoning controls; do not use an empty placeholder. Update \`providers/${provider.id}/curation.toml\` if present, including source URLs and wire paths in its \`note\` array, so the next sync retains the fix.`,
|
||||
]),
|
||||
"",
|
||||
].join("\n");
|
||||
}
|
||||
@@ -88,7 +80,7 @@ export async function openMissingModelIssues(
|
||||
}
|
||||
|
||||
try {
|
||||
const number = await createIssue(title, issueBody(provider, modelId, options.reasons?.[modelId]), labels);
|
||||
const number = await createIssue(title, issueBody(provider, modelId), labels);
|
||||
existingByTitle.set(title, number);
|
||||
await dispatchIssueFixer(provider.id, number);
|
||||
const notice = `Opened GitHub issue #${number} and dispatched the issue fixer for missing model \`${modelId}\``;
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
/** A reasoning model needs researched provider-specific controls. */
|
||||
export class MissingReasoningOptionsError extends Error {
|
||||
constructor(readonly modelId: string, reason: string) {
|
||||
super(`${modelId}: ${reason}`);
|
||||
this.name = "MissingReasoningOptionsError";
|
||||
}
|
||||
}
|
||||
@@ -210,15 +210,15 @@ export function parseAnthropicPricing(markdown: string, now = new Date()) {
|
||||
|
||||
const table = section.split("\n").filter((line) => line.trimStart().startsWith("|"));
|
||||
const rows = table.map((line) => line.split("|").slice(1, -1).map((cell) => cell.trim()));
|
||||
const header = rows[0]?.map((cell) => markdownText(cell).toLowerCase().replaceAll("&", "and"));
|
||||
const header = rows[0]?.map(markdownText);
|
||||
if (header === undefined) throw new Error("Anthropic pricing page is missing the model pricing table");
|
||||
|
||||
const indexes = {
|
||||
model: header.indexOf("model"),
|
||||
input: header.indexOf("base input tokens"),
|
||||
cacheWrite: header.indexOf("5m cache writes"),
|
||||
cacheRead: header.indexOf("cache hits and refreshes"),
|
||||
output: header.indexOf("output tokens"),
|
||||
model: header.indexOf("Model"),
|
||||
input: header.indexOf("Base Input Tokens"),
|
||||
cacheWrite: header.indexOf("5m Cache Writes"),
|
||||
cacheRead: header.indexOf("Cache Hits & Refreshes"),
|
||||
output: header.indexOf("Output Tokens"),
|
||||
};
|
||||
if (Object.values(indexes).some((index) => index < 0)) {
|
||||
throw new Error("Anthropic model pricing table has unexpected columns");
|
||||
|
||||
@@ -4,7 +4,6 @@ import { z } from "zod";
|
||||
|
||||
import { ReasoningOption } from "../../schema.js";
|
||||
import type { ExistingModel, SyncProvider, SyncedBaseModel } from "../index.js";
|
||||
import { MissingReasoningOptionsError } from "../missing-reasoning-options.js";
|
||||
|
||||
const API_BASE = "https://api.cloudflare.com/client/v4/accounts";
|
||||
const PROVIDER_DIR = path.join(
|
||||
@@ -149,8 +148,6 @@ export function buildCloudflareAiGatewayModel(
|
||||
existing?: ExistingModel,
|
||||
): SyncedBaseModel {
|
||||
const id = catalog.model_id;
|
||||
// Pricing failures must not be hidden by missing reasoning controls.
|
||||
const cost = proxiedCost(catalog.pricing, id);
|
||||
const baseModel = curated.base_model ?? resolveBaseModel(id);
|
||||
if (baseModel === undefined) {
|
||||
throw new Error(`${id}: no lab file and no curated base_model; add it to skip or map it`);
|
||||
@@ -166,15 +163,14 @@ export function buildCloudflareAiGatewayModel(
|
||||
const derived = deriveReasoningOptions(schemaInput);
|
||||
const reasoningOptions = curated.reasoning_options ?? (derived.length > 0 ? derived : undefined);
|
||||
if (reasoningOptions === undefined) {
|
||||
throw new MissingReasoningOptionsError(
|
||||
id,
|
||||
`base ${baseModel} reasons but the catalog schema and curation provide no reasoning_options`,
|
||||
throw new Error(
|
||||
`${id}: base ${baseModel} reasons but the catalog schema and curation provide no reasoning_options`,
|
||||
);
|
||||
}
|
||||
model.reasoning_options = reasoningOptions;
|
||||
}
|
||||
|
||||
model.cost = cost;
|
||||
model.cost = proxiedCost(catalog.pricing, id);
|
||||
|
||||
const limit = {
|
||||
...(catalog.context_length == null && existing?.limit?.context === undefined
|
||||
|
||||
@@ -59,8 +59,6 @@ const MODALITY_BY_EDENAI: Record<
|
||||
};
|
||||
|
||||
// Upstreams that are the lab's own API for models under that namespace.
|
||||
// The first entry is the unsuffixed display route when several first-party
|
||||
// hosts exist (Google AI Studio vs Vertex AI).
|
||||
const LAB_UPSTREAMS: Record<string, readonly string[]> = {
|
||||
alibaba: ["qwen"],
|
||||
amazon: ["amazon"],
|
||||
@@ -78,29 +76,6 @@ const LAB_UPSTREAMS: Record<string, readonly string[]> = {
|
||||
zhipuai: ["zai"],
|
||||
};
|
||||
|
||||
const ROUTE_LABELS: Record<string, string> = {
|
||||
amazon: "Amazon Bedrock",
|
||||
azure: "Azure",
|
||||
cerebras: "Cerebras",
|
||||
cloudflare: "Cloudflare",
|
||||
compactifai: "CompactifAI",
|
||||
databricks: "Databricks",
|
||||
deepinfra: "Deep Infra",
|
||||
fireworks_ai: "Fireworks AI",
|
||||
flexai: "FlexAI",
|
||||
groq: "Groq",
|
||||
infomaniak: "Infomaniak",
|
||||
ionos: "IONOS",
|
||||
lilac: "Lilac",
|
||||
nebius: "Nebius",
|
||||
ovhcloud: "OVHcloud",
|
||||
qwen: "Alibaba",
|
||||
scaleway: "Scaleway",
|
||||
tensorx: "TensorX",
|
||||
together_ai: "Together AI",
|
||||
vertex: "Vertex AI",
|
||||
};
|
||||
|
||||
type ReasoningOption = NonNullable<
|
||||
SyncedFullModel["reasoning_options"]
|
||||
>[number];
|
||||
@@ -242,52 +217,13 @@ function hasOutputLimit(baseModel: string) {
|
||||
);
|
||||
}
|
||||
|
||||
function titleCaseSlug(slug: string) {
|
||||
return slug
|
||||
.split(/[-_]/)
|
||||
.filter((word) => word.length > 0)
|
||||
.map((word) =>
|
||||
word.toLowerCase() === "gpt"
|
||||
? "GPT"
|
||||
: word[0]!.toUpperCase() + word.slice(1).toLowerCase(),
|
||||
)
|
||||
.join(" ");
|
||||
}
|
||||
|
||||
function isLatestAlias(model: EdenAIModel) {
|
||||
if (model.alias_of == null) return false;
|
||||
const id = model.id.replace(REGION_SUFFIX, "");
|
||||
const target = model.alias_of.replace(REGION_SUFFIX, "");
|
||||
if (id.toLowerCase() === target.toLowerCase()) return false;
|
||||
const slug = id.split("/").at(-1) ?? id;
|
||||
return /(?:^|-)latest$/i.test(slug);
|
||||
}
|
||||
|
||||
function routeLabel(model: EdenAIModel, baseModel: string) {
|
||||
const lab = baseModel.split("/")[0] ?? "";
|
||||
const primary = LAB_UPSTREAMS[lab]?.[0];
|
||||
if (model.owned_by === primary) return undefined;
|
||||
return ROUTE_LABELS[model.owned_by] ?? titleCaseSlug(model.owned_by);
|
||||
}
|
||||
|
||||
function displayName(model: EdenAIModel, baseModel: string) {
|
||||
function regionVariantName(model: EdenAIModel, baseModel: string) {
|
||||
const region = REGION_SUFFIX.exec(model.id)?.[0].slice(1);
|
||||
const latest = isLatestAlias(model);
|
||||
const route = routeLabel(model, baseModel);
|
||||
if (region === undefined && !latest && route === undefined) return undefined;
|
||||
if (region === undefined) return undefined;
|
||||
|
||||
const canonical = canonicalModelName(baseModel);
|
||||
if (canonical === undefined) return undefined;
|
||||
|
||||
const head = latest
|
||||
? titleCaseSlug(model.id.replace(REGION_SUFFIX, "").split("/").at(-1) ?? "")
|
||||
: canonical;
|
||||
const details = [
|
||||
...(latest ? [canonical] : []),
|
||||
...(route !== undefined ? [route] : []),
|
||||
...(region !== undefined ? [region.toUpperCase()] : []),
|
||||
];
|
||||
return `${head} (${details.join(", ")})`;
|
||||
return `${canonical} (${region.toUpperCase()})`;
|
||||
}
|
||||
|
||||
// ========================================
|
||||
@@ -526,7 +462,7 @@ export function buildEdenAIModel(
|
||||
return factorBaseModel(
|
||||
baseModel,
|
||||
{
|
||||
name: displayName(model, baseModel),
|
||||
name: regionVariantName(model, baseModel),
|
||||
modalities,
|
||||
attachment: input?.some((value) => value !== "text"),
|
||||
reasoning_options: reasoningOptions,
|
||||
|
||||
@@ -38,17 +38,7 @@ const FILE_ALIASES: Record<string, string> = {
|
||||
const IGNORED_ROWS = new Set([
|
||||
// Goes in [experimental.modes.fast] under claude-opus-4.8
|
||||
"claude-opus-4.8-fast-mode-preview",
|
||||
// Retired models can remain in the pricing table; do not rediscover them.
|
||||
// https://docs.github.com/en/copilot/reference/ai-models/supported-models#model-retirement-history
|
||||
// Sonnet 4.6 is still available to annual-plan subscribers and stays eligible.
|
||||
"claude-sonnet-4",
|
||||
"claude-sonnet-4.5",
|
||||
"claude-opus-4.5",
|
||||
"claude-opus-4.6",
|
||||
"gemini-3.1-pro",
|
||||
"gpt-4.1",
|
||||
"gpt-5.2",
|
||||
"gpt-5.2-codex",
|
||||
// No matching model in repo
|
||||
"raptor-mini",
|
||||
]);
|
||||
|
||||
|
||||
@@ -113,9 +113,7 @@ export const llmgateway = {
|
||||
if (data.length === 0) {
|
||||
throw new Error("LLM Gateway returned no text models");
|
||||
}
|
||||
// Case-insensitive ID conflicts use the last entry, including its original
|
||||
// casing and complete record; never mix metadata from different routes.
|
||||
return [...new Map(data.map((model) => [model.id.toLowerCase(), model])).values()];
|
||||
return data;
|
||||
},
|
||||
translateModel(model, context) {
|
||||
const translated = buildLLMGatewayModel(model, context.existing(model.id));
|
||||
|
||||
@@ -1,47 +1,14 @@
|
||||
import { expect, spyOn, test } from "bun:test";
|
||||
import { expect, test } from "bun:test";
|
||||
import { mkdir, mkdtemp, readFile, rm, symlink, writeFile } from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
|
||||
import { syncProvider } from "../src/sync/index.js";
|
||||
import * as missingIssues from "../src/sync/missing-issues.js";
|
||||
import {
|
||||
buildCloudflareAiGatewayModel,
|
||||
cloudflareAiGateway,
|
||||
deriveReasoningOptions,
|
||||
} from "../src/sync/providers/cloudflare-ai-gateway.js";
|
||||
|
||||
test("missing reasoning controls open issues without deleting existing models or blocking valid ones", async () => {
|
||||
const dir = await mkdtemp(path.join(import.meta.dirname, "../../../providers/.reasoning-sync-"));
|
||||
const modelsDir = path.join(dir, "models");
|
||||
const ids = ["anthropic/claude-fable-5.1", "anthropic/claude-fable-5-1"];
|
||||
const file = path.join(modelsDir, `${ids[0]}.toml`);
|
||||
const content = '# Keep authored controls\nbase_model = "anthropic/claude-fable-5-1"\nreasoning_options = [{ type = "effort", values = ["high"] }]\n';
|
||||
await mkdir(path.dirname(file), { recursive: true });
|
||||
await writeFile(file, content);
|
||||
const issues = spyOn(missingIssues, "openMissingModelIssues").mockResolvedValue([]);
|
||||
const provider = {
|
||||
...cloudflareAiGateway, modelsDir,
|
||||
async fetchModels() {
|
||||
return [...ids, "openai/gpt-4.1"].map((model_id) => ({
|
||||
catalog: { model_id, task: "Text Generation", pricing: { "Input tokens (per 1M)": 1, "Output tokens (per 1M)": 2 } },
|
||||
}));
|
||||
},
|
||||
};
|
||||
try {
|
||||
const result = await syncProvider(provider, { openIssues: true });
|
||||
expect(result).toMatchObject({ created: 1, updated: 0, deleted: 0, unchanged: 1 });
|
||||
expect(await readFile(file, "utf8")).toBe(content);
|
||||
expect(await Bun.file(path.join(modelsDir, `${ids[1]}.toml`)).exists()).toBe(false);
|
||||
expect(issues.mock.calls[0]?.[1]).toEqual(ids);
|
||||
expect(issues.mock.calls[0]?.[2]?.reasons?.[ids[0]!]).toContain("reasoning_options");
|
||||
await expect(syncProvider({ ...provider, async fetchModels() { throw new Error("fetch failed"); } })).rejects.toThrow("fetch failed");
|
||||
expect(issues).toHaveBeenCalledTimes(1);
|
||||
} finally {
|
||||
issues.mockRestore();
|
||||
await rm(dir, { recursive: true, force: true });
|
||||
}
|
||||
});
|
||||
|
||||
test("builds Cloudflare AI Gateway overrides from catalog metadata", () => {
|
||||
const model = buildCloudflareAiGatewayModel(
|
||||
{
|
||||
|
||||
@@ -150,11 +150,11 @@ test("clears authored tiers and cache_write the table no longer lists", () => {
|
||||
|
||||
test("resolves preview and alias filenames", () => {
|
||||
const preview = parseGitHubCopilotPricing([
|
||||
row({ model: "Example Model", release_status: "Public preview" }),
|
||||
row({ model: "Gemini 3.1 Pro", provider: "google", release_status: "Public preview" }),
|
||||
]);
|
||||
expect(githubCopilot.translateModel(preview[0]!, translationContext({
|
||||
"example-model-preview": authoredTerra,
|
||||
}))?.id).toBe("example-model-preview");
|
||||
"gemini-3.1-pro-preview": authoredTerra,
|
||||
}))?.id).toBe("gemini-3.1-pro-preview");
|
||||
|
||||
const alias = parseGitHubCopilotPricing([row({ model: "MAI-Code-1-Flash", provider: "microsoft" })]);
|
||||
expect(githubCopilot.translateModel(alias[0]!, translationContext({
|
||||
@@ -163,9 +163,9 @@ test("resolves preview and alias filenames", () => {
|
||||
|
||||
// An exact slug match wins over both fallbacks.
|
||||
expect(githubCopilot.translateModel(preview[0]!, translationContext({
|
||||
"example-model": authoredTerra,
|
||||
"example-model-preview": authoredTerra,
|
||||
}))?.id).toBe("example-model");
|
||||
"gemini-3.1-pro": authoredTerra,
|
||||
"gemini-3.1-pro-preview": authoredTerra,
|
||||
}))?.id).toBe("gemini-3.1-pro");
|
||||
expect(githubCopilot.translateModel(alias[0]!, translationContext({
|
||||
"mai-code-1-flash": authoredTerra,
|
||||
"mai-code-1-flash-picker": authoredTerra,
|
||||
@@ -184,36 +184,6 @@ test("skips ignored rows silently and unmatched rows with an ID", () => {
|
||||
expect(githubCopilot.sourceID(unmatched!)).toBe("brand-new-model");
|
||||
});
|
||||
|
||||
test.each([
|
||||
"Claude Sonnet 4",
|
||||
"Claude Sonnet 4.5",
|
||||
"Claude Opus 4.5",
|
||||
"Claude Opus 4.6",
|
||||
"Gemini 3.1 Pro",
|
||||
"GPT-4.1",
|
||||
"GPT-5.2",
|
||||
"GPT-5.2-Codex",
|
||||
"Raptor mini",
|
||||
])("ignores retired %s for translation and missing-model discovery", (name) => {
|
||||
const [model] = parseGitHubCopilotPricing([row({ model: name, release_status: "Public preview" })]);
|
||||
expect(githubCopilot.sourceID(model!)).toBeUndefined();
|
||||
expect(githubCopilot.translateModel(model!, translationContext({}))).toBeUndefined();
|
||||
expect(githubCopilot.translateModel(model!, translationContext({
|
||||
[model!.slug]: authoredTerra,
|
||||
}))).toBeUndefined();
|
||||
expect(githubCopilot.translateModel(model!, translationContext({
|
||||
[`${model!.slug}-preview`]: authoredTerra,
|
||||
}))).toBeUndefined();
|
||||
});
|
||||
|
||||
test("keeps Sonnet 4.6 eligible for annual-plan subscribers", () => {
|
||||
const [model] = parseGitHubCopilotPricing([row({ model: "Claude Sonnet 4.6", provider: "anthropic" })]);
|
||||
expect(githubCopilot.sourceID(model!)).toBe("claude-sonnet-4.6");
|
||||
expect(githubCopilot.translateModel(model!, translationContext({
|
||||
"claude-sonnet-4.6": authoredTerra,
|
||||
}))?.id).toBe("claude-sonnet-4.6");
|
||||
});
|
||||
|
||||
const pricingYaml = `
|
||||
- model: 'GPT-5.6 Sol[^gpt-56-sol-promo]'
|
||||
provider: openai
|
||||
|
||||
@@ -923,36 +923,6 @@ test("parses current and future Anthropic pricing rows", () => {
|
||||
expect(standard.get("claude sonnet 5")).toMatchObject({ input: 3, output: 15 });
|
||||
});
|
||||
|
||||
test.each([
|
||||
"| Model | Base input tokens | 5m cache writes | 1h cache writes | Cache hits and refreshes | Output tokens |",
|
||||
"| Model | Base input tokens | 5m cache writes | 1h cache writes | Cache hits & refreshes | Output tokens |",
|
||||
"| Model | Base Input Tokens | 5m Cache Writes | 1h Cache Writes | Cache Hits and Refreshes | Output Tokens |",
|
||||
])("parses Anthropic pricing with header %s", (header) => {
|
||||
const markdown = anthropicPricingMarkdown.replace(/^\| Model \|.*$/m, header);
|
||||
const pricing = parseAnthropicPricing(markdown, new Date("2026-09-03T00:00:00Z"));
|
||||
|
||||
expect(pricing.size).toBe(5);
|
||||
expect(pricing.get("claude opus 4.8")).toEqual({
|
||||
input: 5,
|
||||
output: 25,
|
||||
cacheRead: 0.5,
|
||||
cacheWrite: 6.25,
|
||||
deprecated: false,
|
||||
});
|
||||
});
|
||||
|
||||
test.each([
|
||||
"Model",
|
||||
"Base Input Tokens",
|
||||
"5m Cache Writes",
|
||||
"Cache Hits & Refreshes",
|
||||
"Output Tokens",
|
||||
])("rejects Anthropic pricing without the %s column", (column) => {
|
||||
const markdown = anthropicPricingMarkdown.replace(`| ${column} |`, "| Unknown |");
|
||||
|
||||
expect(() => parseAnthropicPricing(markdown)).toThrow("Anthropic model pricing table has unexpected columns");
|
||||
});
|
||||
|
||||
test("syncs Anthropic capabilities and exact effort levels", () => {
|
||||
const model = buildAnthropicModel(anthropicModel(), {
|
||||
name: "Claude Sonnet 5",
|
||||
@@ -2613,112 +2583,7 @@ test("names Eden AI regional deployments after the canonical model", () => {
|
||||
),
|
||||
).toMatchObject({
|
||||
base_model: "anthropic/claude-opus-5",
|
||||
name: "Claude Opus 5 (Amazon Bedrock, EU)",
|
||||
});
|
||||
});
|
||||
|
||||
test("names Eden AI latest aliases as Latest plus the current target", () => {
|
||||
expect(
|
||||
buildEdenAIModel(
|
||||
edenAIModel({
|
||||
id: "anthropic/claude-fable-latest",
|
||||
model_name: "claude-fable-5-1",
|
||||
owned_by: "anthropic",
|
||||
alias_of: "anthropic/claude-fable-5-1",
|
||||
}),
|
||||
),
|
||||
).toMatchObject({
|
||||
base_model: "anthropic/claude-fable-5-1",
|
||||
name: "Claude Fable Latest (Claude Fable 5.1)",
|
||||
});
|
||||
expect(
|
||||
buildEdenAIModel(
|
||||
edenAIModel({
|
||||
id: "openai/gpt-latest",
|
||||
model_name: "gpt-6-astra",
|
||||
owned_by: "openai",
|
||||
alias_of: "openai/gpt-6-astra",
|
||||
}),
|
||||
),
|
||||
).toMatchObject({
|
||||
base_model: "openai/gpt-6-astra",
|
||||
name: "GPT Latest (GPT-6 Astra)",
|
||||
});
|
||||
expect(
|
||||
buildEdenAIModel(
|
||||
edenAIModel({
|
||||
id: "vertex/gemini-flash-latest@us",
|
||||
model_name: "gemini-3.8-flash",
|
||||
owned_by: "vertex",
|
||||
alias_of: "vertex/gemini-3.8-flash",
|
||||
}),
|
||||
),
|
||||
).toMatchObject({
|
||||
base_model: "google/gemini-3.8-flash",
|
||||
name: "Gemini Flash Latest (Gemini 3.8 Flash, Vertex AI, US)",
|
||||
});
|
||||
});
|
||||
|
||||
test("names Eden AI non-primary hosts distinctly from the lab route", () => {
|
||||
expect(
|
||||
buildEdenAIModel(
|
||||
edenAIModel({
|
||||
id: "google/gemini-3.8-flash",
|
||||
model_name: "gemini-3.8-flash",
|
||||
owned_by: "google",
|
||||
}),
|
||||
),
|
||||
).not.toHaveProperty("name");
|
||||
expect(
|
||||
buildEdenAIModel(
|
||||
edenAIModel({
|
||||
id: "vertex/gemini-3.8-flash",
|
||||
model_name: "gemini-3.8-flash",
|
||||
owned_by: "vertex",
|
||||
}),
|
||||
),
|
||||
).toMatchObject({
|
||||
base_model: "google/gemini-3.8-flash",
|
||||
name: "Gemini 3.8 Flash (Vertex AI)",
|
||||
});
|
||||
expect(
|
||||
buildEdenAIModel(
|
||||
edenAIModel({
|
||||
id: "vertex/gemini-3.8-flash@us",
|
||||
model_name: "gemini-3.8-flash",
|
||||
owned_by: "vertex",
|
||||
}),
|
||||
),
|
||||
).toMatchObject({
|
||||
base_model: "google/gemini-3.8-flash",
|
||||
name: "Gemini 3.8 Flash (Vertex AI, US)",
|
||||
});
|
||||
expect(
|
||||
buildEdenAIModel(
|
||||
edenAIModel({
|
||||
id: "deepinfra/openai/gpt-oss-120b",
|
||||
model_name: "openai/gpt-oss-120b",
|
||||
owned_by: "deepinfra",
|
||||
}),
|
||||
),
|
||||
).toMatchObject({
|
||||
base_model: "openai/gpt-oss-120b",
|
||||
name: "GPT OSS 120B (Deep Infra)",
|
||||
});
|
||||
});
|
||||
|
||||
test("does not treat Eden AI case-only aliases as latest pointers", () => {
|
||||
const built = buildEdenAIModel(
|
||||
edenAIModel({
|
||||
id: "flexai/deepseek-v4-flash-0731",
|
||||
model_name: "DeepSeek-V4-Flash-0731",
|
||||
owned_by: "flexai",
|
||||
alias_of: "flexai/DeepSeek-V4-Flash-0731",
|
||||
}),
|
||||
);
|
||||
expect(built).toMatchObject({
|
||||
base_model: "deepseek/deepseek-v4-flash-0731",
|
||||
name: "DeepSeek V4 Flash 0731 (FlexAI)",
|
||||
name: "Claude Opus 5 (EU)",
|
||||
});
|
||||
});
|
||||
|
||||
@@ -2780,15 +2645,9 @@ test("keeps every Eden AI route for models with no first-party relay", () => {
|
||||
|
||||
const firstParty = collectFirstPartyBaseModels(models);
|
||||
expect(firstParty.size).toBe(0);
|
||||
const names = {
|
||||
deepinfra: "GPT OSS 120B (Deep Infra)",
|
||||
groq: "GPT OSS 120B (Groq)",
|
||||
cerebras: "GPT OSS 120B (Cerebras)",
|
||||
};
|
||||
for (const model of models) {
|
||||
expect(buildEdenAIModel(model, undefined, firstParty)).toMatchObject({
|
||||
base_model: "openai/gpt-oss-120b",
|
||||
name: names[model.owned_by as keyof typeof names],
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -3747,56 +3606,6 @@ test("strips image input when the deployment has no vision", () => {
|
||||
});
|
||||
});
|
||||
|
||||
test("keeps the last LLM Gateway entry for case-insensitive duplicate IDs", () => {
|
||||
const first = llmGatewayModel({ id: "qwen3.8-27b", family: "alibaba" });
|
||||
const other = llmGatewayModel();
|
||||
for (const id of [first.id, "Qwen3.8-27B"]) {
|
||||
const last = llmGatewayModel({
|
||||
id,
|
||||
family: "consensusprotocol",
|
||||
context_length: 32_768,
|
||||
pricing: { prompt: "0.41e-6", completion: "2.5e-6" },
|
||||
});
|
||||
expect(llmgateway.parseModels({ data: [first, other, last] })).toEqual([last, other]);
|
||||
expect(llmgateway.parseModels({ data: [last, other, first] })).toEqual([first, other]);
|
||||
}
|
||||
const nonText = llmGatewayModel({
|
||||
id: first.id,
|
||||
architecture: { input_modalities: ["text"], output_modalities: ["image"] },
|
||||
});
|
||||
expect(llmgateway.parseModels({ data: [first, nonText] })).toEqual([first]);
|
||||
});
|
||||
|
||||
test("syncs the last LLM Gateway case variant without mixing source records", async () => {
|
||||
const root = await mkdtemp(path.join(tmpdir(), "models-dev-llmgateway-case-"));
|
||||
const modelsDir = path.join(root, "providers", "llmgateway", "models");
|
||||
await mkdir(modelsDir, { recursive: true });
|
||||
const first = llmGatewayModel({ id: "qwen3.8-27b", family: undefined });
|
||||
const last = llmGatewayModel({
|
||||
id: "Qwen3.8-27B",
|
||||
family: undefined,
|
||||
context_length: 32_768,
|
||||
pricing: { prompt: "0.41e-6", completion: "2.5e-6" },
|
||||
});
|
||||
const provider = { ...llmgateway, modelsDir, fetchModels: async () => ({ data: [first, last] }) };
|
||||
|
||||
try {
|
||||
await syncProvider({ ...provider, fetchModels: async () => ({ data: [first] }) });
|
||||
const result = await syncProvider(provider);
|
||||
expect(result).toMatchObject({ created: 1, updated: 0, deleted: 1 });
|
||||
expect(await Bun.file(path.join(modelsDir, `${first.id}.toml`)).exists()).toBe(false);
|
||||
const written = Bun.TOML.parse(await readFile(path.join(modelsDir, `${last.id}.toml`), "utf8"));
|
||||
expect(written).toMatchObject({
|
||||
cost: { input: 0.41, output: 2.5 },
|
||||
limit: { context: 32_768 },
|
||||
});
|
||||
expect(written.cost).not.toHaveProperty("cache_write");
|
||||
expect(await syncProvider(provider)).toMatchObject({ created: 0, updated: 0, deleted: 0, unchanged: 1 });
|
||||
} finally {
|
||||
await rm(root, { recursive: true, force: true });
|
||||
}
|
||||
});
|
||||
|
||||
test("refuses empty responses in both LLM Gateway syncs", () => {
|
||||
expect(() => llmgateway.parseModels({ data: [] })).toThrow("no text models");
|
||||
expect(() => llmgatewayProviders.parseModels({ data: [] })).toThrow("mapped view unavailable");
|
||||
|
||||
@@ -1,7 +1,21 @@
|
||||
# 302.AI API reports context_length = 204,800 for MiniMax-M2.1 (reconciled from prior 1M override)
|
||||
base_model = "minimax/MiniMax-M2.1"
|
||||
reasoning_options = []
|
||||
name = "MiniMax-M2.1"
|
||||
description = "MiniMax model for chat, coding, office work, and agentic tasks"
|
||||
release_date = "2025-12-19"
|
||||
last_updated = "2025-12-19"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.3
|
||||
output = 1.2
|
||||
input = 0.300
|
||||
output = 1.200
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "minimax/MiniMax-M2.5"
|
||||
reasoning_options = []
|
||||
|
||||
[cost]
|
||||
input = 0.3
|
||||
output = 1.2
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "MiniMax-M2.7-highspeed"
|
||||
description = "High-speed MiniMax model for low-latency coding and agent workflows"
|
||||
release_date = "2026-03-19"
|
||||
last_updated = "2026-03-19"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.600
|
||||
output = 4.800
|
||||
|
||||
[limit]
|
||||
context = 204_800
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,6 +1,21 @@
|
||||
base_model = "minimax/MiniMax-M2.7"
|
||||
reasoning_options = []
|
||||
name = "MiniMax-M2.7"
|
||||
description = "MiniMax model for chat, coding, office work, and agentic tasks"
|
||||
release_date = "2026-03-19"
|
||||
last_updated = "2026-03-19"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.3
|
||||
output = 1.2
|
||||
input = 0.300
|
||||
output = 1.200
|
||||
|
||||
[limit]
|
||||
context = 204_800
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,7 +0,0 @@
|
||||
# Toggle: thinking.type = enabled|disabled
|
||||
base_model = "minimax/MiniMax-M3"
|
||||
reasoning_options = [{ type = "toggle" }]
|
||||
|
||||
[cost]
|
||||
input = 0.72
|
||||
output = 2.88
|
||||
@@ -0,0 +1,23 @@
|
||||
name = "chatgpt-4o-latest"
|
||||
description = "GPT model for general reasoning, writing, coding, and tool-assisted tasks"
|
||||
family = "gpt"
|
||||
release_date = "2024-08-08"
|
||||
last_updated = "2024-08-08"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
knowledge = "2023-09"
|
||||
|
||||
[cost]
|
||||
input = 5.000
|
||||
output = 15.000
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,23 @@
|
||||
name = "claude-3-5-haiku-20241022"
|
||||
description = "Fast Claude model for responsive assistance, classification, and lightweight agents"
|
||||
family = "claude-haiku"
|
||||
release_date = "2024-10-22"
|
||||
last_updated = "2024-10-22"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2024-07-31"
|
||||
|
||||
[cost]
|
||||
input = 0.800
|
||||
output = 4.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,23 @@
|
||||
name = "claude-3-5-haiku-latest"
|
||||
description = "Fast Claude model for responsive assistance, classification, and lightweight agents"
|
||||
family = "claude-haiku"
|
||||
release_date = "2024-10-22"
|
||||
last_updated = "2024-10-22"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2024-07-31"
|
||||
|
||||
[cost]
|
||||
input = 0.800
|
||||
output = 4.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "anthropic/claude-fable-5-1"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
[cost]
|
||||
input = 10.0
|
||||
output = 50.0
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "anthropic/claude-fable-5"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
[cost]
|
||||
input = 10.0
|
||||
output = 50.0
|
||||
@@ -0,0 +1,24 @@
|
||||
name = "claude-opus-4-20250514"
|
||||
description = "Flagship Claude model for deep reasoning, coding, and long-horizon agents"
|
||||
family = "claude-opus"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 1024, max = 31999 }]
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-03-31"
|
||||
|
||||
[cost]
|
||||
input = 15.000
|
||||
output = 75.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 32_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,23 @@
|
||||
name = "claude-opus-4-5-20251101-thinking"
|
||||
description = "Flagship Claude model for deep reasoning, coding, and long-horizon agents"
|
||||
release_date = "2025-11-25"
|
||||
last_updated = "2025-11-25"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-03"
|
||||
|
||||
[cost]
|
||||
input = 5.000
|
||||
output = 25.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,24 @@
|
||||
name = "claude-opus-4-5"
|
||||
description = "Flagship Claude model for deep reasoning, coding, and long-horizon agents"
|
||||
family = "claude-opus"
|
||||
release_date = "2025-11-25"
|
||||
last_updated = "2025-11-25"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high"] }, { type = "budget_tokens", min = 1024, max = 63999 }]
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-03-31"
|
||||
|
||||
[cost]
|
||||
input = 5.000
|
||||
output = 25.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,23 @@
|
||||
name = "claude-opus-4-6-thinking"
|
||||
description = "Flagship Claude model for deep reasoning, coding, and long-horizon agents"
|
||||
release_date = "2026-02-06"
|
||||
last_updated = "2026-03-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-05"
|
||||
|
||||
[cost]
|
||||
input = 5.000
|
||||
output = 25.000
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,24 @@
|
||||
name = "claude-opus-4-6"
|
||||
description = "Flagship Claude model for deep reasoning, coding, and long-horizon agents"
|
||||
family = "claude-opus"
|
||||
release_date = "2026-02-06"
|
||||
last_updated = "2026-03-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high", "max"] }, { type = "budget_tokens", min = 1024, max = 127999 }]
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-05-31"
|
||||
|
||||
[cost]
|
||||
input = 5.000
|
||||
output = 25.000
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,7 +0,0 @@
|
||||
base_model = "anthropic/claude-opus-4-7"
|
||||
name = "claude-opus-4-7-thinking"
|
||||
reasoning_options = []
|
||||
|
||||
[cost]
|
||||
input = 5.0
|
||||
output = 25.0
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "anthropic/claude-opus-4-8"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
[cost]
|
||||
input = 5.0
|
||||
output = 25.0
|
||||
@@ -1,7 +0,0 @@
|
||||
base_model = "anthropic/claude-opus-5"
|
||||
name = "claude-opus-5-thinking"
|
||||
reasoning_options = []
|
||||
|
||||
[cost]
|
||||
input = 5.0
|
||||
output = 25.0
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "anthropic/claude-opus-5"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
[cost]
|
||||
input = 5.0
|
||||
output = 25.0
|
||||
@@ -0,0 +1,24 @@
|
||||
name = "claude-sonnet-4-20250514"
|
||||
description = "Balanced Claude model for coding, analysis, agent workflows, and cost control"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 1024, max = 63999 }]
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-03-31"
|
||||
|
||||
[cost]
|
||||
input = 3.000
|
||||
output = 15.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,24 @@
|
||||
name = "claude-sonnet-4-5"
|
||||
description = "Balanced Claude model for coding, analysis, agent workflows, and cost control"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2025-09-30"
|
||||
last_updated = "2025-09-30"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 1024, max = 63999 }]
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-07-31"
|
||||
|
||||
[cost]
|
||||
input = 3.000
|
||||
output = 15.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,8 +0,0 @@
|
||||
# Toggle: thinking.type = enabled|disabled
|
||||
# Effort: output_config.effort = low|medium|high|xhigh|max
|
||||
base_model = "anthropic/claude-sonnet-5"
|
||||
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
[cost]
|
||||
input = 2.0
|
||||
output = 10.0
|
||||
@@ -0,0 +1,23 @@
|
||||
name = "Deepseek-Chat"
|
||||
description = "DeepSeek chat model for instruction following, coding, and analysis"
|
||||
family = "deepseek"
|
||||
release_date = "2024-11-29"
|
||||
last_updated = "2024-11-29"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2024-07"
|
||||
|
||||
[cost]
|
||||
input = 0.290
|
||||
output = 0.430
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,24 @@
|
||||
name = "Deepseek-Reasoner"
|
||||
description = "DeepSeek reasoning model for multi-step analysis, math, coding, and tools"
|
||||
family = "deepseek-thinking"
|
||||
release_date = "2025-01-20"
|
||||
last_updated = "2025-01-20"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2024-07"
|
||||
|
||||
[cost]
|
||||
input = 0.290
|
||||
output = 0.430
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "doubao-seed-code-preview-251028"
|
||||
description = "Coding model for repository understanding, refactors, and agentic engineering tasks"
|
||||
release_date = "2025-11-11"
|
||||
last_updated = "2025-11-11"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.170
|
||||
output = 1.140
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 32_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "google/gemini-3.1-flash-lite-preview"
|
||||
reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 0.25
|
||||
output = 1.5
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "google/gemini-3.1-flash-lite"
|
||||
reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 0.25
|
||||
output = 1.5
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "google/gemini-3.1-pro-preview"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 2.0
|
||||
output = 12.0
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "google/gemini-3.5-flash-lite"
|
||||
reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 0.3
|
||||
output = 2.5
|
||||
@@ -1,7 +0,0 @@
|
||||
base_model = "google/gemini-3.5-flash"
|
||||
name = "gemini-3.5-flash-thinking"
|
||||
reasoning_options = []
|
||||
|
||||
[cost]
|
||||
input = 1.5
|
||||
output = 9.0
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "google/gemini-3.5-flash"
|
||||
reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 1.5
|
||||
output = 9.0
|
||||
@@ -1,7 +0,0 @@
|
||||
# Cost: 302.AI listed price, https://doc.302.ai/ (retrieved 2026-09-08)
|
||||
base_model = "google/gemini-3.6-flash"
|
||||
reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 1.5
|
||||
output = 7.5
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "google/gemini-3.7-flash"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 0.75
|
||||
output = 3.75
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "google/gemini-3.8-flash"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 0.75
|
||||
output = 3.75
|
||||
@@ -0,0 +1,24 @@
|
||||
name = "glm-4.5-air"
|
||||
description = "Efficient GLM model for fast reasoning, coding, and agent workflows"
|
||||
family = "glm-air"
|
||||
release_date = "2025-07-29"
|
||||
last_updated = "2025-07-29"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "toggle" }]
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
knowledge = "2025-04"
|
||||
|
||||
[cost]
|
||||
input = 0.1143
|
||||
output = 0.286
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 98_304
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,23 @@
|
||||
name = "glm-4.5-airx"
|
||||
description = "Flagship GLM model for hybrid reasoning, coding, and agentic engineering"
|
||||
family = "glm"
|
||||
release_date = "2025-07-29"
|
||||
last_updated = "2025-07-29"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-04"
|
||||
|
||||
[cost]
|
||||
input = 0.572
|
||||
output = 1.714
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,23 @@
|
||||
name = "glm-4.5-x"
|
||||
description = "Flagship GLM model for hybrid reasoning, coding, and agentic engineering"
|
||||
family = "glm"
|
||||
release_date = "2025-07-29"
|
||||
last_updated = "2025-07-29"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-04"
|
||||
|
||||
[cost]
|
||||
input = 1.143
|
||||
output = 2.290
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,24 @@
|
||||
name = "glm-4.7-flashx"
|
||||
description = "Efficient GLM model for fast reasoning, coding, and agent workflows"
|
||||
family = "glm-flash"
|
||||
release_date = "2026-01-20"
|
||||
last_updated = "2026-01-20"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "toggle" }]
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
knowledge = "2025-04"
|
||||
|
||||
[cost]
|
||||
input = 0.0715
|
||||
output = 0.429
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,10 +1,27 @@
|
||||
# Toggle: thinking.type = enabled|disabled
|
||||
base_model = "zhipuai/glm-5.1"
|
||||
name = "glm-5.1"
|
||||
description = "Flagship GLM model for hybrid reasoning, coding, and agentic engineering"
|
||||
family = "glm"
|
||||
release_date = "2026-04-10"
|
||||
last_updated = "2026-04-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "toggle" }]
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[interleaved]
|
||||
field = "reasoning_content"
|
||||
|
||||
[cost]
|
||||
input = 1.4
|
||||
output = 4.4
|
||||
input = 0.860
|
||||
output = 3.500
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,10 +0,0 @@
|
||||
# Effort: reasoning_effort = high|max
|
||||
base_model = "zhipuai/glm-5.2"
|
||||
reasoning_options = [{ type = "effort", values = ["high", "max"] }]
|
||||
|
||||
[interleaved]
|
||||
field = "reasoning_content"
|
||||
|
||||
[cost]
|
||||
input = 1.4
|
||||
output = 4.4
|
||||
@@ -1,10 +0,0 @@
|
||||
# Effort: reasoning_effort = low|high|max
|
||||
base_model = "zhipuai/glm-5.3-flash"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "high", "max"] }]
|
||||
|
||||
[interleaved]
|
||||
field = "reasoning_content"
|
||||
|
||||
[cost]
|
||||
input = 0.075
|
||||
output = 0.25
|
||||
@@ -1,10 +0,0 @@
|
||||
# Effort: reasoning_effort = low|high|max
|
||||
base_model = "zhipuai/glm-5.3"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "high", "max"] }]
|
||||
|
||||
[interleaved]
|
||||
field = "reasoning_content"
|
||||
|
||||
[cost]
|
||||
input = 1.4
|
||||
output = 4.4
|
||||
@@ -0,0 +1,23 @@
|
||||
name = "glm-for-coding"
|
||||
description = "Flagship GLM model for hybrid reasoning, coding, and agentic engineering"
|
||||
family = "glm"
|
||||
release_date = "2025-09-30"
|
||||
last_updated = "2025-09-30"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
reasoning_options = []
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.086
|
||||
output = 0.343
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,5 +0,0 @@
|
||||
base_model = "openai/gpt-5.3-chat-latest"
|
||||
|
||||
[cost]
|
||||
input = 1.75
|
||||
output = 14.0
|
||||
@@ -0,0 +1,26 @@
|
||||
name = "gpt-5.4-mini-2026-03-17"
|
||||
description = "Compact GPT model for low-latency assistance and high-volume workloads"
|
||||
family = "gpt-mini"
|
||||
release_date = "2026-03-19"
|
||||
last_updated = "2026-03-19"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }]
|
||||
temperature = false
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
knowledge = "2025-08-31"
|
||||
|
||||
[cost]
|
||||
input = 0.750
|
||||
output = 4.500
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
input = 272_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,26 @@
|
||||
name = "gpt-5.4-nano-2026-03-17"
|
||||
description = "Compact GPT model for low-latency assistance and high-volume workloads"
|
||||
family = "gpt-nano"
|
||||
release_date = "2026-03-19"
|
||||
last_updated = "2026-03-19"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }]
|
||||
temperature = false
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
knowledge = "2025-08-31"
|
||||
|
||||
[cost]
|
||||
input = 0.200
|
||||
output = 1.250
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
input = 272_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,33 @@
|
||||
name = "gpt-5.4-pro"
|
||||
description = "Frontier GPT model for professional reasoning, coding, and multimodal work"
|
||||
family = "gpt-pro"
|
||||
release_date = "2026-03-05"
|
||||
last_updated = "2026-03-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "effort", values = ["medium", "high", "xhigh"] }]
|
||||
temperature = false
|
||||
tool_call = true
|
||||
structured_output = false
|
||||
open_weights = false
|
||||
knowledge = "2025-08-31"
|
||||
|
||||
[cost]
|
||||
input = 30.000
|
||||
output = 180.000
|
||||
cache_read = 0
|
||||
cache_write = 0
|
||||
|
||||
[[cost.tiers]]
|
||||
tier = { size = 272_000 }
|
||||
input = 60.000
|
||||
output = 270.000
|
||||
|
||||
[limit]
|
||||
context = 1_050_000
|
||||
input = 922_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "openai/gpt-5.5"
|
||||
reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }]
|
||||
|
||||
[cost]
|
||||
input = 5.0
|
||||
output = 30.0
|
||||
@@ -1,8 +0,0 @@
|
||||
# 302.AI model SKU routing to GPT-5.6 Pro reasoning tier (published at same token pricing in 302.AI API catalog)
|
||||
base_model = "openai/gpt-5.6-luna"
|
||||
name = "gpt-5.6-luna-pro"
|
||||
reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
[cost]
|
||||
input = 0.2
|
||||
output = 1.2
|
||||
Loaded 100 of 1175 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user