Skip to content

Commit 93fe136

Browse files
authored
Merge pull request #777 from xiaojiezj/zenmux_dev
feat: ““Replace the chat-completion protocol in the Zenmux provider with the Anthropic protocol, and replace the model.”
2 parents be09832 + d354b55 commit 93fe136

57 files changed

Lines changed: 248 additions & 170 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name = "Claude 3.5 Haiku"
2+
release_date = "2024-11-04"
3+
last_updated = "2024-11-04"
4+
attachment = true
5+
reasoning = false
6+
temperature = true
7+
tool_call = true
8+
knowledge = "2025-01-01"
9+
open_weights = false
10+
11+
[cost]
12+
input = 0.80
13+
output = 4.00
14+
cache_read = 0.08
15+
cache_write = 1.00
16+
17+
[limit]
18+
context = 200_000
19+
output = 64_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 = "Claude 3.5 Sonnet (Retiring Soon)"
2+
release_date = "2024-10-22"
3+
last_updated = "2024-10-22"
4+
attachment = true
5+
reasoning = false
6+
temperature = true
7+
tool_call = true
8+
knowledge = "2025-01-01"
9+
open_weights = false
10+
11+
[cost]
12+
input = 3.00
13+
output = 15.00
14+
cache_read = 0.30
15+
cache_write = 3.75
16+
17+
[limit]
18+
context = 200_000
19+
output = 64_000
20+
21+
[modalities]
22+
input = ["text", "image", "pdf"]
23+
output = ["text"]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name = "Claude 3.7 Sonnet"
2+
release_date = "2025-02-24"
3+
last_updated = "2025-02-24"
4+
attachment = true
5+
reasoning = true
6+
temperature = true
7+
tool_call = true
8+
knowledge = "2025-01-01"
9+
open_weights = false
10+
11+
[cost]
12+
input = 3.00
13+
output = 15.00
14+
cache_read = 0.30
15+
cache_write = 3.75
16+
17+
[limit]
18+
context = 200_000
19+
output = 64_000
20+
21+
[modalities]
22+
input = ["text", "image", "pdf"]
23+
output = ["text"]

providers/zenmux/models/anthropic/claude-haiku-4.5.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name = "Claude Haiku 4.5"
2-
family = "claude-haiku"
32
release_date = "2025-10-15"
43
last_updated = "2025-10-15"
54
attachment = true
6-
reasoning = true
5+
reasoning = false
76
temperature = true
87
tool_call = true
9-
knowledge = "2025-02-28"
8+
knowledge = "2025-01-01"
109
open_weights = false
1110

1211
[cost]
@@ -20,5 +19,5 @@ context = 200_000
2019
output = 64_000
2120

2221
[modalities]
23-
input = ["text", "image", "pdf"]
22+
input = ["image", "text"]
2423
output = ["text"]
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name = "Claude Opus 4.1"
2-
family = "claude-opus"
32
release_date = "2025-08-05"
43
last_updated = "2025-08-05"
54
attachment = true
65
reasoning = true
76
temperature = true
87
tool_call = true
9-
knowledge = "2025-03-31"
8+
knowledge = "2025-01-01"
109
open_weights = false
1110

1211
[cost]
@@ -17,8 +16,8 @@ cache_write = 18.75
1716

1817
[limit]
1918
context = 200_000
20-
output = 32_000
19+
output = 64_000
2120

2221
[modalities]
23-
input = ["text", "image", "pdf"]
22+
input = ["image", "text", "pdf"]
2423
output = ["text"]

providers/zenmux/models/anthropic/claude-opus-4.5.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "Claude Opus 4.5"
2-
release_date = "2025-11-25"
3-
last_updated = "2025-11-25"
2+
release_date = "2025-11-24"
3+
last_updated = "2025-11-24"
44
attachment = true
55
reasoning = true
66
temperature = true
@@ -19,5 +19,5 @@ context = 200_000
1919
output = 64_000
2020

2121
[modalities]
22-
input = ["image", "text"]
22+
input = ["pdf", "image", "text"]
2323
output = ["text"]

providers/zenmux/models/anthropic/claude-opus-4.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "Claude Opus 4"
2-
release_date = "2025-08-14"
3-
last_updated = "2025-08-14"
2+
release_date = "2025-05-22"
3+
last_updated = "2025-05-22"
44
attachment = true
55
reasoning = true
66
temperature = true
@@ -19,5 +19,5 @@ context = 200_000
1919
output = 64_000
2020

2121
[modalities]
22-
input = ["image", "text"]
22+
input = ["image", "text", "pdf"]
2323
output = ["text"]

providers/zenmux/models/anthropic/claude-sonnet-4.5.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name = "Claude Sonnet 4.5"
2-
family = "claude-sonnet"
32
release_date = "2025-09-29"
43
last_updated = "2025-09-29"
54
attachment = true
65
reasoning = true
76
temperature = true
87
tool_call = true
9-
knowledge = "2025-07-31"
8+
knowledge = "2025-01-01"
109
open_weights = false
1110

1211
[cost]
@@ -16,7 +15,7 @@ cache_read = 0.30
1615
cache_write = 3.75
1716

1817
[limit]
19-
context = 1_000_000
18+
context = 1000_000
2019
output = 64_000
2120

2221
[modalities]

providers/zenmux/models/anthropic/claude-sonnet-4.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "Claude Sonnet 4"
2-
release_date = "2025-08-13"
3-
last_updated = "2025-08-13"
2+
release_date = "2025-05-22"
3+
last_updated = "2025-05-22"
44
attachment = true
55
reasoning = true
66
temperature = true
@@ -15,9 +15,9 @@ cache_read = 0.30
1515
cache_write = 3.75
1616

1717
[limit]
18-
context = 1_000_000
18+
context = 1000_000
1919
output = 64_000
2020

2121
[modalities]
22-
input = ["image", "text"]
22+
input = ["image", "text", "pdf"]
2323
output = ["text"]

providers/zenmux/models/baidu/ernie-5.0-thinking-preview.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name = "ERNIE-5.0-Thinking-Preview"
2-
release_date = "2025-11-13"
3-
last_updated = "2025-11-13"
1+
name = "ERNIE 5.0"
2+
release_date = "2026-01-22"
3+
last_updated = "2026-01-22"
44
attachment = true
55
reasoning = true
66
temperature = true

0 commit comments

Comments
 (0)