@xsai-ext/providers 0.4.1 → 0.4.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/{anthropic-Bel15KQV.d.ts → anthropic-C6HzSBof.d.ts} +1 -1
- package/dist/create.d.ts +87 -49
- package/dist/create.js +6 -1
- package/dist/index.d.ts +112 -54
- package/dist/index.js +12 -4
- package/dist/special/create.d.ts +1 -1
- package/dist/{together-ai-CzFuvpt-.js → together-ai-SWwaUOgP.js} +35 -6
- package/dist/types-B2HZyaCH.d.ts +7 -0
- package/package.json +2 -2
- package/dist/types-Czo87gCh.d.ts +0 -7
package/dist/index.js
CHANGED
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import process from 'node:process';
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as createAbacus, a as createAlibaba, b as createAlibabaCn, d as createBailing, e as createBaseten, f as createCerebras, g as createChutes, h as createCohere, i as createCortecs, j as createDeepinfra, k as createDeepSeek, l as createFastrouter, m as createFireworks, n as createFirmware, o as createFriendli, p as createGithubCopilot, q as createGithubModels, r as createGoogleGenerativeAI, s as createGroq, t as createHelicone, u as createHuggingface, v as createIflowcn, w as createInception, x as createInference, y as createIoNet, z as createKimiForCoding, A as createLlama, B as createLmstudio, C as createLucidquery, D as createMinimax, E as createMinimaxCn, F as createMistral, G as createModelscope, H as createMoonshotai, I as createMoonshotaiCn, J as createMorph, K as createNanoGpt, L as createNebius, M as createNovitaAi, N as createNvidia, O as createOllamaCloud, P as createOpenAI, Q as createOpencode, R as createOvhcloud, S as createPerplexity, T as createPoe, U as createPrivatemodeAi, V as createRequesty, W as createScaleway, X as createSiliconFlow, Y as createSiliconflowCn, Z as createSubmodel, _ as createSynthetic, $ as createUpstage, a0 as createVenice, a1 as createVivgrid, a2 as createVultr, a3 as createWandb, a4 as createXai, a5 as createXiaomi, a6 as createZai, a7 as createZaiCodingPlan, a8 as createZenmux, a9 as createZhipuai, aa as createZhipuaiCodingPlan, ab as createStepfun, ac as createTencentHunyuan, ad as createOllama, ae as createLitellm, af as createAnthropic, ag as createFeatherless, ah as createOpenRouter, ai as createTogetherAI } from './together-ai-SWwaUOgP.js';
|
|
3
3
|
import './utils/index.js';
|
|
4
4
|
import '@xsai/shared';
|
|
5
5
|
|
|
6
|
+
const abacus = createAbacus(process.env.ABACUS_API_KEY ?? "");
|
|
6
7
|
const alibaba = createAlibaba(process.env.DASHSCOPE_API_KEY ?? "");
|
|
7
8
|
const alibabaCn = createAlibabaCn(process.env.DASHSCOPE_API_KEY ?? "");
|
|
8
9
|
const bailing = createBailing(process.env.BAILING_API_TOKEN ?? "");
|
|
9
10
|
const baseten = createBaseten(process.env.BASETEN_API_KEY ?? "");
|
|
10
11
|
const cerebras = createCerebras(process.env.CEREBRAS_API_KEY ?? "");
|
|
11
12
|
const chutes = createChutes(process.env.CHUTES_API_KEY ?? "");
|
|
13
|
+
const cohere = createCohere(process.env.COHERE_API_KEY ?? "");
|
|
12
14
|
const cortecs = createCortecs(process.env.CORTECS_API_KEY ?? "");
|
|
13
15
|
const deepinfra = createDeepinfra(process.env.DEEPINFRA_API_KEY ?? "");
|
|
14
16
|
const deepseek = createDeepSeek(process.env.DEEPSEEK_API_KEY ?? "");
|
|
15
17
|
const fastrouter = createFastrouter(process.env.FASTROUTER_API_KEY ?? "");
|
|
16
18
|
const fireworks = createFireworks(process.env.FIREWORKS_API_KEY ?? "");
|
|
19
|
+
const firmware = createFirmware(process.env.FIRMWARE_API_KEY ?? "");
|
|
20
|
+
const friendli = createFriendli(process.env.FRIENDLI_TOKEN ?? "");
|
|
17
21
|
const githubCopilot = createGithubCopilot(process.env.GITHUB_TOKEN ?? "");
|
|
18
22
|
const githubModels = createGithubModels(process.env.GITHUB_TOKEN ?? "");
|
|
19
23
|
const google = createGoogleGenerativeAI(process.env.GOOGLE_GENERATIVE_AI_API_KEY ?? process.env.GEMINI_API_KEY ?? "");
|
|
@@ -35,7 +39,9 @@ const modelscope = createModelscope(process.env.MODELSCOPE_API_KEY ?? "");
|
|
|
35
39
|
const moonshotai = createMoonshotai(process.env.MOONSHOT_API_KEY ?? "");
|
|
36
40
|
const moonshotaiCn = createMoonshotaiCn(process.env.MOONSHOT_API_KEY ?? "");
|
|
37
41
|
const morph = createMorph(process.env.MORPH_API_KEY ?? "");
|
|
42
|
+
const nanoGpt = createNanoGpt(process.env.NANO_GPT_API_KEY ?? "");
|
|
38
43
|
const nebius = createNebius(process.env.NEBIUS_API_KEY ?? "");
|
|
44
|
+
const novitaAi = createNovitaAi(process.env.NOVITA_API_KEY ?? "");
|
|
39
45
|
const nvidia = createNvidia(process.env.NVIDIA_API_KEY ?? "");
|
|
40
46
|
const ollamaCloud = createOllamaCloud(process.env.OLLAMA_API_KEY ?? "");
|
|
41
47
|
const openai = createOpenAI(process.env.OPENAI_API_KEY ?? "");
|
|
@@ -43,14 +49,16 @@ const opencode = createOpencode(process.env.OPENCODE_API_KEY ?? "");
|
|
|
43
49
|
const ovhcloud = createOvhcloud(process.env.OVHCLOUD_API_KEY ?? "");
|
|
44
50
|
const perplexity = createPerplexity(process.env.PERPLEXITY_API_KEY ?? "");
|
|
45
51
|
const poe = createPoe(process.env.POE_API_KEY ?? "");
|
|
52
|
+
const privatemodeAi = createPrivatemodeAi(process.env.PRIVATEMODE_API_KEY ?? "");
|
|
46
53
|
const requesty = createRequesty(process.env.REQUESTY_API_KEY ?? "");
|
|
47
54
|
const scaleway = createScaleway(process.env.SCALEWAY_API_KEY ?? "");
|
|
48
55
|
const siliconflow = createSiliconFlow(process.env.SILICONFLOW_API_KEY ?? "");
|
|
49
|
-
const siliconflowCn = createSiliconflowCn(process.env.
|
|
56
|
+
const siliconflowCn = createSiliconflowCn(process.env.SILICONFLOW_CN_API_KEY ?? "");
|
|
50
57
|
const submodel = createSubmodel(process.env.SUBMODEL_INSTAGEN_ACCESS_KEY ?? "");
|
|
51
58
|
const synthetic = createSynthetic(process.env.SYNTHETIC_API_KEY ?? "");
|
|
52
59
|
const upstage = createUpstage(process.env.UPSTAGE_API_KEY ?? "");
|
|
53
60
|
const venice = createVenice(process.env.VENICE_API_KEY ?? "");
|
|
61
|
+
const vivgrid = createVivgrid(process.env.VIVGRID_API_KEY ?? "");
|
|
54
62
|
const vultr = createVultr(process.env.VULTR_API_KEY ?? "");
|
|
55
63
|
const wandb = createWandb(process.env.WANDB_API_KEY ?? "");
|
|
56
64
|
const xai = createXai(process.env.XAI_API_KEY ?? "");
|
|
@@ -60,7 +68,6 @@ const zaiCodingPlan = createZaiCodingPlan(process.env.ZHIPU_API_KEY ?? "");
|
|
|
60
68
|
const zenmux = createZenmux(process.env.ZENMUX_API_KEY ?? "");
|
|
61
69
|
const zhipuai = createZhipuai(process.env.ZHIPU_API_KEY ?? "");
|
|
62
70
|
const zhipuaiCodingPlan = createZhipuaiCodingPlan(process.env.ZHIPU_API_KEY ?? "");
|
|
63
|
-
const novita = createNovita(process.env.NOVITA_API_KEY ?? "");
|
|
64
71
|
const stepfun = createStepfun(process.env.STEPFUN_API_KEY ?? "");
|
|
65
72
|
const tencentHunyuan = createTencentHunyuan(process.env.TENCENT_HUNYUAN_API_KEY ?? "");
|
|
66
73
|
const ollama = createOllama(process.env.OLLAMA_API_KEY ?? "");
|
|
@@ -70,5 +77,6 @@ const anthropic = createAnthropic(process.env.ANTHROPIC_API_KEY ?? "");
|
|
|
70
77
|
const featherless = createFeatherless(process.env.FEATHERLESS_API_KEY ?? "");
|
|
71
78
|
const openrouter = createOpenRouter(process.env.OPENROUTER_API_KEY ?? "");
|
|
72
79
|
const togetherai = createTogetherAI(process.env.TOGETHER_API_KEY ?? "");
|
|
80
|
+
const novita = novitaAi;
|
|
73
81
|
|
|
74
|
-
export { alibaba, alibabaCn, anthropic, bailing, baseten, cerebras, chutes, cortecs, deepinfra, deepseek, fastrouter, featherless, fireworks, githubCopilot, githubModels, google, groq, helicone, huggingface, iflowcn, inception, inference, ioNet, kimiForCoding, litellm, llama, lmstudio, lucidquery, minimax, minimaxCn, mistral, modelscope, moonshotai, moonshotaiCn, morph, nebius, novita, nvidia, ollama, ollamaCloud, openai, opencode, openrouter, ovhcloud, perplexity, poe, requesty, scaleway, siliconflow, siliconflowCn, stepfun, submodel, synthetic, tencentHunyuan, togetherai, upstage, venice, vultr, wandb, xai, xiaomi, zai, zaiCodingPlan, zenmux, zhipuai, zhipuaiCodingPlan };
|
|
82
|
+
export { abacus, alibaba, alibabaCn, anthropic, bailing, baseten, cerebras, chutes, cohere, cortecs, deepinfra, deepseek, fastrouter, featherless, fireworks, firmware, friendli, githubCopilot, githubModels, google, groq, helicone, huggingface, iflowcn, inception, inference, ioNet, kimiForCoding, litellm, llama, lmstudio, lucidquery, minimax, minimaxCn, mistral, modelscope, moonshotai, moonshotaiCn, morph, nanoGpt, nebius, novita, novitaAi, nvidia, ollama, ollamaCloud, openai, opencode, openrouter, ovhcloud, perplexity, poe, privatemodeAi, requesty, scaleway, siliconflow, siliconflowCn, stepfun, submodel, synthetic, tencentHunyuan, togetherai, upstage, venice, vivgrid, vultr, wandb, xai, xiaomi, zai, zaiCodingPlan, zenmux, zhipuai, zhipuaiCodingPlan };
|
package/dist/special/create.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SpeechProvider, C as ChatProvider, E as EmbedProvider, T as TranscriptionProvider, M as ModelProvider } from '../types-DW1hvH0W.js';
|
|
2
|
-
import { a as AzureModels, C as CloudflareWorkersAiModels } from '../types-
|
|
2
|
+
import { a as AzureModels, C as CloudflareWorkersAiModels } from '../types-B2HZyaCH.js';
|
|
3
3
|
import '@xsai/shared';
|
|
4
4
|
|
|
5
5
|
interface CreateAzureOptions {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { merge, createModelProvider, createChatProvider, createEmbedProvider, createTranscriptionProvider, createSpeechProvider, createImageProvider, createChatProviderWithExtraOptions } from './utils/index.js';
|
|
2
2
|
import { objCamelToSnake } from '@xsai/shared';
|
|
3
3
|
|
|
4
|
+
const createAbacus = (apiKey, baseURL = "https://routellm.abacus.ai/v1") => merge(
|
|
5
|
+
createChatProvider({ apiKey, baseURL }),
|
|
6
|
+
createModelProvider({ apiKey, baseURL })
|
|
7
|
+
);
|
|
4
8
|
const createAlibaba = (apiKey, baseURL = "https://dashscope-intl.aliyuncs.com/compatible-mode/v1") => merge(
|
|
5
9
|
createChatProvider({ apiKey, baseURL }),
|
|
6
10
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -26,6 +30,11 @@ const createChutes = (apiKey, baseURL = "https://llm.chutes.ai/v1") => merge(
|
|
|
26
30
|
createChatProvider({ apiKey, baseURL }),
|
|
27
31
|
createModelProvider({ apiKey, baseURL })
|
|
28
32
|
);
|
|
33
|
+
const createCohere = (apiKey, baseURL = "https://api.cohere.ai/compatibility/v1/") => merge(
|
|
34
|
+
createChatProvider({ apiKey, baseURL }),
|
|
35
|
+
createModelProvider({ apiKey, baseURL }),
|
|
36
|
+
createEmbedProvider({ apiKey, baseURL })
|
|
37
|
+
);
|
|
29
38
|
const createCortecs = (apiKey, baseURL = "https://api.cortecs.ai/v1") => merge(
|
|
30
39
|
createChatProvider({ apiKey, baseURL }),
|
|
31
40
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -47,6 +56,14 @@ const createFireworks = (apiKey, baseURL = "https://api.fireworks.ai/inference/v
|
|
|
47
56
|
createChatProvider({ apiKey, baseURL }),
|
|
48
57
|
createModelProvider({ apiKey, baseURL })
|
|
49
58
|
);
|
|
59
|
+
const createFirmware = (apiKey, baseURL = "https://app.firmware.ai/api/v1") => merge(
|
|
60
|
+
createChatProvider({ apiKey, baseURL }),
|
|
61
|
+
createModelProvider({ apiKey, baseURL })
|
|
62
|
+
);
|
|
63
|
+
const createFriendli = (apiKey, baseURL = "https://api.friendli.ai/serverless/v1") => merge(
|
|
64
|
+
createChatProvider({ apiKey, baseURL }),
|
|
65
|
+
createModelProvider({ apiKey, baseURL })
|
|
66
|
+
);
|
|
50
67
|
const createGithubCopilot = (apiKey, baseURL = "https://api.githubcopilot.com") => merge(
|
|
51
68
|
createChatProvider({ apiKey, baseURL }),
|
|
52
69
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -134,10 +151,18 @@ const createMorph = (apiKey, baseURL = "https://api.morphllm.com/v1") => merge(
|
|
|
134
151
|
createChatProvider({ apiKey, baseURL }),
|
|
135
152
|
createModelProvider({ apiKey, baseURL })
|
|
136
153
|
);
|
|
154
|
+
const createNanoGpt = (apiKey, baseURL = "https://nano-gpt.com/api/v1") => merge(
|
|
155
|
+
createChatProvider({ apiKey, baseURL }),
|
|
156
|
+
createModelProvider({ apiKey, baseURL })
|
|
157
|
+
);
|
|
137
158
|
const createNebius = (apiKey, baseURL = "https://api.tokenfactory.nebius.com/v1") => merge(
|
|
138
159
|
createChatProvider({ apiKey, baseURL }),
|
|
139
160
|
createModelProvider({ apiKey, baseURL })
|
|
140
161
|
);
|
|
162
|
+
const createNovitaAi = (apiKey, baseURL = "https://api.novita.ai/openai") => merge(
|
|
163
|
+
createChatProvider({ apiKey, baseURL }),
|
|
164
|
+
createModelProvider({ apiKey, baseURL })
|
|
165
|
+
);
|
|
141
166
|
const createNvidia = (apiKey, baseURL = "https://integrate.api.nvidia.com/v1") => merge(
|
|
142
167
|
createChatProvider({ apiKey, baseURL }),
|
|
143
168
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -170,6 +195,10 @@ const createPoe = (apiKey, baseURL = "https://api.poe.com/v1") => merge(
|
|
|
170
195
|
createChatProvider({ apiKey, baseURL }),
|
|
171
196
|
createModelProvider({ apiKey, baseURL })
|
|
172
197
|
);
|
|
198
|
+
const createPrivatemodeAi = (apiKey, baseURL = "http://localhost:8080/v1") => merge(
|
|
199
|
+
createChatProvider({ apiKey, baseURL }),
|
|
200
|
+
createModelProvider({ apiKey, baseURL })
|
|
201
|
+
);
|
|
173
202
|
const createRequesty = (apiKey, baseURL = "https://router.requesty.ai/v1") => merge(
|
|
174
203
|
createChatProvider({ apiKey, baseURL }),
|
|
175
204
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -197,7 +226,7 @@ const createSynthetic = (apiKey, baseURL = "https://api.synthetic.new/v1") => me
|
|
|
197
226
|
createChatProvider({ apiKey, baseURL }),
|
|
198
227
|
createModelProvider({ apiKey, baseURL })
|
|
199
228
|
);
|
|
200
|
-
const createUpstage = (apiKey, baseURL = "https://api.upstage.ai") => merge(
|
|
229
|
+
const createUpstage = (apiKey, baseURL = "https://api.upstage.ai/v1/solar") => merge(
|
|
201
230
|
createChatProvider({ apiKey, baseURL }),
|
|
202
231
|
createModelProvider({ apiKey, baseURL })
|
|
203
232
|
);
|
|
@@ -205,6 +234,10 @@ const createVenice = (apiKey, baseURL = "https://api.venice.ai/api/v1") => merge
|
|
|
205
234
|
createChatProvider({ apiKey, baseURL }),
|
|
206
235
|
createModelProvider({ apiKey, baseURL })
|
|
207
236
|
);
|
|
237
|
+
const createVivgrid = (apiKey, baseURL = "https://api.vivgrid.com/v1") => merge(
|
|
238
|
+
createChatProvider({ apiKey, baseURL }),
|
|
239
|
+
createModelProvider({ apiKey, baseURL })
|
|
240
|
+
);
|
|
208
241
|
const createVultr = (apiKey, baseURL = "https://api.vultrinference.com/v1") => merge(
|
|
209
242
|
createChatProvider({ apiKey, baseURL }),
|
|
210
243
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -241,10 +274,6 @@ const createZhipuaiCodingPlan = (apiKey, baseURL = "https://open.bigmodel.cn/api
|
|
|
241
274
|
createChatProvider({ apiKey, baseURL }),
|
|
242
275
|
createModelProvider({ apiKey, baseURL })
|
|
243
276
|
);
|
|
244
|
-
const createNovita = (apiKey, baseURL = "https://api.novita.ai/v3/openai/") => merge(
|
|
245
|
-
createChatProvider({ apiKey, baseURL }),
|
|
246
|
-
createModelProvider({ apiKey, baseURL })
|
|
247
|
-
);
|
|
248
277
|
const createStepfun = (apiKey, baseURL = "https://api.stepfun.com/v1/") => merge(
|
|
249
278
|
createChatProvider({ apiKey, baseURL }),
|
|
250
279
|
createModelProvider({ apiKey, baseURL }),
|
|
@@ -321,4 +350,4 @@ const createTogetherAI = (apiKey, baseURL = "https://api.together.xyz/v1/") => m
|
|
|
321
350
|
})
|
|
322
351
|
);
|
|
323
352
|
|
|
324
|
-
export {
|
|
353
|
+
export { createUpstage as $, createLlama as A, createLmstudio as B, createLucidquery as C, createMinimax as D, createMinimaxCn as E, createMistral as F, createModelscope as G, createMoonshotai as H, createMoonshotaiCn as I, createMorph as J, createNanoGpt as K, createNebius as L, createNovitaAi as M, createNvidia as N, createOllamaCloud as O, createOpenAI as P, createOpencode as Q, createOvhcloud as R, createPerplexity as S, createPoe as T, createPrivatemodeAi as U, createRequesty as V, createScaleway as W, createSiliconFlow as X, createSiliconflowCn as Y, createSubmodel as Z, createSynthetic as _, createAlibaba as a, createVenice as a0, createVivgrid as a1, createVultr as a2, createWandb as a3, createXai as a4, createXiaomi as a5, createZai as a6, createZaiCodingPlan as a7, createZenmux as a8, createZhipuai as a9, createZhipuaiCodingPlan as aa, createStepfun as ab, createTencentHunyuan as ac, createOllama as ad, createLitellm as ae, createAnthropic as af, createFeatherless as ag, createOpenRouter as ah, createTogetherAI as ai, createAlibabaCn as b, createAbacus as c, createBailing as d, createBaseten as e, createCerebras as f, createChutes as g, createCohere as h, createCortecs as i, createDeepinfra as j, createDeepSeek as k, createFastrouter as l, createFireworks as m, createFirmware as n, createFriendli as o, createGithubCopilot as p, createGithubModels as q, createGoogleGenerativeAI as r, createGroq as s, createHelicone as t, createHuggingface as u, createIflowcn as v, createInception as w, createInference as x, createIoNet as y, createKimiForCoding as z };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type OpenrouterModels = 'moonshotai/kimi-k2' | 'moonshotai/kimi-k2-0905' | 'moonshotai/kimi-dev-72b:free' | 'moonshotai/kimi-k2-thinking' | 'moonshotai/kimi-k2-0905:exacto' | 'moonshotai/kimi-k2:free' | 'thudm/glm-z1-32b:free' | 'nousresearch/hermes-4-70b' | 'nousresearch/hermes-4-405b' | 'nousresearch/deephermes-3-llama-3-8b-preview' | 'nvidia/nemotron-nano-9b-v2' | 'x-ai/grok-4' | 'x-ai/grok-code-fast-1' | 'x-ai/grok-3' | 'x-ai/grok-4-fast' | 'x-ai/grok-3-beta' | 'x-ai/grok-3-mini-beta' | 'x-ai/grok-3-mini' | 'x-ai/grok-4.1-fast' | 'kwaipilot/kat-coder-pro:free' | 'cognitivecomputations/dolphin3.0-mistral-24b' | 'cognitivecomputations/dolphin3.0-r1-mistral-24b' | 'deepseek/deepseek-chat-v3.1' | 'deepseek/deepseek-r1:free' | 'deepseek/deepseek-v3.2-speciale' | 'deepseek/deepseek-v3-base:free' | 'deepseek/deepseek-v3.1-terminus' | 'deepseek/deepseek-r1-0528-qwen3-8b:free' | 'deepseek/deepseek-chat-v3-0324' | 'deepseek/deepseek-r1-0528:free' | 'deepseek/deepseek-r1-distill-llama-70b' | 'deepseek/deepseek-r1-distill-qwen-14b' | 'deepseek/deepseek-v3.1-terminus:exacto' | 'deepseek/deepseek-v3.2' | 'featherless/qwerky-72b' | 'tngtech/deepseek-r1t2-chimera:free' | 'minimax/minimax-m1' | 'minimax/minimax-m2' | 'minimax/minimax-01' | 'minimax/minimax-m2.1' | 'google/gemini-2.0-flash-001' | 'google/gemma-2-9b-it:free' | 'google/gemini-3-flash-preview' | 'google/gemini-3-pro-preview' | 'google/gemini-2.5-flash' | 'google/gemini-2.5-pro-preview-05-06' | 'google/gemma-3n-e4b-it' | 'google/gemini-2.5-flash-lite' | 'google/gemini-2.5-pro-preview-06-05' | 'google/gemini-2.5-flash-preview-09-2025' | 'google/gemini-2.5-pro' | 'google/gemma-3-12b-it' | 'google/gemma-3n-e4b-it:free' | 'google/gemini-2.5-flash-lite-preview-09-2025' | 'google/gemini-2.0-flash-exp:free' | 'google/gemma-3-27b-it' | 'microsoft/mai-ds-r1:free' | 'openai/gpt-oss-safeguard-20b' | 'openai/gpt-5.2-codex' | 'openai/gpt-5.1-codex' | 'openai/gpt-4.1-mini' | 'openai/gpt-5-chat' | 'openai/gpt-5.2-pro' | 'openai/gpt-5.1-codex-mini' | 'openai/gpt-5.2-chat-latest' | 'openai/gpt-5.1' | 'openai/gpt-5-nano' | 'openai/gpt-5-codex' | 'openai/gpt-4.1' | 'openai/gpt-oss-120b:exacto' | 'openai/o4-mini' | 'openai/gpt-5.1-chat' | 'openai/gpt-5-mini' | 'openai/gpt-5-image' | 'openai/gpt-oss-20b' | 'openai/gpt-oss-120b' | 'openai/gpt-4o-mini' | 'openai/gpt-5' | 'openai/gpt-5-pro' | 'openai/gpt-5.2' | 'openrouter/sherlock-think-alpha' | 'openrouter/sherlock-dash-alpha' | 'z-ai/glm-4.7' | 'z-ai/glm-4.5' | 'z-ai/glm-4.5-air' | 'z-ai/glm-4.5v' | 'z-ai/glm-4.6' | 'z-ai/glm-4.6:exacto' | 'z-ai/glm-4.5-air:free' | 'qwen/qwen3-coder' | 'qwen/qwen3-32b:free' | 'qwen/qwen3-next-80b-a3b-instruct' | 'qwen/qwen-2.5-coder-32b-instruct' | 'qwen/qwen3-235b-a22b:free' | 'qwen/qwen3-coder-flash' | 'qwen/qwq-32b:free' | 'qwen/qwen3-30b-a3b-thinking-2507' | 'qwen/qwen3-30b-a3b:free' | 'qwen/qwen2.5-vl-72b-instruct' | 'qwen/qwen3-14b:free' | 'qwen/qwen3-30b-a3b-instruct-2507' | 'qwen/qwen3-coder-30b-a3b-instruct' | 'qwen/qwen3-235b-a22b-thinking-2507' | 'qwen/qwen2.5-vl-32b-instruct:free' | 'qwen/qwen2.5-vl-72b-instruct:free' | 'qwen/qwen3-235b-a22b-07-25:free' | 'qwen/qwen3-coder:free' | 'qwen/qwen3-235b-a22b-07-25' | 'qwen/qwen3-8b:free' | 'qwen/qwen3-max' | 'qwen/qwen3-next-80b-a3b-thinking' | 'qwen/qwen3-coder:exacto' | 'mistralai/devstral-medium-2507' | 'mistralai/devstral-2512:free' | 'mistralai/devstral-2512' | 'mistralai/codestral-2508' | 'mistralai/mistral-7b-instruct:free' | 'mistralai/devstral-small-2505' | 'mistralai/mistral-small-3.2-24b-instruct' | 'mistralai/devstral-small-2505:free' | 'mistralai/mistral-small-3.2-24b-instruct:free' | 'mistralai/mistral-medium-3' | 'mistralai/mistral-small-3.1-24b-instruct' | 'mistralai/devstral-small-2507' | 'mistralai/mistral-medium-3.1' | 'mistralai/mistral-nemo:free' | 'rekaai/reka-flash-3' | 'meta-llama/llama-3.2-11b-vision-instruct' | 'meta-llama/llama-3.3-70b-instruct:free' | 'meta-llama/llama-4-scout:free' | 'anthropic/claude-opus-4' | 'anthropic/claude-haiku-4.5' | 'anthropic/claude-opus-4.1' | 'anthropic/claude-3.7-sonnet' | 'anthropic/claude-3.5-haiku' | 'anthropic/claude-sonnet-4' | 'anthropic/claude-opus-4.5' | 'anthropic/claude-sonnet-4.5' | 'sarvamai/sarvam-m:free';
|
|
2
|
+
type AnthropicModels = 'claude-opus-4-0' | 'claude-3-5-sonnet-20241022' | 'claude-opus-4-1' | 'claude-haiku-4-5' | 'claude-3-5-sonnet-20240620' | 'claude-3-5-haiku-latest' | 'claude-opus-4-5' | 'claude-3-opus-20240229' | 'claude-opus-4-5-20251101' | 'claude-sonnet-4-5' | 'claude-sonnet-4-5-20250929' | 'claude-sonnet-4-20250514' | 'claude-opus-4-20250514' | 'claude-3-5-haiku-20241022' | 'claude-3-haiku-20240307' | 'claude-3-7-sonnet-20250219' | 'claude-3-7-sonnet-latest' | 'claude-sonnet-4-0' | 'claude-opus-4-1-20250805' | 'claude-3-sonnet-20240229' | 'claude-haiku-4-5-20251001';
|
|
3
|
+
type AzureModels = 'gpt-4.1-nano' | 'text-embedding-3-small' | 'grok-4-fast-non-reasoning' | 'deepseek-r1-0528' | 'grok-4-fast-reasoning' | 'phi-3-medium-128k-instruct' | 'gpt-4' | 'claude-opus-4-1' | 'gpt-5.2-chat' | 'llama-3.2-11b-vision-instruct' | 'cohere-embed-v-4-0' | 'cohere-command-r-08-2024' | 'grok-4' | 'cohere-embed-v3-multilingual' | 'phi-4-mini' | 'gpt-4-32k' | 'gpt-5.2-codex' | 'meta-llama-3.1-405b-instruct' | 'deepseek-r1' | 'grok-code-fast-1' | 'gpt-5.1-codex' | 'phi-3-mini-4k-instruct' | 'claude-haiku-4-5' | 'deepseek-v3.2-speciale' | 'mistral-medium-2505' | 'claude-opus-4-5' | 'phi-3-small-128k-instruct' | 'cohere-command-a' | 'cohere-command-r-plus-08-2024' | 'llama-4-maverick-17b-128e-instruct-fp8' | 'gpt-4.1-mini' | 'gpt-5-chat' | 'deepseek-v3.1' | 'phi-4' | 'phi-4-mini-reasoning' | 'claude-sonnet-4-5' | 'gpt-3.5-turbo-0125' | 'grok-3' | 'text-embedding-3-large' | 'meta-llama-3-70b-instruct' | 'deepseek-v3-0324' | 'phi-3-small-8k-instruct' | 'meta-llama-3.1-70b-instruct' | 'gpt-4-turbo' | 'gpt-3.5-turbo-0613' | 'phi-3.5-mini-instruct' | 'o1-preview' | 'llama-3.3-70b-instruct' | 'gpt-5.1-codex-mini' | 'kimi-k2-thinking' | 'model-router' | 'o3-mini' | 'gpt-5.1' | 'gpt-5-nano' | 'gpt-5-codex' | 'llama-3.2-90b-vision-instruct' | 'phi-3-mini-128k-instruct' | 'gpt-4o' | 'gpt-3.5-turbo-0301' | 'ministral-3b' | 'gpt-4.1' | 'o4-mini' | 'phi-4-multimodal' | 'meta-llama-3-8b-instruct' | 'o1' | 'grok-3-mini' | 'gpt-5.1-chat' | 'phi-3.5-moe-instruct' | 'gpt-5-mini' | 'o1-mini' | 'llama-4-scout-17b-16e-instruct' | 'cohere-embed-v3-english' | 'text-embedding-ada-002' | 'meta-llama-3.1-8b-instruct' | 'gpt-5.1-codex-max' | 'gpt-3.5-turbo-instruct' | 'mistral-nemo' | 'o3' | 'codex-mini' | 'phi-3-medium-4k-instruct' | 'phi-4-reasoning' | 'gpt-4-turbo-vision' | 'phi-4-reasoning-plus' | 'gpt-4o-mini' | 'gpt-5' | 'mai-ds-r1' | 'deepseek-v3.2' | 'gpt-5-pro' | 'mistral-large-2411' | 'gpt-5.2' | 'codestral-2501' | 'mistral-small-2503' | 'gpt-3.5-turbo-1106';
|
|
4
|
+
type CloudflareWorkersAiModels = 'mistral-7b-instruct-v0.1-awq' | 'aura-1' | 'mistral-7b-instruct-v0.2' | 'tinyllama-1.1b-chat-v1.0' | 'qwen1.5-0.5b-chat' | 'llama-3.2-11b-vision-instruct' | 'llama-2-13b-chat-awq' | 'llama-3.1-8b-instruct-fp8' | 'whisper' | 'stable-diffusion-xl-base-1.0' | 'llama-2-7b-chat-fp16' | 'resnet-50' | 'stable-diffusion-v1-5-inpainting' | 'sqlcoder-7b-2' | 'llama-3-8b-instruct' | 'llama-2-7b-chat-hf-lora' | 'llama-3.1-8b-instruct' | 'openchat-3.5-0106' | 'openhermes-2.5-mistral-7b-awq' | 'lucid-origin' | 'bart-large-cnn' | 'flux-1-schnell' | 'deepseek-r1-distill-qwen-32b' | 'gemma-2b-it-lora' | 'una-cybertron-7b-v2-bf16' | 'gemma-sea-lion-v4-27b-it' | 'm2m100-1.2b' | 'llama-3.2-3b-instruct' | 'qwen2.5-coder-32b-instruct' | 'stable-diffusion-v1-5-img2img' | 'gemma-7b-it-lora' | 'qwen1.5-14b-chat-awq' | 'qwen1.5-1.8b-chat' | 'mistral-small-3.1-24b-instruct' | 'gemma-7b-it' | 'qwen3-30b-a3b-fp8' | 'llamaguard-7b-awq' | 'hermes-2-pro-mistral-7b' | 'granite-4.0-h-micro' | 'falcon-7b-instruct' | 'llama-3.3-70b-instruct-fp8-fast' | 'llama-3-8b-instruct-awq' | 'phoenix-1.0' | 'phi-2' | 'dreamshaper-8-lcm' | 'discolm-german-7b-v1-awq' | 'llama-2-7b-chat-int8' | 'llama-3.2-1b-instruct' | 'whisper-large-v3-turbo' | 'llama-4-scout-17b-16e-instruct' | 'starling-lm-7b-beta' | 'deepseek-coder-6.7b-base-awq' | 'gemma-3-12b-it' | 'llama-guard-3-8b' | 'neural-chat-7b-v3-1-awq' | 'whisper-tiny-en' | 'stable-diffusion-xl-lightning' | 'mistral-7b-instruct-v0.1' | 'llava-1.5-7b-hf' | 'gpt-oss-20b' | 'deepseek-math-7b-instruct' | 'gpt-oss-120b' | 'melotts' | 'qwen1.5-7b-chat-awq' | 'llama-3.1-8b-instruct-fast' | 'nova-3' | 'llama-3.1-70b-instruct' | 'qwq-32b' | 'zephyr-7b-beta-awq' | 'deepseek-coder-6.7b-instruct-awq' | 'llama-3.1-8b-instruct-awq' | 'mistral-7b-instruct-v0.2-lora' | 'uform-gen2-qwen-500m';
|
|
5
|
+
type TogetheraiModels = 'moonshotai/Kimi-K2-Instruct' | 'moonshotai/Kimi-K2-Thinking' | 'essentialai/Rnj-1-Instruct' | 'openai/gpt-oss-120b' | 'meta-llama/Llama-3.3-70B-Instruct-Turbo' | 'Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8' | 'zai-org/GLM-4.6' | 'deepseek-ai/DeepSeek-R1' | 'deepseek-ai/DeepSeek-V3' | 'deepseek-ai/DeepSeek-V3-1';
|
|
6
|
+
|
|
7
|
+
export type { AnthropicModels as A, CloudflareWorkersAiModels as C, OpenrouterModels as O, TogetheraiModels as T, AzureModels as a };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsai-ext/providers",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.2",
|
|
5
5
|
"description": "extra-small AI SDK.",
|
|
6
6
|
"author": "Moeru AI",
|
|
7
7
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dist"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@xsai/shared": "~0.4.
|
|
48
|
+
"@xsai/shared": "~0.4.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"scule": "^1.3.0",
|
package/dist/types-Czo87gCh.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
type OpenrouterModels = 'moonshotai/kimi-k2' | 'moonshotai/kimi-k2-0905' | 'moonshotai/kimi-dev-72b:free' | 'moonshotai/kimi-k2-thinking' | 'moonshotai/kimi-k2-0905:exacto' | 'moonshotai/kimi-k2:free' | 'thudm/glm-z1-32b:free' | 'nousresearch/hermes-4-70b' | 'nousresearch/hermes-4-405b' | 'nousresearch/deephermes-3-llama-3-8b-preview' | 'nvidia/nemotron-nano-9b-v2' | 'x-ai/grok-4' | 'x-ai/grok-code-fast-1' | 'x-ai/grok-3' | 'x-ai/grok-4-fast' | 'x-ai/grok-3-beta' | 'x-ai/grok-3-mini-beta' | 'x-ai/grok-3-mini' | 'x-ai/grok-4.1-fast' | 'kwaipilot/kat-coder-pro:free' | 'cognitivecomputations/dolphin3.0-mistral-24b' | 'cognitivecomputations/dolphin3.0-r1-mistral-24b' | 'deepseek/deepseek-chat-v3.1' | 'deepseek/deepseek-r1:free' | 'deepseek/deepseek-v3.2-speciale' | 'deepseek/deepseek-v3-base:free' | 'deepseek/deepseek-v3.1-terminus' | 'deepseek/deepseek-r1-0528-qwen3-8b:free' | 'deepseek/deepseek-chat-v3-0324' | 'deepseek/deepseek-r1-0528:free' | 'deepseek/deepseek-r1-distill-llama-70b' | 'deepseek/deepseek-r1-distill-qwen-14b' | 'deepseek/deepseek-v3.1-terminus:exacto' | 'deepseek/deepseek-v3.2' | 'featherless/qwerky-72b' | 'tngtech/deepseek-r1t2-chimera:free' | 'minimax/minimax-m1' | 'minimax/minimax-m2' | 'minimax/minimax-01' | 'google/gemini-2.0-flash-001' | 'google/gemma-2-9b-it:free' | 'google/gemini-3-flash-preview' | 'google/gemini-3-pro-preview' | 'google/gemini-2.5-flash' | 'google/gemini-2.5-pro-preview-05-06' | 'google/gemma-3n-e4b-it' | 'google/gemini-2.5-flash-lite' | 'google/gemini-2.5-pro-preview-06-05' | 'google/gemini-2.5-flash-preview-09-2025' | 'google/gemini-2.5-pro' | 'google/gemma-3-12b-it' | 'google/gemma-3n-e4b-it:free' | 'google/gemini-2.5-flash-lite-preview-09-2025' | 'google/gemini-2.0-flash-exp:free' | 'google/gemma-3-27b-it' | 'microsoft/mai-ds-r1:free' | 'openai/gpt-oss-safeguard-20b' | 'openai/gpt-5.1-codex' | 'openai/gpt-4.1-mini' | 'openai/gpt-5-chat' | 'openai/gpt-5.2-pro' | 'openai/gpt-5.1-codex-mini' | 'openai/gpt-5.2-chat-latest' | 'openai/gpt-5.1' | 'openai/gpt-5-nano' | 'openai/gpt-5-codex' | 'openai/gpt-4.1' | 'openai/gpt-oss-120b:exacto' | 'openai/o4-mini' | 'openai/gpt-5.1-chat' | 'openai/gpt-5-mini' | 'openai/gpt-5-image' | 'openai/gpt-oss-20b' | 'openai/gpt-oss-120b' | 'openai/gpt-4o-mini' | 'openai/gpt-5' | 'openai/gpt-5-pro' | 'openai/gpt-5.2' | 'openrouter/sherlock-think-alpha' | 'openrouter/sherlock-dash-alpha' | 'z-ai/glm-4.5' | 'z-ai/glm-4.5-air' | 'z-ai/glm-4.5v' | 'z-ai/glm-4.6' | 'z-ai/glm-4.6:exacto' | 'z-ai/glm-4.5-air:free' | 'qwen/qwen3-coder' | 'qwen/qwen3-32b:free' | 'qwen/qwen3-next-80b-a3b-instruct' | 'qwen/qwen-2.5-coder-32b-instruct' | 'qwen/qwen3-235b-a22b:free' | 'qwen/qwen3-coder-flash' | 'qwen/qwq-32b:free' | 'qwen/qwen3-30b-a3b-thinking-2507' | 'qwen/qwen3-30b-a3b:free' | 'qwen/qwen2.5-vl-72b-instruct' | 'qwen/qwen3-14b:free' | 'qwen/qwen3-30b-a3b-instruct-2507' | 'qwen/qwen3-235b-a22b-thinking-2507' | 'qwen/qwen2.5-vl-32b-instruct:free' | 'qwen/qwen2.5-vl-72b-instruct:free' | 'qwen/qwen3-235b-a22b-07-25:free' | 'qwen/qwen3-coder:free' | 'qwen/qwen3-235b-a22b-07-25' | 'qwen/qwen3-8b:free' | 'qwen/qwen3-max' | 'qwen/qwen3-next-80b-a3b-thinking' | 'qwen/qwen3-coder:exacto' | 'mistralai/devstral-medium-2507' | 'mistralai/devstral-2512:free' | 'mistralai/devstral-2512' | 'mistralai/codestral-2508' | 'mistralai/mistral-7b-instruct:free' | 'mistralai/devstral-small-2505' | 'mistralai/mistral-small-3.2-24b-instruct' | 'mistralai/devstral-small-2505:free' | 'mistralai/mistral-small-3.2-24b-instruct:free' | 'mistralai/mistral-medium-3' | 'mistralai/mistral-small-3.1-24b-instruct' | 'mistralai/devstral-small-2507' | 'mistralai/mistral-medium-3.1' | 'mistralai/mistral-nemo:free' | 'rekaai/reka-flash-3' | 'meta-llama/llama-3.2-11b-vision-instruct' | 'meta-llama/llama-3.3-70b-instruct:free' | 'meta-llama/llama-4-scout:free' | 'anthropic/claude-opus-4' | 'anthropic/claude-haiku-4.5' | 'anthropic/claude-opus-4.1' | 'anthropic/claude-3.7-sonnet' | 'anthropic/claude-3.5-haiku' | 'anthropic/claude-sonnet-4' | 'anthropic/claude-opus-4.5' | 'anthropic/claude-sonnet-4.5' | 'sarvamai/sarvam-m:free';
|
|
2
|
-
type AnthropicModels = 'claude-opus-4-0' | 'claude-3-5-sonnet-20241022' | 'claude-opus-4-1' | 'claude-haiku-4-5' | 'claude-3-5-sonnet-20240620' | 'claude-3-5-haiku-latest' | 'claude-opus-4-5' | 'claude-3-opus-20240229' | 'claude-opus-4-5-20251101' | 'claude-sonnet-4-5' | 'claude-sonnet-4-5-20250929' | 'claude-sonnet-4-20250514' | 'claude-opus-4-20250514' | 'claude-3-5-haiku-20241022' | 'claude-3-haiku-20240307' | 'claude-3-7-sonnet-20250219' | 'claude-3-7-sonnet-latest' | 'claude-sonnet-4-0' | 'claude-opus-4-1-20250805' | 'claude-3-sonnet-20240229' | 'claude-haiku-4-5-20251001';
|
|
3
|
-
type AzureModels = 'gpt-4.1-nano' | 'text-embedding-3-small' | 'grok-4-fast-non-reasoning' | 'deepseek-r1-0528' | 'grok-4-fast-reasoning' | 'phi-3-medium-128k-instruct' | 'gpt-4' | 'claude-opus-4-1' | 'gpt-5.2-chat' | 'llama-3.2-11b-vision-instruct' | 'cohere-embed-v-4-0' | 'cohere-command-r-08-2024' | 'grok-4' | 'cohere-embed-v3-multilingual' | 'phi-4-mini' | 'gpt-4-32k' | 'meta-llama-3.1-405b-instruct' | 'deepseek-r1' | 'grok-code-fast-1' | 'gpt-5.1-codex' | 'phi-3-mini-4k-instruct' | 'claude-haiku-4-5' | 'deepseek-v3.2-speciale' | 'mistral-medium-2505' | 'claude-opus-4-5' | 'phi-3-small-128k-instruct' | 'cohere-command-a' | 'cohere-command-r-plus-08-2024' | 'llama-4-maverick-17b-128e-instruct-fp8' | 'gpt-4.1-mini' | 'gpt-5-chat' | 'deepseek-v3.1' | 'phi-4' | 'phi-4-mini-reasoning' | 'claude-sonnet-4-5' | 'gpt-3.5-turbo-0125' | 'grok-3' | 'text-embedding-3-large' | 'meta-llama-3-70b-instruct' | 'deepseek-v3-0324' | 'phi-3-small-8k-instruct' | 'meta-llama-3.1-70b-instruct' | 'gpt-4-turbo' | 'gpt-3.5-turbo-0613' | 'phi-3.5-mini-instruct' | 'o1-preview' | 'llama-3.3-70b-instruct' | 'gpt-5.1-codex-mini' | 'kimi-k2-thinking' | 'model-router' | 'o3-mini' | 'gpt-5.1' | 'gpt-5-nano' | 'gpt-5-codex' | 'llama-3.2-90b-vision-instruct' | 'phi-3-mini-128k-instruct' | 'gpt-4o' | 'gpt-3.5-turbo-0301' | 'ministral-3b' | 'gpt-4.1' | 'o4-mini' | 'phi-4-multimodal' | 'meta-llama-3-8b-instruct' | 'o1' | 'grok-3-mini' | 'gpt-5.1-chat' | 'phi-3.5-moe-instruct' | 'gpt-5-mini' | 'o1-mini' | 'llama-4-scout-17b-16e-instruct' | 'cohere-embed-v3-english' | 'text-embedding-ada-002' | 'meta-llama-3.1-8b-instruct' | 'gpt-5.1-codex-max' | 'gpt-3.5-turbo-instruct' | 'mistral-nemo' | 'o3' | 'codex-mini' | 'phi-3-medium-4k-instruct' | 'phi-4-reasoning' | 'gpt-4-turbo-vision' | 'phi-4-reasoning-plus' | 'gpt-4o-mini' | 'gpt-5' | 'mai-ds-r1' | 'deepseek-v3.2' | 'gpt-5-pro' | 'mistral-large-2411' | 'gpt-5.2' | 'codestral-2501' | 'mistral-small-2503' | 'gpt-3.5-turbo-1106';
|
|
4
|
-
type CloudflareWorkersAiModels = 'mistral-7b-instruct-v0.1-awq' | 'aura-1' | 'mistral-7b-instruct-v0.2' | 'tinyllama-1.1b-chat-v1.0' | 'qwen1.5-0.5b-chat' | 'llama-3.2-11b-vision-instruct' | 'llama-2-13b-chat-awq' | 'llama-3.1-8b-instruct-fp8' | 'whisper' | 'stable-diffusion-xl-base-1.0' | 'llama-2-7b-chat-fp16' | 'resnet-50' | 'stable-diffusion-v1-5-inpainting' | 'sqlcoder-7b-2' | 'llama-3-8b-instruct' | 'llama-2-7b-chat-hf-lora' | 'llama-3.1-8b-instruct' | 'openchat-3.5-0106' | 'openhermes-2.5-mistral-7b-awq' | 'lucid-origin' | 'bart-large-cnn' | 'flux-1-schnell' | 'deepseek-r1-distill-qwen-32b' | 'gemma-2b-it-lora' | 'una-cybertron-7b-v2-bf16' | 'gemma-sea-lion-v4-27b-it' | 'm2m100-1.2b' | 'llama-3.2-3b-instruct' | 'qwen2.5-coder-32b-instruct' | 'stable-diffusion-v1-5-img2img' | 'gemma-7b-it-lora' | 'qwen1.5-14b-chat-awq' | 'qwen1.5-1.8b-chat' | 'mistral-small-3.1-24b-instruct' | 'gemma-7b-it' | 'qwen3-30b-a3b-fp8' | 'llamaguard-7b-awq' | 'hermes-2-pro-mistral-7b' | 'granite-4.0-h-micro' | 'falcon-7b-instruct' | 'llama-3.3-70b-instruct-fp8-fast' | 'llama-3-8b-instruct-awq' | 'phoenix-1.0' | 'phi-2' | 'dreamshaper-8-lcm' | 'discolm-german-7b-v1-awq' | 'llama-2-7b-chat-int8' | 'llama-3.2-1b-instruct' | 'whisper-large-v3-turbo' | 'llama-4-scout-17b-16e-instruct' | 'starling-lm-7b-beta' | 'deepseek-coder-6.7b-base-awq' | 'gemma-3-12b-it' | 'llama-guard-3-8b' | 'neural-chat-7b-v3-1-awq' | 'whisper-tiny-en' | 'stable-diffusion-xl-lightning' | 'mistral-7b-instruct-v0.1' | 'llava-1.5-7b-hf' | 'gpt-oss-20b' | 'deepseek-math-7b-instruct' | 'gpt-oss-120b' | 'melotts' | 'qwen1.5-7b-chat-awq' | 'llama-3.1-8b-instruct-fast' | 'nova-3' | 'llama-3.1-70b-instruct' | 'qwq-32b' | 'zephyr-7b-beta-awq' | 'deepseek-coder-6.7b-instruct-awq' | 'llama-3.1-8b-instruct-awq' | 'mistral-7b-instruct-v0.2-lora' | 'uform-gen2-qwen-500m';
|
|
5
|
-
type TogetheraiModels = 'moonshotai/Kimi-K2-Instruct' | 'moonshotai/Kimi-K2-Thinking' | 'essentialai/Rnj-1-Instruct' | 'openai/gpt-oss-120b' | 'meta-llama/Llama-3.3-70B-Instruct-Turbo' | 'Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8' | 'zai-org/GLM-4.6' | 'deepseek-ai/DeepSeek-R1' | 'deepseek-ai/DeepSeek-V3' | 'deepseek-ai/DeepSeek-V3-1';
|
|
6
|
-
|
|
7
|
-
export type { AnthropicModels as A, CloudflareWorkersAiModels as C, OpenrouterModels as O, TogetheraiModels as T, AzureModels as a };
|