Skip to content

Commit 36a455c

Browse files
authored
Merge branch 'anomalyco:dev' into dev
2 parents 0bf5c60 + b123711 commit 36a455c

59 files changed

Lines changed: 1255 additions & 338 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/core/script/generate-vercel.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ enum ModelType {
2020
Embedding = "embedding",
2121
Image = "image",
2222
Video = "video",
23+
Reranking = "reranking",
2324
}
2425

2526
enum SkipZeroFields {
@@ -505,8 +506,12 @@ async function main() {
505506
let unchanged = 0;
506507

507508
for (const apiModel of apiModels) {
508-
// Skip these since OpenCode does not support image / video generation yet
509-
if (apiModel.type === ModelType.Image || apiModel.type === ModelType.Video) {
509+
// Skip these since OpenCode does not support image / video / reranking yet
510+
if (
511+
apiModel.type === ModelType.Image ||
512+
apiModel.type === ModelType.Video ||
513+
apiModel.type === ModelType.Reranking
514+
) {
510515
continue;
511516
}
512517

packages/core/src/family.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ export const ModelFamilyValues = [
4747

4848
// Alibaba Qwen
4949
"qwen",
50+
"qwen3.5",
51+
"qwen3.6",
5052
"qwen-free",
5153

5254
// DeepSeek

providers/aihubmix/models/coding-glm-4.7.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ open_weights = true
1313
field = "reasoning_details"
1414

1515
[cost]
16-
input = 0.27
17-
output = 1.10
18-
cache_read = 0.548
16+
input = 0.06
17+
output = 0.22
18+
cache_read = 0.01
1919

2020
[limit]
2121
context = 204800
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name = "Coding-GLM-5.1"
2+
family = "glm"
3+
release_date = "2026-04-11"
4+
last_updated = "2026-04-11"
5+
attachment = false
6+
reasoning = true
7+
temperature = true
8+
tool_call = true
9+
open_weights = false
10+
11+
[interleaved]
12+
field = "reasoning_content"
13+
14+
[cost]
15+
input = 0.06
16+
output = 0.22
17+
18+
[limit]
19+
context = 200000
20+
output = 128000
21+
22+
[modalities]
23+
input = ["text"]
24+
output = ["text"]
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name = "GLM-5.1"
2+
family = "glm"
3+
release_date = "2026-04-11"
4+
last_updated = "2026-04-11"
5+
attachment = false
6+
reasoning = true
7+
temperature = true
8+
tool_call = true
9+
open_weights = false
10+
11+
[interleaved]
12+
field = "reasoning_content"
13+
14+
[cost]
15+
input = 0.84
16+
output = 3.38
17+
18+
[limit]
19+
context = 200000
20+
output = 128000
21+
22+
[modalities]
23+
input = ["text"]
24+
output = ["text"]

providers/aihubmix/models/gpt-5.2-codex.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ release_date = "2026-01-14"
44
last_updated = "2026-01-14"
55
attachment = true
66
reasoning = true
7-
temperature = true
87
knowledge = "2025-08-31"
98
tool_call = true
109
structured_output = true
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name = "GPT-5.4-Mini"
2+
family = "gpt-mini"
3+
release_date = "2026-03-11"
4+
last_updated = "2026-03-11"
5+
attachment = true
6+
reasoning = false
7+
temperature = false
8+
tool_call = true
9+
open_weights = false
10+
structured_output = true
11+
12+
[cost]
13+
input = 0.75
14+
output = 4.50
15+
cache_read = 0.075
16+
17+
[limit]
18+
context = 400_000
19+
output = 128_000
20+
21+
[modalities]
22+
input = ["text", "image"]
23+
output = ["text"]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name = "GPT-5.4"
2+
family = "gpt"
3+
release_date = "2026-03-11"
4+
last_updated = "2026-03-11"
5+
attachment = true
6+
reasoning = true
7+
temperature = false
8+
tool_call = true
9+
open_weights = false
10+
structured_output = true
11+
12+
[cost]
13+
input = 2.50
14+
output = 15.00
15+
cache_read = 0.25
16+
17+
[limit]
18+
context = 400_000
19+
output = 128_000
20+
21+
[modalities]
22+
input = ["text", "image"]
23+
output = ["text"]
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
name = "MiniMax M2.1"
2-
family = "minimax"
1+
name = "GLM-5.1"
2+
family = "glm"
3+
release_date = "2026-04-14"
4+
last_updated = "2026-04-14"
35
attachment = false
46
reasoning = true
5-
tool_call = true
67
structured_output = true
78
temperature = true
8-
release_date = "2025-12-01"
9-
last_updated = "2026-03-16"
9+
tool_call = true
1010
open_weights = true
1111

1212
[interleaved]
1313
field = "reasoning_content"
1414

1515
[cost]
16-
input = 0.35
17-
output = 1.5
18-
cache_read = 0.04
16+
input = 0.87
17+
output = 3.48
18+
cache_read = 0.17
1919

2020
[limit]
21-
context = 198_000
22-
output = 32_768
21+
context = 202_752
22+
output = 128_000
2323

2424
[modalities]
2525
input = ["text"]
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name = "Claude Opus 4.7"
2+
family = "claude-opus"
3+
release_date = "2026-04-16"
4+
last_updated = "2026-04-16"
5+
attachment = true
6+
reasoning = true
7+
temperature = false
8+
tool_call = true
9+
structured_output = true
10+
knowledge = "2026-01"
11+
open_weights = false
12+
13+
[cost]
14+
input = 5.00
15+
output = 25.00
16+
cache_read = 0.50
17+
cache_write = 6.25
18+
19+
[limit]
20+
context = 1_000_000
21+
output = 128_000
22+
23+
[modalities]
24+
input = ["text", "image", "pdf"]
25+
output = ["text"]

0 commit comments

Comments
 (0)