modelpedia 0.0.2 → 0.0.3

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.
Files changed (64) hide show
  1. package/README.md +135 -0
  2. package/dist/index.cjs +1 -101
  3. package/dist/index.mjs +1 -92
  4. package/dist/providers/alibaba.cjs +4 -835
  5. package/dist/providers/alibaba.mjs +4 -833
  6. package/dist/providers/amazon.cjs +4 -1484
  7. package/dist/providers/amazon.mjs +4 -1482
  8. package/dist/providers/anthropic.cjs +3 -698
  9. package/dist/providers/anthropic.mjs +3 -696
  10. package/dist/providers/azure.cjs +6 -1491
  11. package/dist/providers/azure.mjs +6 -1489
  12. package/dist/providers/baseten.cjs +3 -279
  13. package/dist/providers/baseten.mjs +3 -277
  14. package/dist/providers/cerebras.cjs +4 -145
  15. package/dist/providers/cerebras.mjs +4 -143
  16. package/dist/providers/cloudflare.cjs +4 -826
  17. package/dist/providers/cloudflare.mjs +4 -824
  18. package/dist/providers/cohere.cjs +5 -525
  19. package/dist/providers/cohere.mjs +5 -523
  20. package/dist/providers/cursor.cjs +1 -856
  21. package/dist/providers/cursor.mjs +1 -854
  22. package/dist/providers/deepseek.cjs +3 -64
  23. package/dist/providers/deepseek.mjs +3 -62
  24. package/dist/providers/fireworks.cjs +3 -3794
  25. package/dist/providers/fireworks.mjs +3 -3792
  26. package/dist/providers/google.cjs +6 -972
  27. package/dist/providers/google.mjs +6 -970
  28. package/dist/providers/groq.cjs +3 -353
  29. package/dist/providers/groq.mjs +3 -351
  30. package/dist/providers/huggingface.cjs +3 -1022
  31. package/dist/providers/huggingface.mjs +3 -1020
  32. package/dist/providers/meta.cjs +3 -481
  33. package/dist/providers/meta.mjs +3 -479
  34. package/dist/providers/minimax.cjs +3 -156
  35. package/dist/providers/minimax.mjs +3 -154
  36. package/dist/providers/mistral.cjs +3 -1594
  37. package/dist/providers/mistral.mjs +3 -1592
  38. package/dist/providers/moonshot.cjs +3 -138
  39. package/dist/providers/moonshot.mjs +3 -136
  40. package/dist/providers/nvidia.cjs +3 -2040
  41. package/dist/providers/nvidia.mjs +3 -2038
  42. package/dist/providers/ollama.cjs +3 -326
  43. package/dist/providers/ollama.mjs +3 -324
  44. package/dist/providers/openai.cjs +3 -9079
  45. package/dist/providers/openai.mjs +3 -9077
  46. package/dist/providers/opencode.cjs +3 -367
  47. package/dist/providers/opencode.mjs +3 -365
  48. package/dist/providers/openrouter.cjs +12 -7835
  49. package/dist/providers/openrouter.mjs +12 -7833
  50. package/dist/providers/perplexity.cjs +3 -311
  51. package/dist/providers/perplexity.mjs +3 -309
  52. package/dist/providers/qwen.cjs +3 -835
  53. package/dist/providers/qwen.mjs +3 -833
  54. package/dist/providers/together.cjs +4 -360
  55. package/dist/providers/together.mjs +4 -358
  56. package/dist/providers/vercel.cjs +3 -4037
  57. package/dist/providers/vercel.mjs +3 -4035
  58. package/dist/providers/vertex.cjs +10 -1072
  59. package/dist/providers/vertex.mjs +10 -1070
  60. package/dist/providers/xai.cjs +3 -301
  61. package/dist/providers/xai.mjs +3 -299
  62. package/dist/providers/zai.cjs +3 -243
  63. package/dist/providers/zai.mjs +3 -241
  64. package/package.json +1 -1
