Skip to content

Commit 8dc90a4

Browse files
committed
feat(zenmux): route models through protocol-specific SDKs
1 parent 0a19559 commit 8dc90a4

33 files changed

Lines changed: 130 additions & 2 deletions

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["text", "image"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ output = 64_000
2222
[modalities]
2323
input = ["text", "image", "pdf"]
2424
output = ["text"]
25+
26+
[provider]
27+
npm = "@ai-sdk/anthropic"
28+
api = "https://zenmux.ai/api/anthropic/v1"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["text", "image", "pdf"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["image", "text"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["image", "text", "pdf"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["pdf", "image", "text"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 128_000
2121
[modalities]
2222
input = ["image", "text"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["image", "text", "pdf"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["text", "image", "pdf"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["text", "image"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

0 commit comments

Comments
 (0)