@mastra/core 0.19.0 → 0.19.1-alpha.1

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 (164) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/agent/agent.d.ts +2 -2
  3. package/dist/agent/agent.d.ts.map +1 -1
  4. package/dist/agent/index.cjs +11 -11
  5. package/dist/agent/index.js +2 -2
  6. package/dist/agent/input-processor/index.cjs +6 -6
  7. package/dist/agent/input-processor/index.js +1 -1
  8. package/dist/ai-tracing/index.cjs +32 -32
  9. package/dist/ai-tracing/index.js +1 -1
  10. package/dist/cache/index.cjs +3 -3
  11. package/dist/cache/index.js +1 -1
  12. package/dist/{chunk-4VNAMG7K.cjs → chunk-2C5AQMP5.cjs} +6 -6
  13. package/dist/{chunk-4VNAMG7K.cjs.map → chunk-2C5AQMP5.cjs.map} +1 -1
  14. package/dist/{chunk-JKLLXBOY.js → chunk-2EMOWXLL.js} +9 -9
  15. package/dist/{chunk-JKLLXBOY.js.map → chunk-2EMOWXLL.js.map} +1 -1
  16. package/dist/{chunk-EPMJYNEK.cjs → chunk-2F4RLQ5V.cjs} +4 -4
  17. package/dist/{chunk-EPMJYNEK.cjs.map → chunk-2F4RLQ5V.cjs.map} +1 -1
  18. package/dist/{chunk-HNBU4PI7.cjs → chunk-3I3NRXSD.cjs} +4 -4
  19. package/dist/{chunk-HNBU4PI7.cjs.map → chunk-3I3NRXSD.cjs.map} +1 -1
  20. package/dist/{chunk-SQQMX4VC.cjs → chunk-4PRV2Y55.cjs} +6 -6
  21. package/dist/{chunk-SQQMX4VC.cjs.map → chunk-4PRV2Y55.cjs.map} +1 -1
  22. package/dist/{chunk-7E4ESNZS.cjs → chunk-576KDLXN.cjs} +5 -5
  23. package/dist/{chunk-7E4ESNZS.cjs.map → chunk-576KDLXN.cjs.map} +1 -1
  24. package/dist/{chunk-PG6ZNDSR.cjs → chunk-57UPIDGK.cjs} +19 -19
  25. package/dist/{chunk-PG6ZNDSR.cjs.map → chunk-57UPIDGK.cjs.map} +1 -1
  26. package/dist/{chunk-5BQOHHCI.js → chunk-5QUE7HZF.js} +4 -4
  27. package/dist/{chunk-5BQOHHCI.js.map → chunk-5QUE7HZF.js.map} +1 -1
  28. package/dist/{chunk-CQ73JM2N.cjs → chunk-62I4SVWU.cjs} +10 -10
  29. package/dist/{chunk-CQ73JM2N.cjs.map → chunk-62I4SVWU.cjs.map} +1 -1
  30. package/dist/{chunk-COC64XPP.js → chunk-7CJKBCDL.js} +8 -8
  31. package/dist/{chunk-COC64XPP.js.map → chunk-7CJKBCDL.js.map} +1 -1
  32. package/dist/chunk-7J5DS33F.js +3 -0
  33. package/dist/chunk-7J5DS33F.js.map +1 -0
  34. package/dist/{chunk-RAXBZZKS.js → chunk-A7REAXWA.js} +3 -3
  35. package/dist/{chunk-RAXBZZKS.js.map → chunk-A7REAXWA.js.map} +1 -1
  36. package/dist/{chunk-DRVSEV5Y.cjs → chunk-BBTR6DPH.cjs} +8 -8
  37. package/dist/{chunk-DRVSEV5Y.cjs.map → chunk-BBTR6DPH.cjs.map} +1 -1
  38. package/dist/{chunk-FV3SA5TI.js → chunk-BMBWTBCL.js} +3 -3
  39. package/dist/{chunk-FV3SA5TI.js.map → chunk-BMBWTBCL.js.map} +1 -1
  40. package/dist/{chunk-NHJVMZIL.cjs → chunk-CC4KO56Z.cjs} +19 -19
  41. package/dist/{chunk-NHJVMZIL.cjs.map → chunk-CC4KO56Z.cjs.map} +1 -1
  42. package/dist/{chunk-N4PK4MOG.js → chunk-D2ZPF2AK.js} +4 -4
  43. package/dist/{chunk-N4PK4MOG.js.map → chunk-D2ZPF2AK.js.map} +1 -1
  44. package/dist/{chunk-3PQNUWJM.js → chunk-EQV2PPN2.js} +2 -4
  45. package/dist/chunk-EQV2PPN2.js.map +1 -0
  46. package/dist/chunk-FUVNHPNL.cjs +4 -0
  47. package/dist/chunk-FUVNHPNL.cjs.map +1 -0
  48. package/dist/{chunk-F6EJEELE.cjs → chunk-HJQ7ANDX.cjs} +6 -6
  49. package/dist/{chunk-F6EJEELE.cjs.map → chunk-HJQ7ANDX.cjs.map} +1 -1
  50. package/dist/{chunk-2GHLV754.cjs → chunk-HV5ND4KF.cjs} +4 -4
  51. package/dist/{chunk-2GHLV754.cjs.map → chunk-HV5ND4KF.cjs.map} +1 -1
  52. package/dist/{chunk-HQPFM22N.cjs → chunk-IB27A3HF.cjs} +16 -16
  53. package/dist/{chunk-HQPFM22N.cjs.map → chunk-IB27A3HF.cjs.map} +1 -1
  54. package/dist/{chunk-BCWRUNMS.cjs → chunk-K3UPABLX.cjs} +38 -38
  55. package/dist/{chunk-BCWRUNMS.cjs.map → chunk-K3UPABLX.cjs.map} +1 -1
  56. package/dist/{chunk-XG3SFWOH.js → chunk-KK5LUATU.js} +3 -3
  57. package/dist/{chunk-XG3SFWOH.js.map → chunk-KK5LUATU.js.map} +1 -1
  58. package/dist/{chunk-VWO3JJXC.js → chunk-LYRPXSHB.js} +4 -4
  59. package/dist/{chunk-VWO3JJXC.js.map → chunk-LYRPXSHB.js.map} +1 -1
  60. package/dist/{chunk-IAXAPVOP.js → chunk-M24QFL6S.js} +4 -4
  61. package/dist/{chunk-IAXAPVOP.js.map → chunk-M24QFL6S.js.map} +1 -1
  62. package/dist/{chunk-5HCVPQTD.js → chunk-M4AX46DS.js} +3 -3
  63. package/dist/{chunk-5HCVPQTD.js.map → chunk-M4AX46DS.js.map} +1 -1
  64. package/dist/{chunk-3WFH6YRI.js → chunk-M635OK6I.js} +4 -4
  65. package/dist/{chunk-3WFH6YRI.js.map → chunk-M635OK6I.js.map} +1 -1
  66. package/dist/{chunk-UTEH2LCJ.cjs → chunk-NLBX7Q47.cjs} +19 -19
  67. package/dist/{chunk-UTEH2LCJ.cjs.map → chunk-NLBX7Q47.cjs.map} +1 -1
  68. package/dist/{chunk-2DGWSOVQ.js → chunk-NMSLDMQ6.js} +3 -3
  69. package/dist/{chunk-2DGWSOVQ.js.map → chunk-NMSLDMQ6.js.map} +1 -1
  70. package/dist/{chunk-PJ6HF3KW.js → chunk-NVMKTP4N.js} +3 -3
  71. package/dist/{chunk-PJ6HF3KW.js.map → chunk-NVMKTP4N.js.map} +1 -1
  72. package/dist/{chunk-4BEHJSL6.js → chunk-QFKTSGBI.js} +3 -3
  73. package/dist/{chunk-4BEHJSL6.js.map → chunk-QFKTSGBI.js.map} +1 -1
  74. package/dist/{chunk-LZBVDMVQ.cjs → chunk-QMDJVXFQ.cjs} +19 -19
  75. package/dist/{chunk-LZBVDMVQ.cjs.map → chunk-QMDJVXFQ.cjs.map} +1 -1
  76. package/dist/{chunk-TIBULEK6.cjs → chunk-SZD4WTRW.cjs} +717 -275
  77. package/dist/chunk-SZD4WTRW.cjs.map +1 -0
  78. package/dist/{chunk-OBIF7QD5.js → chunk-T2CUZA2P.js} +3 -3
  79. package/dist/{chunk-OBIF7QD5.js.map → chunk-T2CUZA2P.js.map} +1 -1
  80. package/dist/{chunk-WHFNGECY.js → chunk-T3JFFQH2.js} +3 -2
  81. package/dist/chunk-T3JFFQH2.js.map +1 -0
  82. package/dist/{chunk-BUY5X7DT.js → chunk-TJHEGJNW.js} +4 -4
  83. package/dist/{chunk-BUY5X7DT.js.map → chunk-TJHEGJNW.js.map} +1 -1
  84. package/dist/{chunk-KTCBGNCZ.cjs → chunk-UU5L5GDY.cjs} +2 -4
  85. package/dist/chunk-UU5L5GDY.cjs.map +1 -0
  86. package/dist/{chunk-S7UXT3V4.cjs → chunk-WM4VQWOZ.cjs} +3 -2
  87. package/dist/chunk-WM4VQWOZ.cjs.map +1 -0
  88. package/dist/{chunk-RNIY63FP.cjs → chunk-WMGV4CS3.cjs} +59 -59
  89. package/dist/{chunk-RNIY63FP.cjs.map → chunk-WMGV4CS3.cjs.map} +1 -1
  90. package/dist/{chunk-5M6ZTQJN.js → chunk-X6PLOE2T.js} +717 -275
  91. package/dist/chunk-X6PLOE2T.js.map +1 -0
  92. package/dist/error/index.cjs +5 -5
  93. package/dist/error/index.d.ts +2 -1
  94. package/dist/error/index.d.ts.map +1 -1
  95. package/dist/error/index.js +1 -1
  96. package/dist/eval/index.cjs +3 -3
  97. package/dist/eval/index.js +1 -1
  98. package/dist/index.cjs +66 -66
  99. package/dist/index.js +15 -15
  100. package/dist/llm/index.cjs +5 -5
  101. package/dist/llm/index.d.ts +1 -0
  102. package/dist/llm/index.d.ts.map +1 -1
  103. package/dist/llm/index.js +1 -1
  104. package/dist/llm/model/gateway-resolver.d.ts +9 -0
  105. package/dist/llm/model/gateway-resolver.d.ts.map +1 -0
  106. package/dist/llm/model/gateways/base.d.ts +5 -4
  107. package/dist/llm/model/gateways/base.d.ts.map +1 -1
  108. package/dist/llm/model/gateways/index.d.ts +1 -0
  109. package/dist/llm/model/gateways/index.d.ts.map +1 -1
  110. package/dist/llm/model/gateways/models-dev.d.ts +3 -2
  111. package/dist/llm/model/gateways/models-dev.d.ts.map +1 -1
  112. package/dist/llm/model/gateways/netlify.d.ts +15 -0
  113. package/dist/llm/model/gateways/netlify.d.ts.map +1 -0
  114. package/dist/llm/model/openai-compatible.d.ts +8 -3
  115. package/dist/llm/model/openai-compatible.d.ts.map +1 -1
  116. package/dist/llm/model/provider-registry.generated.d.ts +8 -370
  117. package/dist/llm/model/provider-registry.generated.d.ts.map +1 -1
  118. package/dist/loop/index.cjs +2 -2
  119. package/dist/loop/index.js +1 -1
  120. package/dist/mastra/index.cjs +2 -2
  121. package/dist/mastra/index.js +1 -1
  122. package/dist/memory/index.cjs +4 -4
  123. package/dist/memory/index.js +1 -1
  124. package/dist/network/vNext/index.cjs +29 -29
  125. package/dist/network/vNext/index.js +2 -2
  126. package/dist/processors/index.cjs +10 -10
  127. package/dist/processors/index.js +1 -1
  128. package/dist/relevance/index.cjs +4 -4
  129. package/dist/relevance/index.js +1 -1
  130. package/dist/scores/index.cjs +9 -9
  131. package/dist/scores/index.js +2 -2
  132. package/dist/scores/scoreTraces/index.cjs +13 -13
  133. package/dist/scores/scoreTraces/index.js +4 -4
  134. package/dist/server/index.cjs +7 -7
  135. package/dist/server/index.js +2 -2
  136. package/dist/storage/index.cjs +25 -25
  137. package/dist/storage/index.js +4 -4
  138. package/dist/stream/index.cjs +4 -4
  139. package/dist/stream/index.js +1 -1
  140. package/dist/telemetry/index.cjs +7 -7
  141. package/dist/telemetry/index.js +1 -1
  142. package/dist/test-utils/llm-mock.cjs +2 -2
  143. package/dist/test-utils/llm-mock.js +1 -1
  144. package/dist/tts/index.cjs +2 -2
  145. package/dist/tts/index.js +1 -1
  146. package/dist/utils.cjs +17 -17
  147. package/dist/utils.js +1 -1
  148. package/dist/vector/index.cjs +4 -4
  149. package/dist/vector/index.js +1 -1
  150. package/dist/voice/index.cjs +4 -4
  151. package/dist/voice/index.js +1 -1
  152. package/dist/workflows/evented/index.cjs +10 -10
  153. package/dist/workflows/evented/index.js +1 -1
  154. package/dist/workflows/index.cjs +12 -12
  155. package/dist/workflows/index.js +1 -1
  156. package/dist/workflows/legacy/index.cjs +22 -22
  157. package/dist/workflows/legacy/index.js +1 -1
  158. package/package.json +3 -3
  159. package/dist/chunk-3PQNUWJM.js.map +0 -1
  160. package/dist/chunk-5M6ZTQJN.js.map +0 -1
  161. package/dist/chunk-KTCBGNCZ.cjs.map +0 -1
  162. package/dist/chunk-S7UXT3V4.cjs.map +0 -1
  163. package/dist/chunk-TIBULEK6.cjs.map +0 -1
  164. package/dist/chunk-WHFNGECY.js.map +0 -1