@@ -1,64 +1,3 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/providers/deepseek.ts
3
- const provider = {
4
- "id": "deepseek",
5
- "name": "DeepSeek",
6
- "region": "CN",
7
- "url": "https://deepseek.com",
8
- "api_url": "https://api.deepseek.com/v1",
9
- "docs_url": "https://api-docs.deepseek.com",
10
- "pricing_url": "https://api-docs.deepseek.com/quick_start/pricing",
11
- "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z\"/>\n</svg>",
12
- "models": [{
13
- "id": "deepseek-chat",
14
- "name": "DeepSeek V3.2 (Chat)",
15
- "created_by": "deepseek",
16
- "source": "official",
17
- "last_updated": "2026-03-21",
18
- "family": "deepseek-chat",
19
- "description": "DeepSeek-V3.2 in non-thinking mode. Best for general chat, code, and tool use.",
20
- "context_window": 128e3,
21
- "max_output_tokens": 8e3,
22
- "capabilities": {
23
- "streaming": true,
24
- "tool_call": true,
25
- "json_mode": true,
26
- "structured_output": true
27
- },
28
- "pricing": {
29
- "input": .28,
30
- "output": .42,
31
- "cached_input": .028
32
- },
33
- "tagline": "DeepSeek-V3.2 in non-thinking mode."
34
- }, {
35
- "id": "deepseek-reasoner",
36
- "name": "DeepSeek V3.2 (Reasoner)",
37
- "created_by": "deepseek",
38
- "source": "official",
39
- "last_updated": "2026-03-21",
40
- "family": "deepseek-chat",
41
- "description": "DeepSeek-V3.2 in thinking mode with chain-of-thought reasoning.",
42
- "context_window": 128e3,
43
- "max_output_tokens": 64e3,
44
- "reasoning_tokens": true,
45
- "capabilities": {
46
- "streaming": true,
47
- "reasoning": true,
48
- "tool_call": true
49
- },
50
- "pricing": {
51
- "input": .28,
52
- "output": .42,
53
- "cached_input": .028
54
- },
55
- "tagline": "DeepSeek-V3.2 in thinking mode with chain-of-thought reasoning."
56
- }]
57
- };
58
- const models = provider.models.map((m) => ({
59
- ...m,
60
- provider: provider.id
61
- }));
62
- //#endregion
63
- exports.models = models;
64
- exports.provider = provider;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e={id:`deepseek`,name:`DeepSeek`,region:`CN`,url:`https://deepseek.com`,api_url:`https://api.deepseek.com/v1`,docs_url:`https://api-docs.deepseek.com`,pricing_url:`https://api-docs.deepseek.com/quick_start/pricing`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
2
+ <path d="M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z"/>
3
+ </svg>`,models:[{id:`deepseek-chat`,name:`DeepSeek V3.2 (Chat)`,created_by:`deepseek`,source:`official`,last_updated:`2026-03-21`,family:`deepseek-chat`,description:`DeepSeek-V3.2 in non-thinking mode. Best for general chat, code, and tool use.`,context_window:128e3,max_output_tokens:8e3,capabilities:{streaming:!0,tool_call:!0,json_mode:!0,structured_output:!0},pricing:{input:.28,output:.42,cached_input:.028},tagline:`DeepSeek-V3.2 in non-thinking mode.`},{id:`deepseek-reasoner`,name:`DeepSeek V3.2 (Reasoner)`,created_by:`deepseek`,source:`official`,last_updated:`2026-03-21`,family:`deepseek-chat`,description:`DeepSeek-V3.2 in thinking mode with chain-of-thought reasoning.`,context_window:128e3,max_output_tokens:64e3,reasoning_tokens:!0,capabilities:{streaming:!0,reasoning:!0,tool_call:!0},pricing:{input:.28,output:.42,cached_input:.028},tagline:`DeepSeek-V3.2 in thinking mode with chain-of-thought reasoning.`}]},t=e.models.map(t=>({...t,provider:e.id}));exports.models=t,exports.provider=e;
@@ -1,62 +1,3 @@
1
- //#region src/providers/deepseek.ts
2
- const provider = {
3
- "id": "deepseek",
4
- "name": "DeepSeek",
5
- "region": "CN",
6
- "url": "https://deepseek.com",
7
- "api_url": "https://api.deepseek.com/v1",
8
- "docs_url": "https://api-docs.deepseek.com",
9
- "pricing_url": "https://api-docs.deepseek.com/quick_start/pricing",
10
- "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z\"/>\n</svg>",
11
- "models": [{
12
- "id": "deepseek-chat",
13
- "name": "DeepSeek V3.2 (Chat)",
14
- "created_by": "deepseek",
15
- "source": "official",
16
- "last_updated": "2026-03-21",
17
- "family": "deepseek-chat",
18
- "description": "DeepSeek-V3.2 in non-thinking mode. Best for general chat, code, and tool use.",
19
- "context_window": 128e3,
20
- "max_output_tokens": 8e3,
21
- "capabilities": {
22
- "streaming": true,
23
- "tool_call": true,
24
- "json_mode": true,
25
- "structured_output": true
26
- },
27
- "pricing": {
28
- "input": .28,
29
- "output": .42,
30
- "cached_input": .028
31
- },
32
- "tagline": "DeepSeek-V3.2 in non-thinking mode."
33
- }, {
34
- "id": "deepseek-reasoner",
35
- "name": "DeepSeek V3.2 (Reasoner)",
36
- "created_by": "deepseek",
37
- "source": "official",
38
- "last_updated": "2026-03-21",
39
- "family": "deepseek-chat",
40
- "description": "DeepSeek-V3.2 in thinking mode with chain-of-thought reasoning.",
41
- "context_window": 128e3,
42
- "max_output_tokens": 64e3,
43
- "reasoning_tokens": true,
44
- "capabilities": {
45
- "streaming": true,
46
- "reasoning": true,
47
- "tool_call": true
48
- },
49
- "pricing": {
50
- "input": .28,
51
- "output": .42,
52
- "cached_input": .028
53
- },
54
- "tagline": "DeepSeek-V3.2 in thinking mode with chain-of-thought reasoning."
55
- }]
56
- };
57
- const models = provider.models.map((m) => ({
58
- ...m,
59
- provider: provider.id
60
- }));
61
- //#endregion
62
- export { models, provider };
1
+ const e={id:`deepseek`,name:`DeepSeek`,region:`CN`,url:`https://deepseek.com`,api_url:`https://api.deepseek.com/v1`,docs_url:`https://api-docs.deepseek.com`,pricing_url:`https://api-docs.deepseek.com/quick_start/pricing`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
2
+ <path d="M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z"/>
3
+ </svg>`,models:[{id:`deepseek-chat`,name:`DeepSeek V3.2 (Chat)`,created_by:`deepseek`,source:`official`,last_updated:`2026-03-21`,family:`deepseek-chat`,description:`DeepSeek-V3.2 in non-thinking mode. Best for general chat, code, and tool use.`,context_window:128e3,max_output_tokens:8e3,capabilities:{streaming:!0,tool_call:!0,json_mode:!0,structured_output:!0},pricing:{input:.28,output:.42,cached_input:.028},tagline:`DeepSeek-V3.2 in non-thinking mode.`},{id:`deepseek-reasoner`,name:`DeepSeek V3.2 (Reasoner)`,created_by:`deepseek`,source:`official`,last_updated:`2026-03-21`,family:`deepseek-chat`,description:`DeepSeek-V3.2 in thinking mode with chain-of-thought reasoning.`,context_window:128e3,max_output_tokens:64e3,reasoning_tokens:!0,capabilities:{streaming:!0,reasoning:!0,tool_call:!0},pricing:{input:.28,output:.42,cached_input:.028},tagline:`DeepSeek-V3.2 in thinking mode with chain-of-thought reasoning.`}]},t=e.models.map(t=>({...t,provider:e.id}));export{t as models,e as provider};