@openrouter/sdk 0.12.22 → 0.12.24

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.
@@ -0,0 +1,667 @@
1
+ import * as z from "zod/v4";
2
+ /**
3
+ * Provider-specific options keyed by provider slug. The options for the matched provider are spread into the upstream request body.
4
+ */
5
+ export type ProviderOptions = {
6
+ oneai?: {
7
+ [k: string]: any | null;
8
+ } | undefined;
9
+ ai21?: {
10
+ [k: string]: any | null;
11
+ } | undefined;
12
+ aionLabs?: {
13
+ [k: string]: any | null;
14
+ } | undefined;
15
+ akashml?: {
16
+ [k: string]: any | null;
17
+ } | undefined;
18
+ alibaba?: {
19
+ [k: string]: any | null;
20
+ } | undefined;
21
+ amazonBedrock?: {
22
+ [k: string]: any | null;
23
+ } | undefined;
24
+ amazonNova?: {
25
+ [k: string]: any | null;
26
+ } | undefined;
27
+ ambient?: {
28
+ [k: string]: any | null;
29
+ } | undefined;
30
+ anthropic?: {
31
+ [k: string]: any | null;
32
+ } | undefined;
33
+ anyscale?: {
34
+ [k: string]: any | null;
35
+ } | undefined;
36
+ arceeAi?: {
37
+ [k: string]: any | null;
38
+ } | undefined;
39
+ atlasCloud?: {
40
+ [k: string]: any | null;
41
+ } | undefined;
42
+ atoma?: {
43
+ [k: string]: any | null;
44
+ } | undefined;
45
+ avian?: {
46
+ [k: string]: any | null;
47
+ } | undefined;
48
+ azure?: {
49
+ [k: string]: any | null;
50
+ } | undefined;
51
+ baidu?: {
52
+ [k: string]: any | null;
53
+ } | undefined;
54
+ baseten?: {
55
+ [k: string]: any | null;
56
+ } | undefined;
57
+ blackForestLabs?: {
58
+ [k: string]: any | null;
59
+ } | undefined;
60
+ byteplus?: {
61
+ [k: string]: any | null;
62
+ } | undefined;
63
+ centml?: {
64
+ [k: string]: any | null;
65
+ } | undefined;
66
+ cerebras?: {
67
+ [k: string]: any | null;
68
+ } | undefined;
69
+ chutes?: {
70
+ [k: string]: any | null;
71
+ } | undefined;
72
+ cirrascale?: {
73
+ [k: string]: any | null;
74
+ } | undefined;
75
+ clarifai?: {
76
+ [k: string]: any | null;
77
+ } | undefined;
78
+ cloudflare?: {
79
+ [k: string]: any | null;
80
+ } | undefined;
81
+ cohere?: {
82
+ [k: string]: any | null;
83
+ } | undefined;
84
+ crofai?: {
85
+ [k: string]: any | null;
86
+ } | undefined;
87
+ crusoe?: {
88
+ [k: string]: any | null;
89
+ } | undefined;
90
+ deepinfra?: {
91
+ [k: string]: any | null;
92
+ } | undefined;
93
+ deepseek?: {
94
+ [k: string]: any | null;
95
+ } | undefined;
96
+ dekallm?: {
97
+ [k: string]: any | null;
98
+ } | undefined;
99
+ enfer?: {
100
+ [k: string]: any | null;
101
+ } | undefined;
102
+ fakeProvider?: {
103
+ [k: string]: any | null;
104
+ } | undefined;
105
+ featherless?: {
106
+ [k: string]: any | null;
107
+ } | undefined;
108
+ fireworks?: {
109
+ [k: string]: any | null;
110
+ } | undefined;
111
+ friendli?: {
112
+ [k: string]: any | null;
113
+ } | undefined;
114
+ gmicloud?: {
115
+ [k: string]: any | null;
116
+ } | undefined;
117
+ googleAiStudio?: {
118
+ [k: string]: any | null;
119
+ } | undefined;
120
+ googleVertex?: {
121
+ [k: string]: any | null;
122
+ } | undefined;
123
+ gopomelo?: {
124
+ [k: string]: any | null;
125
+ } | undefined;
126
+ groq?: {
127
+ [k: string]: any | null;
128
+ } | undefined;
129
+ huggingface?: {
130
+ [k: string]: any | null;
131
+ } | undefined;
132
+ hyperbolic?: {
133
+ [k: string]: any | null;
134
+ } | undefined;
135
+ hyperbolicQuantized?: {
136
+ [k: string]: any | null;
137
+ } | undefined;
138
+ inception?: {
139
+ [k: string]: any | null;
140
+ } | undefined;
141
+ inceptron?: {
142
+ [k: string]: any | null;
143
+ } | undefined;
144
+ inferenceNet?: {
145
+ [k: string]: any | null;
146
+ } | undefined;
147
+ infermatic?: {
148
+ [k: string]: any | null;
149
+ } | undefined;
150
+ inflection?: {
151
+ [k: string]: any | null;
152
+ } | undefined;
153
+ inocloud?: {
154
+ [k: string]: any | null;
155
+ } | undefined;
156
+ ioNet?: {
157
+ [k: string]: any | null;
158
+ } | undefined;
159
+ ionstream?: {
160
+ [k: string]: any | null;
161
+ } | undefined;
162
+ klusterai?: {
163
+ [k: string]: any | null;
164
+ } | undefined;
165
+ lambda?: {
166
+ [k: string]: any | null;
167
+ } | undefined;
168
+ lepton?: {
169
+ [k: string]: any | null;
170
+ } | undefined;
171
+ liquid?: {
172
+ [k: string]: any | null;
173
+ } | undefined;
174
+ lynn?: {
175
+ [k: string]: any | null;
176
+ } | undefined;
177
+ lynnPrivate?: {
178
+ [k: string]: any | null;
179
+ } | undefined;
180
+ mancer?: {
181
+ [k: string]: any | null;
182
+ } | undefined;
183
+ mancerOld?: {
184
+ [k: string]: any | null;
185
+ } | undefined;
186
+ mara?: {
187
+ [k: string]: any | null;
188
+ } | undefined;
189
+ meta?: {
190
+ [k: string]: any | null;
191
+ } | undefined;
192
+ minimax?: {
193
+ [k: string]: any | null;
194
+ } | undefined;
195
+ mistral?: {
196
+ [k: string]: any | null;
197
+ } | undefined;
198
+ modal?: {
199
+ [k: string]: any | null;
200
+ } | undefined;
201
+ modelrun?: {
202
+ [k: string]: any | null;
203
+ } | undefined;
204
+ modular?: {
205
+ [k: string]: any | null;
206
+ } | undefined;
207
+ moonshotai?: {
208
+ [k: string]: any | null;
209
+ } | undefined;
210
+ morph?: {
211
+ [k: string]: any | null;
212
+ } | undefined;
213
+ ncompass?: {
214
+ [k: string]: any | null;
215
+ } | undefined;
216
+ nebius?: {
217
+ [k: string]: any | null;
218
+ } | undefined;
219
+ nexAgi?: {
220
+ [k: string]: any | null;
221
+ } | undefined;
222
+ nextbit?: {
223
+ [k: string]: any | null;
224
+ } | undefined;
225
+ nineteen?: {
226
+ [k: string]: any | null;
227
+ } | undefined;
228
+ novita?: {
229
+ [k: string]: any | null;
230
+ } | undefined;
231
+ nvidia?: {
232
+ [k: string]: any | null;
233
+ } | undefined;
234
+ octoai?: {
235
+ [k: string]: any | null;
236
+ } | undefined;
237
+ openInference?: {
238
+ [k: string]: any | null;
239
+ } | undefined;
240
+ openai?: {
241
+ [k: string]: any | null;
242
+ } | undefined;
243
+ parasail?: {
244
+ [k: string]: any | null;
245
+ } | undefined;
246
+ perplexity?: {
247
+ [k: string]: any | null;
248
+ } | undefined;
249
+ phala?: {
250
+ [k: string]: any | null;
251
+ } | undefined;
252
+ poolside?: {
253
+ [k: string]: any | null;
254
+ } | undefined;
255
+ recraft?: {
256
+ [k: string]: any | null;
257
+ } | undefined;
258
+ recursal?: {
259
+ [k: string]: any | null;
260
+ } | undefined;
261
+ reflection?: {
262
+ [k: string]: any | null;
263
+ } | undefined;
264
+ reka?: {
265
+ [k: string]: any | null;
266
+ } | undefined;
267
+ relace?: {
268
+ [k: string]: any | null;
269
+ } | undefined;
270
+ replicate?: {
271
+ [k: string]: any | null;
272
+ } | undefined;
273
+ sambanova?: {
274
+ [k: string]: any | null;
275
+ } | undefined;
276
+ sambanovaCloaked?: {
277
+ [k: string]: any | null;
278
+ } | undefined;
279
+ seed?: {
280
+ [k: string]: any | null;
281
+ } | undefined;
282
+ sfCompute?: {
283
+ [k: string]: any | null;
284
+ } | undefined;
285
+ siliconflow?: {
286
+ [k: string]: any | null;
287
+ } | undefined;
288
+ sourceful?: {
289
+ [k: string]: any | null;
290
+ } | undefined;
291
+ stealth?: {
292
+ [k: string]: any | null;
293
+ } | undefined;
294
+ stepfun?: {
295
+ [k: string]: any | null;
296
+ } | undefined;
297
+ streamlake?: {
298
+ [k: string]: any | null;
299
+ } | undefined;
300
+ switchpoint?: {
301
+ [k: string]: any | null;
302
+ } | undefined;
303
+ targon?: {
304
+ [k: string]: any | null;
305
+ } | undefined;
306
+ together?: {
307
+ [k: string]: any | null;
308
+ } | undefined;
309
+ togetherLite?: {
310
+ [k: string]: any | null;
311
+ } | undefined;
312
+ ubicloud?: {
313
+ [k: string]: any | null;
314
+ } | undefined;
315
+ upstage?: {
316
+ [k: string]: any | null;
317
+ } | undefined;
318
+ venice?: {
319
+ [k: string]: any | null;
320
+ } | undefined;
321
+ wandb?: {
322
+ [k: string]: any | null;
323
+ } | undefined;
324
+ xai?: {
325
+ [k: string]: any | null;
326
+ } | undefined;
327
+ xiaomi?: {
328
+ [k: string]: any | null;
329
+ } | undefined;
330
+ zAi?: {
331
+ [k: string]: any | null;
332
+ } | undefined;
333
+ };
334
+ /** @internal */
335
+ export type ProviderOptions$Outbound = {
336
+ "01ai"?: {
337
+ [k: string]: any | null;
338
+ } | undefined;
339
+ ai21?: {
340
+ [k: string]: any | null;
341
+ } | undefined;
342
+ "aion-labs"?: {
343
+ [k: string]: any | null;
344
+ } | undefined;
345
+ akashml?: {
346
+ [k: string]: any | null;
347
+ } | undefined;
348
+ alibaba?: {
349
+ [k: string]: any | null;
350
+ } | undefined;
351
+ "amazon-bedrock"?: {
352
+ [k: string]: any | null;
353
+ } | undefined;
354
+ "amazon-nova"?: {
355
+ [k: string]: any | null;
356
+ } | undefined;
357
+ ambient?: {
358
+ [k: string]: any | null;
359
+ } | undefined;
360
+ anthropic?: {
361
+ [k: string]: any | null;
362
+ } | undefined;
363
+ anyscale?: {
364
+ [k: string]: any | null;
365
+ } | undefined;
366
+ "arcee-ai"?: {
367
+ [k: string]: any | null;
368
+ } | undefined;
369
+ "atlas-cloud"?: {
370
+ [k: string]: any | null;
371
+ } | undefined;
372
+ atoma?: {
373
+ [k: string]: any | null;
374
+ } | undefined;
375
+ avian?: {
376
+ [k: string]: any | null;
377
+ } | undefined;
378
+ azure?: {
379
+ [k: string]: any | null;
380
+ } | undefined;
381
+ baidu?: {
382
+ [k: string]: any | null;
383
+ } | undefined;
384
+ baseten?: {
385
+ [k: string]: any | null;
386
+ } | undefined;
387
+ "black-forest-labs"?: {
388
+ [k: string]: any | null;
389
+ } | undefined;
390
+ byteplus?: {
391
+ [k: string]: any | null;
392
+ } | undefined;
393
+ centml?: {
394
+ [k: string]: any | null;
395
+ } | undefined;
396
+ cerebras?: {
397
+ [k: string]: any | null;
398
+ } | undefined;
399
+ chutes?: {
400
+ [k: string]: any | null;
401
+ } | undefined;
402
+ cirrascale?: {
403
+ [k: string]: any | null;
404
+ } | undefined;
405
+ clarifai?: {
406
+ [k: string]: any | null;
407
+ } | undefined;
408
+ cloudflare?: {
409
+ [k: string]: any | null;
410
+ } | undefined;
411
+ cohere?: {
412
+ [k: string]: any | null;
413
+ } | undefined;
414
+ crofai?: {
415
+ [k: string]: any | null;
416
+ } | undefined;
417
+ crusoe?: {
418
+ [k: string]: any | null;
419
+ } | undefined;
420
+ deepinfra?: {
421
+ [k: string]: any | null;
422
+ } | undefined;
423
+ deepseek?: {
424
+ [k: string]: any | null;
425
+ } | undefined;
426
+ dekallm?: {
427
+ [k: string]: any | null;
428
+ } | undefined;
429
+ enfer?: {
430
+ [k: string]: any | null;
431
+ } | undefined;
432
+ "fake-provider"?: {
433
+ [k: string]: any | null;
434
+ } | undefined;
435
+ featherless?: {
436
+ [k: string]: any | null;
437
+ } | undefined;
438
+ fireworks?: {
439
+ [k: string]: any | null;
440
+ } | undefined;
441
+ friendli?: {
442
+ [k: string]: any | null;
443
+ } | undefined;
444
+ gmicloud?: {
445
+ [k: string]: any | null;
446
+ } | undefined;
447
+ "google-ai-studio"?: {
448
+ [k: string]: any | null;
449
+ } | undefined;
450
+ "google-vertex"?: {
451
+ [k: string]: any | null;
452
+ } | undefined;
453
+ gopomelo?: {
454
+ [k: string]: any | null;
455
+ } | undefined;
456
+ groq?: {
457
+ [k: string]: any | null;
458
+ } | undefined;
459
+ huggingface?: {
460
+ [k: string]: any | null;
461
+ } | undefined;
462
+ hyperbolic?: {
463
+ [k: string]: any | null;
464
+ } | undefined;
465
+ "hyperbolic-quantized"?: {
466
+ [k: string]: any | null;
467
+ } | undefined;
468
+ inception?: {
469
+ [k: string]: any | null;
470
+ } | undefined;
471
+ inceptron?: {
472
+ [k: string]: any | null;
473
+ } | undefined;
474
+ "inference-net"?: {
475
+ [k: string]: any | null;
476
+ } | undefined;
477
+ infermatic?: {
478
+ [k: string]: any | null;
479
+ } | undefined;
480
+ inflection?: {
481
+ [k: string]: any | null;
482
+ } | undefined;
483
+ inocloud?: {
484
+ [k: string]: any | null;
485
+ } | undefined;
486
+ "io-net"?: {
487
+ [k: string]: any | null;
488
+ } | undefined;
489
+ ionstream?: {
490
+ [k: string]: any | null;
491
+ } | undefined;
492
+ klusterai?: {
493
+ [k: string]: any | null;
494
+ } | undefined;
495
+ lambda?: {
496
+ [k: string]: any | null;
497
+ } | undefined;
498
+ lepton?: {
499
+ [k: string]: any | null;
500
+ } | undefined;
501
+ liquid?: {
502
+ [k: string]: any | null;
503
+ } | undefined;
504
+ lynn?: {
505
+ [k: string]: any | null;
506
+ } | undefined;
507
+ "lynn-private"?: {
508
+ [k: string]: any | null;
509
+ } | undefined;
510
+ mancer?: {
511
+ [k: string]: any | null;
512
+ } | undefined;
513
+ "mancer-old"?: {
514
+ [k: string]: any | null;
515
+ } | undefined;
516
+ mara?: {
517
+ [k: string]: any | null;
518
+ } | undefined;
519
+ meta?: {
520
+ [k: string]: any | null;
521
+ } | undefined;
522
+ minimax?: {
523
+ [k: string]: any | null;
524
+ } | undefined;
525
+ mistral?: {
526
+ [k: string]: any | null;
527
+ } | undefined;
528
+ modal?: {
529
+ [k: string]: any | null;
530
+ } | undefined;
531
+ modelrun?: {
532
+ [k: string]: any | null;
533
+ } | undefined;
534
+ modular?: {
535
+ [k: string]: any | null;
536
+ } | undefined;
537
+ moonshotai?: {
538
+ [k: string]: any | null;
539
+ } | undefined;
540
+ morph?: {
541
+ [k: string]: any | null;
542
+ } | undefined;
543
+ ncompass?: {
544
+ [k: string]: any | null;
545
+ } | undefined;
546
+ nebius?: {
547
+ [k: string]: any | null;
548
+ } | undefined;
549
+ "nex-agi"?: {
550
+ [k: string]: any | null;
551
+ } | undefined;
552
+ nextbit?: {
553
+ [k: string]: any | null;
554
+ } | undefined;
555
+ nineteen?: {
556
+ [k: string]: any | null;
557
+ } | undefined;
558
+ novita?: {
559
+ [k: string]: any | null;
560
+ } | undefined;
561
+ nvidia?: {
562
+ [k: string]: any | null;
563
+ } | undefined;
564
+ octoai?: {
565
+ [k: string]: any | null;
566
+ } | undefined;
567
+ "open-inference"?: {
568
+ [k: string]: any | null;
569
+ } | undefined;
570
+ openai?: {
571
+ [k: string]: any | null;
572
+ } | undefined;
573
+ parasail?: {
574
+ [k: string]: any | null;
575
+ } | undefined;
576
+ perplexity?: {
577
+ [k: string]: any | null;
578
+ } | undefined;
579
+ phala?: {
580
+ [k: string]: any | null;
581
+ } | undefined;
582
+ poolside?: {
583
+ [k: string]: any | null;
584
+ } | undefined;
585
+ recraft?: {
586
+ [k: string]: any | null;
587
+ } | undefined;
588
+ recursal?: {
589
+ [k: string]: any | null;
590
+ } | undefined;
591
+ reflection?: {
592
+ [k: string]: any | null;
593
+ } | undefined;
594
+ reka?: {
595
+ [k: string]: any | null;
596
+ } | undefined;
597
+ relace?: {
598
+ [k: string]: any | null;
599
+ } | undefined;
600
+ replicate?: {
601
+ [k: string]: any | null;
602
+ } | undefined;
603
+ sambanova?: {
604
+ [k: string]: any | null;
605
+ } | undefined;
606
+ "sambanova-cloaked"?: {
607
+ [k: string]: any | null;
608
+ } | undefined;
609
+ seed?: {
610
+ [k: string]: any | null;
611
+ } | undefined;
612
+ "sf-compute"?: {
613
+ [k: string]: any | null;
614
+ } | undefined;
615
+ siliconflow?: {
616
+ [k: string]: any | null;
617
+ } | undefined;
618
+ sourceful?: {
619
+ [k: string]: any | null;
620
+ } | undefined;
621
+ stealth?: {
622
+ [k: string]: any | null;
623
+ } | undefined;
624
+ stepfun?: {
625
+ [k: string]: any | null;
626
+ } | undefined;
627
+ streamlake?: {
628
+ [k: string]: any | null;
629
+ } | undefined;
630
+ switchpoint?: {
631
+ [k: string]: any | null;
632
+ } | undefined;
633
+ targon?: {
634
+ [k: string]: any | null;
635
+ } | undefined;
636
+ together?: {
637
+ [k: string]: any | null;
638
+ } | undefined;
639
+ "together-lite"?: {
640
+ [k: string]: any | null;
641
+ } | undefined;
642
+ ubicloud?: {
643
+ [k: string]: any | null;
644
+ } | undefined;
645
+ upstage?: {
646
+ [k: string]: any | null;
647
+ } | undefined;
648
+ venice?: {
649
+ [k: string]: any | null;
650
+ } | undefined;
651
+ wandb?: {
652
+ [k: string]: any | null;
653
+ } | undefined;
654
+ xai?: {
655
+ [k: string]: any | null;
656
+ } | undefined;
657
+ xiaomi?: {
658
+ [k: string]: any | null;
659
+ } | undefined;
660
+ "z-ai"?: {
661
+ [k: string]: any | null;
662
+ } | undefined;
663
+ };
664
+ /** @internal */
665
+ export declare const ProviderOptions$outboundSchema: z.ZodType<ProviderOptions$Outbound, ProviderOptions>;
666
+ export declare function providerOptionsToJSON(providerOptions: ProviderOptions): string;
667
+ //# sourceMappingURL=provideroptions.d.ts.map