Skip to content

Commit 4ffab58

Browse files
authored
Add GLM 4.6, 4.7 Baseten (#5564)
1 parent 6f86534 commit 4ffab58

File tree

2 files changed

+302
-8
lines changed

2 files changed

+302
-8
lines changed

packages/__tests__/cost/__snapshots__/registrySnapshots.test.ts.snap

Lines changed: 226 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,90 @@ exports[`Registry Snapshots endpoint configurations snapshot 1`] = `
977977
],
978978
},
979979
},
980+
"anthropic/claude-4.6-opus": {
981+
"claude-4.6-opus:anthropic": {
982+
"context": 1000000,
983+
"crossRegion": false,
984+
"maxTokens": 64000,
985+
"modelId": "claude-opus-4-6-20260205",
986+
"parameters": [
987+
"include_reasoning",
988+
"max_tokens",
989+
"reasoning",
990+
"stop",
991+
"temperature",
992+
"tool_choice",
993+
"tools",
994+
],
995+
"provider": "anthropic",
996+
"ptbEnabled": true,
997+
"regions": [
998+
"*",
999+
],
1000+
},
1001+
"claude-4.6-opus:bedrock": {
1002+
"context": 1000000,
1003+
"crossRegion": true,
1004+
"maxTokens": 64000,
1005+
"modelId": "anthropic.claude-opus-4-6-20260205-v1:0",
1006+
"parameters": [
1007+
"include_reasoning",
1008+
"max_tokens",
1009+
"reasoning",
1010+
"stop",
1011+
"temperature",
1012+
"tool_choice",
1013+
"tools",
1014+
"top_k",
1015+
"top_p",
1016+
],
1017+
"provider": "bedrock",
1018+
"ptbEnabled": true,
1019+
"regions": [
1020+
"us-east-1",
1021+
],
1022+
},
1023+
"claude-4.6-opus:openrouter": {
1024+
"context": 1000000,
1025+
"crossRegion": false,
1026+
"maxTokens": 64000,
1027+
"modelId": "anthropic/claude-opus-4.6",
1028+
"parameters": [
1029+
"max_tokens",
1030+
"stop",
1031+
"temperature",
1032+
"tool_choice",
1033+
"tools",
1034+
"top_k",
1035+
"top_p",
1036+
],
1037+
"provider": "openrouter",
1038+
"ptbEnabled": true,
1039+
"regions": [
1040+
"*",
1041+
],
1042+
},
1043+
"claude-4.6-opus:vertex": {
1044+
"context": 1000000,
1045+
"crossRegion": true,
1046+
"maxTokens": 64000,
1047+
"modelId": "claude-opus-4-6@20260205",
1048+
"parameters": [
1049+
"include_reasoning",
1050+
"max_tokens",
1051+
"reasoning",
1052+
"stop",
1053+
"temperature",
1054+
"tool_choice",
1055+
"tools",
1056+
],
1057+
"provider": "vertex",
1058+
"ptbEnabled": true,
1059+
"regions": [
1060+
"global",
1061+
],
1062+
},
1063+
},
9801064
"anthropic/claude-haiku-4-5-20251001": {
9811065
"claude-haiku-4-5-20251001:anthropic": {
9821066
"context": 200000,
@@ -6464,6 +6548,36 @@ exports[`Registry Snapshots endpoint configurations snapshot 1`] = `
64646548
},
64656549
},
64666550
"zai/glm-4": {
6551+
"glm-4.6:baseten": {
6552+
"context": 200000,
6553+
"crossRegion": false,
6554+
"maxTokens": 131072,
6555+
"modelId": "zai-org/GLM-4.6",
6556+
"parameters": [
6557+
"frequency_penalty",
6558+
"functions",
6559+
"logit_bias",
6560+
"max_tokens",
6561+
"min_p",
6562+
"presence_penalty",
6563+
"reasoning",
6564+
"repetition_penalty",
6565+
"response_format",
6566+
"seed",
6567+
"stop",
6568+
"structured_outputs",
6569+
"temperature",
6570+
"tool_choice",
6571+
"tools",
6572+
"top_k",
6573+
"top_p",
6574+
],
6575+
"provider": "baseten",
6576+
"ptbEnabled": true,
6577+
"regions": [
6578+
"*",
6579+
],
6580+
},
64676581
"glm-4.6:canopywave": {
64686582
"context": 204800,
64696583
"crossRegion": false,
@@ -6524,6 +6638,36 @@ exports[`Registry Snapshots endpoint configurations snapshot 1`] = `
65246638
"*",
65256639
],
65266640
},
6641+
"glm-4.7:baseten": {
6642+
"context": 200000,
6643+
"crossRegion": false,
6644+
"maxTokens": 131072,
6645+
"modelId": "zai-org/GLM-4.7",
6646+
"parameters": [
6647+
"frequency_penalty",
6648+
"functions",
6649+
"logit_bias",
6650+
"max_tokens",
6651+
"min_p",
6652+
"presence_penalty",
6653+
"reasoning",
6654+
"repetition_penalty",
6655+
"response_format",
6656+
"seed",
6657+
"stop",
6658+
"structured_outputs",
6659+
"temperature",
6660+
"tool_choice",
6661+
"tools",
6662+
"top_k",
6663+
"top_p",
6664+
],
6665+
"provider": "baseten",
6666+
"ptbEnabled": true,
6667+
"regions": [
6668+
"*",
6669+
],
6670+
},
65276671
"glm-4.7:canopywave": {
65286672
"context": 198000,
65296673
"crossRegion": false,
@@ -6682,6 +6826,12 @@ exports[`Registry Snapshots model coverage snapshot 1`] = `
66826826
"openrouter",
66836827
"vertex",
66846828
],
6829+
"anthropic/claude-4.6-opus": [
6830+
"anthropic",
6831+
"bedrock",
6832+
"openrouter",
6833+
"vertex",
6834+
],
66856835
"anthropic/claude-haiku-4-5-20251001": [
66866836
"anthropic",
66876837
"bedrock",
@@ -7010,6 +7160,8 @@ exports[`Registry Snapshots model coverage snapshot 1`] = `
70107160
"xai",
70117161
],
70127162
"zai/glm-4": [
7163+
"baseten",
7164+
"baseten",
70137165
"canopywave",
70147166
"canopywave",
70157167
"fireworks",
@@ -7477,6 +7629,53 @@ exports[`Registry Snapshots pricing snapshot 1`] = `
74777629
},
74787630
],
74797631
},
7632+
"anthropic/claude-4.6-opus": {
7633+
"anthropic": [
7634+
{
7635+
"cacheMultipliers": {
7636+
"cachedInput": 0.1,
7637+
"write1h": 2,
7638+
"write5m": 1.25,
7639+
},
7640+
"input": 0.000005,
7641+
"output": 0.000025,
7642+
"threshold": 0,
7643+
"web_search": 0.01,
7644+
},
7645+
],
7646+
"bedrock": [
7647+
{
7648+
"cacheMultipliers": {
7649+
"cachedInput": 0.1,
7650+
"write5m": 1.25,
7651+
},
7652+
"input": 0.000005,
7653+
"output": 0.000025,
7654+
"threshold": 0,
7655+
"web_search": 0.01,
7656+
},
7657+
],
7658+
"openrouter": [
7659+
{
7660+
"input": 0.000005275,
7661+
"output": 0.000026375,
7662+
"threshold": 0,
7663+
"web_search": 0.01,
7664+
},
7665+
],
7666+
"vertex": [
7667+
{
7668+
"cacheMultipliers": {
7669+
"cachedInput": 0.1,
7670+
"write5m": 1.25,
7671+
},
7672+
"input": 0.000005,
7673+
"output": 0.000025,
7674+
"threshold": 0,
7675+
"web_search": 0.01,
7676+
},
7677+
],
7678+
},
74807679
"anthropic/claude-haiku-4-5-20251001": {
74817680
"anthropic": [
74827681
{
@@ -8904,6 +9103,13 @@ exports[`Registry Snapshots pricing snapshot 1`] = `
89049103
],
89059104
},
89069105
"zai/glm-4": {
9106+
"baseten": [
9107+
{
9108+
"input": 6e-7,
9109+
"output": 0.0000022,
9110+
"threshold": 0,
9111+
},
9112+
],
89079113
"canopywave": [
89089114
{
89099115
"input": 4.3e-7,
@@ -9013,6 +9219,15 @@ exports[`Registry Snapshots verify registry state 1`] = `
90139219
"vertex",
90149220
],
90159221
},
9222+
{
9223+
"model": "claude-4.6-opus",
9224+
"providers": [
9225+
"anthropic",
9226+
"bedrock",
9227+
"openrouter",
9228+
"vertex",
9229+
],
9230+
},
90169231
{
90179232
"model": "claude-haiku-4-5-20251001",
90189233
"providers": [
@@ -9204,13 +9419,15 @@ exports[`Registry Snapshots verify registry state 1`] = `
92049419
{
92059420
"model": "glm-4.6",
92069421
"providers": [
9422+
"baseten",
92079423
"canopywave",
92089424
"novita",
92099425
],
92109426
},
92119427
{
92129428
"model": "glm-4.7",
92139429
"providers": [
9430+
"baseten",
92149431
"canopywave",
92159432
"fireworks",
92169433
"novita",
@@ -9766,19 +9983,19 @@ exports[`Registry Snapshots verify registry state 1`] = `
97669983
],
97679984
"providerBreakdown": [
97689985
{
9769-
"modelCount": 13,
9986+
"modelCount": 14,
97709987
"provider": "anthropic",
97719988
},
97729989
{
97739990
"modelCount": 16,
97749991
"provider": "azure",
97759992
},
97769993
{
9777-
"modelCount": 3,
9994+
"modelCount": 5,
97789995
"provider": "baseten",
97799996
},
97809997
{
9781-
"modelCount": 12,
9998+
"modelCount": 13,
97829999
"provider": "bedrock",
978310000
},
978410001
{
@@ -9834,15 +10051,15 @@ exports[`Registry Snapshots verify registry state 1`] = `
983410051
"provider": "openai",
983510052
},
983610053
{
9837-
"modelCount": 67,
10054+
"modelCount": 68,
983810055
"provider": "openrouter",
983910056
},
984010057
{
984110058
"modelCount": 5,
984210059
"provider": "perplexity",
984310060
},
984410061
{
9845-
"modelCount": 19,
10062+
"modelCount": 20,
984610063
"provider": "vertex",
984710064
},
984810065
{
@@ -9859,6 +10076,7 @@ exports[`Registry Snapshots verify registry state 1`] = `
985910076
"claude-4.5-haiku",
986010077
"claude-4.5-opus",
986110078
"claude-4.5-sonnet",
10079+
"claude-4.6-opus",
986210080
"claude-haiku-4-5-20251001",
986310081
"claude-opus-4",
986410082
"claude-opus-4-1",
@@ -9963,9 +10181,9 @@ exports[`Registry Snapshots verify registry state 1`] = `
996310181
"claude-3.5-haiku:anthropic:*",
996410182
],
996510183
"totalArchivedConfigs": 0,
9966-
"totalEndpoints": 300,
9967-
"totalModelProviderConfigs": 300,
9968-
"totalModelsWithPtb": 102,
10184+
"totalEndpoints": 306,
10185+
"totalModelProviderConfigs": 306,
10186+
"totalModelsWithPtb": 103,
996910187
"totalProviders": 21,
997010188
}
997110189
`;

0 commit comments

Comments
 (0)