@xsai-ext/providers 0.5.0-beta.3 → 0.5.0-beta.5
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-DF1J2SNf.d.ts → anthropic-C-SFhpjT.d.ts} +1 -1
- package/dist/create.d.ts +235 -95
- package/dist/create.js +2 -2
- package/dist/index.d.ts +322 -98
- package/dist/index.js +32 -4
- package/dist/special/create.d.ts +1 -1
- package/dist/{together-ai-DPqTXiVo.js → together-ai-CSUAiuEC.js} +115 -3
- package/dist/types-D_GJGub3.d.ts +6 -0
- package/package.json +2 -2
- package/dist/types-JlPM4HgL.d.ts +0 -6
package/dist/index.js
CHANGED
|
@@ -1,44 +1,56 @@
|
|
|
1
1
|
import process from 'node:process';
|
|
2
|
-
import { c as createAbacus, a as
|
|
2
|
+
import { c as createAbacus, a as createAbliterationAi, b as createAlibaba, d as createAlibabaCn, e as createAlibabaCodingPlan, f as createAlibabaCodingPlanCn, g as createAmbient, h as createAtomicChat, i as createAuriko, j as createBailing, k as createBaseten, l as createBerget, m as createCerebras, n as createChutes, o as createClaudinio, p as createCloudferroSherlock, q as createCohere, r as createCortecs, s as createCrof, t as createDeepinfra, u as createDeepSeek, v as createDigitalocean, w as createDinference, x as createDrun, y as createEvroc, z as createFastrouter, A as createFirepass, B as createFireworks, C as createFriendli, D as createFrogbot, E as createGithubCopilot, F as createGithubModels, G as createGmicloud, H as createGoogleGenerativeAI, I as createGroq, J as createHelicone, K as createHpcAi, L as createHuggingface, M as createIflowcn, N as createInception, O as createInceptron, P as createInference, Q as createIoNet, R as createJiekou, S as createKilo, T as createKimiForCoding, U as createKuaeCloudCodingPlan, V as createLilac, W as createLlama, X as createLlmgateway, Y as createLmstudio, Z as createLucidquery, _ as createMeganova, $ as createMinimax, a0 as createMinimaxCn, a1 as createMinimaxCnCodingPlan, a2 as createMinimaxCodingPlan, a3 as createMistral, a4 as createMixlayer, a5 as createMoark, a6 as createModelscope, a7 as createMoonshotai, a8 as createMoonshotaiCn, a9 as createMorph, aa as createNanoGpt, ab as createNearai, ac as createNebius, ad as createNeuralwatt, ae as createNova, af as createNovitaAi, ag as createNvidia, ah as createOllamaCloud, ai as createOpenAI, aj as createOpencode, ak as createOpencodeGo, al as createOrcarouter, am as createOvhcloud, an as createPerplexity, ao as createPerplexityAgent, ap as createPoe, aq as createPrivatemodeAi, ar as createQihangAi, as as createQiniuAi, at as createRegoloAi, au as createRequesty, av as createRoutingRun, aw as createSarvam, ax as createScaleway, ay as createSiliconFlow, az as createSiliconflowCn, aA as createStackit, aB as createStepfun, aC as createStepfunAi, aD as createSubmodel, aE as createSynthetic, aF as createTencentCodingPlan, aG as createTencentTokenhub, aH as createTheGridAi, aI as createUmansAiCodingPlan, aJ as createUpstage, aK as createVenice, aL as createVivgrid, aM as createVultr, aN as createWaferAi, aO as createWandb, aP as createXai, aQ as createXiaomi, aR as createXiaomiTokenPlanAms, aS as createXiaomiTokenPlanCn, aT as createXiaomiTokenPlanSgp, aU as createXpersona, aV as createZai, aW as createZaiCodingPlan, aX as createZenmux, aY as createZhipuai, aZ as createZhipuaiCodingPlan, a_ as createQianfan, a$ as createTencentHunyuan, b0 as createOllama, b1 as createLitellm, b2 as createAnthropic, b3 as createFeatherless, b4 as createOpenRouter, b5 as createTogetherAI } from './together-ai-CSUAiuEC.js';
|
|
3
3
|
import './utils/index.js';
|
|
4
4
|
import '@xsai/shared';
|
|
5
5
|
|
|
6
6
|
const abacus = createAbacus(process.env.ABACUS_API_KEY ?? "");
|
|
7
|
+
const abliterationAi = createAbliterationAi(process.env.ABLIT_KEY ?? "");
|
|
7
8
|
const alibaba = createAlibaba(process.env.DASHSCOPE_API_KEY ?? "");
|
|
8
9
|
const alibabaCn = createAlibabaCn(process.env.DASHSCOPE_API_KEY ?? "");
|
|
9
10
|
const alibabaCodingPlan = createAlibabaCodingPlan(process.env.ALIBABA_CODING_PLAN_API_KEY ?? "");
|
|
10
11
|
const alibabaCodingPlanCn = createAlibabaCodingPlanCn(process.env.ALIBABA_CODING_PLAN_API_KEY ?? "");
|
|
12
|
+
const ambient = createAmbient(process.env.AMBIENT_API_KEY ?? "");
|
|
13
|
+
const atomicChat = createAtomicChat(process.env.ATOMIC_CHAT_API_KEY ?? "");
|
|
14
|
+
const auriko = createAuriko(process.env.AURIKO_API_KEY ?? "");
|
|
11
15
|
const bailing = createBailing(process.env.BAILING_API_TOKEN ?? "");
|
|
12
16
|
const baseten = createBaseten(process.env.BASETEN_API_KEY ?? "");
|
|
13
17
|
const berget = createBerget(process.env.BERGET_API_KEY ?? "");
|
|
14
18
|
const cerebras = createCerebras(process.env.CEREBRAS_API_KEY ?? "");
|
|
15
19
|
const chutes = createChutes(process.env.CHUTES_API_KEY ?? "");
|
|
20
|
+
const claudinio = createClaudinio(process.env.CLAUDINIO_API_KEY ?? "");
|
|
16
21
|
const cloudferroSherlock = createCloudferroSherlock(process.env.CLOUDFERRO_SHERLOCK_API_KEY ?? "");
|
|
17
22
|
const cohere = createCohere(process.env.COHERE_API_KEY ?? "");
|
|
18
23
|
const cortecs = createCortecs(process.env.CORTECS_API_KEY ?? "");
|
|
24
|
+
const crof = createCrof(process.env.CROF_API_KEY ?? "");
|
|
19
25
|
const deepinfra = createDeepinfra(process.env.DEEPINFRA_API_KEY ?? "");
|
|
20
26
|
const deepseek = createDeepSeek(process.env.DEEPSEEK_API_KEY ?? "");
|
|
27
|
+
const digitalocean = createDigitalocean(process.env.DIGITALOCEAN_ACCESS_TOKEN ?? "");
|
|
21
28
|
const dinference = createDinference(process.env.DINFERENCE_API_KEY ?? "");
|
|
22
29
|
const drun = createDrun(process.env.DRUN_API_KEY ?? "");
|
|
23
30
|
const evroc = createEvroc(process.env.EVROC_API_KEY ?? "");
|
|
24
31
|
const fastrouter = createFastrouter(process.env.FASTROUTER_API_KEY ?? "");
|
|
32
|
+
const firepass = createFirepass(process.env.FIREPASS_API_KEY ?? "");
|
|
25
33
|
const fireworks = createFireworks(process.env.FIREWORKS_API_KEY ?? "");
|
|
26
|
-
const firmware = createFirmware(process.env.FIRMWARE_API_KEY ?? "");
|
|
27
34
|
const friendli = createFriendli(process.env.FRIENDLI_TOKEN ?? "");
|
|
35
|
+
const frogbot = createFrogbot(process.env.FROGBOT_API_KEY ?? "");
|
|
28
36
|
const githubCopilot = createGithubCopilot(process.env.GITHUB_TOKEN ?? "");
|
|
29
37
|
const githubModels = createGithubModels(process.env.GITHUB_TOKEN ?? "");
|
|
30
|
-
const
|
|
38
|
+
const gmicloud = createGmicloud(process.env.GMICLOUD_API_KEY ?? "");
|
|
39
|
+
const google = createGoogleGenerativeAI(process.env.GOOGLE_API_KEY ?? process.env.GOOGLE_GENERATIVE_AI_API_KEY ?? process.env.GEMINI_API_KEY ?? "");
|
|
31
40
|
const groq = createGroq(process.env.GROQ_API_KEY ?? "");
|
|
32
41
|
const helicone = createHelicone(process.env.HELICONE_API_KEY ?? "");
|
|
42
|
+
const hpcAi = createHpcAi(process.env.HPC_AI_API_KEY ?? "");
|
|
33
43
|
const huggingface = createHuggingface(process.env.HF_TOKEN ?? "");
|
|
34
44
|
const iflowcn = createIflowcn(process.env.IFLOW_API_KEY ?? "");
|
|
35
45
|
const inception = createInception(process.env.INCEPTION_API_KEY ?? "");
|
|
46
|
+
const inceptron = createInceptron(process.env.INCEPTRON_API_KEY ?? "");
|
|
36
47
|
const inference = createInference(process.env.INFERENCE_API_KEY ?? "");
|
|
37
48
|
const ioNet = createIoNet(process.env.IOINTELLIGENCE_API_KEY ?? "");
|
|
38
49
|
const jiekou = createJiekou(process.env.JIEKOU_API_KEY ?? "");
|
|
39
50
|
const kilo = createKilo(process.env.KILO_API_KEY ?? "");
|
|
40
51
|
const kimiForCoding = createKimiForCoding(process.env.KIMI_API_KEY ?? "");
|
|
41
52
|
const kuaeCloudCodingPlan = createKuaeCloudCodingPlan(process.env.KUAE_API_KEY ?? "");
|
|
53
|
+
const lilac = createLilac(process.env.LILAC_API_KEY ?? "");
|
|
42
54
|
const llama = createLlama(process.env.LLAMA_API_KEY ?? "");
|
|
43
55
|
const llmgateway = createLlmgateway(process.env.LLMGATEWAY_API_KEY ?? "");
|
|
44
56
|
const lmstudio = createLmstudio(process.env.LMSTUDIO_API_KEY ?? "");
|
|
@@ -49,13 +61,16 @@ const minimaxCn = createMinimaxCn(process.env.MINIMAX_API_KEY ?? "");
|
|
|
49
61
|
const minimaxCnCodingPlan = createMinimaxCnCodingPlan(process.env.MINIMAX_API_KEY ?? "");
|
|
50
62
|
const minimaxCodingPlan = createMinimaxCodingPlan(process.env.MINIMAX_API_KEY ?? "");
|
|
51
63
|
const mistral = createMistral(process.env.MISTRAL_API_KEY ?? "");
|
|
64
|
+
const mixlayer = createMixlayer(process.env.MIXLAYER_API_KEY ?? "");
|
|
52
65
|
const moark = createMoark(process.env.MOARK_API_KEY ?? "");
|
|
53
66
|
const modelscope = createModelscope(process.env.MODELSCOPE_API_KEY ?? "");
|
|
54
67
|
const moonshotai = createMoonshotai(process.env.MOONSHOT_API_KEY ?? "");
|
|
55
68
|
const moonshotaiCn = createMoonshotaiCn(process.env.MOONSHOT_API_KEY ?? "");
|
|
56
69
|
const morph = createMorph(process.env.MORPH_API_KEY ?? "");
|
|
57
70
|
const nanoGpt = createNanoGpt(process.env.NANO_GPT_API_KEY ?? "");
|
|
71
|
+
const nearai = createNearai(process.env.NEARAI_API_KEY ?? "");
|
|
58
72
|
const nebius = createNebius(process.env.NEBIUS_API_KEY ?? "");
|
|
73
|
+
const neuralwatt = createNeuralwatt(process.env.NEURALWATT_API_KEY ?? "");
|
|
59
74
|
const nova = createNova(process.env.NOVA_API_KEY ?? "");
|
|
60
75
|
const novitaAi = createNovitaAi(process.env.NOVITA_API_KEY ?? "");
|
|
61
76
|
const nvidia = createNvidia(process.env.NVIDIA_API_KEY ?? "");
|
|
@@ -63,6 +78,7 @@ const ollamaCloud = createOllamaCloud(process.env.OLLAMA_API_KEY ?? "");
|
|
|
63
78
|
const openai = createOpenAI(process.env.OPENAI_API_KEY ?? "");
|
|
64
79
|
const opencode = createOpencode(process.env.OPENCODE_API_KEY ?? "");
|
|
65
80
|
const opencodeGo = createOpencodeGo(process.env.OPENCODE_API_KEY ?? "");
|
|
81
|
+
const orcarouter = createOrcarouter(process.env.ORCAROUTER_API_KEY ?? "");
|
|
66
82
|
const ovhcloud = createOvhcloud(process.env.OVHCLOUD_API_KEY ?? "");
|
|
67
83
|
const perplexity = createPerplexity(process.env.PERPLEXITY_API_KEY ?? "");
|
|
68
84
|
const perplexityAgent = createPerplexityAgent(process.env.PERPLEXITY_API_KEY ?? "");
|
|
@@ -70,22 +86,34 @@ const poe = createPoe(process.env.POE_API_KEY ?? "");
|
|
|
70
86
|
const privatemodeAi = createPrivatemodeAi(process.env.PRIVATEMODE_API_KEY ?? "");
|
|
71
87
|
const qihangAi = createQihangAi(process.env.QIHANG_API_KEY ?? "");
|
|
72
88
|
const qiniuAi = createQiniuAi(process.env.QINIU_API_KEY ?? "");
|
|
89
|
+
const regoloAi = createRegoloAi(process.env.REGOLO_API_KEY ?? "");
|
|
73
90
|
const requesty = createRequesty(process.env.REQUESTY_API_KEY ?? "");
|
|
91
|
+
const routingRun = createRoutingRun(process.env.ROUTING_RUN_API_KEY ?? "");
|
|
92
|
+
const sarvam = createSarvam(process.env.SARVAM_API_KEY ?? "");
|
|
74
93
|
const scaleway = createScaleway(process.env.SCALEWAY_API_KEY ?? "");
|
|
75
94
|
const siliconflow = createSiliconFlow(process.env.SILICONFLOW_API_KEY ?? "");
|
|
76
95
|
const siliconflowCn = createSiliconflowCn(process.env.SILICONFLOW_CN_API_KEY ?? "");
|
|
77
96
|
const stackit = createStackit(process.env.STACKIT_API_KEY ?? "");
|
|
78
97
|
const stepfun = createStepfun(process.env.STEPFUN_API_KEY ?? "");
|
|
98
|
+
const stepfunAi = createStepfunAi(process.env.STEPFUN_API_KEY ?? "");
|
|
79
99
|
const submodel = createSubmodel(process.env.SUBMODEL_INSTAGEN_ACCESS_KEY ?? "");
|
|
80
100
|
const synthetic = createSynthetic(process.env.SYNTHETIC_API_KEY ?? "");
|
|
81
101
|
const tencentCodingPlan = createTencentCodingPlan(process.env.TENCENT_CODING_PLAN_API_KEY ?? "");
|
|
102
|
+
const tencentTokenhub = createTencentTokenhub(process.env.TENCENT_TOKENHUB_API_KEY ?? "");
|
|
103
|
+
const theGridAi = createTheGridAi(process.env.THEGRIDAI_API_KEY ?? "");
|
|
104
|
+
const umansAiCodingPlan = createUmansAiCodingPlan(process.env.UMANS_AI_CODING_PLAN_API_KEY ?? "");
|
|
82
105
|
const upstage = createUpstage(process.env.UPSTAGE_API_KEY ?? "");
|
|
83
106
|
const venice = createVenice(process.env.VENICE_API_KEY ?? "");
|
|
84
107
|
const vivgrid = createVivgrid(process.env.VIVGRID_API_KEY ?? "");
|
|
85
108
|
const vultr = createVultr(process.env.VULTR_API_KEY ?? "");
|
|
109
|
+
const waferAi = createWaferAi(process.env.WAFER_API_KEY ?? "");
|
|
86
110
|
const wandb = createWandb(process.env.WANDB_API_KEY ?? "");
|
|
87
111
|
const xai = createXai(process.env.XAI_API_KEY ?? "");
|
|
88
112
|
const xiaomi = createXiaomi(process.env.XIAOMI_API_KEY ?? "");
|
|
113
|
+
const xiaomiTokenPlanAms = createXiaomiTokenPlanAms(process.env.XIAOMI_API_KEY ?? "");
|
|
114
|
+
const xiaomiTokenPlanCn = createXiaomiTokenPlanCn(process.env.XIAOMI_API_KEY ?? "");
|
|
115
|
+
const xiaomiTokenPlanSgp = createXiaomiTokenPlanSgp(process.env.XIAOMI_API_KEY ?? "");
|
|
116
|
+
const xpersona = createXpersona(process.env.XPERSONA_API_KEY ?? "");
|
|
89
117
|
const zai = createZai(process.env.ZHIPU_API_KEY ?? "");
|
|
90
118
|
const zaiCodingPlan = createZaiCodingPlan(process.env.ZHIPU_API_KEY ?? "");
|
|
91
119
|
const zenmux = createZenmux(process.env.ZENMUX_API_KEY ?? "");
|
|
@@ -102,4 +130,4 @@ const openrouter = createOpenRouter(process.env.OPENROUTER_API_KEY ?? "");
|
|
|
102
130
|
const togetherai = createTogetherAI(process.env.TOGETHER_API_KEY ?? "");
|
|
103
131
|
const novita = novitaAi;
|
|
104
132
|
|
|
105
|
-
export { abacus, alibaba, alibabaCn, alibabaCodingPlan, alibabaCodingPlanCn, anthropic, bailing, baseten, berget, cerebras, chutes, cloudferroSherlock, cohere, cortecs, deepinfra, deepseek, dinference, drun, evroc, fastrouter, featherless,
|
|
133
|
+
export { abacus, abliterationAi, alibaba, alibabaCn, alibabaCodingPlan, alibabaCodingPlanCn, ambient, anthropic, atomicChat, auriko, bailing, baseten, berget, cerebras, chutes, claudinio, cloudferroSherlock, cohere, cortecs, crof, deepinfra, deepseek, digitalocean, dinference, drun, evroc, fastrouter, featherless, firepass, fireworks, friendli, frogbot, githubCopilot, githubModels, gmicloud, google, groq, helicone, hpcAi, huggingface, iflowcn, inception, inceptron, inference, ioNet, jiekou, kilo, kimiForCoding, kuaeCloudCodingPlan, lilac, litellm, llama, llmgateway, lmstudio, lucidquery, meganova, minimax, minimaxCn, minimaxCnCodingPlan, minimaxCodingPlan, mistral, mixlayer, moark, modelscope, moonshotai, moonshotaiCn, morph, nanoGpt, nearai, nebius, neuralwatt, nova, novita, novitaAi, nvidia, ollama, ollamaCloud, openai, opencode, opencodeGo, openrouter, orcarouter, ovhcloud, perplexity, perplexityAgent, poe, privatemodeAi, qianfan, qihangAi, qiniuAi, regoloAi, requesty, routingRun, sarvam, scaleway, siliconflow, siliconflowCn, stackit, stepfun, stepfunAi, submodel, synthetic, tencentCodingPlan, tencentHunyuan, tencentTokenhub, theGridAi, togetherai, umansAiCodingPlan, upstage, venice, vivgrid, vultr, waferAi, wandb, xai, xiaomi, xiaomiTokenPlanAms, xiaomiTokenPlanCn, xiaomiTokenPlanSgp, xpersona, 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 } from '../types-
|
|
2
|
+
import { a as AzureModels } from '../types-D_GJGub3.js';
|
|
3
3
|
import '@xsai/shared';
|
|
4
4
|
|
|
5
5
|
interface CreateAzureOptions {
|
|
@@ -5,6 +5,10 @@ const createAbacus = (apiKey, baseURL = "https://routellm.abacus.ai/v1") => merg
|
|
|
5
5
|
createChatProvider({ apiKey, baseURL }),
|
|
6
6
|
createModelProvider({ apiKey, baseURL })
|
|
7
7
|
);
|
|
8
|
+
const createAbliterationAi = (apiKey, baseURL = "https://api.abliteration.ai/v1") => merge(
|
|
9
|
+
createChatProvider({ apiKey, baseURL }),
|
|
10
|
+
createModelProvider({ apiKey, baseURL })
|
|
11
|
+
);
|
|
8
12
|
const createAlibaba = (apiKey, baseURL = "https://dashscope-intl.aliyuncs.com/compatible-mode/v1") => merge(
|
|
9
13
|
createChatProvider({ apiKey, baseURL }),
|
|
10
14
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -21,6 +25,18 @@ const createAlibabaCodingPlanCn = (apiKey, baseURL = "https://coding.dashscope.a
|
|
|
21
25
|
createChatProvider({ apiKey, baseURL }),
|
|
22
26
|
createModelProvider({ apiKey, baseURL })
|
|
23
27
|
);
|
|
28
|
+
const createAmbient = (apiKey, baseURL = "https://api.ambient.xyz/v1") => merge(
|
|
29
|
+
createChatProvider({ apiKey, baseURL }),
|
|
30
|
+
createModelProvider({ apiKey, baseURL })
|
|
31
|
+
);
|
|
32
|
+
const createAtomicChat = (apiKey, baseURL = "http://127.0.0.1:1337/v1") => merge(
|
|
33
|
+
createChatProvider({ apiKey, baseURL }),
|
|
34
|
+
createModelProvider({ apiKey, baseURL })
|
|
35
|
+
);
|
|
36
|
+
const createAuriko = (apiKey, baseURL = "https://api.auriko.ai/v1") => merge(
|
|
37
|
+
createChatProvider({ apiKey, baseURL }),
|
|
38
|
+
createModelProvider({ apiKey, baseURL })
|
|
39
|
+
);
|
|
24
40
|
const createBailing = (apiKey, baseURL = "https://api.tbox.cn/api/llm/v1/chat/completions") => merge(
|
|
25
41
|
createChatProvider({ apiKey, baseURL }),
|
|
26
42
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -42,6 +58,10 @@ const createChutes = (apiKey, baseURL = "https://llm.chutes.ai/v1") => merge(
|
|
|
42
58
|
createChatProvider({ apiKey, baseURL }),
|
|
43
59
|
createModelProvider({ apiKey, baseURL })
|
|
44
60
|
);
|
|
61
|
+
const createClaudinio = (apiKey, baseURL = "https://api.claudin.io/v1") => merge(
|
|
62
|
+
createChatProvider({ apiKey, baseURL }),
|
|
63
|
+
createModelProvider({ apiKey, baseURL })
|
|
64
|
+
);
|
|
45
65
|
const createCloudferroSherlock = (apiKey, baseURL = "https://api-sherlock.cloudferro.com/openai/v1/") => merge(
|
|
46
66
|
createChatProvider({ apiKey, baseURL }),
|
|
47
67
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -55,6 +75,10 @@ const createCortecs = (apiKey, baseURL = "https://api.cortecs.ai/v1") => merge(
|
|
|
55
75
|
createChatProvider({ apiKey, baseURL }),
|
|
56
76
|
createModelProvider({ apiKey, baseURL })
|
|
57
77
|
);
|
|
78
|
+
const createCrof = (apiKey, baseURL = "https://crof.ai/v1") => merge(
|
|
79
|
+
createChatProvider({ apiKey, baseURL }),
|
|
80
|
+
createModelProvider({ apiKey, baseURL })
|
|
81
|
+
);
|
|
58
82
|
const createDeepinfra = (apiKey, baseURL = "https://api.deepinfra.com/v1/openai/") => merge(
|
|
59
83
|
createChatProvider({ apiKey, baseURL }),
|
|
60
84
|
createModelProvider({ apiKey, baseURL }),
|
|
@@ -64,6 +88,10 @@ const createDeepSeek = (apiKey, baseURL = "https://api.deepseek.com") => merge(
|
|
|
64
88
|
createChatProvider({ apiKey, baseURL }),
|
|
65
89
|
createModelProvider({ apiKey, baseURL })
|
|
66
90
|
);
|
|
91
|
+
const createDigitalocean = (apiKey, baseURL = "https://inference.do-ai.run/v1") => merge(
|
|
92
|
+
createChatProvider({ apiKey, baseURL }),
|
|
93
|
+
createModelProvider({ apiKey, baseURL })
|
|
94
|
+
);
|
|
67
95
|
const createDinference = (apiKey, baseURL = "https://api.dinference.com/v1") => merge(
|
|
68
96
|
createChatProvider({ apiKey, baseURL }),
|
|
69
97
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -80,11 +108,11 @@ const createFastrouter = (apiKey, baseURL = "https://go.fastrouter.ai/api/v1") =
|
|
|
80
108
|
createChatProvider({ apiKey, baseURL }),
|
|
81
109
|
createModelProvider({ apiKey, baseURL })
|
|
82
110
|
);
|
|
83
|
-
const
|
|
111
|
+
const createFirepass = (apiKey, baseURL = "https://api.fireworks.ai/inference/v1/") => merge(
|
|
84
112
|
createChatProvider({ apiKey, baseURL }),
|
|
85
113
|
createModelProvider({ apiKey, baseURL })
|
|
86
114
|
);
|
|
87
|
-
const
|
|
115
|
+
const createFireworks = (apiKey, baseURL = "https://api.fireworks.ai/inference/v1/") => merge(
|
|
88
116
|
createChatProvider({ apiKey, baseURL }),
|
|
89
117
|
createModelProvider({ apiKey, baseURL })
|
|
90
118
|
);
|
|
@@ -92,6 +120,10 @@ const createFriendli = (apiKey, baseURL = "https://api.friendli.ai/serverless/v1
|
|
|
92
120
|
createChatProvider({ apiKey, baseURL }),
|
|
93
121
|
createModelProvider({ apiKey, baseURL })
|
|
94
122
|
);
|
|
123
|
+
const createFrogbot = (apiKey, baseURL = "https://app.frogbot.ai/api/v1") => merge(
|
|
124
|
+
createChatProvider({ apiKey, baseURL }),
|
|
125
|
+
createModelProvider({ apiKey, baseURL })
|
|
126
|
+
);
|
|
95
127
|
const createGithubCopilot = (apiKey, baseURL = "https://api.githubcopilot.com") => merge(
|
|
96
128
|
createChatProvider({ apiKey, baseURL }),
|
|
97
129
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -100,6 +132,10 @@ const createGithubModels = (apiKey, baseURL = "https://models.github.ai/inferenc
|
|
|
100
132
|
createChatProvider({ apiKey, baseURL }),
|
|
101
133
|
createModelProvider({ apiKey, baseURL })
|
|
102
134
|
);
|
|
135
|
+
const createGmicloud = (apiKey, baseURL = "https://api.gmi-serving.com/v1") => merge(
|
|
136
|
+
createChatProvider({ apiKey, baseURL }),
|
|
137
|
+
createModelProvider({ apiKey, baseURL })
|
|
138
|
+
);
|
|
103
139
|
const createGoogleGenerativeAI = (apiKey, baseURL = "https://generativelanguage.googleapis.com/v1beta/openai/") => merge(
|
|
104
140
|
createChatProvider({ apiKey, baseURL }),
|
|
105
141
|
createModelProvider({ apiKey, baseURL }),
|
|
@@ -114,6 +150,10 @@ const createHelicone = (apiKey, baseURL = "https://ai-gateway.helicone.ai/v1") =
|
|
|
114
150
|
createChatProvider({ apiKey, baseURL }),
|
|
115
151
|
createModelProvider({ apiKey, baseURL })
|
|
116
152
|
);
|
|
153
|
+
const createHpcAi = (apiKey, baseURL = "https://api.hpc-ai.com/inference/v1") => merge(
|
|
154
|
+
createChatProvider({ apiKey, baseURL }),
|
|
155
|
+
createModelProvider({ apiKey, baseURL })
|
|
156
|
+
);
|
|
117
157
|
const createHuggingface = (apiKey, baseURL = "https://router.huggingface.co/v1") => merge(
|
|
118
158
|
createChatProvider({ apiKey, baseURL }),
|
|
119
159
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -126,6 +166,10 @@ const createInception = (apiKey, baseURL = "https://api.inceptionlabs.ai/v1/") =
|
|
|
126
166
|
createChatProvider({ apiKey, baseURL }),
|
|
127
167
|
createModelProvider({ apiKey, baseURL })
|
|
128
168
|
);
|
|
169
|
+
const createInceptron = (apiKey, baseURL = "https://api.inceptron.io/v1") => merge(
|
|
170
|
+
createChatProvider({ apiKey, baseURL }),
|
|
171
|
+
createModelProvider({ apiKey, baseURL })
|
|
172
|
+
);
|
|
129
173
|
const createInference = (apiKey, baseURL = "https://inference.net/v1") => merge(
|
|
130
174
|
createChatProvider({ apiKey, baseURL }),
|
|
131
175
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -150,6 +194,10 @@ const createKuaeCloudCodingPlan = (apiKey, baseURL = "https://coding-plan-endpoi
|
|
|
150
194
|
createChatProvider({ apiKey, baseURL }),
|
|
151
195
|
createModelProvider({ apiKey, baseURL })
|
|
152
196
|
);
|
|
197
|
+
const createLilac = (apiKey, baseURL = "https://api.getlilac.com/v1") => merge(
|
|
198
|
+
createChatProvider({ apiKey, baseURL }),
|
|
199
|
+
createModelProvider({ apiKey, baseURL })
|
|
200
|
+
);
|
|
153
201
|
const createLlama = (apiKey, baseURL = "https://api.llama.com/compat/v1/") => merge(
|
|
154
202
|
createChatProvider({ apiKey, baseURL }),
|
|
155
203
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -191,6 +239,10 @@ const createMistral = (apiKey, baseURL = "https://api.mistral.ai/v1/") => merge(
|
|
|
191
239
|
createModelProvider({ apiKey, baseURL }),
|
|
192
240
|
createEmbedProvider({ apiKey, baseURL })
|
|
193
241
|
);
|
|
242
|
+
const createMixlayer = (apiKey, baseURL = "https://models.mixlayer.ai/v1") => merge(
|
|
243
|
+
createChatProvider({ apiKey, baseURL }),
|
|
244
|
+
createModelProvider({ apiKey, baseURL })
|
|
245
|
+
);
|
|
194
246
|
const createMoark = (apiKey, baseURL = "https://moark.com/v1") => merge(
|
|
195
247
|
createChatProvider({ apiKey, baseURL }),
|
|
196
248
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -215,10 +267,18 @@ const createNanoGpt = (apiKey, baseURL = "https://nano-gpt.com/api/v1") => merge
|
|
|
215
267
|
createChatProvider({ apiKey, baseURL }),
|
|
216
268
|
createModelProvider({ apiKey, baseURL })
|
|
217
269
|
);
|
|
270
|
+
const createNearai = (apiKey, baseURL = "https://cloud-api.near.ai/v1") => merge(
|
|
271
|
+
createChatProvider({ apiKey, baseURL }),
|
|
272
|
+
createModelProvider({ apiKey, baseURL })
|
|
273
|
+
);
|
|
218
274
|
const createNebius = (apiKey, baseURL = "https://api.tokenfactory.nebius.com/v1") => merge(
|
|
219
275
|
createChatProvider({ apiKey, baseURL }),
|
|
220
276
|
createModelProvider({ apiKey, baseURL })
|
|
221
277
|
);
|
|
278
|
+
const createNeuralwatt = (apiKey, baseURL = "https://api.neuralwatt.com/v1") => merge(
|
|
279
|
+
createChatProvider({ apiKey, baseURL }),
|
|
280
|
+
createModelProvider({ apiKey, baseURL })
|
|
281
|
+
);
|
|
222
282
|
const createNova = (apiKey, baseURL = "https://api.nova.amazon.com/v1") => merge(
|
|
223
283
|
createChatProvider({ apiKey, baseURL }),
|
|
224
284
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -251,6 +311,10 @@ const createOpencodeGo = (apiKey, baseURL = "https://opencode.ai/zen/go/v1") =>
|
|
|
251
311
|
createChatProvider({ apiKey, baseURL }),
|
|
252
312
|
createModelProvider({ apiKey, baseURL })
|
|
253
313
|
);
|
|
314
|
+
const createOrcarouter = (apiKey, baseURL = "https://api.orcarouter.ai/v1") => merge(
|
|
315
|
+
createChatProvider({ apiKey, baseURL }),
|
|
316
|
+
createModelProvider({ apiKey, baseURL })
|
|
317
|
+
);
|
|
254
318
|
const createOvhcloud = (apiKey, baseURL = "https://oai.endpoints.kepler.ai.cloud.ovh.net/v1") => merge(
|
|
255
319
|
createChatProvider({ apiKey, baseURL }),
|
|
256
320
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -279,10 +343,22 @@ const createQiniuAi = (apiKey, baseURL = "https://api.qnaigc.com/v1") => merge(
|
|
|
279
343
|
createChatProvider({ apiKey, baseURL }),
|
|
280
344
|
createModelProvider({ apiKey, baseURL })
|
|
281
345
|
);
|
|
346
|
+
const createRegoloAi = (apiKey, baseURL = "https://api.regolo.ai/v1") => merge(
|
|
347
|
+
createChatProvider({ apiKey, baseURL }),
|
|
348
|
+
createModelProvider({ apiKey, baseURL })
|
|
349
|
+
);
|
|
282
350
|
const createRequesty = (apiKey, baseURL = "https://router.requesty.ai/v1") => merge(
|
|
283
351
|
createChatProvider({ apiKey, baseURL }),
|
|
284
352
|
createModelProvider({ apiKey, baseURL })
|
|
285
353
|
);
|
|
354
|
+
const createRoutingRun = (apiKey, baseURL = "https://api.routing.run/v1") => merge(
|
|
355
|
+
createChatProvider({ apiKey, baseURL }),
|
|
356
|
+
createModelProvider({ apiKey, baseURL })
|
|
357
|
+
);
|
|
358
|
+
const createSarvam = (apiKey, baseURL = "https://api.sarvam.ai/v1") => merge(
|
|
359
|
+
createChatProvider({ apiKey, baseURL }),
|
|
360
|
+
createModelProvider({ apiKey, baseURL })
|
|
361
|
+
);
|
|
286
362
|
const createScaleway = (apiKey, baseURL = "https://api.scaleway.ai/v1") => merge(
|
|
287
363
|
createChatProvider({ apiKey, baseURL }),
|
|
288
364
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -309,6 +385,10 @@ const createStepfun = (apiKey, baseURL = "https://api.stepfun.com/v1") => merge(
|
|
|
309
385
|
createSpeechProvider({ apiKey, baseURL }),
|
|
310
386
|
createTranscriptionProvider({ apiKey, baseURL })
|
|
311
387
|
);
|
|
388
|
+
const createStepfunAi = (apiKey, baseURL = "https://api.stepfun.ai/step_plan/v1") => merge(
|
|
389
|
+
createChatProvider({ apiKey, baseURL }),
|
|
390
|
+
createModelProvider({ apiKey, baseURL })
|
|
391
|
+
);
|
|
312
392
|
const createSubmodel = (apiKey, baseURL = "https://llm.submodel.ai/v1") => merge(
|
|
313
393
|
createChatProvider({ apiKey, baseURL }),
|
|
314
394
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -321,6 +401,18 @@ const createTencentCodingPlan = (apiKey, baseURL = "https://api.lkeap.cloud.tenc
|
|
|
321
401
|
createChatProvider({ apiKey, baseURL }),
|
|
322
402
|
createModelProvider({ apiKey, baseURL })
|
|
323
403
|
);
|
|
404
|
+
const createTencentTokenhub = (apiKey, baseURL = "https://tokenhub.tencentmaas.com/v1") => merge(
|
|
405
|
+
createChatProvider({ apiKey, baseURL }),
|
|
406
|
+
createModelProvider({ apiKey, baseURL })
|
|
407
|
+
);
|
|
408
|
+
const createTheGridAi = (apiKey, baseURL = "https://api.thegrid.ai/v1") => merge(
|
|
409
|
+
createChatProvider({ apiKey, baseURL }),
|
|
410
|
+
createModelProvider({ apiKey, baseURL })
|
|
411
|
+
);
|
|
412
|
+
const createUmansAiCodingPlan = (apiKey, baseURL = "https://api.code.umans.ai/v1") => merge(
|
|
413
|
+
createChatProvider({ apiKey, baseURL }),
|
|
414
|
+
createModelProvider({ apiKey, baseURL })
|
|
415
|
+
);
|
|
324
416
|
const createUpstage = (apiKey, baseURL = "https://api.upstage.ai/v1/solar") => merge(
|
|
325
417
|
createChatProvider({ apiKey, baseURL }),
|
|
326
418
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -337,6 +429,10 @@ const createVultr = (apiKey, baseURL = "https://api.vultrinference.com/v1") => m
|
|
|
337
429
|
createChatProvider({ apiKey, baseURL }),
|
|
338
430
|
createModelProvider({ apiKey, baseURL })
|
|
339
431
|
);
|
|
432
|
+
const createWaferAi = (apiKey, baseURL = "https://pass.wafer.ai/v1") => merge(
|
|
433
|
+
createChatProvider({ apiKey, baseURL }),
|
|
434
|
+
createModelProvider({ apiKey, baseURL })
|
|
435
|
+
);
|
|
340
436
|
const createWandb = (apiKey, baseURL = "https://api.inference.wandb.ai/v1") => merge(
|
|
341
437
|
createChatProvider({ apiKey, baseURL }),
|
|
342
438
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -349,6 +445,22 @@ const createXiaomi = (apiKey, baseURL = "https://api.xiaomimimo.com/v1") => merg
|
|
|
349
445
|
createChatProvider({ apiKey, baseURL }),
|
|
350
446
|
createModelProvider({ apiKey, baseURL })
|
|
351
447
|
);
|
|
448
|
+
const createXiaomiTokenPlanAms = (apiKey, baseURL = "https://token-plan-ams.xiaomimimo.com/v1") => merge(
|
|
449
|
+
createChatProvider({ apiKey, baseURL }),
|
|
450
|
+
createModelProvider({ apiKey, baseURL })
|
|
451
|
+
);
|
|
452
|
+
const createXiaomiTokenPlanCn = (apiKey, baseURL = "https://token-plan-cn.xiaomimimo.com/v1") => merge(
|
|
453
|
+
createChatProvider({ apiKey, baseURL }),
|
|
454
|
+
createModelProvider({ apiKey, baseURL })
|
|
455
|
+
);
|
|
456
|
+
const createXiaomiTokenPlanSgp = (apiKey, baseURL = "https://token-plan-sgp.xiaomimimo.com/v1") => merge(
|
|
457
|
+
createChatProvider({ apiKey, baseURL }),
|
|
458
|
+
createModelProvider({ apiKey, baseURL })
|
|
459
|
+
);
|
|
460
|
+
const createXpersona = (apiKey, baseURL = "https://www.xpersona.co/v1") => merge(
|
|
461
|
+
createChatProvider({ apiKey, baseURL }),
|
|
462
|
+
createModelProvider({ apiKey, baseURL })
|
|
463
|
+
);
|
|
352
464
|
const createZai = (apiKey, baseURL = "https://api.z.ai/api/paas/v4") => merge(
|
|
353
465
|
createChatProvider({ apiKey, baseURL }),
|
|
354
466
|
createModelProvider({ apiKey, baseURL })
|
|
@@ -442,4 +554,4 @@ const createTogetherAI = (apiKey, baseURL = "https://api.together.xyz/v1/") => m
|
|
|
442
554
|
})
|
|
443
555
|
);
|
|
444
556
|
|
|
445
|
-
export {
|
|
557
|
+
export { createMinimax as $, createFirepass as A, createFireworks as B, createFriendli as C, createFrogbot as D, createGithubCopilot as E, createGithubModels as F, createGmicloud as G, createGoogleGenerativeAI as H, createGroq as I, createHelicone as J, createHpcAi as K, createHuggingface as L, createIflowcn as M, createInception as N, createInceptron as O, createInference as P, createIoNet as Q, createJiekou as R, createKilo as S, createKimiForCoding as T, createKuaeCloudCodingPlan as U, createLilac as V, createLlama as W, createLlmgateway as X, createLmstudio as Y, createLucidquery as Z, createMeganova as _, createAbliterationAi as a, createTencentHunyuan as a$, createMinimaxCn as a0, createMinimaxCnCodingPlan as a1, createMinimaxCodingPlan as a2, createMistral as a3, createMixlayer as a4, createMoark as a5, createModelscope as a6, createMoonshotai as a7, createMoonshotaiCn as a8, createMorph as a9, createStackit as aA, createStepfun as aB, createStepfunAi as aC, createSubmodel as aD, createSynthetic as aE, createTencentCodingPlan as aF, createTencentTokenhub as aG, createTheGridAi as aH, createUmansAiCodingPlan as aI, createUpstage as aJ, createVenice as aK, createVivgrid as aL, createVultr as aM, createWaferAi as aN, createWandb as aO, createXai as aP, createXiaomi as aQ, createXiaomiTokenPlanAms as aR, createXiaomiTokenPlanCn as aS, createXiaomiTokenPlanSgp as aT, createXpersona as aU, createZai as aV, createZaiCodingPlan as aW, createZenmux as aX, createZhipuai as aY, createZhipuaiCodingPlan as aZ, createQianfan as a_, createNanoGpt as aa, createNearai as ab, createNebius as ac, createNeuralwatt as ad, createNova as ae, createNovitaAi as af, createNvidia as ag, createOllamaCloud as ah, createOpenAI as ai, createOpencode as aj, createOpencodeGo as ak, createOrcarouter as al, createOvhcloud as am, createPerplexity as an, createPerplexityAgent as ao, createPoe as ap, createPrivatemodeAi as aq, createQihangAi as ar, createQiniuAi as as, createRegoloAi as at, createRequesty as au, createRoutingRun as av, createSarvam as aw, createScaleway as ax, createSiliconFlow as ay, createSiliconflowCn as az, createAlibaba as b, createOllama as b0, createLitellm as b1, createAnthropic as b2, createFeatherless as b3, createOpenRouter as b4, createTogetherAI as b5, createAbacus as c, createAlibabaCn as d, createAlibabaCodingPlan as e, createAlibabaCodingPlanCn as f, createAmbient as g, createAtomicChat as h, createAuriko as i, createBailing as j, createBaseten as k, createBerget as l, createCerebras as m, createChutes as n, createClaudinio as o, createCloudferroSherlock as p, createCohere as q, createCortecs as r, createCrof as s, createDeepinfra as t, createDeepSeek as u, createDigitalocean as v, createDinference as w, createDrun as x, createEvroc as y, createFastrouter as z };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type OpenrouterModels = 'prime-intellect/intellect-3' | 'liquid/lfm-2-24b-a2b' | 'liquid/lfm-2.5-1.2b-thinking:free' | 'liquid/lfm-2.5-1.2b-instruct:free' | '~anthropic/claude-haiku-latest' | '~anthropic/claude-opus-latest' | '~anthropic/claude-sonnet-latest' | 'undi95/remm-slerp-l2-13b' | 'inception/mercury-2' | 'sao10k/l3.1-70b-hanami-x1' | 'sao10k/l3.1-euryale-70b' | 'sao10k/l3-lunaris-8b' | 'sao10k/l3-euryale-70b' | 'sao10k/l3.3-euryale-70b' | 'ibm-granite/granite-4.0-h-micro' | 'ibm-granite/granite-4.1-8b' | 'cohere/command-a' | 'thedrummer/unslopnemo-12b' | 'thedrummer/cydonia-24b-v4.1' | 'thedrummer/rocinante-12b' | 'thedrummer/skyfall-36b-v2' | 'bytedance/ui-tars-1.5-7b' | 'alfredpros/codellama-7b-instruct-solidity' | 'deepcogito/cogito-v2.1-671b' | '~openai/gpt-mini-latest' | '~openai/gpt-latest' | 'moonshotai/kimi-k2-0905' | 'moonshotai/kimi-k2' | 'morph/morph-v3-large' | 'morph/morph-v3-fast' | 'bytedance-seed/seed-1.6-flash' | 'bytedance-seed/seed-1.6' | 'bytedance-seed/seed-2.0-mini' | 'bytedance-seed/seed-2.0-lite' | 'z-ai/glm-4-32b' | 'openai/gpt-4o-mini-search-preview' | 'openai/gpt-3.5-turbo-16k' | 'openai/gpt-5-image-mini' | 'openai/gpt-4-0314' | 'openai/gpt-oss-20b:free' | 'openai/gpt-5.4-image-2' | 'openai/gpt-3.5-turbo-instruct' | 'openai/gpt-5.1-chat' | 'openai/gpt-audio' | 'openai/gpt-4o-search-preview' | 'openai/gpt-oss-20b' | 'openai/gpt-oss-120b:free' | 'openai/gpt-oss-safeguard-20b' | 'openai/gpt-4-turbo-preview' | 'openai/gpt-4o-audio-preview' | 'openai/gpt-5-image' | 'openai/gpt-4-1106-preview' | 'openai/gpt-3.5-turbo-0613' | 'openai/o3-mini-high' | 'openai/o4-mini-high' | 'openai/gpt-5-chat' | 'openai/gpt-4o-mini-2024-07-18' | 'openai/gpt-5.2-chat' | 'openai/gpt-chat-latest' | 'openai/gpt-oss-120b' | 'openai/gpt-audio-mini' | 'openai/gpt-5.3-chat' | 'relace/relace-apply-3' | 'relace/relace-search' | 'aion-labs/aion-1.0' | 'aion-labs/aion-rp-llama-3.1-8b' | 'aion-labs/aion-2.0' | 'aion-labs/aion-1.0-mini' | 'openrouter/pareto-code' | 'openrouter/free' | 'openrouter/owl-alpha' | 'openrouter/bodybuilder' | 'openrouter/auto' | 'switchpoint/router' | 'mancer/weaver' | 'amazon/nova-pro-v1' | 'amazon/nova-2-lite-v1' | 'amazon/nova-lite-v1' | 'amazon/nova-premier-v1' | 'amazon/nova-micro-v1' | 'writer/palmyra-x5' | 'inflection/inflection-3-productivity' | 'inflection/inflection-3-pi' | 'minimax/minimax-m1' | 'minimax/minimax-m2-her' | 'minimax/minimax-01' | 'x-ai/grok-4.20' | 'x-ai/grok-4.20-multi-agent' | 'kwaipilot/kat-coder-pro-v2' | 'nousresearch/hermes-4-405b' | 'nousresearch/hermes-3-llama-3.1-405b' | 'nousresearch/hermes-4-70b' | 'nousresearch/hermes-3-llama-3.1-70b' | 'nousresearch/hermes-3-llama-3.1-405b:free' | 'nousresearch/hermes-2-pro-llama-3-8b' | 'nvidia/nemotron-3-nano-30b-a3b:free' | 'nvidia/llama-3.3-nemotron-super-49b-v1.5' | 'nvidia/nemotron-3-super-120b-a12b:free' | 'nvidia/nemotron-3-super-120b-a12b' | 'nvidia/nemotron-nano-9b-v2' | 'nvidia/nemotron-nano-9b-v2:free' | 'nvidia/nemotron-nano-12b-v2-vl:free' | 'nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free' | 'nvidia/nemotron-3-nano-30b-a3b' | 'anthropic/claude-opus-4.6-fast' | 'anthropic/claude-3-haiku' | 'anthropic/claude-opus-4.7-fast' | 'anthropic/claude-opus-4' | 'anthropic/claude-sonnet-4' | 'anthropic/claude-3.5-haiku' | 'inclusionai/ring-2.6-1t' | 'inclusionai/ling-2.6-1t' | 'inclusionai/ling-2.6-flash' | 'mistralai/mistral-7b-instruct-v0.1' | 'mistralai/mistral-saba' | 'mistralai/codestral-2508' | 'mistralai/mistral-small-3.2-24b-instruct' | 'mistralai/mistral-medium-3-5' | 'mistralai/ministral-14b-2512' | 'mistralai/mixtral-8x22b-instruct' | 'mistralai/voxtral-small-24b-2507' | 'mistralai/devstral-medium' | 'mistralai/pixtral-large-2411' | 'mistralai/mistral-large-2407' | 'mistralai/mistral-large' | 'mistralai/ministral-3b-2512' | 'mistralai/mistral-medium-3' | 'mistralai/mistral-small-24b-instruct-2501' | 'mistralai/devstral-small' | 'mistralai/ministral-8b-2512' | 'mistralai/mistral-medium-3.1' | 'mistralai/mistral-small-3.1-24b-instruct' | 'qwen/qwen3-vl-8b-thinking' | 'qwen/qwen3-30b-a3b-instruct-2507' | 'qwen/qwen3.5-plus-20260420' | 'qwen/qwen3-vl-235b-a22b-instruct' | 'qwen/qwen3.6-27b' | 'qwen/qwen2.5-vl-72b-instruct' | 'qwen/qwen3.5-plus-02-15' | 'qwen/qwen3-vl-235b-a22b-thinking' | 'qwen/qwen3-8b' | 'qwen/qwen-2.5-72b-instruct' | 'qwen/qwen3.5-122b-a10b' | 'qwen/qwen3.7-max' | 'qwen/qwen-plus-2025-07-28:thinking' | 'qwen/qwen3-max-thinking' | 'qwen/qwen3-max' | 'qwen/qwen3-235b-a22b-2507' | 'qwen/qwen3-235b-a22b' | 'qwen/qwen3.5-397b-a17b' | 'qwen/qwen-2.5-coder-32b-instruct' | 'qwen/qwen3.5-9b' | 'qwen/qwen3-coder-next' | 'qwen/qwen3-coder:free' | 'qwen/qwen3-next-80b-a3b-instruct:free' | 'qwen/qwen3-coder' | 'qwen/qwen3.6-plus' | 'qwen/qwen3-coder-flash' | 'qwen/qwen3-30b-a3b-thinking-2507' | 'qwen/qwen3-32b' | 'qwen/qwen3-next-80b-a3b-thinking' | 'qwen/qwen3.5-flash-02-23' | 'qwen/qwen3-30b-a3b' | 'qwen/qwen3-vl-30b-a3b-thinking' | 'qwen/qwen3.5-35b-a3b' | 'qwen/qwen3.6-35b-a3b' | 'qwen/qwen-plus-2025-07-28' | 'qwen/qwen3-vl-8b-instruct' | 'qwen/qwen3-235b-a22b-thinking-2507' | 'qwen/qwen3.6-max-preview' | 'qwen/qwen3-coder-30b-a3b-instruct' | 'qwen/qwen3-next-80b-a3b-instruct' | 'qwen/qwen3.5-27b' | 'qwen/qwen3.6-flash' | 'qwen/qwen3-vl-30b-a3b-instruct' | 'qwen/qwen-plus' | 'qwen/qwen3-coder-plus' | 'qwen/qwen-2.5-7b-instruct' | 'qwen/qwen3-14b' | 'qwen/qwen3-vl-32b-instruct' | 'tencent/hy3-preview' | 'tencent/hunyuan-a13b-instruct' | 'google/gemini-3-pro-image-preview' | 'google/gemma-3-27b-it' | 'google/gemini-2.5-pro-preview' | 'google/gemma-3n-e4b-it' | 'google/gemini-2.5-pro-preview-05-06' | 'google/gemini-2.5-flash-lite-preview-09-2025' | 'google/lyria-3-clip-preview' | 'google/gemini-2.0-flash-lite-001' | 'google/gemini-2.0-flash-001' | 'google/gemma-2-27b-it' | 'google/lyria-3-pro-preview' | 'google/gemma-3-12b-it' | 'google/gemma-3-4b-it' | 'microsoft/phi-4' | 'microsoft/wizardlm-2-8x22b' | 'microsoft/phi-4-mini-instruct' | '~google/gemini-flash-latest' | '~google/gemini-pro-latest' | 'gryphe/mythomax-l2-13b' | 'nex-agi/deepseek-v3.1-nex-n1' | 'upstage/solar-pro-3' | 'anthracite-org/magnum-v4-72b' | 'deepseek/deepseek-v3.2-exp' | 'deepseek/deepseek-r1' | 'deepseek/deepseek-r1-0528' | 'deepseek/deepseek-v3.2-speciale' | 'deepseek/deepseek-v3.2' | 'deepseek/deepseek-chat-v3-0324' | 'deepseek/deepseek-r1-distill-llama-70b' | 'deepseek/deepseek-r1-distill-qwen-32b' | 'deepseek/deepseek-chat-v3.1' | 'deepseek/deepseek-v3.1-terminus' | 'perplexity/sonar' | 'perplexity/sonar-deep-research' | 'perplexity/sonar-reasoning-pro' | 'perplexity/sonar-pro-search' | 'perplexity/sonar-pro' | 'ai21/jamba-large-1.7' | 'meta-llama/llama-3.1-70b-instruct' | 'meta-llama/llama-4-scout' | 'meta-llama/llama-3.2-1b-instruct' | 'meta-llama/llama-3.2-3b-instruct:free' | 'meta-llama/llama-guard-3-8b' | 'meta-llama/llama-3-70b-instruct' | 'meta-llama/llama-3.2-11b-vision-instruct' | 'meta-llama/llama-3-8b-instruct' | 'meta-llama/llama-4-maverick' | 'meta-llama/llama-3.2-3b-instruct' | 'meta-llama/llama-guard-4-12b' | 'meta-llama/llama-3.1-8b-instruct' | 'arcee-ai/trinity-large-thinking:free' | 'arcee-ai/spotlight' | 'arcee-ai/trinity-mini' | 'arcee-ai/maestro-reasoning' | 'arcee-ai/coder-large' | 'arcee-ai/virtuoso-large' | 'arcee-ai/trinity-large-thinking' | 'essentialai/rnj-1-instruct' | 'alibaba/tongyi-deepresearch-30b-a3b' | 'stepfun/step-3.5-flash' | 'perceptron/perceptron-mk1' | 'allenai/olmo-3-32b-think' | 'cognitivecomputations/dolphin-mistral-24b-venice-edition:free' | 'rekaai/reka-flash-3' | 'rekaai/reka-edge' | 'baidu/qianfan-ocr-fast' | 'baidu/ernie-4.5-vl-424b-a47b' | 'baidu/ernie-4.5-21b-a3b' | 'baidu/ernie-4.5-300b-a47b' | 'baidu/ernie-4.5-21b-a3b-thinking' | 'baidu/cobuddy:free' | 'baidu/ernie-4.5-vl-28b-a3b' | '~moonshotai/kimi-latest' | 'poolside/laguna-xs.2:free' | 'poolside/laguna-m.1:free' | 'cohere/command-r-08-2024' | 'cohere/command-r-plus-08-2024' | 'cohere/command-r7b-12-2024' | 'moonshotai/kimi-k2.5' | 'moonshotai/kimi-k2-thinking' | 'moonshotai/kimi-k2.6' | 'z-ai/glm-5.1' | 'z-ai/glm-5v-turbo' | 'z-ai/glm-4.5-air' | 'z-ai/glm-4.5v' | 'z-ai/glm-4.7-flash' | 'z-ai/glm-4.6' | 'z-ai/glm-4.5' | 'z-ai/glm-4.5-air:free' | 'z-ai/glm-5-turbo' | 'z-ai/glm-4.7' | 'z-ai/glm-5' | 'z-ai/glm-4.6v' | 'openai/gpt-4o' | 'openai/gpt-5.2' | 'openai/gpt-3.5-turbo' | 'openai/o3-pro' | 'openai/gpt-5.4-nano' | 'openai/gpt-5.5-pro' | 'openai/gpt-5.1-codex-mini' | 'openai/gpt-5.2-pro' | 'openai/gpt-4o-2024-05-13' | 'openai/gpt-5-codex' | 'openai/gpt-4.1' | 'openai/gpt-5-pro' | 'openai/gpt-4.1-mini' | 'openai/gpt-5.1' | 'openai/gpt-5-nano' | 'openai/gpt-5.4' | 'openai/gpt-4o-mini' | 'openai/o1-pro' | 'openai/gpt-4-turbo' | 'openai/gpt-5.4-mini' | 'openai/o1' | 'openai/gpt-5.1-codex-max' | 'openai/gpt-5.5' | 'openai/gpt-5.4-pro' | 'openai/o4-mini-deep-research' | 'openai/gpt-4.1-nano' | 'openai/gpt-4' | 'openai/o4-mini' | 'openai/gpt-5.1-codex' | 'openai/gpt-4o-2024-11-20' | 'openai/gpt-5.2-codex' | 'openai/gpt-5-mini' | 'openai/o3-mini' | 'openai/gpt-5.3-codex' | 'openai/gpt-4o-2024-08-06' | 'openai/o3' | 'openai/o3-deep-research' | 'openai/gpt-5' | 'minimax/minimax-m2.1' | 'minimax/minimax-m2' | 'minimax/minimax-m2.5' | 'minimax/minimax-m2.5:free' | 'minimax/minimax-m2.7' | 'x-ai/grok-build-0.1' | 'x-ai/grok-4.3' | 'anthropic/claude-sonnet-4.6' | 'anthropic/claude-sonnet-4.5' | 'anthropic/claude-opus-4.6' | 'anthropic/claude-opus-4.1' | 'anthropic/claude-haiku-4.5' | 'anthropic/claude-opus-4.5' | 'anthropic/claude-opus-4.7' | 'mistralai/mistral-large-2512' | 'mistralai/mistral-large-2411' | 'mistralai/mistral-small-2603' | 'mistralai/mistral-nemo' | 'mistralai/devstral-2512' | 'google/gemma-4-26b-a4b-it:free' | 'google/gemma-4-26b-a4b-it' | 'google/gemini-3.5-flash' | 'google/gemini-3.1-flash-lite' | 'google/gemini-2.5-pro' | 'google/gemma-4-31b-it' | 'google/gemini-3.1-flash-image-preview' | 'google/gemini-2.5-flash-lite' | 'google/gemini-3.1-pro-preview-customtools' | 'google/gemini-3.1-flash-lite-preview' | 'google/gemini-3.1-pro-preview' | 'google/gemma-4-31b-it:free' | 'google/gemini-3-flash-preview' | 'google/gemini-2.5-flash' | 'google/gemini-2.5-flash-image' | 'deepseek/deepseek-chat' | 'deepseek/deepseek-v4-pro' | 'deepseek/deepseek-v4-flash:free' | 'deepseek/deepseek-v4-flash' | 'meta-llama/llama-3.3-70b-instruct:free' | 'meta-llama/llama-3.3-70b-instruct' | 'xiaomi/mimo-v2-omni' | 'xiaomi/mimo-v2.5-pro' | 'xiaomi/mimo-v2-flash' | 'xiaomi/mimo-v2-pro' | 'xiaomi/mimo-v2.5';
|
|
2
|
+
type AnthropicModels = 'claude-opus-4-1-20250805' | 'claude-haiku-4-5' | 'claude-3-haiku-20240307' | 'claude-3-sonnet-20240229' | 'claude-3-5-haiku-latest' | 'claude-3-opus-20240229' | 'claude-haiku-4-5-20251001' | 'claude-3-5-sonnet-20240620' | 'claude-opus-4-0' | 'claude-sonnet-4-5' | 'claude-sonnet-4-6' | 'claude-sonnet-4-0' | 'claude-opus-4-1' | 'claude-3-5-haiku-20241022' | 'claude-3-5-sonnet-20241022' | 'claude-opus-4-5-20251101' | 'claude-opus-4-20250514' | 'claude-sonnet-4-5-20250929' | 'claude-opus-4-7' | 'claude-opus-4-6' | 'claude-3-7-sonnet-20250219' | 'claude-sonnet-4-20250514' | 'claude-opus-4-5';
|
|
3
|
+
type AzureModels = 'kimi-k2.5' | 'claude-haiku-4-5' | 'text-embedding-3-large' | 'mistral-large-2411' | 'phi-4-reasoning-plus' | 'gpt-3.5-turbo-0301' | 'phi-4-multimodal' | 'meta-llama-3.1-405b-instruct' | 'gpt-4-turbo-vision' | 'gpt-5.2' | 'gpt-3.5-turbo-0125' | 'meta-llama-3.1-70b-instruct' | 'deepseek-r1' | 'llama-4-maverick-17b-128e-instruct-fp8' | 'o1-preview' | 'text-embedding-ada-002' | 'gpt-5.1-codex-mini' | 'grok-4-1-fast-reasoning' | 'deepseek-r1-0528' | 'deepseek-v3-0324' | 'cohere-embed-v3-multilingual' | 'deepseek-v3.2-speciale' | 'phi-3-medium-128k-instruct' | 'codestral-2501' | 'deepseek-v3.2' | 'grok-4-1-fast-non-reasoning' | 'phi-3-medium-4k-instruct' | 'phi-4' | 'claude-sonnet-4-5' | 'mistral-nemo' | 'phi-3-mini-128k-instruct' | 'gpt-3.5-turbo-instruct' | 'gpt-5-codex' | 'phi-4-reasoning' | 'gpt-5.1-chat' | 'phi-3-small-128k-instruct' | 'model-router' | 'phi-3-small-8k-instruct' | 'phi-3.5-moe-instruct' | 'phi-3.5-mini-instruct' | 'text-embedding-3-small' | 'llama-4-scout-17b-16e-instruct' | 'mistral-small-2503' | 'claude-opus-4-1' | 'meta-llama-3-70b-instruct' | 'gpt-3.5-turbo-1106' | 'gpt-5.1' | 'gpt-5-nano' | 'mai-ds-r1' | 'kimi-k2-thinking' | 'llama-3.2-90b-vision-instruct' | 'codex-mini' | 'o1' | 'cohere-embed-v3-english' | 'gpt-3.5-turbo-0613' | 'deepseek-v3.1' | 'cohere-command-a' | 'mistral-medium-2505' | 'gpt-4-32k' | 'meta-llama-3-8b-instruct' | 'ministral-3b' | 'llama-3.2-11b-vision-instruct' | 'phi-3-mini-4k-instruct' | 'gpt-4' | 'gpt-5.1-codex' | 'gpt-5.2-codex' | 'phi-4-mini' | 'gpt-5-chat' | 'meta-llama-3.1-8b-instruct' | 'gpt-5-mini' | 'gpt-5.3-codex' | 'gpt-5.2-chat' | 'grok-4-20-reasoning' | 'claude-opus-4-6' | 'llama-3.3-70b-instruct' | 'grok-4-20-non-reasoning' | 'o1-mini' | 'cohere-embed-v-4-0' | 'gpt-5.3-chat' | 'phi-4-mini-reasoning' | 'kimi-k2.6' | 'grok-4-fast-reasoning' | 'claude-opus-4-5' | 'gpt-5' | 'gpt-4o' | 'gpt-5.4-nano' | 'cohere-command-r-plus-08-2024' | 'gpt-4.1' | 'claude-sonnet-4-6' | 'gpt-5-pro' | 'gpt-4.1-mini' | 'gpt-5.4' | 'gpt-4o-mini' | 'gpt-4-turbo' | 'cohere-command-r-08-2024' | 'gpt-5.4-mini' | 'gpt-5.1-codex-max' | 'gpt-5.5' | 'gpt-5.4-pro' | 'gpt-4.1-nano' | 'o4-mini' | 'o3-mini' | 'o3';
|
|
4
|
+
type TogetheraiModels = 'deepseek-ai/DeepSeek-R1' | 'deepseek-ai/DeepSeek-V4-Pro' | 'deepseek-ai/DeepSeek-V3-1' | 'deepseek-ai/DeepSeek-V3' | 'moonshotai/Kimi-K2.6' | 'moonshotai/Kimi-K2.5' | 'openai/gpt-oss-120b' | 'zai-org/GLM-5.1' | 'google/gemma-4-31B-it' | 'meta-llama/Llama-3.3-70B-Instruct-Turbo' | 'essentialai/Rnj-1-Instruct' | 'MiniMaxAI/MiniMax-M2.7' | 'MiniMaxAI/MiniMax-M2.5' | 'Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8' | 'Qwen/Qwen3-235B-A22B-Instruct-2507-tput' | 'Qwen/Qwen3.6-Plus' | 'Qwen/Qwen3-Coder-Next-FP8' | 'Qwen/Qwen3.5-397B-A17B' | 'Qwen/Qwen3.7-Max';
|
|
5
|
+
|
|
6
|
+
export type { AnthropicModels as A, 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.5.0-beta.
|
|
4
|
+
"version": "0.5.0-beta.5",
|
|
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.5.0-beta.
|
|
48
|
+
"@xsai/shared": "0.5.0-beta.5"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"scule": "^1.3.0",
|
package/dist/types-JlPM4HgL.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
type OpenrouterModels = 'openai/gpt-5.2-codex' | 'openai/gpt-5.1-codex-mini' | 'openai/gpt-5.4-pro' | 'openai/gpt-oss-120b:free' | 'openai/gpt-oss-120b:exacto' | 'openai/gpt-5.4-mini' | 'openai/gpt-5-pro' | 'openai/gpt-5' | 'openai/gpt-5.3-codex' | 'openai/gpt-5-mini' | 'openai/gpt-4o-mini' | 'openai/gpt-5.1-codex-max' | 'openai/gpt-4.1' | 'openai/gpt-oss-120b' | 'openai/gpt-5.1-chat' | 'openai/gpt-5.4' | 'openai/gpt-oss-20b:free' | 'openai/gpt-5-chat' | 'openai/gpt-5.4-nano' | 'openai/gpt-5.2-chat' | 'openai/gpt-5.2' | 'openai/gpt-5.1' | 'openai/gpt-4.1-mini' | 'openai/gpt-5-nano' | 'openai/gpt-oss-safeguard-20b' | 'openai/gpt-oss-20b' | 'openai/gpt-5-image' | 'openai/gpt-5-codex' | 'openai/o4-mini' | 'openai/gpt-5.1-codex' | 'openai/gpt-5.2-pro' | 'prime-intellect/intellect-3' | 'x-ai/grok-4-fast' | 'x-ai/grok-4.20-beta' | 'x-ai/grok-4.1-fast' | 'x-ai/grok-4' | 'x-ai/grok-code-fast-1' | 'x-ai/grok-4.20-multi-agent-beta' | 'x-ai/grok-3-mini' | 'x-ai/grok-3-beta' | 'x-ai/grok-3' | 'x-ai/grok-3-mini-beta' | 'anthropic/claude-opus-4.6' | 'anthropic/claude-haiku-4.5' | 'anthropic/claude-opus-4.1' | 'anthropic/claude-3.7-sonnet' | 'anthropic/claude-sonnet-4.6' | 'anthropic/claude-sonnet-4' | 'anthropic/claude-3.5-haiku' | 'anthropic/claude-opus-4.5' | 'anthropic/claude-sonnet-4.5' | 'anthropic/claude-opus-4' | 'deepseek/deepseek-v3.1-terminus' | 'deepseek/deepseek-r1-distill-llama-70b' | 'deepseek/deepseek-v3.1-terminus:exacto' | 'deepseek/deepseek-chat-v3.1' | 'deepseek/deepseek-v3.2-speciale' | 'deepseek/deepseek-chat-v3-0324' | 'deepseek/deepseek-v3.2' | 'nvidia/nemotron-nano-9b-v2:free' | 'nvidia/nemotron-3-super-120b-a12b' | 'nvidia/nemotron-nano-12b-v2-vl:free' | 'nvidia/nemotron-nano-9b-v2' | 'nvidia/nemotron-3-super-120b-a12b:free' | 'nvidia/nemotron-3-nano-30b-a3b:free' | 'z-ai/glm-4.7-flash' | 'z-ai/glm-5-turbo' | 'z-ai/glm-4.5' | 'z-ai/glm-4.6' | 'z-ai/glm-4.5-air:free' | 'z-ai/glm-5' | 'z-ai/glm-4.5-air' | 'z-ai/glm-4.5v' | 'z-ai/glm-4.7' | 'z-ai/glm-4.6:exacto' | 'sourceful/riverflow-v2-standard-preview' | 'sourceful/riverflow-v2-fast-preview' | 'sourceful/riverflow-v2-max-preview' | 'cognitivecomputations/dolphin-mistral-24b-venice-edition:free' | 'google/gemini-2.5-flash-lite' | 'google/gemma-3-12b-it:free' | 'google/gemini-2.5-flash-lite-preview-09-2025' | 'google/gemma-2-9b-it' | 'google/gemini-3.1-pro-preview' | 'google/gemini-3-pro-preview' | 'google/gemma-3-27b-it' | 'google/gemma-3-4b-it' | 'google/gemma-3n-e4b-it' | 'google/gemini-2.5-pro-preview-06-05' | 'google/gemma-3-4b-it:free' | 'google/gemini-2.5-pro-preview-05-06' | 'google/gemini-2.0-flash-001' | 'google/gemma-3-27b-it:free' | 'google/gemini-3-flash-preview' | 'google/gemini-2.5-pro' | 'google/gemini-2.5-flash' | 'google/gemini-3.1-pro-preview-customtools' | 'google/gemini-2.5-flash-preview-09-2025' | 'google/gemini-3.1-flash-lite-preview' | 'google/gemma-3-12b-it' | 'google/gemma-3n-e2b-it:free' | 'google/gemma-3n-e4b-it:free' | 'meta-llama/llama-3.2-11b-vision-instruct' | 'meta-llama/llama-3.2-3b-instruct:free' | 'meta-llama/llama-3.3-70b-instruct:free' | 'openrouter/free' | 'arcee-ai/trinity-mini:free' | 'arcee-ai/trinity-large-preview:free' | 'nousresearch/hermes-4-70b' | 'nousresearch/hermes-4-405b' | 'nousresearch/hermes-3-llama-3.1-405b:free' | 'minimax/minimax-01' | 'minimax/minimax-m2' | 'minimax/minimax-m2.1' | 'minimax/minimax-m2.7' | 'minimax/minimax-m2.5' | 'minimax/minimax-m1' | 'qwen/qwen3-coder-30b-a3b-instruct' | 'qwen/qwen3-235b-a22b-07-25' | 'qwen/qwen3-30b-a3b-thinking-2507' | 'qwen/qwen3.5-plus-02-15' | 'qwen/qwen3-coder' | 'qwen/qwen3-4b:free' | 'qwen/qwen3-coder:free' | 'qwen/qwen2.5-vl-72b-instruct' | 'qwen/qwen3-next-80b-a3b-thinking' | 'qwen/qwen3-235b-a22b-thinking-2507' | 'qwen/qwen3-next-80b-a3b-instruct:free' | 'qwen/qwen3-next-80b-a3b-instruct' | 'qwen/qwen3.6-plus-preview:free' | 'qwen/qwen3-coder:exacto' | 'qwen/qwen3.5-397b-a17b' | 'qwen/qwen3-max' | 'qwen/qwen3-coder-flash' | 'qwen/qwen-2.5-coder-32b-instruct' | 'qwen/qwen3-30b-a3b-instruct-2507' | 'xiaomi/mimo-v2-pro' | 'xiaomi/mimo-v2-omni' | 'xiaomi/mimo-v2-flash' | 'black-forest-labs/flux.2-pro' | 'black-forest-labs/flux.2-max' | 'black-forest-labs/flux.2-klein-4b' | 'black-forest-labs/flux.2-flex' | 'stepfun/step-3.5-flash' | 'stepfun/step-3.5-flash:free' | 'liquid/lfm-2.5-1.2b-instruct:free' | 'liquid/lfm-2.5-1.2b-thinking:free' | 'moonshotai/kimi-k2-thinking' | 'moonshotai/kimi-k2.5' | 'moonshotai/kimi-k2-0905' | 'moonshotai/kimi-k2' | 'moonshotai/kimi-k2-0905:exacto' | 'moonshotai/kimi-k2:free' | 'bytedance-seed/seedream-4.5' | 'inception/mercury-2' | 'inception/mercury-coder' | 'inception/mercury' | 'mistralai/mistral-medium-3.1' | 'mistralai/devstral-small-2505' | 'mistralai/mistral-small-2603' | 'mistralai/mistral-medium-3' | 'mistralai/devstral-2512' | 'mistralai/codestral-2508' | 'mistralai/devstral-medium-2507' | 'mistralai/devstral-small-2507' | 'mistralai/mistral-small-3.2-24b-instruct' | 'mistralai/mistral-small-3.1-24b-instruct';
|
|
2
|
-
type AnthropicModels = 'claude-opus-4-5-20251101' | 'claude-opus-4-20250514' | 'claude-opus-4-5' | 'claude-3-7-sonnet-20250219' | 'claude-opus-4-6' | 'claude-sonnet-4-5-20250929' | 'claude-sonnet-4-6' | 'claude-3-5-haiku-20241022' | 'claude-sonnet-4-0' | 'claude-3-haiku-20240307' | 'claude-sonnet-4-20250514' | 'claude-opus-4-1' | 'claude-3-opus-20240229' | 'claude-3-5-haiku-latest' | 'claude-3-5-sonnet-20240620' | 'claude-opus-4-1-20250805' | 'claude-opus-4-0' | 'claude-haiku-4-5-20251001' | 'claude-sonnet-4-5' | 'claude-3-7-sonnet-latest' | 'claude-haiku-4-5' | 'claude-3-sonnet-20240229' | 'claude-3-5-sonnet-20241022';
|
|
3
|
-
type AzureModels = 'gpt-5.2-codex' | 'text-embedding-3-large' | 'gpt-5.1-codex-mini' | 'phi-4-multimodal' | 'cohere-embed-v3-multilingual' | 'gpt-5.4-pro' | 'cohere-embed-v3-english' | 'o3-mini' | 'gpt-5.4-mini' | 'gpt-5-pro' | 'gpt-3.5-turbo-0613' | 'deepseek-v3-0324' | 'meta-llama-3.1-8b-instruct' | 'kimi-k2-thinking' | 'deepseek-r1' | 'gpt-5' | 'llama-3.3-70b-instruct' | 'phi-3-mini-128k-instruct' | 'phi-3-small-8k-instruct' | 'claude-opus-4-5' | 'kimi-k2.5' | 'gpt-4-turbo' | 'gpt-4o' | 'grok-4-fast-non-reasoning' | 'grok-4' | 'gpt-3.5-turbo-1106' | 'phi-4-mini' | 'phi-4-reasoning' | 'grok-code-fast-1' | 'codestral-2501' | 'gpt-5.3-codex' | 'gpt-5-mini' | 'gpt-4-turbo-vision' | 'mistral-large-2411' | 'claude-opus-4-6' | 'gpt-4o-mini' | 'gpt-5.1-codex-max' | 'gpt-4.1' | 'codex-mini' | 'phi-4-mini-reasoning' | 'llama-4-scout-17b-16e-instruct' | 'llama-3.2-11b-vision-instruct' | 'phi-3-mini-4k-instruct' | 'phi-3-medium-4k-instruct' | 'model-router' | 'gpt-3.5-turbo-instruct' | 'gpt-5.1-chat' | 'gpt-5.4' | 'o1' | 'o3' | 'grok-4-1-fast-non-reasoning' | 'mai-ds-r1' | 'mistral-small-2503' | 'gpt-5-chat' | 'cohere-command-r-plus-08-2024' | 'meta-llama-3-70b-instruct' | 'phi-3.5-mini-instruct' | 'meta-llama-3-8b-instruct' | 'grok-3-mini' | 'claude-opus-4-1' | 'gpt-5.4-nano' | 'gpt-4-32k' | 'mistral-medium-2505' | 'gpt-4' | 'gpt-5.3-chat' | 'llama-3.2-90b-vision-instruct' | 'deepseek-v3.2-speciale' | 'text-embedding-ada-002' | 'ministral-3b' | 'mistral-nemo' | 'gpt-5.2-chat' | 'gpt-5.2' | 'gpt-3.5-turbo-0301' | 'phi-4' | 'grok-4-1-fast-reasoning' | 'gpt-5.1' | 'deepseek-v3.1' | 'cohere-command-r-08-2024' | 'gpt-4.1-mini' | 'phi-3-medium-128k-instruct' | 'meta-llama-3.1-405b-instruct' | 'phi-3.5-moe-instruct' | 'grok-4-fast-reasoning' | 'gpt-5-nano' | 'cohere-command-a' | 'grok-3' | 'phi-4-reasoning-plus' | 'cohere-embed-v-4-0' | 'llama-4-maverick-17b-128e-instruct-fp8' | 'deepseek-r1-0528' | 'phi-3-small-128k-instruct' | 'meta-llama-3.1-70b-instruct' | 'gpt-4.1-nano' | 'claude-sonnet-4-5' | 'o1-preview' | 'deepseek-v3.2' | 'gpt-3.5-turbo-0125' | 'text-embedding-3-small' | 'gpt-5-codex' | 'o4-mini' | 'claude-haiku-4-5' | 'gpt-5.1-codex' | 'o1-mini';
|
|
4
|
-
type TogetheraiModels = 'openai/gpt-oss-120b' | 'zai-org/GLM-4.7' | 'zai-org/GLM-5' | 'zai-org/GLM-4.6' | 'meta-llama/Llama-3.3-70B-Instruct-Turbo' | 'MiniMaxAI/MiniMax-M2.5' | 'essentialai/Rnj-1-Instruct' | 'deepseek-ai/DeepSeek-R1' | 'deepseek-ai/DeepSeek-V3-1' | 'deepseek-ai/DeepSeek-V3' | 'Qwen/Qwen3-Coder-Next-FP8' | 'Qwen/Qwen3-235B-A22B-Instruct-2507-tput' | 'Qwen/Qwen3.5-397B-A17B' | 'Qwen/Qwen3-Next-80B-A3B-Instruct' | 'Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8' | 'moonshotai/Kimi-K2-Instruct' | 'moonshotai/Kimi-K2.5';
|
|
5
|
-
|
|
6
|
-
export type { AnthropicModels as A, OpenrouterModels as O, TogetheraiModels as T, AzureModels as a };
|