@@ -2,363 +2,11 @@
2
2
  * THIS FILE IS AUTO-GENERATED - DO NOT EDIT
3
3
  * Generated from model gateway providers
4
4
  */
5
+ import type { ProviderConfig } from './gateways/base.js';
5
6
  /**
6
7
  * Provider configurations for OpenAI-compatible APIs
7
8
  */
8
- export declare const PROVIDER_REGISTRY: {
9
- readonly 'moonshotai-cn': {
10
- readonly url: "https://api.moonshot.cn/v1/chat/completions";
11
- readonly apiKeyEnvVar: "MOONSHOT_API_KEY";
12
- readonly apiKeyHeader: "Authorization";
13
- readonly name: "Moonshot AI (China)";
14
- readonly models: readonly ["kimi-k2-0711-preview", "kimi-k2-0905-preview", "kimi-k2-turbo-preview"];
15
- readonly docUrl: "https://platform.moonshot.cn/docs/api/chat";
16
- };
17
- readonly lucidquery: {
18
- readonly url: "https://lucidquery.com/api/v1/chat/completions";
19
- readonly apiKeyEnvVar: "LUCIDQUERY_API_KEY";
20
- readonly apiKeyHeader: "Authorization";
21
- readonly name: "LucidQuery AI";
22
- readonly models: readonly ["lucidnova-rf1-100b", "lucidquery-nexus-coder"];
23
- readonly docUrl: "https://lucidquery.com/api/docs";
24
- };
25
- readonly moonshotai: {
26
- readonly url: "https://api.moonshot.ai/v1/chat/completions";
27
- readonly apiKeyEnvVar: "MOONSHOT_API_KEY";
28
- readonly apiKeyHeader: "Authorization";
29
- readonly name: "Moonshot AI";
30
- readonly models: readonly ["kimi-k2-0711-preview", "kimi-k2-0905-preview", "kimi-k2-turbo-preview"];
31
- readonly docUrl: "https://platform.moonshot.ai/docs/api/chat";
32
- };
33
- readonly 'zai-coding-plan': {
34
- readonly url: "https://api.z.ai/api/coding/paas/v4/chat/completions";
35
- readonly apiKeyEnvVar: "ZHIPU_API_KEY";
36
- readonly apiKeyHeader: "Authorization";
37
- readonly name: "Z.AI Coding Plan";
38
- readonly models: readonly ["glm-4.5", "glm-4.5-air", "glm-4.5-flash", "glm-4.5v", "glm-4.6"];
39
- readonly docUrl: "https://docs.z.ai/devpack/overview";
40
- };
41
- readonly alibaba: {
42
- readonly url: "https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions";
43
- readonly apiKeyEnvVar: "DASHSCOPE_API_KEY";
44
- readonly apiKeyHeader: "Authorization";
45
- readonly name: "Alibaba";
46
- readonly models: readonly ["qwen3-coder-plus"];
47
- readonly docUrl: "https://www.alibabacloud.com/help/en/model-studio/models";
48
- };
49
- readonly xai: {
50
- readonly url: "https://api.x.ai/v1/chat/completions";
51
- readonly apiKeyEnvVar: "XAI_API_KEY";
52
- readonly apiKeyHeader: "Authorization";
53
- readonly name: "xAI";
54
- readonly models: readonly ["grok-2", "grok-2-1212", "grok-2-latest", "grok-2-vision", "grok-2-vision-1212", "grok-2-vision-latest", "grok-3", "grok-3-fast", "grok-3-fast-latest", "grok-3-latest", "grok-3-mini", "grok-3-mini-fast", "grok-3-mini-fast-latest", "grok-3-mini-latest", "grok-4", "grok-4-fast", "grok-4-fast-non-reasoning", "grok-beta", "grok-code-fast-1", "grok-vision-beta"];
55
- readonly docUrl: "https://docs.x.ai/docs/models";
56
- };
57
- readonly nvidia: {
58
- readonly url: "https://integrate.api.nvidia.com/v1/chat/completions";
59
- readonly apiKeyEnvVar: "NVIDIA_API_KEY";
60
- readonly apiKeyHeader: "Authorization";
61
- readonly name: "Nvidia";
62
- readonly models: readonly ["black-forest-labs/flux.1-dev", "deepseek-ai/deepseek-v3.1", "google/gemma-3-27b-it", "microsoft/phi-4-mini-instruct", "moonshotai/kimi-k2-instruct", "nvidia/cosmos-nemotron-34b", "nvidia/llama-3.1-nemotron-ultra-253b-v1", "nvidia/nemoretriever-ocr-v1", "nvidia/parakeet-tdt-0.6b-v2", "openai/gpt-oss-120b", "openai/whisper-large-v3", "qwen/qwen3-235b-a22b", "qwen/qwen3-coder-480b-a35b-instruct"];
63
- readonly docUrl: "https://docs.api.nvidia.com/nim/";
64
- };
65
- readonly upstage: {
66
- readonly url: "https://api.upstage.ai/chat/completions";
67
- readonly apiKeyEnvVar: "UPSTAGE_API_KEY";
68
- readonly apiKeyHeader: "Authorization";
69
- readonly name: "Upstage";
70
- readonly models: readonly ["solar-mini", "solar-pro2"];
71
- readonly docUrl: "https://developers.upstage.ai/docs/apis/chat";
72
- };
73
- readonly groq: {
74
- readonly url: "https://api.groq.com/openai/v1/chat/completions";
75
- readonly apiKeyEnvVar: "GROQ_API_KEY";
76
- readonly apiKeyHeader: "Authorization";
77
- readonly name: "Groq";
78
- readonly models: readonly ["deepseek-r1-distill-llama-70b", "gemma2-9b-it", "llama-3.1-8b-instant", "llama-3.3-70b-versatile", "llama-guard-3-8b", "llama3-70b-8192", "llama3-8b-8192", "meta-llama/llama-4-maverick-17b-128e-instruct", "meta-llama/llama-4-scout-17b-16e-instruct", "meta-llama/llama-guard-4-12b", "mistral-saba-24b", "moonshotai/kimi-k2-instruct", "moonshotai/kimi-k2-instruct-0905", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "qwen-qwq-32b", "qwen/qwen3-32b"];
79
- readonly docUrl: "https://console.groq.com/docs/models";
80
- };
81
- readonly 'github-copilot': {
82
- readonly url: "https://api.githubcopilot.com/chat/completions";
83
- readonly apiKeyEnvVar: "GITHUB_TOKEN";
84
- readonly apiKeyHeader: "Authorization";
85
- readonly name: "GitHub Copilot";
86
- readonly models: readonly ["claude-3.5-sonnet", "claude-3.7-sonnet", "claude-3.7-sonnet-thought", "claude-opus-4", "claude-opus-41", "claude-sonnet-4", "claude-sonnet-4.5", "gemini-2.0-flash-001", "gemini-2.5-pro", "gpt-4.1", "gpt-4o", "gpt-5", "gpt-5-codex", "gpt-5-mini", "grok-code-fast-1", "o3", "o3-mini", "o4-mini"];
87
- readonly docUrl: "https://docs.github.com/en/copilot";
88
- };
89
- readonly mistral: {
90
- readonly url: "https://api.mistral.ai/v1/chat/completions";
91
- readonly apiKeyEnvVar: "MISTRAL_API_KEY";
92
- readonly apiKeyHeader: "Authorization";
93
- readonly name: "Mistral";
94
- readonly models: readonly ["codestral-latest", "devstral-medium-2507", "devstral-small-2505", "devstral-small-2507", "magistral-medium-latest", "magistral-small", "ministral-3b-latest", "ministral-8b-latest", "mistral-large-latest", "mistral-medium-2505", "mistral-medium-2508", "mistral-medium-latest", "mistral-nemo", "mistral-small-latest", "open-mistral-7b", "open-mixtral-8x22b", "open-mixtral-8x7b", "pixtral-12b", "pixtral-large-latest"];
95
- readonly docUrl: "https://docs.mistral.ai/getting-started/models/";
96
- };
97
- readonly vercel: {
98
- readonly url: "https://ai-gateway.vercel.sh/v1/chat/completions";
99
- readonly apiKeyEnvVar: "AI_GATEWAY_API_KEY";
100
- readonly apiKeyHeader: "Authorization";
101
- readonly name: "Vercel AI Gateway";
102
- readonly models: readonly ["amazon/nova-lite", "amazon/nova-micro", "amazon/nova-pro", "anthropic/claude-3-5-haiku", "anthropic/claude-3-haiku", "anthropic/claude-3-opus", "anthropic/claude-3.5-sonnet", "anthropic/claude-3.7-sonnet", "anthropic/claude-4-1-opus", "anthropic/claude-4-opus", "anthropic/claude-4-sonnet", "anthropic/claude-4.5-sonnet", "cerebras/qwen3-coder", "deepseek/deepseek-r1", "deepseek/deepseek-r1-distill-llama-70b", "google/gemini-2.0-flash", "google/gemini-2.0-flash-lite", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "meta/llama-3.3-70b", "meta/llama-4-maverick", "meta/llama-4-scout", "mistral/codestral", "mistral/magistral-medium", "mistral/magistral-small", "mistral/ministral-3b", "mistral/ministral-8b", "mistral/mistral-large", "mistral/mistral-small", "mistral/mixtral-8x22b-instruct", "mistral/pixtral-12b", "mistral/pixtral-large", "moonshotai/kimi-k2", "morph/morph-v3-fast", "morph/morph-v3-large", "openai/gpt-4-turbo", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4.1-nano", "openai/gpt-4o", "openai/gpt-4o-mini", "openai/gpt-5", "openai/gpt-5-codex", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/o1", "openai/o3", "openai/o3-mini", "openai/o4-mini", "vercel/v0-1.0-md", "vercel/v0-1.5-md", "xai/grok-2", "xai/grok-2-vision", "xai/grok-3", "xai/grok-3-fast", "xai/grok-3-mini", "xai/grok-3-mini-fast", "xai/grok-4", "xai/grok-4-fast", "xai/grok-4-fast-non-reasoning", "xai/grok-code-fast-1"];
103
- readonly docUrl: "https://github.com/vercel/ai/tree/5eb85cc45a259553501f535b8ac79a77d0e79223/packages/gateway";
104
- };
105
- readonly deepseek: {
106
- readonly url: "https://api.deepseek.com/chat/completions";
107
- readonly apiKeyEnvVar: "DEEPSEEK_API_KEY";
108
- readonly apiKeyHeader: "Authorization";
109
- readonly name: "DeepSeek";
110
- readonly models: readonly ["deepseek-chat", "deepseek-reasoner"];
111
- readonly docUrl: "https://platform.deepseek.com/api-docs/pricing";
112
- };
113
- readonly 'alibaba-cn': {
114
- readonly url: "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions";
115
- readonly apiKeyEnvVar: "DASHSCOPE_API_KEY";
116
- readonly apiKeyHeader: "Authorization";
117
- readonly name: "Alibaba (China)";
118
- readonly models: readonly ["qwen3-coder-plus"];
119
- readonly docUrl: "https://www.alibabacloud.com/help/en/model-studio/models";
120
- };
121
- readonly venice: {
122
- readonly url: "https://api.venice.ai/api/v1/chat/completions";
123
- readonly apiKeyEnvVar: "VENICE_API_KEY";
124
- readonly apiKeyHeader: "Authorization";
125
- readonly name: "Venice AI";
126
- readonly models: readonly ["deepseek-coder-v2-lite", "deepseek-r1-671b", "dolphin-2.9.2-qwen2-72b", "llama-3.1-405b", "llama-3.2-3b", "llama-3.3-70b", "mistral-31-24b", "qwen-2.5-coder-32b", "qwen-2.5-qwq-32b", "qwen-2.5-vl", "qwen3-235b", "qwen3-4b", "venice-uncensored"];
127
- readonly docUrl: "https://docs.venice.ai";
128
- };
129
- readonly chutes: {
130
- readonly url: "https://llm.chutes.ai/v1/chat/completions";
131
- readonly apiKeyEnvVar: "CHUTES_API_KEY";
132
- readonly apiKeyHeader: "Authorization";
133
- readonly name: "Chutes";
134
- readonly models: readonly ["Qwen/Qwen3-235B-A22B-Instruct-2507", "Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-30B-A3B", "Qwen/Qwen3-30B-A3B-Instruct-2507", "Qwen/Qwen3-30B-A3B-Thinking-2507", "Qwen/Qwen3-Coder-30B-A3B-Instruct", "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8", "Qwen/Qwen3-Next-80B-A3B-Instruct", "Qwen/Qwen3-Next-80B-A3B-Thinking", "chutesai/Devstral-Small-2505", "chutesai/Mistral-Small-3.2-24B-Instruct-2506", "deepseek-ai/DeepSeek-R1-0528", "deepseek-ai/DeepSeek-R1-0528-Qwen3-8B", "deepseek-ai/DeepSeek-R1-Distill-Llama-70B", "deepseek-ai/DeepSeek-V3-0324", "deepseek-ai/DeepSeek-V3.1", "deepseek-ai/DeepSeek-V3.1-Terminus", "deepseek-ai/DeepSeek-V3.1-turbo", "deepseek-ai/DeepSeek-V3.1:THINKING", "meituan-longcat/LongCat-Flash-Chat-FP8", "moonshotai/Kimi-Dev-72B", "moonshotai/Kimi-K2-Instruct-0905", "moonshotai/Kimi-K2-Instruct-75k", "moonshotai/Kimi-VL-A3B-Thinking", "openai/gpt-oss-120b", "tngtech/DeepSeek-R1T-Chimera", "tngtech/DeepSeek-TNG-R1T2-Chimera", "zai-org/GLM-4.5-Air", "zai-org/GLM-4.5-FP8", "zai-org/GLM-4.5-turbo"];
135
- readonly docUrl: "https://llm.chutes.ai/v1/models";
136
- };
137
- readonly cortecs: {
138
- readonly url: "https://api.cortecs.ai/v1/chat/completions";
139
- readonly apiKeyEnvVar: "CORTECS_API_KEY";
140
- readonly apiKeyHeader: "Authorization";
141
- readonly name: "Cortecs";
142
- readonly models: readonly ["claude-sonnet-4", "deepseek-v3-0324", "gemini-2.5-pro", "gpt-4.1", "gpt-oss-120b", "kimi-k2-instruct", "llama-3.1-405b-instruct", "nova-pro-v1", "qwen3-32b", "qwen3-coder-480b-a35b-instruct"];
143
- readonly docUrl: "https://api.cortecs.ai/v1/models";
144
- };
145
- readonly 'github-models': {
146
- readonly url: "https://models.github.ai/inference/chat/completions";
147
- readonly apiKeyEnvVar: "GITHUB_TOKEN";
148
- readonly apiKeyHeader: "Authorization";
149
- readonly name: "GitHub Models";
150
- readonly models: readonly ["ai21-labs/ai21-jamba-1.5-large", "ai21-labs/ai21-jamba-1.5-mini", "cohere/cohere-command-a", "cohere/cohere-command-r", "cohere/cohere-command-r-08-2024", "cohere/cohere-command-r-plus", "cohere/cohere-command-r-plus-08-2024", "core42/jais-30b-chat", "deepseek/deepseek-r1", "deepseek/deepseek-r1-0528", "deepseek/deepseek-v3-0324", "meta/llama-3.2-11b-vision-instruct", "meta/llama-3.2-90b-vision-instruct", "meta/llama-3.3-70b-instruct", "meta/llama-4-maverick-17b-128e-instruct-fp8", "meta/llama-4-scout-17b-16e-instruct", "meta/meta-llama-3-70b-instruct", "meta/meta-llama-3-8b-instruct", "meta/meta-llama-3.1-405b-instruct", "meta/meta-llama-3.1-70b-instruct", "meta/meta-llama-3.1-8b-instruct", "microsoft/mai-ds-r1", "microsoft/phi-3-medium-128k-instruct", "microsoft/phi-3-medium-4k-instruct", "microsoft/phi-3-mini-128k-instruct", "microsoft/phi-3-mini-4k-instruct", "microsoft/phi-3-small-128k-instruct", "microsoft/phi-3-small-8k-instruct", "microsoft/phi-3.5-mini-instruct", "microsoft/phi-3.5-moe-instruct", "microsoft/phi-3.5-vision-instruct", "microsoft/phi-4", "microsoft/phi-4-mini-instruct", "microsoft/phi-4-mini-reasoning", "microsoft/phi-4-multimodal-instruct", "microsoft/phi-4-reasoning", "mistral-ai/codestral-2501", "mistral-ai/ministral-3b", "mistral-ai/mistral-large-2411", "mistral-ai/mistral-medium-2505", "mistral-ai/mistral-nemo", "mistral-ai/mistral-small-2503", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4.1-nano", "openai/gpt-4o", "openai/gpt-4o-mini", "openai/o1", "openai/o1-mini", "openai/o1-preview", "openai/o3", "openai/o3-mini", "openai/o4-mini", "xai/grok-3", "xai/grok-3-mini"];
151
- readonly docUrl: "https://docs.github.com/en/github-models";
152
- };
153
- readonly togetherai: {
154
- readonly url: "https://api.together.xyz/v1/chat/completions";
155
- readonly apiKeyEnvVar: "TOGETHER_API_KEY";
156
- readonly apiKeyHeader: "Authorization";
157
- readonly name: "Together AI";
158
- readonly models: readonly ["Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8", "deepseek-ai/DeepSeek-R1", "deepseek-ai/DeepSeek-V3", "meta-llama/Llama-3.3-70B-Instruct-Turbo", "moonshotai/Kimi-K2-Instruct", "openai/gpt-oss-120b"];
159
- readonly docUrl: "https://docs.together.ai/docs/serverless-models";
160
- };
161
- readonly baseten: {
162
- readonly url: "https://inference.baseten.co/v1/chat/completions";
163
- readonly apiKeyEnvVar: "BASETEN_API_KEY";
164
- readonly apiKeyHeader: "Authorization";
165
- readonly name: "Baseten";
166
- readonly models: readonly ["Qwen3/Qwen3-Coder-480B-A35B-Instruct", "moonshotai/Kimi-K2-Instruct-0905"];
167
- readonly docUrl: "https://docs.baseten.co/development/model-apis/overview";
168
- };
169
- readonly huggingface: {
170
- readonly url: "https://router.huggingface.co/v1/chat/completions";
171
- readonly apiKeyEnvVar: "HF_TOKEN";
172
- readonly apiKeyHeader: "Authorization";
173
- readonly name: "Hugging Face";
174
- readonly models: readonly ["Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-Coder-480B-A35B-Instruct", "Qwen/Qwen3-Next-80B-A3B-Instruct", "Qwen/Qwen3-Next-80B-A3B-Thinking", "deepseek-ai/DeepSeek-R1-0528", "deepseek-ai/Deepseek-V3-0324", "moonshotai/Kimi-K2-Instruct", "moonshotai/Kimi-K2-Instruct-0905", "zai-org/GLM-4.5", "zai-org/GLM-4.5-Air"];
175
- readonly docUrl: "https://huggingface.co/docs/inference-providers";
176
- };
177
- readonly opencode: {
178
- readonly url: "https://opencode.ai/zen/v1/chat/completions";
179
- readonly apiKeyEnvVar: "OPENCODE_API_KEY";
180
- readonly apiKeyHeader: "Authorization";
181
- readonly name: "opencode zen";
182
- readonly models: readonly ["claude-3-5-haiku", "claude-opus-4-1", "claude-sonnet-4", "claude-sonnet-4-5", "code-supernova", "gpt-5", "gpt-5-codex", "grok-code", "kimi-k2", "qwen3-coder", "qwen3-max"];
183
- readonly docUrl: "https://opencode.ai/docs";
184
- };
185
- readonly fastrouter: {
186
- readonly url: "https://go.fastrouter.ai/api/v1/chat/completions";
187
- readonly apiKeyEnvVar: "FASTROUTER_API_KEY";
188
- readonly apiKeyHeader: "Authorization";
189
- readonly name: "FastRouter";
190
- readonly models: readonly ["anthropic/claude-opus-4.1", "anthropic/claude-sonnet-4", "deepseek-ai/deepseek-r1-distill-llama-70b", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "moonshotai/kimi-k2", "openai/gpt-4.1", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "qwen/qwen3-coder", "x-ai/grok-4"];
191
- readonly docUrl: "https://fastrouter.ai/models";
192
- };
193
- readonly google: {
194
- readonly url: "https://generativelanguage.googleapis.com/v1beta/chat/completions";
195
- readonly apiKeyEnvVar: "GOOGLE_GENERATIVE_AI_API_KEY";
196
- readonly apiKeyHeader: "Authorization";
197
- readonly name: "Google";
198
- readonly models: readonly ["gemini-1.5-flash", "gemini-1.5-flash-8b", "gemini-1.5-pro", "gemini-2.0-flash", "gemini-2.0-flash-lite", "gemini-2.5-flash", "gemini-2.5-flash-lite", "gemini-2.5-flash-lite-preview-06-17", "gemini-2.5-flash-lite-preview-09-2025", "gemini-2.5-flash-preview-04-17", "gemini-2.5-flash-preview-05-20", "gemini-2.5-flash-preview-09-2025", "gemini-2.5-pro", "gemini-2.5-pro-preview-05-06", "gemini-2.5-pro-preview-06-05", "gemini-flash-latest", "gemini-flash-lite-latest", "gemini-live-2.5-flash-preview-native-audio"];
199
- readonly docUrl: "https://ai.google.dev/gemini-api/docs/pricing";
200
- };
201
- readonly inception: {
202
- readonly url: "https://api.inceptionlabs.ai/v1/chat/completions";
203
- readonly apiKeyEnvVar: "INCEPTION_API_KEY";
204
- readonly apiKeyHeader: "Authorization";
205
- readonly name: "Inception";
206
- readonly models: readonly ["mercury", "mercury-coder"];
207
- readonly docUrl: "https://platform.inceptionlabs.ai/docs";
208
- };
209
- readonly wandb: {
210
- readonly url: "https://api.inference.wandb.ai/v1/chat/completions";
211
- readonly apiKeyEnvVar: "WANDB_API_KEY";
212
- readonly apiKeyHeader: "Authorization";
213
- readonly name: "Weights & Biases";
214
- readonly models: readonly ["Qwen/Qwen3-235B-A22B-Instruct-2507", "Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-Coder-480B-A35B-Instruct", "deepseek-ai/DeepSeek-R1-0528", "deepseek-ai/DeepSeek-V3-0324", "meta-llama/Llama-3.1-8B-Instruct", "meta-llama/Llama-3.3-70B-Instruct", "meta-llama/Llama-4-Scout-17B-16E-Instruct", "microsoft/Phi-4-mini-instruct", "moonshotai/Kimi-K2-Instruct"];
215
- readonly docUrl: "https://weave-docs.wandb.ai/guides/integrations/inference/";
216
- };
217
- readonly openai: {
218
- readonly url: "https://api.openai.com/v1/chat/completions";
219
- readonly apiKeyEnvVar: "OPENAI_API_KEY";
220
- readonly apiKeyHeader: "Authorization";
221
- readonly name: "OpenAI";
222
- readonly models: readonly ["codex-mini-latest", "gpt-3.5-turbo", "gpt-4", "gpt-4-turbo", "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", "gpt-4o", "gpt-4o-2024-05-13", "gpt-4o-2024-08-06", "gpt-4o-2024-11-20", "gpt-4o-mini", "gpt-5", "gpt-5-chat-latest", "gpt-5-codex", "gpt-5-mini", "gpt-5-nano", "o1", "o1-mini", "o1-preview", "o1-pro", "o3", "o3-deep-research", "o3-mini", "o3-pro", "o4-mini", "o4-mini-deep-research"];
223
- readonly docUrl: "https://platform.openai.com/docs/models";
224
- };
225
- readonly 'zhipuai-coding-plan': {
226
- readonly url: "https://open.bigmodel.cn/api/coding/paas/v4/chat/completions";
227
- readonly apiKeyEnvVar: "ZHIPU_API_KEY";
228
- readonly apiKeyHeader: "Authorization";
229
- readonly name: "Zhipu AI Coding Plan";
230
- readonly models: readonly ["glm-4.5", "glm-4.5-air", "glm-4.5-flash", "glm-4.5v", "glm-4.6"];
231
- readonly docUrl: "https://docs.bigmodel.cn/cn/coding-plan/overview";
232
- };
233
- readonly perplexity: {
234
- readonly url: "https://api.perplexity.ai/chat/completions";
235
- readonly apiKeyEnvVar: "PERPLEXITY_API_KEY";
236
- readonly apiKeyHeader: "Authorization";
237
- readonly name: "Perplexity";
238
- readonly models: readonly ["sonar", "sonar-pro", "sonar-reasoning", "sonar-reasoning-pro"];
239
- readonly docUrl: "https://docs.perplexity.ai";
240
- };
241
- readonly openrouter: {
242
- readonly url: "https://openrouter.ai/api/v1/chat/completions";
243
- readonly apiKeyEnvVar: "OPENROUTER_API_KEY";
244
- readonly apiKeyHeader: "Authorization";
245
- readonly name: "OpenRouter";
246
- readonly models: readonly ["anthropic/claude-3.5-haiku", "anthropic/claude-3.7-sonnet", "anthropic/claude-opus-4", "anthropic/claude-opus-4.1", "anthropic/claude-sonnet-4", "anthropic/claude-sonnet-4.5", "cognitivecomputations/dolphin3.0-mistral-24b", "cognitivecomputations/dolphin3.0-r1-mistral-24b", "deepseek/deepseek-chat-v3-0324", "deepseek/deepseek-chat-v3.1", "deepseek/deepseek-r1-0528-qwen3-8b:free", "deepseek/deepseek-r1-0528:free", "deepseek/deepseek-r1-distill-llama-70b", "deepseek/deepseek-r1-distill-qwen-14b", "deepseek/deepseek-r1:free", "deepseek/deepseek-v3-base:free", "deepseek/deepseek-v3.1-terminus", "featherless/qwerky-72b", "google/gemini-2.0-flash-001", "google/gemini-2.0-flash-exp:free", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "google/gemini-2.5-pro-preview-05-06", "google/gemini-2.5-pro-preview-06-05", "google/gemma-2-9b-it:free", "google/gemma-3-12b-it", "google/gemma-3-27b-it", "google/gemma-3n-e4b-it", "google/gemma-3n-e4b-it:free", "meta-llama/llama-3.2-11b-vision-instruct", "meta-llama/llama-3.3-70b-instruct:free", "meta-llama/llama-4-scout:free", "microsoft/mai-ds-r1:free", "mistralai/codestral-2508", "mistralai/devstral-medium-2507", "mistralai/devstral-small-2505", "mistralai/devstral-small-2505:free", "mistralai/devstral-small-2507", "mistralai/mistral-7b-instruct:free", "mistralai/mistral-medium-3", "mistralai/mistral-medium-3.1", "mistralai/mistral-nemo:free", "mistralai/mistral-small-3.1-24b-instruct", "mistralai/mistral-small-3.2-24b-instruct", "mistralai/mistral-small-3.2-24b-instruct:free", "moonshotai/kimi-dev-72b:free", "moonshotai/kimi-k2", "moonshotai/kimi-k2-0905", "moonshotai/kimi-k2:free", "nousresearch/deephermes-3-llama-3-8b-preview", "nousresearch/hermes-4-405b", "nousresearch/hermes-4-70b", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4o-mini", "openai/gpt-5", "openai/gpt-5-chat", "openai/gpt-5-codex", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/o4-mini", "openrouter/cypher-alpha:free", "openrouter/horizon-alpha", "openrouter/horizon-beta", "openrouter/sonoma-dusk-alpha", "openrouter/sonoma-sky-alpha", "qwen/qwen-2.5-coder-32b-instruct", "qwen/qwen2.5-vl-32b-instruct:free", "qwen/qwen2.5-vl-72b-instruct", "qwen/qwen2.5-vl-72b-instruct:free", "qwen/qwen3-14b:free", "qwen/qwen3-235b-a22b-07-25", "qwen/qwen3-235b-a22b-07-25:free", "qwen/qwen3-235b-a22b-thinking-2507", "qwen/qwen3-235b-a22b:free", "qwen/qwen3-30b-a3b-instruct-2507", "qwen/qwen3-30b-a3b:free", "qwen/qwen3-32b:free", "qwen/qwen3-8b:free", "qwen/qwen3-coder", "qwen/qwen3-coder:free", "qwen/qwen3-max", "qwen/qwen3-next-80b-a3b-instruct", "qwen/qwq-32b:free", "rekaai/reka-flash-3", "sarvamai/sarvam-m:free", "thudm/glm-z1-32b:free", "tngtech/deepseek-r1t2-chimera:free", "x-ai/grok-3", "x-ai/grok-3-beta", "x-ai/grok-3-mini", "x-ai/grok-3-mini-beta", "x-ai/grok-4", "x-ai/grok-4-fast", "x-ai/grok-4-fast:free", "x-ai/grok-code-fast-1", "z-ai/glm-4.5", "z-ai/glm-4.5-air", "z-ai/glm-4.5-air:free", "z-ai/glm-4.5v"];
247
- readonly docUrl: "https://openrouter.ai/models";
248
- };
249
- readonly synthetic: {
250
- readonly url: "https://api.synthetic.new/v1/chat/completions";
251
- readonly apiKeyEnvVar: "SYNTHETIC_API_KEY";
252
- readonly apiKeyHeader: "Authorization";
253
- readonly name: "Synthetic";
254
- readonly models: readonly ["hf:Qwen/Qwen2.5-Coder-32B-Instruct", "hf:Qwen/Qwen3-235B-A22B-Instruct-2507", "hf:Qwen/Qwen3-235B-A22B-Thinking-2507", "hf:Qwen/Qwen3-Coder-480B-A35B-Instruct", "hf:deepseek-ai/DeepSeek-R1", "hf:deepseek-ai/DeepSeek-R1-0528", "hf:deepseek-ai/DeepSeek-V3", "hf:deepseek-ai/DeepSeek-V3-0324", "hf:deepseek-ai/DeepSeek-V3.1", "hf:deepseek-ai/DeepSeek-V3.1-Terminus", "hf:meta-llama/Llama-3.1-405B-Instruct", "hf:meta-llama/Llama-3.1-70B-Instruct", "hf:meta-llama/Llama-3.1-8B-Instruct", "hf:meta-llama/Llama-3.3-70B-Instruct", "hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8", "hf:meta-llama/Llama-4-Scout-17B-16E-Instruct", "hf:moonshotai/Kimi-K2-Instruct", "hf:moonshotai/Kimi-K2-Instruct-0905", "hf:openai/gpt-oss-120b", "hf:zai-org/GLM-4.5"];
255
- readonly docUrl: "https://synthetic.new/pricing";
256
- };
257
- readonly deepinfra: {
258
- readonly url: "https://api.deepinfra.com/v1/openai/chat/completions";
259
- readonly apiKeyEnvVar: "DEEPINFRA_API_KEY";
260
- readonly apiKeyHeader: "Authorization";
261
- readonly name: "Deep Infra";
262
- readonly models: readonly ["Qwen/Qwen3-Coder-480B-A35B-Instruct", "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo", "moonshotai/Kimi-K2-Instruct", "zai-org/GLM-4.5"];
263
- readonly docUrl: "https://deepinfra.com/models";
264
- };
265
- readonly zhipuai: {
266
- readonly url: "https://open.bigmodel.cn/api/paas/v4/chat/completions";
267
- readonly apiKeyEnvVar: "ZHIPU_API_KEY";
268
- readonly apiKeyHeader: "Authorization";
269
- readonly name: "Zhipu AI";
270
- readonly models: readonly ["glm-4.5", "glm-4.5-air", "glm-4.5-flash", "glm-4.5v", "glm-4.6"];
271
- readonly docUrl: "https://docs.z.ai/guides/overview/pricing";
272
- };
273
- readonly submodel: {
274
- readonly url: "https://llm.submodel.ai/v1/chat/completions";
275
- readonly apiKeyEnvVar: "SUBMODEL_INSTAGEN_ACCESS_KEY";
276
- readonly apiKeyHeader: "Authorization";
277
- readonly name: "submodel";
278
- readonly models: readonly ["Qwen/Qwen3-235B-A22B-Instruct-2507", "Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8", "deepseek-ai/DeepSeek-R1-0528", "deepseek-ai/DeepSeek-V3-0324", "deepseek-ai/DeepSeek-V3.1", "openai/gpt-oss-120b", "zai-org/GLM-4.5-Air", "zai-org/GLM-4.5-FP8"];
279
- readonly docUrl: "https://submodel.gitbook.io";
280
- };
281
- readonly zai: {
282
- readonly url: "https://api.z.ai/api/paas/v4/chat/completions";
283
- readonly apiKeyEnvVar: "ZHIPU_API_KEY";
284
- readonly apiKeyHeader: "Authorization";
285
- readonly name: "Z.AI";
286
- readonly models: readonly ["glm-4.5", "glm-4.5-air", "glm-4.5-flash", "glm-4.5v", "glm-4.6"];
287
- readonly docUrl: "https://docs.z.ai/guides/overview/pricing";
288
- };
289
- readonly inference: {
290
- readonly url: "https://inference.net/v1/chat/completions";
291
- readonly apiKeyEnvVar: "INFERENCE_API_KEY";
292
- readonly apiKeyHeader: "Authorization";
293
- readonly name: "Inference";
294
- readonly models: readonly ["google/gemma-3", "meta/llama-3.1-8b-instruct", "meta/llama-3.2-11b-vision-instruct", "meta/llama-3.2-1b-instruct", "meta/llama-3.2-3b-instruct", "mistral/mistral-nemo-12b-instruct", "osmosis/osmosis-structure-0.6b", "qwen/qwen-2.5-7b-vision-instruct", "qwen/qwen3-embedding-4b"];
295
- readonly docUrl: "https://inference.net/models";
296
- };
297
- readonly requesty: {
298
- readonly url: "https://router.requesty.ai/v1/chat/completions";
299
- readonly apiKeyEnvVar: "REQUESTY_API_KEY";
300
- readonly apiKeyHeader: "Authorization";
301
- readonly name: "Requesty";
302
- readonly models: readonly ["anthropic/claude-3-7-sonnet", "anthropic/claude-4-sonnet-20250522", "anthropic/claude-opus-4", "anthropic/claude-opus-4-1-20250805", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4o-mini", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/o4-mini"];
303
- readonly docUrl: "https://requesty.ai/solution/llm-routing/models";
304
- };
305
- readonly morph: {
306
- readonly url: "https://api.morphllm.com/v1/chat/completions";
307
- readonly apiKeyEnvVar: "MORPH_API_KEY";
308
- readonly apiKeyHeader: "Authorization";
309
- readonly name: "Morph";
310
- readonly models: readonly ["auto", "morph-v3-fast", "morph-v3-large"];
311
- readonly docUrl: "https://docs.morphllm.com/api-reference/introduction";
312
- };
313
- readonly lmstudio: {
314
- readonly url: "http://127.0.0.1:1234/v1/chat/completions";
315
- readonly apiKeyEnvVar: "LMSTUDIO_API_KEY";
316
- readonly apiKeyHeader: "Authorization";
317
- readonly name: "LMStudio";
318
- readonly models: readonly ["openai/gpt-oss-20b", "qwen/qwen3-30b-a3b-2507", "qwen/qwen3-coder-30b"];
319
- readonly docUrl: "https://lmstudio.ai/models";
320
- };
321
- readonly anthropic: {
322
- readonly url: "https://api.anthropic.com/v1/chat/completions";
323
- readonly apiKeyEnvVar: "ANTHROPIC_API_KEY";
324
- readonly apiKeyHeader: "x-api-key";
325
- readonly name: "Anthropic";
326
- readonly models: readonly ["claude-3-5-haiku-20241022", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-7-sonnet-20250219", "claude-3-haiku-20240307", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-opus-4-1-20250805", "claude-opus-4-20250514", "claude-sonnet-4-20250514", "claude-sonnet-4-5-20250929"];
327
- readonly docUrl: "https://docs.anthropic.com/en/docs/about-claude/models";
328
- };
329
- readonly 'fireworks-ai': {
330
- readonly url: "https://api.fireworks.ai/inference/v1/chat/completions";
331
- readonly apiKeyEnvVar: "FIREWORKS_API_KEY";
332
- readonly apiKeyHeader: "Authorization";
333
- readonly name: "Fireworks AI";
334
- readonly models: readonly ["accounts/fireworks/models/deepseek-r1-0528", "accounts/fireworks/models/deepseek-v3-0324", "accounts/fireworks/models/deepseek-v3p1", "accounts/fireworks/models/glm-4p5", "accounts/fireworks/models/glm-4p5-air", "accounts/fireworks/models/gpt-oss-120b", "accounts/fireworks/models/gpt-oss-20b", "accounts/fireworks/models/kimi-k2-instruct", "accounts/fireworks/models/qwen3-235b-a22b", "accounts/fireworks/models/qwen3-coder-480b-a35b-instruct"];
335
- readonly docUrl: "https://fireworks.ai/docs/";
336
- };
337
- readonly modelscope: {
338
- readonly url: "https://api-inference.modelscope.cn/v1/chat/completions";
339
- readonly apiKeyEnvVar: "MODELSCOPE_API_KEY";
340
- readonly apiKeyHeader: "Authorization";
341
- readonly name: "ModelScope";
342
- readonly models: readonly ["Qwen/Qwen3-235B-A22B-Instruct-2507", "Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-30B-A3B-Instruct-2507", "Qwen/Qwen3-30B-A3B-Thinking-2507", "Qwen/Qwen3-Coder-30B-A3B-Instruct", "Qwen/Qwen3-Coder-480B-A35B-Instruct", "ZhipuAI/GLM-4.5"];
343
- readonly docUrl: "https://modelscope.cn/docs/model-service/API-Inference/intro";
344
- };
345
- readonly llama: {
346
- readonly url: "https://api.llama.com/compat/v1/chat/completions";
347
- readonly apiKeyEnvVar: "LLAMA_API_KEY";
348
- readonly apiKeyHeader: "Authorization";
349
- readonly name: "Llama";
350
- readonly models: readonly ["cerebras-llama-4-maverick-17b-128e-instruct", "cerebras-llama-4-scout-17b-16e-instruct", "groq-llama-4-maverick-17b-128e-instruct", "llama-3.3-70b-instruct", "llama-3.3-8b-instruct", "llama-4-maverick-17b-128e-instruct-fp8", "llama-4-scout-17b-16e-instruct-fp8"];
351
- readonly docUrl: "https://llama.developer.meta.com/docs/models";
352
- };
353
- readonly cerebras: {
354
- readonly url: "https://api.cerebras.ai/v1/chat/completions";
355
- readonly apiKeyEnvVar: "CEREBRAS_API_KEY";
356
- readonly apiKeyHeader: "Authorization";
357
- readonly name: "Cerebras";
358
- readonly models: readonly ["gpt-oss-120b", "qwen-3-235b-a22b-instruct-2507", "qwen-3-coder-480b"];
359
- readonly docUrl: "https://inference-docs.cerebras.ai/models/overview";
360
- };
361
- };
9
+ export declare const PROVIDER_REGISTRY: Record<string, ProviderConfig>;
362
10
  /**
363
11
  * Available models per provider
364
12
  */
@@ -372,9 +20,9 @@ export declare const PROVIDER_MODELS: {
372
20
  readonly nvidia: readonly ["black-forest-labs/flux.1-dev", "deepseek-ai/deepseek-v3.1", "google/gemma-3-27b-it", "microsoft/phi-4-mini-instruct", "moonshotai/kimi-k2-instruct", "nvidia/cosmos-nemotron-34b", "nvidia/llama-3.1-nemotron-ultra-253b-v1", "nvidia/nemoretriever-ocr-v1", "nvidia/parakeet-tdt-0.6b-v2", "openai/gpt-oss-120b", "openai/whisper-large-v3", "qwen/qwen3-235b-a22b", "qwen/qwen3-coder-480b-a35b-instruct"];
373
21
  readonly upstage: readonly ["solar-mini", "solar-pro2"];
374
22
  readonly groq: readonly ["deepseek-r1-distill-llama-70b", "gemma2-9b-it", "llama-3.1-8b-instant", "llama-3.3-70b-versatile", "llama-guard-3-8b", "llama3-70b-8192", "llama3-8b-8192", "meta-llama/llama-4-maverick-17b-128e-instruct", "meta-llama/llama-4-scout-17b-16e-instruct", "meta-llama/llama-guard-4-12b", "mistral-saba-24b", "moonshotai/kimi-k2-instruct", "moonshotai/kimi-k2-instruct-0905", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "qwen-qwq-32b", "qwen/qwen3-32b"];
375
- readonly 'github-copilot': readonly ["claude-3.5-sonnet", "claude-3.7-sonnet", "claude-3.7-sonnet-thought", "claude-opus-4", "claude-opus-41", "claude-sonnet-4", "claude-sonnet-4.5", "gemini-2.0-flash-001", "gemini-2.5-pro", "gpt-4.1", "gpt-4o", "gpt-5", "gpt-5-codex", "gpt-5-mini", "grok-code-fast-1", "o3", "o3-mini", "o4-mini"];
23
+ readonly 'github-copilot': readonly ["claude-3.5-sonnet", "claude-3.7-sonnet", "claude-3.7-sonnet-thought", "claude-opus-4", "claude-opus-41", "claude-sonnet-4", "claude-sonnet-4.5", "gemini-2.0-flash-001", "gemini-2.5-pro", "gpt-4.1", "gpt-4o", "gpt-5", "gpt-5-mini", "grok-code-fast-1", "o3", "o3-mini", "o4-mini"];
376
24
  readonly mistral: readonly ["codestral-latest", "devstral-medium-2507", "devstral-small-2505", "devstral-small-2507", "magistral-medium-latest", "magistral-small", "ministral-3b-latest", "ministral-8b-latest", "mistral-large-latest", "mistral-medium-2505", "mistral-medium-2508", "mistral-medium-latest", "mistral-nemo", "mistral-small-latest", "open-mistral-7b", "open-mixtral-8x22b", "open-mixtral-8x7b", "pixtral-12b", "pixtral-large-latest"];
377
- readonly vercel: readonly ["amazon/nova-lite", "amazon/nova-micro", "amazon/nova-pro", "anthropic/claude-3-5-haiku", "anthropic/claude-3-haiku", "anthropic/claude-3-opus", "anthropic/claude-3.5-sonnet", "anthropic/claude-3.7-sonnet", "anthropic/claude-4-1-opus", "anthropic/claude-4-opus", "anthropic/claude-4-sonnet", "anthropic/claude-4.5-sonnet", "cerebras/qwen3-coder", "deepseek/deepseek-r1", "deepseek/deepseek-r1-distill-llama-70b", "google/gemini-2.0-flash", "google/gemini-2.0-flash-lite", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "meta/llama-3.3-70b", "meta/llama-4-maverick", "meta/llama-4-scout", "mistral/codestral", "mistral/magistral-medium", "mistral/magistral-small", "mistral/ministral-3b", "mistral/ministral-8b", "mistral/mistral-large", "mistral/mistral-small", "mistral/mixtral-8x22b-instruct", "mistral/pixtral-12b", "mistral/pixtral-large", "moonshotai/kimi-k2", "morph/morph-v3-fast", "morph/morph-v3-large", "openai/gpt-4-turbo", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4.1-nano", "openai/gpt-4o", "openai/gpt-4o-mini", "openai/gpt-5", "openai/gpt-5-codex", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/o1", "openai/o3", "openai/o3-mini", "openai/o4-mini", "vercel/v0-1.0-md", "vercel/v0-1.5-md", "xai/grok-2", "xai/grok-2-vision", "xai/grok-3", "xai/grok-3-fast", "xai/grok-3-mini", "xai/grok-3-mini-fast", "xai/grok-4", "xai/grok-4-fast", "xai/grok-4-fast-non-reasoning", "xai/grok-code-fast-1"];
25
+ readonly vercel: readonly ["amazon/nova-lite", "amazon/nova-micro", "amazon/nova-pro", "anthropic/claude-3-5-haiku", "anthropic/claude-3-haiku", "anthropic/claude-3-opus", "anthropic/claude-3.5-sonnet", "anthropic/claude-3.7-sonnet", "anthropic/claude-4-1-opus", "anthropic/claude-4-opus", "anthropic/claude-4-sonnet", "anthropic/claude-4.5-sonnet", "cerebras/qwen3-coder", "deepseek/deepseek-r1", "deepseek/deepseek-r1-distill-llama-70b", "google/gemini-2.0-flash", "google/gemini-2.0-flash-lite", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "meta/llama-3.3-70b", "meta/llama-4-maverick", "meta/llama-4-scout", "mistral/codestral", "mistral/magistral-medium", "mistral/magistral-small", "mistral/ministral-3b", "mistral/ministral-8b", "mistral/mistral-large", "mistral/mistral-small", "mistral/mixtral-8x22b-instruct", "mistral/pixtral-12b", "mistral/pixtral-large", "moonshotai/kimi-k2", "morph/morph-v3-fast", "morph/morph-v3-large", "openai/gpt-4-turbo", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4.1-nano", "openai/gpt-4o", "openai/gpt-4o-mini", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/o1", "openai/o3", "openai/o3-mini", "openai/o4-mini", "vercel/v0-1.0-md", "vercel/v0-1.5-md", "xai/grok-2", "xai/grok-2-vision", "xai/grok-3", "xai/grok-3-fast", "xai/grok-3-mini", "xai/grok-3-mini-fast", "xai/grok-4", "xai/grok-4-fast", "xai/grok-4-fast-non-reasoning", "xai/grok-code-fast-1"];
378
26
  readonly deepseek: readonly ["deepseek-chat", "deepseek-reasoner"];
379
27
  readonly 'alibaba-cn': readonly ["qwen3-coder-plus"];
380
28
  readonly venice: readonly ["deepseek-coder-v2-lite", "deepseek-r1-671b", "dolphin-2.9.2-qwen2-72b", "llama-3.1-405b", "llama-3.2-3b", "llama-3.3-70b", "mistral-31-24b", "qwen-2.5-coder-32b", "qwen-2.5-qwq-32b", "qwen-2.5-vl", "qwen3-235b", "qwen3-4b", "venice-uncensored"];
@@ -384,15 +32,15 @@ export declare const PROVIDER_MODELS: {
384
32
  readonly togetherai: readonly ["Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8", "deepseek-ai/DeepSeek-R1", "deepseek-ai/DeepSeek-V3", "meta-llama/Llama-3.3-70B-Instruct-Turbo", "moonshotai/Kimi-K2-Instruct", "openai/gpt-oss-120b"];
385
33
  readonly baseten: readonly ["Qwen3/Qwen3-Coder-480B-A35B-Instruct", "moonshotai/Kimi-K2-Instruct-0905"];
386
34
  readonly huggingface: readonly ["Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-Coder-480B-A35B-Instruct", "Qwen/Qwen3-Next-80B-A3B-Instruct", "Qwen/Qwen3-Next-80B-A3B-Thinking", "deepseek-ai/DeepSeek-R1-0528", "deepseek-ai/Deepseek-V3-0324", "moonshotai/Kimi-K2-Instruct", "moonshotai/Kimi-K2-Instruct-0905", "zai-org/GLM-4.5", "zai-org/GLM-4.5-Air"];
387
- readonly opencode: readonly ["claude-3-5-haiku", "claude-opus-4-1", "claude-sonnet-4", "claude-sonnet-4-5", "code-supernova", "gpt-5", "gpt-5-codex", "grok-code", "kimi-k2", "qwen3-coder", "qwen3-max"];
35
+ readonly opencode: readonly ["claude-3-5-haiku", "claude-opus-4-1", "claude-sonnet-4", "claude-sonnet-4-5", "code-supernova", "gpt-5", "grok-code", "kimi-k2", "qwen3-coder", "qwen3-max"];
388
36
  readonly fastrouter: readonly ["anthropic/claude-opus-4.1", "anthropic/claude-sonnet-4", "deepseek-ai/deepseek-r1-distill-llama-70b", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "moonshotai/kimi-k2", "openai/gpt-4.1", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "qwen/qwen3-coder", "x-ai/grok-4"];
389
37
  readonly google: readonly ["gemini-1.5-flash", "gemini-1.5-flash-8b", "gemini-1.5-pro", "gemini-2.0-flash", "gemini-2.0-flash-lite", "gemini-2.5-flash", "gemini-2.5-flash-lite", "gemini-2.5-flash-lite-preview-06-17", "gemini-2.5-flash-lite-preview-09-2025", "gemini-2.5-flash-preview-04-17", "gemini-2.5-flash-preview-05-20", "gemini-2.5-flash-preview-09-2025", "gemini-2.5-pro", "gemini-2.5-pro-preview-05-06", "gemini-2.5-pro-preview-06-05", "gemini-flash-latest", "gemini-flash-lite-latest", "gemini-live-2.5-flash-preview-native-audio"];
390
38
  readonly inception: readonly ["mercury", "mercury-coder"];
391
39
  readonly wandb: readonly ["Qwen/Qwen3-235B-A22B-Instruct-2507", "Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-Coder-480B-A35B-Instruct", "deepseek-ai/DeepSeek-R1-0528", "deepseek-ai/DeepSeek-V3-0324", "meta-llama/Llama-3.1-8B-Instruct", "meta-llama/Llama-3.3-70B-Instruct", "meta-llama/Llama-4-Scout-17B-16E-Instruct", "microsoft/Phi-4-mini-instruct", "moonshotai/Kimi-K2-Instruct"];
392
- readonly openai: readonly ["codex-mini-latest", "gpt-3.5-turbo", "gpt-4", "gpt-4-turbo", "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", "gpt-4o", "gpt-4o-2024-05-13", "gpt-4o-2024-08-06", "gpt-4o-2024-11-20", "gpt-4o-mini", "gpt-5", "gpt-5-chat-latest", "gpt-5-codex", "gpt-5-mini", "gpt-5-nano", "o1", "o1-mini", "o1-preview", "o1-pro", "o3", "o3-deep-research", "o3-mini", "o3-pro", "o4-mini", "o4-mini-deep-research"];
40
+ readonly openai: readonly ["gpt-3.5-turbo", "gpt-4", "gpt-4-turbo", "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", "gpt-4o", "gpt-4o-2024-05-13", "gpt-4o-2024-08-06", "gpt-4o-2024-11-20", "gpt-4o-mini", "gpt-5", "gpt-5-chat-latest", "gpt-5-mini", "gpt-5-nano", "o1", "o1-mini", "o1-preview", "o1-pro", "o3", "o3-deep-research", "o3-mini", "o3-pro", "o4-mini", "o4-mini-deep-research"];
393
41
  readonly 'zhipuai-coding-plan': readonly ["glm-4.5", "glm-4.5-air", "glm-4.5-flash", "glm-4.5v", "glm-4.6"];
394
42
  readonly perplexity: readonly ["sonar", "sonar-pro", "sonar-reasoning", "sonar-reasoning-pro"];
395
- readonly openrouter: readonly ["anthropic/claude-3.5-haiku", "anthropic/claude-3.7-sonnet", "anthropic/claude-opus-4", "anthropic/claude-opus-4.1", "anthropic/claude-sonnet-4", "anthropic/claude-sonnet-4.5", "cognitivecomputations/dolphin3.0-mistral-24b", "cognitivecomputations/dolphin3.0-r1-mistral-24b", "deepseek/deepseek-chat-v3-0324", "deepseek/deepseek-chat-v3.1", "deepseek/deepseek-r1-0528-qwen3-8b:free", "deepseek/deepseek-r1-0528:free", "deepseek/deepseek-r1-distill-llama-70b", "deepseek/deepseek-r1-distill-qwen-14b", "deepseek/deepseek-r1:free", "deepseek/deepseek-v3-base:free", "deepseek/deepseek-v3.1-terminus", "featherless/qwerky-72b", "google/gemini-2.0-flash-001", "google/gemini-2.0-flash-exp:free", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "google/gemini-2.5-pro-preview-05-06", "google/gemini-2.5-pro-preview-06-05", "google/gemma-2-9b-it:free", "google/gemma-3-12b-it", "google/gemma-3-27b-it", "google/gemma-3n-e4b-it", "google/gemma-3n-e4b-it:free", "meta-llama/llama-3.2-11b-vision-instruct", "meta-llama/llama-3.3-70b-instruct:free", "meta-llama/llama-4-scout:free", "microsoft/mai-ds-r1:free", "mistralai/codestral-2508", "mistralai/devstral-medium-2507", "mistralai/devstral-small-2505", "mistralai/devstral-small-2505:free", "mistralai/devstral-small-2507", "mistralai/mistral-7b-instruct:free", "mistralai/mistral-medium-3", "mistralai/mistral-medium-3.1", "mistralai/mistral-nemo:free", "mistralai/mistral-small-3.1-24b-instruct", "mistralai/mistral-small-3.2-24b-instruct", "mistralai/mistral-small-3.2-24b-instruct:free", "moonshotai/kimi-dev-72b:free", "moonshotai/kimi-k2", "moonshotai/kimi-k2-0905", "moonshotai/kimi-k2:free", "nousresearch/deephermes-3-llama-3-8b-preview", "nousresearch/hermes-4-405b", "nousresearch/hermes-4-70b", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4o-mini", "openai/gpt-5", "openai/gpt-5-chat", "openai/gpt-5-codex", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/o4-mini", "openrouter/cypher-alpha:free", "openrouter/horizon-alpha", "openrouter/horizon-beta", "openrouter/sonoma-dusk-alpha", "openrouter/sonoma-sky-alpha", "qwen/qwen-2.5-coder-32b-instruct", "qwen/qwen2.5-vl-32b-instruct:free", "qwen/qwen2.5-vl-72b-instruct", "qwen/qwen2.5-vl-72b-instruct:free", "qwen/qwen3-14b:free", "qwen/qwen3-235b-a22b-07-25", "qwen/qwen3-235b-a22b-07-25:free", "qwen/qwen3-235b-a22b-thinking-2507", "qwen/qwen3-235b-a22b:free", "qwen/qwen3-30b-a3b-instruct-2507", "qwen/qwen3-30b-a3b:free", "qwen/qwen3-32b:free", "qwen/qwen3-8b:free", "qwen/qwen3-coder", "qwen/qwen3-coder:free", "qwen/qwen3-max", "qwen/qwen3-next-80b-a3b-instruct", "qwen/qwq-32b:free", "rekaai/reka-flash-3", "sarvamai/sarvam-m:free", "thudm/glm-z1-32b:free", "tngtech/deepseek-r1t2-chimera:free", "x-ai/grok-3", "x-ai/grok-3-beta", "x-ai/grok-3-mini", "x-ai/grok-3-mini-beta", "x-ai/grok-4", "x-ai/grok-4-fast", "x-ai/grok-4-fast:free", "x-ai/grok-code-fast-1", "z-ai/glm-4.5", "z-ai/glm-4.5-air", "z-ai/glm-4.5-air:free", "z-ai/glm-4.5v"];
43
+ readonly openrouter: readonly ["anthropic/claude-3.5-haiku", "anthropic/claude-3.7-sonnet", "anthropic/claude-opus-4", "anthropic/claude-opus-4.1", "anthropic/claude-sonnet-4", "anthropic/claude-sonnet-4.5", "cognitivecomputations/dolphin3.0-mistral-24b", "cognitivecomputations/dolphin3.0-r1-mistral-24b", "deepseek/deepseek-chat-v3-0324", "deepseek/deepseek-chat-v3.1", "deepseek/deepseek-r1-0528-qwen3-8b:free", "deepseek/deepseek-r1-0528:free", "deepseek/deepseek-r1-distill-llama-70b", "deepseek/deepseek-r1-distill-qwen-14b", "deepseek/deepseek-r1:free", "deepseek/deepseek-v3-base:free", "deepseek/deepseek-v3.1-terminus", "featherless/qwerky-72b", "google/gemini-2.0-flash-001", "google/gemini-2.0-flash-exp:free", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "google/gemini-2.5-pro-preview-05-06", "google/gemini-2.5-pro-preview-06-05", "google/gemma-2-9b-it:free", "google/gemma-3-12b-it", "google/gemma-3-27b-it", "google/gemma-3n-e4b-it", "google/gemma-3n-e4b-it:free", "meta-llama/llama-3.2-11b-vision-instruct", "meta-llama/llama-3.3-70b-instruct:free", "meta-llama/llama-4-scout:free", "microsoft/mai-ds-r1:free", "mistralai/codestral-2508", "mistralai/devstral-medium-2507", "mistralai/devstral-small-2505", "mistralai/devstral-small-2505:free", "mistralai/devstral-small-2507", "mistralai/mistral-7b-instruct:free", "mistralai/mistral-medium-3", "mistralai/mistral-medium-3.1", "mistralai/mistral-nemo:free", "mistralai/mistral-small-3.1-24b-instruct", "mistralai/mistral-small-3.2-24b-instruct", "mistralai/mistral-small-3.2-24b-instruct:free", "moonshotai/kimi-dev-72b:free", "moonshotai/kimi-k2", "moonshotai/kimi-k2-0905", "moonshotai/kimi-k2:free", "nousresearch/deephermes-3-llama-3-8b-preview", "nousresearch/hermes-4-405b", "nousresearch/hermes-4-70b", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4o-mini", "openai/gpt-5", "openai/gpt-5-chat", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/o4-mini", "openrouter/cypher-alpha:free", "openrouter/horizon-alpha", "openrouter/horizon-beta", "openrouter/sonoma-dusk-alpha", "openrouter/sonoma-sky-alpha", "qwen/qwen-2.5-coder-32b-instruct", "qwen/qwen2.5-vl-32b-instruct:free", "qwen/qwen2.5-vl-72b-instruct", "qwen/qwen2.5-vl-72b-instruct:free", "qwen/qwen3-14b:free", "qwen/qwen3-235b-a22b-07-25", "qwen/qwen3-235b-a22b-07-25:free", "qwen/qwen3-235b-a22b-thinking-2507", "qwen/qwen3-235b-a22b:free", "qwen/qwen3-30b-a3b-instruct-2507", "qwen/qwen3-30b-a3b:free", "qwen/qwen3-32b:free", "qwen/qwen3-8b:free", "qwen/qwen3-coder", "qwen/qwen3-coder:free", "qwen/qwen3-max", "qwen/qwen3-next-80b-a3b-instruct", "qwen/qwq-32b:free", "rekaai/reka-flash-3", "sarvamai/sarvam-m:free", "thudm/glm-z1-32b:free", "tngtech/deepseek-r1t2-chimera:free", "x-ai/grok-3", "x-ai/grok-3-beta", "x-ai/grok-3-mini", "x-ai/grok-3-mini-beta", "x-ai/grok-4", "x-ai/grok-4-fast", "x-ai/grok-4-fast:free", "x-ai/grok-code-fast-1", "z-ai/glm-4.5", "z-ai/glm-4.5-air", "z-ai/glm-4.5-air:free", "z-ai/glm-4.5v"];
396
44
  readonly synthetic: readonly ["hf:Qwen/Qwen2.5-Coder-32B-Instruct", "hf:Qwen/Qwen3-235B-A22B-Instruct-2507", "hf:Qwen/Qwen3-235B-A22B-Thinking-2507", "hf:Qwen/Qwen3-Coder-480B-A35B-Instruct", "hf:deepseek-ai/DeepSeek-R1", "hf:deepseek-ai/DeepSeek-R1-0528", "hf:deepseek-ai/DeepSeek-V3", "hf:deepseek-ai/DeepSeek-V3-0324", "hf:deepseek-ai/DeepSeek-V3.1", "hf:deepseek-ai/DeepSeek-V3.1-Terminus", "hf:meta-llama/Llama-3.1-405B-Instruct", "hf:meta-llama/Llama-3.1-70B-Instruct", "hf:meta-llama/Llama-3.1-8B-Instruct", "hf:meta-llama/Llama-3.3-70B-Instruct", "hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8", "hf:meta-llama/Llama-4-Scout-17B-16E-Instruct", "hf:moonshotai/Kimi-K2-Instruct", "hf:moonshotai/Kimi-K2-Instruct-0905", "hf:openai/gpt-oss-120b", "hf:zai-org/GLM-4.5"];
397
45
  readonly deepinfra: readonly ["Qwen/Qwen3-Coder-480B-A35B-Instruct", "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo", "moonshotai/Kimi-K2-Instruct", "zai-org/GLM-4.5"];
398
46
  readonly zhipuai: readonly ["glm-4.5", "glm-4.5-air", "glm-4.5-flash", "glm-4.5v", "glm-4.6"];
@@ -407,6 +55,7 @@ export declare const PROVIDER_MODELS: {
407
55
  readonly modelscope: readonly ["Qwen/Qwen3-235B-A22B-Instruct-2507", "Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-30B-A3B-Instruct-2507", "Qwen/Qwen3-30B-A3B-Thinking-2507", "Qwen/Qwen3-Coder-30B-A3B-Instruct", "Qwen/Qwen3-Coder-480B-A35B-Instruct", "ZhipuAI/GLM-4.5"];
408
56
  readonly llama: readonly ["cerebras-llama-4-maverick-17b-128e-instruct", "cerebras-llama-4-scout-17b-16e-instruct", "groq-llama-4-maverick-17b-128e-instruct", "llama-3.3-70b-instruct", "llama-3.3-8b-instruct", "llama-4-maverick-17b-128e-instruct-fp8", "llama-4-scout-17b-16e-instruct-fp8"];
409
57
  readonly cerebras: readonly ["gpt-oss-120b", "qwen-3-235b-a22b-instruct-2507", "qwen-3-coder-480b"];
58
+ readonly netlify: readonly ["anthropic/claude-opus-4-1-20250805", "anthropic/claude-opus-4-20250514", "anthropic/claude-sonnet-4-20250514", "anthropic/claude-3-7-sonnet-20250219", "anthropic/claude-3-5-haiku-20241022", "anthropic/claude-sonnet-4-5-20250929", "anthropic/claude-3-7-sonnet-latest", "anthropic/claude-3-5-haiku-latest", "anthropic/claude-3-haiku-20240307", "gemini/gemini-flash-latest", "gemini/gemini-2.5-flash", "gemini/gemini-2.5-flash-lite-preview-09-2025", "gemini/gemini-2.5-flash-lite", "gemini/gemini-2.0-flash", "gemini/gemini-2.0-flash-lite", "gemini/gemini-2.5-pro", "gemini/gemini-2.5-flash-preview-09-2025", "gemini/gemini-flash-lite-latest", "gemini/gemini-2.5-flash-image-preview", "openai/o3", "openai/gpt-5-mini", "openai/gpt-4.1-nano", "openai/o4-mini", "openai/o3-mini", "openai/codex-mini-latest", "openai/gpt-5", "openai/gpt-5-codex", "openai/gpt-5-nano", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4o", "openai/gpt-4o-mini"];
410
59
  };
411
60
  /**
412
61
  * Type definitions for autocomplete support
@@ -433,17 +82,6 @@ export declare function isProviderRegistered(providerId: string): boolean;
433
82
  * Get all registered provider IDs
434
83
  */
435
84
  export declare function getRegisteredProviders(): string[];
436
- /**
437
- * Provider configuration interface
438
- */
439
- export interface ProviderConfig {
440
- url: string;
441
- apiKeyEnvVar: string;
442
- apiKeyHeader?: string;
443
- name: string;
444
- models: readonly string[];
445
- docUrl?: string;
446
- }
447
85
  /**
448
86
  * Parse a model string to extract provider and model ID
449
87
  * Examples:
@@ -1 +1 @@
1
- {"version":3,"file":"provider-registry.generated.d.ts","sourceRoot":"","sources":["../../../src/llm/model/provider-registry.generated.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA85BpB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0mBlB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,eAAe,CAAC;AACpD,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC;AAC5C,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,QAAQ,IAAI,cAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7E;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;KAAG,CAAC,IAAI,QAAQ,GAAG,GAAG,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,EAAE;CAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAE9G;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAEhF;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAEhE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,MAAM,EAAE,CAEjD;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG;IAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAqBlG;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,IAAI,kBAAkB,CAG7E"}
1
+ {"version":3,"file":"provider-registry.generated.d.ts","sourceRoot":"","sources":["../../../src/llm/model/provider-registry.generated.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CA4+BnD,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsoBlB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,eAAe,CAAC;AACpD,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC;AAC5C,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,QAAQ,IAAI,cAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7E;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;KAAG,CAAC,IAAI,QAAQ,GAAG,GAAG,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,EAAE;CAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAE9G;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAEhF;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAEhE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,MAAM,EAAE,CAEjD;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG;IAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAqBlG;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,IAAI,kBAAkB,CAG7E"}
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkRNIY63FP_cjs = require('../chunk-RNIY63FP.cjs');
3
+ var chunkWMGV4CS3_cjs = require('../chunk-WMGV4CS3.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "loop", {
8
8
  enumerable: true,
9
- get: function () { return chunkRNIY63FP_cjs.loop; }
9
+ get: function () { return chunkWMGV4CS3_cjs.loop; }
10
10
  });
11
11
  //# sourceMappingURL=index.cjs.map
12
12
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { loop } from '../chunk-JKLLXBOY.js';
1
+ export { loop } from '../chunk-2EMOWXLL.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkBCWRUNMS_cjs = require('../chunk-BCWRUNMS.cjs');
3
+ var chunkK3UPABLX_cjs = require('../chunk-K3UPABLX.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Mastra", {
8
8
  enumerable: true,
9
- get: function () { return chunkBCWRUNMS_cjs.Mastra; }
9
+ get: function () { return chunkK3UPABLX_cjs.Mastra; }
10
10
  });
11
11
  //# sourceMappingURL=index.cjs.map
12
12
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { Mastra } from '../chunk-COC64XPP.js';
1
+ export { Mastra } from '../chunk-7CJKBCDL.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunk4VNAMG7K_cjs = require('../chunk-4VNAMG7K.cjs');
3
+ var chunk2C5AQMP5_cjs = require('../chunk-2C5AQMP5.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "MastraMemory", {
8
8
  enumerable: true,
9
- get: function () { return chunk4VNAMG7K_cjs.MastraMemory; }
9
+ get: function () { return chunk2C5AQMP5_cjs.MastraMemory; }
10
10
  });
11
11
  Object.defineProperty(exports, "MemoryProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunk4VNAMG7K_cjs.MemoryProcessor; }
13
+ get: function () { return chunk2C5AQMP5_cjs.MemoryProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "memoryDefaultOptions", {
16
16
  enumerable: true,
17
- get: function () { return chunk4VNAMG7K_cjs.memoryDefaultOptions; }
17
+ get: function () { return chunk2C5AQMP5_cjs.memoryDefaultOptions; }
18
18
  });
19
19
  //# sourceMappingURL=index.cjs.map
20
20
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-IAXAPVOP.js';
1
+ export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-M24QFL6S.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map