modelpedia 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +60 -35560
- package/dist/index.d.cts +3 -156
- package/dist/index.d.mts +3 -156
- package/dist/index.mjs +60 -35560
- package/dist/providers/alibaba.cjs +835 -0
- package/dist/providers/alibaba.d.cts +7 -0
- package/dist/providers/alibaba.d.mts +7 -0
- package/dist/providers/alibaba.mjs +833 -0
- package/dist/providers/amazon.cjs +1484 -0
- package/dist/providers/amazon.d.cts +7 -0
- package/dist/providers/amazon.d.mts +7 -0
- package/dist/providers/amazon.mjs +1482 -0
- package/dist/providers/anthropic.cjs +698 -0
- package/dist/providers/anthropic.d.cts +7 -0
- package/dist/providers/anthropic.d.mts +7 -0
- package/dist/providers/anthropic.mjs +696 -0
- package/dist/providers/azure.cjs +1491 -0
- package/dist/providers/azure.d.cts +7 -0
- package/dist/providers/azure.d.mts +7 -0
- package/dist/providers/azure.mjs +1489 -0
- package/dist/providers/baseten.cjs +279 -0
- package/dist/providers/baseten.d.cts +7 -0
- package/dist/providers/baseten.d.mts +7 -0
- package/dist/providers/baseten.mjs +277 -0
- package/dist/providers/cerebras.cjs +145 -0
- package/dist/providers/cerebras.d.cts +7 -0
- package/dist/providers/cerebras.d.mts +7 -0
- package/dist/providers/cerebras.mjs +143 -0
- package/dist/providers/cloudflare.cjs +826 -0
- package/dist/providers/cloudflare.d.cts +7 -0
- package/dist/providers/cloudflare.d.mts +7 -0
- package/dist/providers/cloudflare.mjs +824 -0
- package/dist/providers/cohere.cjs +525 -0
- package/dist/providers/cohere.d.cts +7 -0
- package/dist/providers/cohere.d.mts +7 -0
- package/dist/providers/cohere.mjs +523 -0
- package/dist/providers/cursor.cjs +856 -0
- package/dist/providers/cursor.d.cts +7 -0
- package/dist/providers/cursor.d.mts +7 -0
- package/dist/providers/cursor.mjs +854 -0
- package/dist/providers/deepseek.cjs +64 -0
- package/dist/providers/deepseek.d.cts +7 -0
- package/dist/providers/deepseek.d.mts +7 -0
- package/dist/providers/deepseek.mjs +62 -0
- package/dist/providers/fireworks.cjs +3794 -0
- package/dist/providers/fireworks.d.cts +7 -0
- package/dist/providers/fireworks.d.mts +7 -0
- package/dist/providers/fireworks.mjs +3792 -0
- package/dist/providers/google.cjs +972 -0
- package/dist/providers/google.d.cts +7 -0
- package/dist/providers/google.d.mts +7 -0
- package/dist/providers/google.mjs +970 -0
- package/dist/providers/groq.cjs +353 -0
- package/dist/providers/groq.d.cts +7 -0
- package/dist/providers/groq.d.mts +7 -0
- package/dist/providers/groq.mjs +351 -0
- package/dist/providers/huggingface.cjs +1022 -0
- package/dist/providers/huggingface.d.cts +7 -0
- package/dist/providers/huggingface.d.mts +7 -0
- package/dist/providers/huggingface.mjs +1020 -0
- package/dist/providers/meta.cjs +481 -0
- package/dist/providers/meta.d.cts +7 -0
- package/dist/providers/meta.d.mts +7 -0
- package/dist/providers/meta.mjs +479 -0
- package/dist/providers/minimax.cjs +156 -0
- package/dist/providers/minimax.d.cts +7 -0
- package/dist/providers/minimax.d.mts +7 -0
- package/dist/providers/minimax.mjs +154 -0
- package/dist/providers/mistral.cjs +1594 -0
- package/dist/providers/mistral.d.cts +7 -0
- package/dist/providers/mistral.d.mts +7 -0
- package/dist/providers/mistral.mjs +1592 -0
- package/dist/providers/moonshot.cjs +138 -0
- package/dist/providers/moonshot.d.cts +7 -0
- package/dist/providers/moonshot.d.mts +7 -0
- package/dist/providers/moonshot.mjs +136 -0
- package/dist/providers/nvidia.cjs +2040 -0
- package/dist/providers/nvidia.d.cts +7 -0
- package/dist/providers/nvidia.d.mts +7 -0
- package/dist/providers/nvidia.mjs +2038 -0
- package/dist/providers/ollama.cjs +326 -0
- package/dist/providers/ollama.d.cts +7 -0
- package/dist/providers/ollama.d.mts +7 -0
- package/dist/providers/ollama.mjs +324 -0
- package/dist/providers/openai.cjs +9079 -0
- package/dist/providers/openai.d.cts +7 -0
- package/dist/providers/openai.d.mts +7 -0
- package/dist/providers/openai.mjs +9077 -0
- package/dist/providers/opencode.cjs +367 -0
- package/dist/providers/opencode.d.cts +7 -0
- package/dist/providers/opencode.d.mts +7 -0
- package/dist/providers/opencode.mjs +365 -0
- package/dist/providers/openrouter.cjs +7835 -0
- package/dist/providers/openrouter.d.cts +7 -0
- package/dist/providers/openrouter.d.mts +7 -0
- package/dist/providers/openrouter.mjs +7833 -0
- package/dist/providers/perplexity.cjs +311 -0
- package/dist/providers/perplexity.d.cts +7 -0
- package/dist/providers/perplexity.d.mts +7 -0
- package/dist/providers/perplexity.mjs +309 -0
- package/dist/providers/qwen.cjs +835 -0
- package/dist/providers/qwen.d.cts +7 -0
- package/dist/providers/qwen.d.mts +7 -0
- package/dist/providers/qwen.mjs +833 -0
- package/dist/providers/together.cjs +360 -0
- package/dist/providers/together.d.cts +7 -0
- package/dist/providers/together.d.mts +7 -0
- package/dist/providers/together.mjs +358 -0
- package/dist/providers/vercel.cjs +4037 -0
- package/dist/providers/vercel.d.cts +7 -0
- package/dist/providers/vercel.d.mts +7 -0
- package/dist/providers/vercel.mjs +4035 -0
- package/dist/providers/vertex.cjs +1072 -0
- package/dist/providers/vertex.d.cts +7 -0
- package/dist/providers/vertex.d.mts +7 -0
- package/dist/providers/vertex.mjs +1070 -0
- package/dist/providers/xai.cjs +301 -0
- package/dist/providers/xai.d.cts +7 -0
- package/dist/providers/xai.d.mts +7 -0
- package/dist/providers/xai.mjs +299 -0
- package/dist/providers/zai.cjs +243 -0
- package/dist/providers/zai.d.cts +7 -0
- package/dist/providers/zai.d.mts +7 -0
- package/dist/providers/zai.mjs +241 -0
- package/dist/types.d.cts +186 -0
- package/dist/types.d.mts +186 -0
- package/package.json +14 -38
- package/README.md +0 -100
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/providers/cerebras.ts
|
|
3
|
+
const provider = {
|
|
4
|
+
"id": "cerebras",
|
|
5
|
+
"name": "Cerebras",
|
|
6
|
+
"region": "US",
|
|
7
|
+
"url": "https://cerebras.ai",
|
|
8
|
+
"api_url": "https://api.cerebras.ai/v1",
|
|
9
|
+
"docs_url": "https://inference-docs.cerebras.ai",
|
|
10
|
+
"pricing_url": "https://cerebras.ai/pricing",
|
|
11
|
+
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path clip-rule=\"evenodd\" d=\"M14.121 2.701a9.299 9.299 0 000 18.598V22.7c-5.91 0-10.7-4.791-10.7-10.701S8.21 1.299 14.12 1.299V2.7zm4.752 3.677A7.353 7.353 0 109.42 17.643l-.901 1.074a8.754 8.754 0 01-1.08-12.334 8.755 8.755 0 0112.335-1.08l-.901 1.075zm-2.255.844a5.407 5.407 0 00-5.048 9.563l-.656 1.24a6.81 6.81 0 016.358-12.043l-.654 1.24zM14.12 8.539a3.46 3.46 0 100 6.922v1.402a4.863 4.863 0 010-9.726v1.402z\"/>\n <path d=\"M15.407 10.836a2.24 2.24 0 00-.51-.409 1.084 1.084 0 00-.544-.152c-.255 0-.483.047-.684.14a1.58 1.58 0 00-.84.912c-.074.203-.11.416-.11.631 0 .218.036.43.11.631a1.594 1.594 0 00.84.913c.2.093.43.14.684.14.216 0 .417-.046.602-.135.188-.09.35-.225.475-.392l.928 1.006c-.14.14-.3.261-.482.363a3.367 3.367 0 01-1.083.38c-.17.026-.317.04-.44.04a3.315 3.315 0 01-1.182-.21 2.825 2.825 0 01-.961-.597 2.816 2.816 0 01-.644-.929 2.987 2.987 0 01-.238-1.21c0-.444.08-.847.238-1.21.15-.35.368-.666.643-.929.278-.261.605-.464.962-.596a3.315 3.315 0 011.182-.21c.355 0 .712.068 1.072.204.361.138.685.36.944.649l-.962.97z\"/>\n</svg>",
|
|
12
|
+
"models": [
|
|
13
|
+
{
|
|
14
|
+
"id": "gpt-oss-120b",
|
|
15
|
+
"name": "gpt-oss-120b",
|
|
16
|
+
"created_by": "openai",
|
|
17
|
+
"source": "official",
|
|
18
|
+
"last_updated": "2026-03-21",
|
|
19
|
+
"family": "gpt-oss",
|
|
20
|
+
"context_window": 131e3,
|
|
21
|
+
"max_output_tokens": 4e4,
|
|
22
|
+
"capabilities": {
|
|
23
|
+
"streaming": true,
|
|
24
|
+
"tool_call": true,
|
|
25
|
+
"structured_output": true,
|
|
26
|
+
"vision": true,
|
|
27
|
+
"reasoning": true
|
|
28
|
+
},
|
|
29
|
+
"modalities": {
|
|
30
|
+
"input": ["text"],
|
|
31
|
+
"output": ["text"]
|
|
32
|
+
},
|
|
33
|
+
"pricing": {
|
|
34
|
+
"input": .35,
|
|
35
|
+
"output": .75
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "llama3.1-8b",
|
|
40
|
+
"name": "llama3.1-8b",
|
|
41
|
+
"created_by": "meta",
|
|
42
|
+
"source": "official",
|
|
43
|
+
"last_updated": "2026-03-21",
|
|
44
|
+
"context_window": 32e3,
|
|
45
|
+
"max_output_tokens": 8e3,
|
|
46
|
+
"capabilities": {
|
|
47
|
+
"streaming": true,
|
|
48
|
+
"tool_call": true,
|
|
49
|
+
"structured_output": true,
|
|
50
|
+
"vision": true
|
|
51
|
+
},
|
|
52
|
+
"modalities": {
|
|
53
|
+
"input": ["text"],
|
|
54
|
+
"output": ["text"]
|
|
55
|
+
},
|
|
56
|
+
"pricing": {
|
|
57
|
+
"input": .1,
|
|
58
|
+
"output": .1
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "qwen-3-235b-a22b-instruct-2507",
|
|
63
|
+
"name": "qwen-3-235b-a22b-instruct-2507",
|
|
64
|
+
"created_by": "qwen",
|
|
65
|
+
"source": "official",
|
|
66
|
+
"last_updated": "2026-03-21",
|
|
67
|
+
"family": "qwen",
|
|
68
|
+
"context_window": 131e3,
|
|
69
|
+
"max_output_tokens": 4e4,
|
|
70
|
+
"alias": "qwen-3-235b-a22b-instruct",
|
|
71
|
+
"capabilities": {
|
|
72
|
+
"streaming": true,
|
|
73
|
+
"tool_call": true,
|
|
74
|
+
"structured_output": true,
|
|
75
|
+
"vision": true,
|
|
76
|
+
"reasoning": true
|
|
77
|
+
},
|
|
78
|
+
"modalities": {
|
|
79
|
+
"input": ["text"],
|
|
80
|
+
"output": ["text"]
|
|
81
|
+
},
|
|
82
|
+
"pricing": {
|
|
83
|
+
"input": .6,
|
|
84
|
+
"output": 1.2
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "qwen-3-235b-a22b-instruct",
|
|
89
|
+
"name": "qwen-3-235b-a22b-instruct",
|
|
90
|
+
"created_by": "qwen",
|
|
91
|
+
"source": "official",
|
|
92
|
+
"last_updated": "2026-03-21",
|
|
93
|
+
"family": "qwen",
|
|
94
|
+
"context_window": 131e3,
|
|
95
|
+
"max_output_tokens": 4e4,
|
|
96
|
+
"capabilities": {
|
|
97
|
+
"streaming": true,
|
|
98
|
+
"tool_call": true,
|
|
99
|
+
"structured_output": true,
|
|
100
|
+
"vision": true,
|
|
101
|
+
"reasoning": true
|
|
102
|
+
},
|
|
103
|
+
"modalities": {
|
|
104
|
+
"input": ["text"],
|
|
105
|
+
"output": ["text"]
|
|
106
|
+
},
|
|
107
|
+
"pricing": {
|
|
108
|
+
"input": .6,
|
|
109
|
+
"output": 1.2
|
|
110
|
+
},
|
|
111
|
+
"snapshots": ["qwen-3-235b-a22b-instruct-2507"]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "zai-glm-4.7",
|
|
115
|
+
"name": "zai-glm-4.7",
|
|
116
|
+
"created_by": "zhipu",
|
|
117
|
+
"source": "official",
|
|
118
|
+
"last_updated": "2026-03-21",
|
|
119
|
+
"context_window": 131e3,
|
|
120
|
+
"max_output_tokens": 4e4,
|
|
121
|
+
"capabilities": {
|
|
122
|
+
"streaming": true,
|
|
123
|
+
"tool_call": true,
|
|
124
|
+
"structured_output": true,
|
|
125
|
+
"vision": true,
|
|
126
|
+
"reasoning": true
|
|
127
|
+
},
|
|
128
|
+
"modalities": {
|
|
129
|
+
"input": ["text"],
|
|
130
|
+
"output": ["text"]
|
|
131
|
+
},
|
|
132
|
+
"pricing": {
|
|
133
|
+
"input": 2.25,
|
|
134
|
+
"output": 2.75
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
};
|
|
139
|
+
const models = provider.models.map((m) => ({
|
|
140
|
+
...m,
|
|
141
|
+
provider: provider.id
|
|
142
|
+
}));
|
|
143
|
+
//#endregion
|
|
144
|
+
exports.models = models;
|
|
145
|
+
exports.provider = provider;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
//#region src/providers/cerebras.ts
|
|
2
|
+
const provider = {
|
|
3
|
+
"id": "cerebras",
|
|
4
|
+
"name": "Cerebras",
|
|
5
|
+
"region": "US",
|
|
6
|
+
"url": "https://cerebras.ai",
|
|
7
|
+
"api_url": "https://api.cerebras.ai/v1",
|
|
8
|
+
"docs_url": "https://inference-docs.cerebras.ai",
|
|
9
|
+
"pricing_url": "https://cerebras.ai/pricing",
|
|
10
|
+
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path clip-rule=\"evenodd\" d=\"M14.121 2.701a9.299 9.299 0 000 18.598V22.7c-5.91 0-10.7-4.791-10.7-10.701S8.21 1.299 14.12 1.299V2.7zm4.752 3.677A7.353 7.353 0 109.42 17.643l-.901 1.074a8.754 8.754 0 01-1.08-12.334 8.755 8.755 0 0112.335-1.08l-.901 1.075zm-2.255.844a5.407 5.407 0 00-5.048 9.563l-.656 1.24a6.81 6.81 0 016.358-12.043l-.654 1.24zM14.12 8.539a3.46 3.46 0 100 6.922v1.402a4.863 4.863 0 010-9.726v1.402z\"/>\n <path d=\"M15.407 10.836a2.24 2.24 0 00-.51-.409 1.084 1.084 0 00-.544-.152c-.255 0-.483.047-.684.14a1.58 1.58 0 00-.84.912c-.074.203-.11.416-.11.631 0 .218.036.43.11.631a1.594 1.594 0 00.84.913c.2.093.43.14.684.14.216 0 .417-.046.602-.135.188-.09.35-.225.475-.392l.928 1.006c-.14.14-.3.261-.482.363a3.367 3.367 0 01-1.083.38c-.17.026-.317.04-.44.04a3.315 3.315 0 01-1.182-.21 2.825 2.825 0 01-.961-.597 2.816 2.816 0 01-.644-.929 2.987 2.987 0 01-.238-1.21c0-.444.08-.847.238-1.21.15-.35.368-.666.643-.929.278-.261.605-.464.962-.596a3.315 3.315 0 011.182-.21c.355 0 .712.068 1.072.204.361.138.685.36.944.649l-.962.97z\"/>\n</svg>",
|
|
11
|
+
"models": [
|
|
12
|
+
{
|
|
13
|
+
"id": "gpt-oss-120b",
|
|
14
|
+
"name": "gpt-oss-120b",
|
|
15
|
+
"created_by": "openai",
|
|
16
|
+
"source": "official",
|
|
17
|
+
"last_updated": "2026-03-21",
|
|
18
|
+
"family": "gpt-oss",
|
|
19
|
+
"context_window": 131e3,
|
|
20
|
+
"max_output_tokens": 4e4,
|
|
21
|
+
"capabilities": {
|
|
22
|
+
"streaming": true,
|
|
23
|
+
"tool_call": true,
|
|
24
|
+
"structured_output": true,
|
|
25
|
+
"vision": true,
|
|
26
|
+
"reasoning": true
|
|
27
|
+
},
|
|
28
|
+
"modalities": {
|
|
29
|
+
"input": ["text"],
|
|
30
|
+
"output": ["text"]
|
|
31
|
+
},
|
|
32
|
+
"pricing": {
|
|
33
|
+
"input": .35,
|
|
34
|
+
"output": .75
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "llama3.1-8b",
|
|
39
|
+
"name": "llama3.1-8b",
|
|
40
|
+
"created_by": "meta",
|
|
41
|
+
"source": "official",
|
|
42
|
+
"last_updated": "2026-03-21",
|
|
43
|
+
"context_window": 32e3,
|
|
44
|
+
"max_output_tokens": 8e3,
|
|
45
|
+
"capabilities": {
|
|
46
|
+
"streaming": true,
|
|
47
|
+
"tool_call": true,
|
|
48
|
+
"structured_output": true,
|
|
49
|
+
"vision": true
|
|
50
|
+
},
|
|
51
|
+
"modalities": {
|
|
52
|
+
"input": ["text"],
|
|
53
|
+
"output": ["text"]
|
|
54
|
+
},
|
|
55
|
+
"pricing": {
|
|
56
|
+
"input": .1,
|
|
57
|
+
"output": .1
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "qwen-3-235b-a22b-instruct-2507",
|
|
62
|
+
"name": "qwen-3-235b-a22b-instruct-2507",
|
|
63
|
+
"created_by": "qwen",
|
|
64
|
+
"source": "official",
|
|
65
|
+
"last_updated": "2026-03-21",
|
|
66
|
+
"family": "qwen",
|
|
67
|
+
"context_window": 131e3,
|
|
68
|
+
"max_output_tokens": 4e4,
|
|
69
|
+
"alias": "qwen-3-235b-a22b-instruct",
|
|
70
|
+
"capabilities": {
|
|
71
|
+
"streaming": true,
|
|
72
|
+
"tool_call": true,
|
|
73
|
+
"structured_output": true,
|
|
74
|
+
"vision": true,
|
|
75
|
+
"reasoning": true
|
|
76
|
+
},
|
|
77
|
+
"modalities": {
|
|
78
|
+
"input": ["text"],
|
|
79
|
+
"output": ["text"]
|
|
80
|
+
},
|
|
81
|
+
"pricing": {
|
|
82
|
+
"input": .6,
|
|
83
|
+
"output": 1.2
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "qwen-3-235b-a22b-instruct",
|
|
88
|
+
"name": "qwen-3-235b-a22b-instruct",
|
|
89
|
+
"created_by": "qwen",
|
|
90
|
+
"source": "official",
|
|
91
|
+
"last_updated": "2026-03-21",
|
|
92
|
+
"family": "qwen",
|
|
93
|
+
"context_window": 131e3,
|
|
94
|
+
"max_output_tokens": 4e4,
|
|
95
|
+
"capabilities": {
|
|
96
|
+
"streaming": true,
|
|
97
|
+
"tool_call": true,
|
|
98
|
+
"structured_output": true,
|
|
99
|
+
"vision": true,
|
|
100
|
+
"reasoning": true
|
|
101
|
+
},
|
|
102
|
+
"modalities": {
|
|
103
|
+
"input": ["text"],
|
|
104
|
+
"output": ["text"]
|
|
105
|
+
},
|
|
106
|
+
"pricing": {
|
|
107
|
+
"input": .6,
|
|
108
|
+
"output": 1.2
|
|
109
|
+
},
|
|
110
|
+
"snapshots": ["qwen-3-235b-a22b-instruct-2507"]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "zai-glm-4.7",
|
|
114
|
+
"name": "zai-glm-4.7",
|
|
115
|
+
"created_by": "zhipu",
|
|
116
|
+
"source": "official",
|
|
117
|
+
"last_updated": "2026-03-21",
|
|
118
|
+
"context_window": 131e3,
|
|
119
|
+
"max_output_tokens": 4e4,
|
|
120
|
+
"capabilities": {
|
|
121
|
+
"streaming": true,
|
|
122
|
+
"tool_call": true,
|
|
123
|
+
"structured_output": true,
|
|
124
|
+
"vision": true,
|
|
125
|
+
"reasoning": true
|
|
126
|
+
},
|
|
127
|
+
"modalities": {
|
|
128
|
+
"input": ["text"],
|
|
129
|
+
"output": ["text"]
|
|
130
|
+
},
|
|
131
|
+
"pricing": {
|
|
132
|
+
"input": 2.25,
|
|
133
|
+
"output": 2.75
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
};
|
|
138
|
+
const models = provider.models.map((m) => ({
|
|
139
|
+
...m,
|
|
140
|
+
provider: provider.id
|
|
141
|
+
}));
|
|
142
|
+
//#endregion
|
|
143
|
+
export { models, provider };
|