reeval 0.14.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/README.md +3 -3
  2. package/THIRD_PARTY_NOTICES.md +69 -69
  3. package/assets/gateway-models.mjs +74 -0
  4. package/dist/{adapter-BloGVZ_a.js → adapter-CbqbMR7y.js} +37 -8
  5. package/dist/adapter-CbqbMR7y.js.map +1 -0
  6. package/dist/{agent-m-_t-IuW.js → agent-Zgn-kiqq.js} +57 -15
  7. package/dist/agent-Zgn-kiqq.js.map +1 -0
  8. package/dist/{app-files-C-jwhRDt.js → app-files-ChbvRx3P.js} +4 -4
  9. package/dist/app-files-ChbvRx3P.js.map +1 -0
  10. package/dist/{assemble-BDEpelpi.js → assemble-SKQGW_QF.js} +136 -116
  11. package/dist/assemble-SKQGW_QF.js.map +1 -0
  12. package/dist/assemble-XBWuK3Ed.js +1 -0
  13. package/dist/{attempt-jI0OWxlz.js → attempt-Ba2QerOK.js} +10 -10
  14. package/dist/{attempt-jI0OWxlz.js.map → attempt-Ba2QerOK.js.map} +1 -1
  15. package/dist/{match-Bz0nSdzN.js → attempt-host-BOp8JklD.js} +96 -5
  16. package/dist/attempt-host-BOp8JklD.js.map +1 -0
  17. package/dist/{capture-CVRwRTnb.js → capture-BM_3100g.js} +1218 -1207
  18. package/dist/capture-BM_3100g.js.map +1 -0
  19. package/dist/capture-DSK8O5bA.js +1 -0
  20. package/dist/{cli-C_4gaJ50.js → cli-PdYrcoKM.js} +106 -170
  21. package/dist/cli-PdYrcoKM.js.map +1 -0
  22. package/dist/{cli-spec-CpnbATtI.js → cli-spec-D0qyrPZi.js} +8 -20
  23. package/dist/cli-spec-D0qyrPZi.js.map +1 -0
  24. package/dist/cli.js +2 -2
  25. package/dist/{client-D5hNjpEx.js → client-Ct6s6OnF.js} +2 -2
  26. package/dist/{client-D5hNjpEx.js.map → client-Ct6s6OnF.js.map} +1 -1
  27. package/dist/{command-BXLUfw4h.js → command-4pJYVCT4.js} +33 -20
  28. package/dist/command-4pJYVCT4.js.map +1 -0
  29. package/dist/{validate-BhwqrVsm.js → command-9xm5ImqI.js} +387 -59
  30. package/dist/command-9xm5ImqI.js.map +1 -0
  31. package/dist/{command-Bxdy62dW.js → command-BqBxLgTc.js} +31 -30
  32. package/dist/command-BqBxLgTc.js.map +1 -0
  33. package/dist/{command-I1euLLio.js → command-DbSMcxZL.js} +7 -7
  34. package/dist/{command-I1euLLio.js.map → command-DbSMcxZL.js.map} +1 -1
  35. package/dist/{commands-jzigbNFb.js → commands-BU6YJCz9.js} +175 -72
  36. package/dist/commands-BU6YJCz9.js.map +1 -0
  37. package/dist/{commands-p1S4nw_H.js → commands-Bi2SEQtr.js} +1 -1
  38. package/dist/{config-BrdHA9bJ.js → config-k6m7XbAz.js} +499 -271
  39. package/dist/config-k6m7XbAz.js.map +1 -0
  40. package/dist/{contrasts-DRxMQQTC.js → contrasts-DLZF4dGF.js} +3 -3
  41. package/dist/{contrasts-DRxMQQTC.js.map → contrasts-DLZF4dGF.js.map} +1 -1
  42. package/dist/cost-C5RBTTJr.js +1 -0
  43. package/dist/{cost-D4elx933.js → cost-ChPa8-Fp.js} +3 -3
  44. package/dist/cost-ChPa8-Fp.js.map +1 -0
  45. package/dist/db-CpsifVln.js +1530 -0
  46. package/dist/db-CpsifVln.js.map +1 -0
  47. package/dist/db-DkD-F-X-.js +2 -0
  48. package/dist/{debug-D24NOQH1.js → debug-BhizgAsU.js} +2 -1
  49. package/dist/{debug-D24NOQH1.js.map → debug-BhizgAsU.js.map} +1 -1
  50. package/dist/debug-DeM5pswK.js +1 -0
  51. package/dist/{docker-BnRlTpZA.js → docker-51WvhN_X.js} +5 -4
  52. package/dist/docker-51WvhN_X.js.map +1 -0
  53. package/dist/{docker-D01slDF3.js → docker-B4-rx4dA.js} +26 -8
  54. package/dist/docker-B4-rx4dA.js.map +1 -0
  55. package/dist/{docker-DivfZl2u.js → docker-YFj4H1Cr.js} +1 -1
  56. package/dist/{doctor-DQ2p0euG.js → doctor-BuQnfz4e.js} +275 -37
  57. package/dist/doctor-BuQnfz4e.js.map +1 -0
  58. package/dist/{env-BQqj93gu.js → env-CARj5Axq.js} +6 -3
  59. package/dist/env-CARj5Axq.js.map +1 -0
  60. package/dist/{environment-CO0P0soF.js → environment-BOFgzFDg.js} +115 -296
  61. package/dist/environment-BOFgzFDg.js.map +1 -0
  62. package/dist/{errors-r025B0Zb.js → errors-UjcLWelF.js} +2 -2
  63. package/dist/{errors-r025B0Zb.js.map → errors-UjcLWelF.js.map} +1 -1
  64. package/dist/eval-source-Dje3rERU.js +145 -0
  65. package/dist/eval-source-Dje3rERU.js.map +1 -0
  66. package/dist/{evaluate-BUmsN7yG.js → evaluate-BPP9s3s6.js} +367 -130
  67. package/dist/evaluate-BPP9s3s6.js.map +1 -0
  68. package/dist/evaluate-dqXccn4k.d.ts +44 -0
  69. package/dist/{files-B-CJeeEh.js → files-Bi461Be2.js} +197 -91
  70. package/dist/files-Bi461Be2.js.map +1 -0
  71. package/dist/files-C2h2Cw4F.js +1 -0
  72. package/dist/files-Clipx4OW.js +37 -0
  73. package/dist/files-Clipx4OW.js.map +1 -0
  74. package/dist/files-DmUrRmmL.js +1 -0
  75. package/dist/{files-kUCrswI6.js → files-H24pz0hL.js} +20 -9
  76. package/dist/files-H24pz0hL.js.map +1 -0
  77. package/dist/gateway.d.ts +22 -9
  78. package/dist/gateway.js +30 -8
  79. package/dist/gateway.js.map +1 -1
  80. package/dist/{git-Bk8DSwHy.js → git-CsVZkNNL.js} +3 -3
  81. package/dist/{git-Bk8DSwHy.js.map → git-CsVZkNNL.js.map} +1 -1
  82. package/dist/harness-3NVyTSGK.js +392 -0
  83. package/dist/harness-3NVyTSGK.js.map +1 -0
  84. package/dist/harness.d.ts +12 -8
  85. package/dist/harness.js +1 -1
  86. package/dist/{images-DzLeFjLx.js → images-4mwhNkvh.js} +8 -8
  87. package/dist/{images-DzLeFjLx.js.map → images-4mwhNkvh.js.map} +1 -1
  88. package/dist/index.d.ts +51 -10
  89. package/dist/index.js +5 -5
  90. package/dist/init-BDEOopK7.js +1 -0
  91. package/dist/{init-SRalM5xF.js → init-cOk3D44b.js} +10 -11
  92. package/dist/init-cOk3D44b.js.map +1 -0
  93. package/dist/{invocations-DzyKSJBa.js → invocations-DW-lTk2f.js} +10 -6
  94. package/dist/invocations-DW-lTk2f.js.map +1 -0
  95. package/dist/{judge-yLvjC5A3.js → judge-CKdgEXN7.js} +236 -46
  96. package/dist/judge-CKdgEXN7.js.map +1 -0
  97. package/dist/judge.d.ts +5 -7
  98. package/dist/judge.js +4 -8
  99. package/dist/judge.js.map +1 -1
  100. package/dist/{live-DYd2QEyR.js → live-XJQ6nqK4.js} +2 -2
  101. package/dist/{live-DYd2QEyR.js.map → live-XJQ6nqK4.js.map} +1 -1
  102. package/dist/{matchers-D4eUqx4j.js → matchers-DT2TaGix.js} +2 -2
  103. package/dist/{matchers-D4eUqx4j.js.map → matchers-DT2TaGix.js.map} +1 -1
  104. package/dist/{model-1ZLr9Dcv.js → model-Bq3G0OG1.js} +29 -36
  105. package/dist/model-Bq3G0OG1.js.map +1 -0
  106. package/dist/{model-CgnOpss4.js → model-CTnyvh7H.js} +292 -68
  107. package/dist/model-CTnyvh7H.js.map +1 -0
  108. package/dist/model-D-SWrLZG.js +1 -0
  109. package/dist/model-g3XnzUv0.js +1 -0
  110. package/dist/{model-B45lDUV1.js → model-vRiUycWh.js} +22 -13
  111. package/dist/model-vRiUycWh.js.map +1 -0
  112. package/dist/{node-BSq5qHnQ.js → node-BVbbnFtv.js} +72 -50
  113. package/dist/node-BVbbnFtv.js.map +1 -0
  114. package/dist/opencode-providers-Bz0l7OZI.js +3276 -0
  115. package/dist/opencode-providers-Bz0l7OZI.js.map +1 -0
  116. package/dist/openrouter-models-CWRwLX-G.js +34 -0
  117. package/dist/openrouter-models-CWRwLX-G.js.map +1 -0
  118. package/dist/{pairs-CHfZNRT6.js → pairs-puYi-zj2.js} +11 -4
  119. package/dist/pairs-puYi-zj2.js.map +1 -0
  120. package/dist/patch-CquGAGX5.js +76 -0
  121. package/dist/patch-CquGAGX5.js.map +1 -0
  122. package/dist/{patch-DWf-I_Q_.js → patch-DKJiC5Sq.js} +5 -7
  123. package/dist/patch-DKJiC5Sq.js.map +1 -0
  124. package/dist/{plan-BIwUzlB8.js → plan-DdWkM6SW.js} +64 -29
  125. package/dist/plan-DdWkM6SW.js.map +1 -0
  126. package/dist/{plugins-Dkp_H3pB.js → plugins-D-CP6mMd.js} +253 -17
  127. package/dist/plugins-D-CP6mMd.js.map +1 -0
  128. package/dist/{preflight-DJCD_BDn.js → preflight-9ixuXzsx.js} +3 -3
  129. package/dist/{preflight-DJCD_BDn.js.map → preflight-9ixuXzsx.js.map} +1 -1
  130. package/dist/{preflight-D9y-HvZQ.js → preflight-DTiVv0gY.js} +1 -1
  131. package/dist/{prepare-CIxCGG0M.js → prepare-BfyikQit.js} +8 -8
  132. package/dist/{prepare-CIxCGG0M.js.map → prepare-BfyikQit.js.map} +1 -1
  133. package/dist/{prepare-BJG_pD54.js → prepare-tmBBf4W8.js} +2 -2
  134. package/dist/{prices-BcLEXvdY.js → prices-QaS-kjSQ.js} +7 -4
  135. package/dist/prices-QaS-kjSQ.js.map +1 -0
  136. package/dist/{provenance-CfZpFpAh.js → provenance-BizwUn3h.js} +4 -4
  137. package/dist/{provenance-CfZpFpAh.js.map → provenance-BizwUn3h.js.map} +1 -1
  138. package/dist/{providers-DFk_6W4K.js → providers-B6b9Tnyi.js} +5 -5
  139. package/dist/{providers-DFk_6W4K.js.map → providers-B6b9Tnyi.js.map} +1 -1
  140. package/dist/{providers-D1Zxp2he.js → providers-DkOupEBl.js} +1 -1
  141. package/dist/query-Clm2mNSm.js +1 -0
  142. package/dist/{query-CemclveB.js → query-DyM-VExS.js} +3 -3
  143. package/dist/{query-CemclveB.js.map → query-DyM-VExS.js.map} +1 -1
  144. package/dist/{questions-bAudIc04.js → questions-BRhU8MzB.js} +100 -25
  145. package/dist/questions-BRhU8MzB.js.map +1 -0
  146. package/dist/{record-kk9M1hj-.js → record-DZBCjuwm.js} +6 -6
  147. package/dist/{record-kk9M1hj-.js.map → record-DZBCjuwm.js.map} +1 -1
  148. package/dist/redact-DVIaahLv.js +658 -0
  149. package/dist/redact-DVIaahLv.js.map +1 -0
  150. package/dist/remarks-BwJ8pcTQ.js +1 -0
  151. package/dist/{rules-VhftPOOT.js → remarks-C7i2LMRb.js} +296 -66
  152. package/dist/remarks-C7i2LMRb.js.map +1 -0
  153. package/dist/{header-BLPP6aCU.js → remarks-D_3qhBWU.js} +34 -9
  154. package/dist/remarks-D_3qhBWU.js.map +1 -0
  155. package/dist/{remarks-mujJv1Ey.js → remarks-dA8LyoPc.js} +9 -5
  156. package/dist/remarks-dA8LyoPc.js.map +1 -0
  157. package/dist/{remote-CKcEKja4.js → remote-DFIzcx_6.js} +39 -99
  158. package/dist/remote-DFIzcx_6.js.map +1 -0
  159. package/dist/resolve--rQZ8u6Z.js +1 -0
  160. package/dist/{resolve-CBoKzQMP.js → resolve-DWSJpKHX.js} +46 -30
  161. package/dist/resolve-DWSJpKHX.js.map +1 -0
  162. package/dist/{results-CMgZEANy.js → results-BC3pcG_Z.js} +15 -30
  163. package/dist/results-BC3pcG_Z.js.map +1 -0
  164. package/dist/{resume-B9SOSnK9.js → resume-j-rcIryi.js} +47 -17
  165. package/dist/resume-j-rcIryi.js.map +1 -0
  166. package/dist/{runtime-BgQRyCLl.js → runtime-d56Gg3J5.js} +30 -13
  167. package/dist/runtime-d56Gg3J5.js.map +1 -0
  168. package/dist/{sandbox-BOYZ0hlo.js → sandbox-Cmln11gU.js} +2 -2
  169. package/dist/{sandbox-BOYZ0hlo.js.map → sandbox-Cmln11gU.js.map} +1 -1
  170. package/dist/sandbox.d.ts +1 -1
  171. package/dist/sandbox.js +1 -1
  172. package/dist/{server-TGW4WyAz.js → server-BOoH10J8.js} +51 -33
  173. package/dist/server-BOoH10J8.js.map +1 -0
  174. package/dist/server-DpuVAbrO.js +1 -0
  175. package/dist/{shared-BDUzStad.js → shared-B_lvGqWz.js} +19 -11
  176. package/dist/shared-B_lvGqWz.js.map +1 -0
  177. package/dist/source-BFd6f0-R.js +1 -0
  178. package/dist/{source-B1WvBIQt.js → source-wD04-rRG.js} +15 -10
  179. package/dist/source-wD04-rRG.js.map +1 -0
  180. package/dist/{src-CHIwOy0o.js → src-1lpTocbd.js} +75 -30
  181. package/dist/{src-CHIwOy0o.js.map → src-1lpTocbd.js.map} +1 -1
  182. package/dist/{src-CyaDNG9r.js → src-6_zz7oJs.js} +1 -1
  183. package/dist/{src-DjF_M8_f.js → src-8yTF251P.js} +30 -8
  184. package/dist/{src-DjF_M8_f.js.map → src-8yTF251P.js.map} +1 -1
  185. package/dist/{src-NSdQ9zI6.js → src-BO8AYqJ5.js} +17 -5
  186. package/dist/src-BO8AYqJ5.js.map +1 -0
  187. package/dist/{src-DmUgeTlE.js → src-BYDOXw_Y.js} +23 -7
  188. package/dist/{src-DmUgeTlE.js.map → src-BYDOXw_Y.js.map} +1 -1
  189. package/dist/src-BYPMM1x7.js +2 -0
  190. package/dist/src-Bp4aN3rA.js +2 -0
  191. package/dist/src-C7upnZSd.js +2 -0
  192. package/dist/{src-8zoX_qrb.js → src-D91Hd6hT.js} +546 -1060
  193. package/dist/src-D91Hd6hT.js.map +1 -0
  194. package/dist/src-DH-9IO7f.js +1 -0
  195. package/dist/{src-ChhtI6BP.js → src-DSZyg0Uq.js} +177 -28
  196. package/dist/src-DSZyg0Uq.js.map +1 -0
  197. package/dist/{src-DjRI-IeE.js → src-DgHuStEi.js} +134 -34
  198. package/dist/{src-DjRI-IeE.js.map → src-DgHuStEi.js.map} +1 -1
  199. package/dist/src-HSxBazcg.js +3 -0
  200. package/dist/src-LD1BAJFa.js +2 -0
  201. package/dist/src-dlX-Lmxg.js +2 -0
  202. package/dist/{src-DKPVX2Us.js → src-gn7YlnRg.js} +34 -5
  203. package/dist/{src-DKPVX2Us.js.map → src-gn7YlnRg.js.map} +1 -1
  204. package/dist/src-kYeaJJrl.js +2 -0
  205. package/dist/state-B5PLm5qY.js +1 -0
  206. package/dist/{state-B1t143wG.js → state-DrJ687ut.js} +15 -15
  207. package/dist/{state-B1t143wG.js.map → state-DrJ687ut.js.map} +1 -1
  208. package/dist/{stats-DSy5HfOv.js → stats-hfpuYsAM.js} +2 -2
  209. package/dist/{stats-DSy5HfOv.js.map → stats-hfpuYsAM.js.map} +1 -1
  210. package/dist/suite-22Kt9Grx.js +2 -0
  211. package/dist/{suite-WgT7m6Vs.js → suite-Co8cwelb.js} +48 -63
  212. package/dist/suite-Co8cwelb.js.map +1 -0
  213. package/dist/{summary-DIGEVr08.js → summary-DLFHVoux.js} +80 -270
  214. package/dist/summary-DLFHVoux.js.map +1 -0
  215. package/dist/testing.d.ts +417 -142
  216. package/dist/testing.js +12 -10
  217. package/dist/testing.js.map +1 -1
  218. package/dist/{text-CrVy5ioL.js → text-DTigcA64.js} +9 -5
  219. package/dist/text-DTigcA64.js.map +1 -0
  220. package/dist/{transcript-BTxJpW4R.js → transcript-DxPaWHTZ.js} +12 -4
  221. package/dist/transcript-DxPaWHTZ.js.map +1 -0
  222. package/dist/types-C5vI3g1C.js.map +1 -1
  223. package/dist/{types-DXBbP9Mk.d.ts → types-coMWHaU2.d.ts} +253 -733
  224. package/dist/vertex-Bv7vhMgs.js +1 -0
  225. package/dist/vertex-C7PI-WPc.d.ts +3 -0
  226. package/dist/vertex-DypYjx71.js +456 -0
  227. package/dist/vertex-DypYjx71.js.map +1 -0
  228. package/dist/view/index.d.ts +536 -121
  229. package/dist/view/index.js +9 -9
  230. package/dist/{views-sXpGE6a2.js → views-BFO1BLKu.js} +9 -10
  231. package/dist/{views-sXpGE6a2.js.map → views-BFO1BLKu.js.map} +1 -1
  232. package/dist/views-BOf8qEL8.js +2 -0
  233. package/dist/{worker-entry-Duo9oAeT.js → worker-entry-CJtdsKBP.js} +19 -12
  234. package/dist/worker-entry-CJtdsKBP.js.map +1 -0
  235. package/dist/{workspace-CDI68wtX.js → workspace-BRxjfa8N.js} +5 -5
  236. package/dist/{workspace-CDI68wtX.js.map → workspace-BRxjfa8N.js.map} +1 -1
  237. package/dist/workspace-DDHzkMjm.js +1 -0
  238. package/docker/seccomp-default.json +1 -0
  239. package/package.json +5 -1
  240. package/skills/eval-rubric/SKILL.md +35 -104
  241. package/dist/adapter-BloGVZ_a.js.map +0 -1
  242. package/dist/agent-m-_t-IuW.js.map +0 -1
  243. package/dist/app-files-C-jwhRDt.js.map +0 -1
  244. package/dist/assemble-BDEpelpi.js.map +0 -1
  245. package/dist/assemble-C5bfncHU.js +0 -1
  246. package/dist/capture-CVRwRTnb.js.map +0 -1
  247. package/dist/capture-CherbjzB.js +0 -1
  248. package/dist/cli-C_4gaJ50.js.map +0 -1
  249. package/dist/cli-spec-CpnbATtI.js.map +0 -1
  250. package/dist/command-BWAuwQNk.js +0 -91
  251. package/dist/command-BWAuwQNk.js.map +0 -1
  252. package/dist/command-BXLUfw4h.js.map +0 -1
  253. package/dist/command-Be6BSE2L.js +0 -335
  254. package/dist/command-Be6BSE2L.js.map +0 -1
  255. package/dist/command-Bxdy62dW.js.map +0 -1
  256. package/dist/commands-jzigbNFb.js.map +0 -1
  257. package/dist/config-BrdHA9bJ.js.map +0 -1
  258. package/dist/cost-D4elx933.js.map +0 -1
  259. package/dist/cost-DmnAod9x.js +0 -1
  260. package/dist/db-CAfksinX.js +0 -2
  261. package/dist/db-DO0p7xgP.js +0 -619
  262. package/dist/db-DO0p7xgP.js.map +0 -1
  263. package/dist/debug-D7bEv_UV.js +0 -1
  264. package/dist/docker-BnRlTpZA.js.map +0 -1
  265. package/dist/docker-D01slDF3.js.map +0 -1
  266. package/dist/doctor-DQ2p0euG.js.map +0 -1
  267. package/dist/env-BQqj93gu.js.map +0 -1
  268. package/dist/environment-CO0P0soF.js.map +0 -1
  269. package/dist/evaluate-BUmsN7yG.js.map +0 -1
  270. package/dist/evaluate-C_sgRA-V.d.ts +0 -134
  271. package/dist/facts-DzOUTreB.js +0 -906
  272. package/dist/facts-DzOUTreB.js.map +0 -1
  273. package/dist/files-B-CJeeEh.js.map +0 -1
  274. package/dist/files-Bp5j5BqI.js +0 -1
  275. package/dist/files-C2sjmXhk.js +0 -1
  276. package/dist/files-C_gQNVB-.js +0 -65
  277. package/dist/files-C_gQNVB-.js.map +0 -1
  278. package/dist/files-kUCrswI6.js.map +0 -1
  279. package/dist/generate-DZ7vp69F.js +0 -1647
  280. package/dist/generate-DZ7vp69F.js.map +0 -1
  281. package/dist/harness-COVXSwJ6.js +0 -354
  282. package/dist/harness-COVXSwJ6.js.map +0 -1
  283. package/dist/header-BLPP6aCU.js.map +0 -1
  284. package/dist/init-RgCQXZhb.js +0 -1
  285. package/dist/init-SRalM5xF.js.map +0 -1
  286. package/dist/insights-TyAvz9aV.js +0 -68
  287. package/dist/insights-TyAvz9aV.js.map +0 -1
  288. package/dist/invocations-DzyKSJBa.js.map +0 -1
  289. package/dist/judge-yLvjC5A3.js.map +0 -1
  290. package/dist/match-Bz0nSdzN.js.map +0 -1
  291. package/dist/model-1ZLr9Dcv.js.map +0 -1
  292. package/dist/model-B45lDUV1.js.map +0 -1
  293. package/dist/model-BTZq8HIZ.js +0 -1
  294. package/dist/model-CgnOpss4.js.map +0 -1
  295. package/dist/model-Ch8kX87u.js +0 -1
  296. package/dist/node-BSq5qHnQ.js.map +0 -1
  297. package/dist/opencode-providers-klkqgzvb.js +0 -3276
  298. package/dist/opencode-providers-klkqgzvb.js.map +0 -1
  299. package/dist/pairs-CHfZNRT6.js.map +0 -1
  300. package/dist/patch-DWf-I_Q_.js.map +0 -1
  301. package/dist/plan-BIwUzlB8.js.map +0 -1
  302. package/dist/plugins-Dkp_H3pB.js.map +0 -1
  303. package/dist/prices-BcLEXvdY.js.map +0 -1
  304. package/dist/query-Cvbwl804.js +0 -1
  305. package/dist/questions-bAudIc04.js.map +0 -1
  306. package/dist/redact-CRGdfV2s.js +0 -240
  307. package/dist/redact-CRGdfV2s.js.map +0 -1
  308. package/dist/remarks-CXwSnSjR.js +0 -278
  309. package/dist/remarks-CXwSnSjR.js.map +0 -1
  310. package/dist/remarks-CyAu2DiB.js +0 -1
  311. package/dist/remarks-mujJv1Ey.js.map +0 -1
  312. package/dist/remote-CKcEKja4.js.map +0 -1
  313. package/dist/resolve-B5-uqmJ6.js +0 -1
  314. package/dist/resolve-CBoKzQMP.js.map +0 -1
  315. package/dist/results-CMgZEANy.js.map +0 -1
  316. package/dist/resume-B9SOSnK9.js.map +0 -1
  317. package/dist/rules-VhftPOOT.js.map +0 -1
  318. package/dist/run-CwIEK16q.js +0 -88
  319. package/dist/run-CwIEK16q.js.map +0 -1
  320. package/dist/runtime-BgQRyCLl.js.map +0 -1
  321. package/dist/server-CHRSgKRp.js +0 -1
  322. package/dist/server-TGW4WyAz.js.map +0 -1
  323. package/dist/shared-BDUzStad.js.map +0 -1
  324. package/dist/source-B1WvBIQt.js.map +0 -1
  325. package/dist/source-DAzztZwU.js +0 -1
  326. package/dist/src-1jHbFaGW.js +0 -1
  327. package/dist/src-8zoX_qrb.js.map +0 -1
  328. package/dist/src-C_9wgowC.js +0 -2
  329. package/dist/src-ChhtI6BP.js.map +0 -1
  330. package/dist/src-D005Cbqz.js +0 -2
  331. package/dist/src-DIfRbp5a.js +0 -3
  332. package/dist/src-Dg8121Xy.js +0 -2
  333. package/dist/src-ElBqEN-S.js +0 -2
  334. package/dist/src-NSdQ9zI6.js.map +0 -1
  335. package/dist/src-YHGaUrGE.js +0 -2
  336. package/dist/src-mJVxw1Jm.js +0 -2
  337. package/dist/state-vznMh2wl.js +0 -1
  338. package/dist/suite-BsWGHzlG.js +0 -2
  339. package/dist/suite-WgT7m6Vs.js.map +0 -1
  340. package/dist/summary-DIGEVr08.js.map +0 -1
  341. package/dist/text-CrVy5ioL.js.map +0 -1
  342. package/dist/transcript-BTxJpW4R.js.map +0 -1
  343. package/dist/usage-DF3_p5pE.js +0 -1
  344. package/dist/validate-BhwqrVsm.js.map +0 -1
  345. package/dist/views-BW_C5eVH.js +0 -2
  346. package/dist/worker-entry-Duo9oAeT.js.map +0 -1
  347. package/dist/workspace-QZCacP8A.js +0 -1
@@ -1,3276 +0,0 @@
1
- //#region ../harness-opencode/src/opencode-provider-table.ts
2
- /** Every provider whose key OpenCode sends in a header on known hosts, as the probe saw it. */
3
- const OPENCODE_PROVIDERS = [
4
- {
5
- id: "302ai",
6
- name: "302.AI",
7
- env: "302AI_API_KEY",
8
- headers: [{
9
- name: "authorization",
10
- scheme: "bearer"
11
- }],
12
- endpoints: [{
13
- host: "api.302.ai",
14
- method: ["POST"],
15
- path: { exact: "/v1/chat/completions" }
16
- }]
17
- },
18
- {
19
- id: "abacus",
20
- name: "Abacus",
21
- env: "ABACUS_API_KEY",
22
- headers: [{
23
- name: "authorization",
24
- scheme: "bearer"
25
- }],
26
- endpoints: [{
27
- host: "routellm.abacus.ai",
28
- method: ["POST"],
29
- path: { exact: "/v1/chat/completions" }
30
- }]
31
- },
32
- {
33
- id: "abliteration-ai",
34
- name: "abliteration.ai",
35
- env: "ABLIT_KEY",
36
- headers: [{
37
- name: "authorization",
38
- scheme: "bearer"
39
- }],
40
- endpoints: [{
41
- host: "api.abliteration.ai",
42
- method: ["POST"],
43
- path: { exact: "/v1/chat/completions" }
44
- }]
45
- },
46
- {
47
- id: "above",
48
- name: "above.dev",
49
- env: "ABOVE_API_KEY",
50
- headers: [{
51
- name: "authorization",
52
- scheme: "bearer"
53
- }],
54
- endpoints: [{
55
- host: "api.above.dev",
56
- method: ["POST"],
57
- path: { exact: "/v1/chat/completions" }
58
- }]
59
- },
60
- {
61
- id: "agentrouter",
62
- name: "AgentRouter",
63
- env: "AGENTROUTER_API_KEY",
64
- headers: [{
65
- name: "authorization",
66
- scheme: "bearer"
67
- }, {
68
- name: "x-api-key",
69
- scheme: "raw"
70
- }],
71
- endpoints: [{
72
- host: "agentrouter.org",
73
- method: ["POST"],
74
- path: { exact: "/v1/chat/completions" }
75
- }, {
76
- host: "agentrouter.org",
77
- method: ["POST"],
78
- path: { exact: "/v1/messages" }
79
- }]
80
- },
81
- {
82
- id: "agnes",
83
- name: "Agnes AI",
84
- env: "AGNES_API_KEY",
85
- headers: [{
86
- name: "authorization",
87
- scheme: "bearer"
88
- }],
89
- endpoints: [{
90
- host: "apihub.agnes-ai.com",
91
- method: ["POST"],
92
- path: { exact: "/v1/chat/completions" }
93
- }]
94
- },
95
- {
96
- id: "ai-router",
97
- name: "AI-ROUTER",
98
- env: "AI_ROUTER_API_KEY",
99
- headers: [{
100
- name: "authorization",
101
- scheme: "bearer"
102
- }],
103
- endpoints: [{
104
- host: "api.ai-router.dev",
105
- method: ["POST"],
106
- path: { exact: "/v1/chat/completions" }
107
- }]
108
- },
109
- {
110
- id: "ai21",
111
- name: "AI21 Labs",
112
- env: "AI21_API_KEY",
113
- headers: [{
114
- name: "authorization",
115
- scheme: "bearer"
116
- }],
117
- endpoints: [{
118
- host: "api.ai21.com",
119
- method: ["POST"],
120
- path: { exact: "/studio/v1/chat/completions" }
121
- }]
122
- },
123
- {
124
- id: "aiand",
125
- name: "ai&",
126
- env: "AIAND_API_KEY",
127
- headers: [{
128
- name: "authorization",
129
- scheme: "bearer"
130
- }],
131
- endpoints: [{
132
- host: "api.aiand.com",
133
- method: ["POST"],
134
- path: { exact: "/v1/chat/completions" }
135
- }]
136
- },
137
- {
138
- id: "aimlapi",
139
- name: "AI/ML API",
140
- env: "AIMLAPI_API_KEY",
141
- headers: [{
142
- name: "authorization",
143
- scheme: "bearer"
144
- }],
145
- endpoints: [{
146
- host: "api.aimlapi.com",
147
- method: ["POST"],
148
- path: { exact: "/v1/chat/completions" }
149
- }]
150
- },
151
- {
152
- id: "ainetcafe",
153
- name: "ainetcafe",
154
- env: "AINETCAFE_API_KEY",
155
- headers: [{
156
- name: "authorization",
157
- scheme: "bearer"
158
- }],
159
- endpoints: [{
160
- host: "microquickjs.com",
161
- method: ["POST"],
162
- path: { exact: "/v1/chat/completions" }
163
- }]
164
- },
165
- {
166
- id: "aixy",
167
- name: "Aixy",
168
- env: "AIXY_API_KEY",
169
- headers: [{
170
- name: "authorization",
171
- scheme: "bearer"
172
- }, {
173
- name: "x-api-key",
174
- scheme: "raw"
175
- }],
176
- endpoints: [
177
- {
178
- host: "api.aixy-gateway.com",
179
- method: ["POST"],
180
- path: { exact: "/v1/chat/completions" }
181
- },
182
- {
183
- host: "api.aixy-gateway.com",
184
- method: ["POST"],
185
- path: { exact: "/v1/messages" }
186
- },
187
- {
188
- host: "api.aixy-gateway.com",
189
- method: ["POST"],
190
- path: { exact: "/v1/responses" }
191
- }
192
- ]
193
- },
194
- {
195
- id: "aki-io",
196
- name: "AKI.IO",
197
- env: "AKI_IO_API_KEY",
198
- headers: [{
199
- name: "authorization",
200
- scheme: "bearer"
201
- }],
202
- endpoints: [{
203
- host: "aki.io",
204
- method: ["POST"],
205
- path: { exact: "/v1/chat/completions" }
206
- }]
207
- },
208
- {
209
- id: "alibaba",
210
- name: "Alibaba",
211
- env: "DASHSCOPE_API_KEY",
212
- headers: [{
213
- name: "authorization",
214
- scheme: "bearer"
215
- }],
216
- endpoints: [{
217
- host: "dashscope-intl.aliyuncs.com",
218
- method: ["POST"],
219
- path: { exact: "/compatible-mode/v1/chat/completions" }
220
- }]
221
- },
222
- {
223
- id: "alibaba-cn",
224
- name: "Alibaba (China)",
225
- env: "DASHSCOPE_API_KEY",
226
- headers: [{
227
- name: "authorization",
228
- scheme: "bearer"
229
- }],
230
- endpoints: [{
231
- host: "dashscope.aliyuncs.com",
232
- method: ["POST"],
233
- path: { exact: "/compatible-mode/v1/chat/completions" }
234
- }]
235
- },
236
- {
237
- id: "alibaba-coding-plan",
238
- name: "Alibaba Coding Plan",
239
- env: "ALIBABA_CODING_PLAN_API_KEY",
240
- headers: [{
241
- name: "authorization",
242
- scheme: "bearer"
243
- }],
244
- endpoints: [{
245
- host: "coding-intl.dashscope.aliyuncs.com",
246
- method: ["POST"],
247
- path: { exact: "/v1/chat/completions" }
248
- }]
249
- },
250
- {
251
- id: "alibaba-coding-plan-cn",
252
- name: "Alibaba Coding Plan (China)",
253
- env: "ALIBABA_CODING_PLAN_API_KEY",
254
- headers: [{
255
- name: "authorization",
256
- scheme: "bearer"
257
- }],
258
- endpoints: [{
259
- host: "coding.dashscope.aliyuncs.com",
260
- method: ["POST"],
261
- path: { exact: "/v1/chat/completions" }
262
- }]
263
- },
264
- {
265
- id: "alibaba-token-plan",
266
- name: "Alibaba Token Plan",
267
- env: "ALIBABA_TOKEN_PLAN_API_KEY",
268
- headers: [{
269
- name: "authorization",
270
- scheme: "bearer"
271
- }],
272
- endpoints: [{
273
- host: "token-plan.ap-southeast-1.maas.aliyuncs.com",
274
- method: ["POST"],
275
- path: { exact: "/compatible-mode/v1/chat/completions" }
276
- }]
277
- },
278
- {
279
- id: "alibaba-token-plan-cn",
280
- name: "Alibaba Token Plan (China)",
281
- env: "ALIBABA_TOKEN_PLAN_API_KEY",
282
- headers: [{
283
- name: "authorization",
284
- scheme: "bearer"
285
- }],
286
- endpoints: [{
287
- host: "token-plan.cn-beijing.maas.aliyuncs.com",
288
- method: ["POST"],
289
- path: { exact: "/compatible-mode/v1/chat/completions" }
290
- }]
291
- },
292
- {
293
- id: "amazon-bedrock",
294
- name: "Amazon Bedrock",
295
- env: "AWS_BEARER_TOKEN_BEDROCK",
296
- vars: [{
297
- name: "AWS_REGION",
298
- default: "us-east-1",
299
- pattern: "^[a-z]{2}(-[a-z]+)+-\\d{1,2}$"
300
- }],
301
- headers: [{
302
- name: "authorization",
303
- scheme: "bearer"
304
- }],
305
- endpoints: [
306
- {
307
- host: "bedrock-mantle.{AWS_REGION}.api.aws",
308
- method: ["POST"],
309
- path: { exact: "/openai/v1/responses" }
310
- },
311
- {
312
- host: "bedrock-mantle.{AWS_REGION}.api.aws",
313
- method: ["POST"],
314
- path: { exact: "/v1/chat/completions" }
315
- },
316
- {
317
- host: "bedrock-runtime.{AWS_REGION}.amazonaws.com",
318
- method: ["POST"],
319
- path: { regex: "^/model/([^/]+)/converse-stream$" }
320
- }
321
- ]
322
- },
323
- {
324
- id: "ambient",
325
- name: "Ambient",
326
- env: "AMBIENT_API_KEY",
327
- headers: [{
328
- name: "authorization",
329
- scheme: "bearer"
330
- }],
331
- endpoints: [{
332
- host: "api.ambient.xyz",
333
- method: ["POST"],
334
- path: { exact: "/v1/chat/completions" }
335
- }]
336
- },
337
- {
338
- id: "amd",
339
- name: "AMD",
340
- env: "AMD_API_KEY",
341
- headers: [{
342
- name: "authorization",
343
- scheme: "bearer"
344
- }],
345
- endpoints: [{
346
- host: "developer.amd.com.cn",
347
- method: ["POST"],
348
- path: { exact: "/radeon/api/v1/chat/completions" }
349
- }]
350
- },
351
- {
352
- id: "anthropic",
353
- name: "Anthropic",
354
- env: "ANTHROPIC_API_KEY",
355
- headers: [{
356
- name: "x-api-key",
357
- scheme: "raw"
358
- }],
359
- endpoints: [{
360
- host: "api.anthropic.com",
361
- method: ["POST"],
362
- path: { exact: "/v1/messages" }
363
- }]
364
- },
365
- {
366
- id: "anyapi",
367
- name: "AnyAPI",
368
- env: "ANYAPI_API_KEY",
369
- headers: [{
370
- name: "authorization",
371
- scheme: "bearer"
372
- }],
373
- endpoints: [{
374
- host: "api.anyapi.ai",
375
- method: ["POST"],
376
- path: { exact: "/v1/chat/completions" }
377
- }]
378
- },
379
- {
380
- id: "arcee",
381
- name: "Arcee",
382
- env: "ARCEE_API_KEY",
383
- headers: [{
384
- name: "authorization",
385
- scheme: "bearer"
386
- }],
387
- endpoints: [{
388
- host: "api.arcee.ai",
389
- method: ["POST"],
390
- path: { exact: "/api/v1/chat/completions" }
391
- }]
392
- },
393
- {
394
- id: "auriko",
395
- name: "Auriko",
396
- env: "AURIKO_API_KEY",
397
- headers: [{
398
- name: "authorization",
399
- scheme: "bearer"
400
- }],
401
- endpoints: [{
402
- host: "api.auriko.ai",
403
- method: ["POST"],
404
- path: { exact: "/v1/chat/completions" }
405
- }]
406
- },
407
- {
408
- id: "bailing",
409
- name: "Bailing",
410
- env: "BAILING_API_TOKEN",
411
- headers: [{
412
- name: "authorization",
413
- scheme: "bearer"
414
- }],
415
- endpoints: [{
416
- host: "api.tbox.cn",
417
- method: ["POST"],
418
- path: { exact: "/api/llm/v1/chat/completions" }
419
- }]
420
- },
421
- {
422
- id: "baseten",
423
- name: "Baseten",
424
- env: "BASETEN_API_KEY",
425
- headers: [{
426
- name: "authorization",
427
- scheme: "bearer"
428
- }],
429
- endpoints: [{
430
- host: "inference.baseten.co",
431
- method: ["POST"],
432
- path: { exact: "/v1/chat/completions" }
433
- }]
434
- },
435
- {
436
- id: "bee",
437
- name: "Bee by HEOSSI",
438
- env: "BEE_API_KEY",
439
- headers: [{
440
- name: "authorization",
441
- scheme: "bearer"
442
- }],
443
- endpoints: [{
444
- host: "api.bee.heossi.com",
445
- method: ["POST"],
446
- path: { exact: "/bee/chat/completions" }
447
- }]
448
- },
449
- {
450
- id: "berget",
451
- name: "Berget.AI",
452
- env: "BERGET_API_KEY",
453
- headers: [{
454
- name: "authorization",
455
- scheme: "bearer"
456
- }],
457
- endpoints: [{
458
- host: "api.berget.ai",
459
- method: ["POST"],
460
- path: { exact: "/v1/chat/completions" }
461
- }]
462
- },
463
- {
464
- id: "blueclaw",
465
- name: "Blue Claw",
466
- env: "BLUECLAW_API_KEY",
467
- headers: [{
468
- name: "authorization",
469
- scheme: "bearer"
470
- }],
471
- endpoints: [{
472
- host: "openai.blueclaw.network",
473
- method: ["POST"],
474
- path: { exact: "/v1/chat/completions" }
475
- }]
476
- },
477
- {
478
- id: "bothub",
479
- name: "Bothub",
480
- env: "BOTHUB_API_KEY",
481
- headers: [{
482
- name: "authorization",
483
- scheme: "bearer"
484
- }],
485
- endpoints: [{
486
- host: "openai.bothub.ru",
487
- method: ["POST"],
488
- path: { exact: "/v1/chat/completions" }
489
- }]
490
- },
491
- {
492
- id: "boundless",
493
- name: "Boundless",
494
- env: "BOUNDLESS_API_KEY",
495
- headers: [{
496
- name: "authorization",
497
- scheme: "bearer"
498
- }],
499
- endpoints: [{
500
- host: "api.inference.boundless.network",
501
- method: ["POST"],
502
- path: { exact: "/v1/chat/completions" }
503
- }]
504
- },
505
- {
506
- id: "cerebras",
507
- name: "Cerebras",
508
- env: "CEREBRAS_API_KEY",
509
- headers: [{
510
- name: "authorization",
511
- scheme: "bearer"
512
- }],
513
- endpoints: [{
514
- host: "api.cerebras.ai",
515
- method: ["POST"],
516
- path: { exact: "/v1/chat/completions" }
517
- }]
518
- },
519
- {
520
- id: "chutes",
521
- name: "Chutes",
522
- env: "CHUTES_API_KEY",
523
- headers: [{
524
- name: "authorization",
525
- scheme: "bearer"
526
- }],
527
- endpoints: [{
528
- host: "llm.chutes.ai",
529
- method: ["POST"],
530
- path: { exact: "/v1/chat/completions" }
531
- }]
532
- },
533
- {
534
- id: "clarifai",
535
- name: "Clarifai",
536
- env: "CLARIFAI_PAT",
537
- headers: [{
538
- name: "authorization",
539
- scheme: "bearer"
540
- }],
541
- endpoints: [{
542
- host: "api.clarifai.com",
543
- method: ["POST"],
544
- path: { exact: "/v2/ext/openai/v1/chat/completions" }
545
- }]
546
- },
547
- {
548
- id: "claudinio",
549
- name: "Claudinio",
550
- env: "CLAUDINIO_API_KEY",
551
- headers: [{
552
- name: "authorization",
553
- scheme: "bearer"
554
- }],
555
- endpoints: [{
556
- host: "api.claudin.io",
557
- method: ["POST"],
558
- path: { exact: "/v1/chat/completions" }
559
- }]
560
- },
561
- {
562
- id: "cline-pass",
563
- name: "ClinePass",
564
- env: "CLINE_API_KEY",
565
- headers: [{
566
- name: "authorization",
567
- scheme: "bearer"
568
- }],
569
- endpoints: [{
570
- host: "api.cline.bot",
571
- method: ["POST"],
572
- path: { exact: "/api/v1/chat/completions" }
573
- }]
574
- },
575
- {
576
- id: "cloudferro-sherlock",
577
- name: "CloudFerro Sherlock",
578
- env: "CLOUDFERRO_SHERLOCK_API_KEY",
579
- headers: [{
580
- name: "authorization",
581
- scheme: "bearer"
582
- }],
583
- endpoints: [{
584
- host: "api-sherlock.cloudferro.com",
585
- method: ["POST"],
586
- path: { exact: "/openai/v1/chat/completions" }
587
- }]
588
- },
589
- {
590
- id: "cohere",
591
- name: "Cohere",
592
- env: "COHERE_API_KEY",
593
- headers: [{
594
- name: "authorization",
595
- scheme: "bearer"
596
- }],
597
- endpoints: [{
598
- host: "api.cohere.ai",
599
- method: ["POST"],
600
- path: { exact: "/compatibility/v1/chat/completions" }
601
- }, {
602
- host: "api.cohere.com",
603
- method: ["POST"],
604
- path: { exact: "/v2/chat" }
605
- }]
606
- },
607
- {
608
- id: "commandcode",
609
- name: "CommandCode",
610
- env: "CMD_API_KEY",
611
- headers: [{
612
- name: "authorization",
613
- scheme: "bearer"
614
- }, {
615
- name: "x-api-key",
616
- scheme: "raw"
617
- }],
618
- endpoints: [{
619
- host: "api.commandcode.ai",
620
- method: ["POST"],
621
- path: { exact: "/provider/v1/chat/completions" }
622
- }, {
623
- host: "api.commandcode.ai",
624
- method: ["POST"],
625
- path: { exact: "/provider/v1/messages" }
626
- }]
627
- },
628
- {
629
- id: "coralbricks",
630
- name: "CoralBricks",
631
- env: "CORAL_API_KEY",
632
- headers: [{
633
- name: "authorization",
634
- scheme: "bearer"
635
- }],
636
- endpoints: [{
637
- host: "inference.coralbricks.ai",
638
- method: ["POST"],
639
- path: { exact: "/v1/chat/completions" }
640
- }]
641
- },
642
- {
643
- id: "cortecs",
644
- name: "Cortecs",
645
- env: "CORTECS_API_KEY",
646
- headers: [{
647
- name: "authorization",
648
- scheme: "bearer"
649
- }],
650
- endpoints: [{
651
- host: "api.cortecs.ai",
652
- method: ["POST"],
653
- path: { exact: "/v1/chat/completions" }
654
- }]
655
- },
656
- {
657
- id: "crossmodel",
658
- name: "CrossModel",
659
- env: "CROSSMODEL_API_KEY",
660
- headers: [{
661
- name: "authorization",
662
- scheme: "bearer"
663
- }],
664
- endpoints: [{
665
- host: "api.crossmodel.ai",
666
- method: ["POST"],
667
- path: { exact: "/v1/chat/completions" }
668
- }]
669
- },
670
- {
671
- id: "crusoe",
672
- name: "Crusoe",
673
- env: "CRUSOE_API_KEY",
674
- headers: [{
675
- name: "authorization",
676
- scheme: "bearer"
677
- }],
678
- endpoints: [{
679
- host: "api.inference.crusoecloud.com",
680
- method: ["POST"],
681
- path: { exact: "/v1/chat/completions" }
682
- }]
683
- },
684
- {
685
- id: "daoxe",
686
- name: "DaoXE",
687
- env: "DAOXE_API_KEY",
688
- headers: [{
689
- name: "authorization",
690
- scheme: "bearer"
691
- }],
692
- endpoints: [{
693
- host: "daoxe.com",
694
- method: ["POST"],
695
- path: { exact: "/v1/chat/completions" }
696
- }]
697
- },
698
- {
699
- id: "deepinfra",
700
- name: "Deep Infra",
701
- env: "DEEPINFRA_API_KEY",
702
- headers: [{
703
- name: "authorization",
704
- scheme: "bearer"
705
- }],
706
- endpoints: [{
707
- host: "api.deepinfra.com",
708
- method: ["POST"],
709
- path: { exact: "/v1/openai/chat/completions" }
710
- }]
711
- },
712
- {
713
- id: "deepseek",
714
- name: "DeepSeek",
715
- env: "DEEPSEEK_API_KEY",
716
- headers: [{
717
- name: "authorization",
718
- scheme: "bearer"
719
- }],
720
- endpoints: [{
721
- host: "api.deepseek.com",
722
- method: ["POST"],
723
- path: { exact: "/chat/completions" }
724
- }]
725
- },
726
- {
727
- id: "digitalocean",
728
- name: "DigitalOcean",
729
- env: "DIGITALOCEAN_ACCESS_TOKEN",
730
- headers: [{
731
- name: "authorization",
732
- scheme: "bearer"
733
- }],
734
- endpoints: [{
735
- host: "inference.do-ai.run",
736
- method: ["POST"],
737
- path: { exact: "/v1/chat/completions" }
738
- }]
739
- },
740
- {
741
- id: "dinference",
742
- name: "DInference",
743
- env: "DINFERENCE_API_KEY",
744
- headers: [{
745
- name: "authorization",
746
- scheme: "bearer"
747
- }],
748
- endpoints: [{
749
- host: "api.dinference.com",
750
- method: ["POST"],
751
- path: { exact: "/v1/chat/completions" }
752
- }]
753
- },
754
- {
755
- id: "drun",
756
- name: "D.Run (China)",
757
- env: "DRUN_API_KEY",
758
- headers: [{
759
- name: "authorization",
760
- scheme: "bearer"
761
- }],
762
- endpoints: [{
763
- host: "chat.d.run",
764
- method: ["POST"],
765
- path: { exact: "/v1/chat/completions" }
766
- }]
767
- },
768
- {
769
- id: "ebcloud",
770
- name: "EBCloud",
771
- env: "EBCLOUD_API_KEY",
772
- headers: [{
773
- name: "authorization",
774
- scheme: "bearer"
775
- }],
776
- endpoints: [{
777
- host: "maas-api.ebcloud.com",
778
- method: ["POST"],
779
- path: { exact: "/v1/chat/completions" }
780
- }]
781
- },
782
- {
783
- id: "echo",
784
- name: "Echo",
785
- env: "ECHO_API_KEY",
786
- headers: [{
787
- name: "authorization",
788
- scheme: "bearer"
789
- }],
790
- endpoints: [{
791
- host: "echo.tracerml.ai",
792
- method: ["POST"],
793
- path: { exact: "/v1/chat/completions" }
794
- }]
795
- },
796
- {
797
- id: "edenai",
798
- name: "Eden AI",
799
- env: "EDENAI_API_KEY",
800
- headers: [{
801
- name: "authorization",
802
- scheme: "bearer"
803
- }],
804
- endpoints: [{
805
- host: "api.edenai.run",
806
- method: ["POST"],
807
- path: { exact: "/v3/chat/completions" }
808
- }]
809
- },
810
- {
811
- id: "empiriolabs",
812
- name: "EmpirioLabs AI",
813
- env: "EMPIRIOLABS_API_KEY",
814
- headers: [{
815
- name: "authorization",
816
- scheme: "bearer"
817
- }],
818
- endpoints: [{
819
- host: "api.empiriolabs.ai",
820
- method: ["POST"],
821
- path: { exact: "/v1/chat/completions" }
822
- }]
823
- },
824
- {
825
- id: "engy",
826
- name: "engy",
827
- env: "ENGY_API_KEY",
828
- headers: [{
829
- name: "authorization",
830
- scheme: "bearer"
831
- }],
832
- endpoints: [{
833
- host: "api.engy.ai",
834
- method: ["POST"],
835
- path: { exact: "/v1/chat/completions" }
836
- }]
837
- },
838
- {
839
- id: "evroc",
840
- name: "evroc",
841
- env: "EVROC_API_KEY",
842
- headers: [{
843
- name: "authorization",
844
- scheme: "bearer"
845
- }],
846
- endpoints: [{
847
- host: "models.think.evroc.com",
848
- method: ["POST"],
849
- path: { exact: "/v1/chat/completions" }
850
- }]
851
- },
852
- {
853
- id: "fastrouter",
854
- name: "FastRouter",
855
- env: "FASTROUTER_API_KEY",
856
- headers: [{
857
- name: "authorization",
858
- scheme: "bearer"
859
- }],
860
- endpoints: [{
861
- host: "go.fastrouter.ai",
862
- method: ["POST"],
863
- path: { exact: "/api/v1/chat/completions" }
864
- }]
865
- },
866
- {
867
- id: "fireworks-ai",
868
- name: "Fireworks AI",
869
- env: "FIREWORKS_API_KEY",
870
- headers: [{
871
- name: "authorization",
872
- scheme: "bearer"
873
- }],
874
- endpoints: [{
875
- host: "api.fireworks.ai",
876
- method: ["POST"],
877
- path: { exact: "/inference/v1/chat/completions" }
878
- }]
879
- },
880
- {
881
- id: "freemodel",
882
- name: "FreeModel",
883
- env: "FREEMODEL_API_KEY",
884
- headers: [{
885
- name: "x-api-key",
886
- scheme: "raw"
887
- }, {
888
- name: "authorization",
889
- scheme: "bearer"
890
- }],
891
- endpoints: [{
892
- host: "api.freemodel.dev",
893
- method: ["POST"],
894
- path: { exact: "/v1/chat/completions" }
895
- }, {
896
- host: "cc.freemodel.dev",
897
- method: ["POST"],
898
- path: { exact: "/v1/messages" }
899
- }]
900
- },
901
- {
902
- id: "friendli",
903
- name: "Friendli",
904
- env: "FRIENDLI_TOKEN",
905
- headers: [{
906
- name: "authorization",
907
- scheme: "bearer"
908
- }],
909
- endpoints: [{
910
- host: "api.friendli.ai",
911
- method: ["POST"],
912
- path: { exact: "/serverless/v1/chat/completions" }
913
- }]
914
- },
915
- {
916
- id: "frogbot",
917
- name: "FrogBot",
918
- env: "FROGBOT_API_KEY",
919
- headers: [{
920
- name: "authorization",
921
- scheme: "bearer"
922
- }],
923
- endpoints: [{
924
- host: "app.frogbot.ai",
925
- method: ["POST"],
926
- path: { exact: "/api/v1/chat/completions" }
927
- }]
928
- },
929
- {
930
- id: "gmicloud",
931
- name: "GMI Cloud",
932
- env: "GMICLOUD_API_KEY",
933
- headers: [{
934
- name: "authorization",
935
- scheme: "bearer"
936
- }],
937
- endpoints: [{
938
- host: "api.gmi-serving.com",
939
- method: ["POST"],
940
- path: { exact: "/v1/chat/completions" }
941
- }]
942
- },
943
- {
944
- id: "google",
945
- name: "Google",
946
- env: "GOOGLE_GENERATIVE_AI_API_KEY",
947
- headers: [{
948
- name: "x-goog-api-key",
949
- scheme: "raw"
950
- }],
951
- endpoints: [{
952
- host: "generativelanguage.googleapis.com",
953
- method: ["POST"],
954
- path: { regex: "^/v1beta/models/([^/]+):streamGenerateContent$" }
955
- }]
956
- },
957
- {
958
- id: "greenpt",
959
- name: "GreenPT",
960
- env: "GREENPT_API_KEY",
961
- headers: [{
962
- name: "authorization",
963
- scheme: "bearer"
964
- }],
965
- endpoints: [{
966
- host: "api.greenpt.ai",
967
- method: ["POST"],
968
- path: { exact: "/v1/chat/completions" }
969
- }]
970
- },
971
- {
972
- id: "groq",
973
- name: "Groq",
974
- env: "GROQ_API_KEY",
975
- headers: [{
976
- name: "authorization",
977
- scheme: "bearer"
978
- }],
979
- endpoints: [{
980
- host: "api.groq.com",
981
- method: ["POST"],
982
- path: { exact: "/openai/v1/chat/completions" }
983
- }]
984
- },
985
- {
986
- id: "helicone",
987
- name: "Helicone",
988
- env: "HELICONE_API_KEY",
989
- headers: [{
990
- name: "authorization",
991
- scheme: "bearer"
992
- }],
993
- endpoints: [{
994
- host: "ai-gateway.helicone.ai",
995
- method: ["POST"],
996
- path: { exact: "/v1/chat/completions" }
997
- }]
998
- },
999
- {
1000
- id: "hetzner",
1001
- name: "Hetzner",
1002
- env: "HETZNER_API_KEY",
1003
- headers: [{
1004
- name: "authorization",
1005
- scheme: "bearer"
1006
- }],
1007
- endpoints: [{
1008
- host: "inference.hetzner.com",
1009
- method: ["POST"],
1010
- path: { exact: "/api/v1/chat/completions" }
1011
- }]
1012
- },
1013
- {
1014
- id: "hpc-ai",
1015
- name: "HPC-AI",
1016
- env: "HPC_AI_API_KEY",
1017
- headers: [{
1018
- name: "authorization",
1019
- scheme: "bearer"
1020
- }],
1021
- endpoints: [{
1022
- host: "api.hpc-ai.com",
1023
- method: ["POST"],
1024
- path: { exact: "/inference/v1/chat/completions" }
1025
- }]
1026
- },
1027
- {
1028
- id: "huggingface",
1029
- name: "Hugging Face",
1030
- env: "HF_TOKEN",
1031
- headers: [{
1032
- name: "authorization",
1033
- scheme: "bearer"
1034
- }],
1035
- endpoints: [{
1036
- host: "router.huggingface.co",
1037
- method: ["POST"],
1038
- path: { exact: "/v1/chat/completions" }
1039
- }]
1040
- },
1041
- {
1042
- id: "hyper",
1043
- name: "Charm Hyper",
1044
- env: "HYPER_API_KEY",
1045
- headers: [{
1046
- name: "authorization",
1047
- scheme: "bearer"
1048
- }],
1049
- endpoints: [{
1050
- host: "hyper.charm.land",
1051
- method: ["POST"],
1052
- path: { exact: "/v1/chat/completions" }
1053
- }]
1054
- },
1055
- {
1056
- id: "impossibl",
1057
- name: "Impossibl",
1058
- env: "IMPOSSIBL_API_KEY",
1059
- headers: [{
1060
- name: "authorization",
1061
- scheme: "bearer"
1062
- }],
1063
- endpoints: [{
1064
- host: "api.impossibl.com",
1065
- method: ["POST"],
1066
- path: { exact: "/v1/chat/completions" }
1067
- }]
1068
- },
1069
- {
1070
- id: "inception",
1071
- name: "Inception",
1072
- env: "INCEPTION_API_KEY",
1073
- headers: [{
1074
- name: "authorization",
1075
- scheme: "bearer"
1076
- }],
1077
- endpoints: [{
1078
- host: "api.inceptionlabs.ai",
1079
- method: ["POST"],
1080
- path: { exact: "/v1/chat/completions" }
1081
- }]
1082
- },
1083
- {
1084
- id: "inceptron",
1085
- name: "Inceptron",
1086
- env: "INCEPTRON_API_KEY",
1087
- headers: [{
1088
- name: "authorization",
1089
- scheme: "bearer"
1090
- }],
1091
- endpoints: [{
1092
- host: "api.inceptron.io",
1093
- method: ["POST"],
1094
- path: { exact: "/v1/chat/completions" }
1095
- }]
1096
- },
1097
- {
1098
- id: "inco",
1099
- name: "Inco",
1100
- env: "INCO_API_KEY",
1101
- headers: [{
1102
- name: "authorization",
1103
- scheme: "bearer"
1104
- }],
1105
- endpoints: [{
1106
- host: "api.inco.ai",
1107
- method: ["POST"],
1108
- path: { exact: "/v1/chat/completions" }
1109
- }]
1110
- },
1111
- {
1112
- id: "infer",
1113
- name: "Infer by Flow7",
1114
- env: "INFER_API_KEY",
1115
- headers: [{
1116
- name: "authorization",
1117
- scheme: "bearer"
1118
- }],
1119
- endpoints: [{
1120
- host: "infer.flow7.org",
1121
- method: ["POST"],
1122
- path: { exact: "/v1/responses" }
1123
- }]
1124
- },
1125
- {
1126
- id: "inference",
1127
- name: "Inference",
1128
- env: "INFERENCE_API_KEY",
1129
- headers: [{
1130
- name: "authorization",
1131
- scheme: "bearer"
1132
- }],
1133
- endpoints: [{
1134
- host: "inference.net",
1135
- method: ["POST"],
1136
- path: { exact: "/v1/chat/completions" }
1137
- }]
1138
- },
1139
- {
1140
- id: "inferx",
1141
- name: "InferX",
1142
- env: "INFERX_API_KEY",
1143
- headers: [{
1144
- name: "authorization",
1145
- scheme: "bearer"
1146
- }],
1147
- endpoints: [{
1148
- host: "model.inferx.net",
1149
- method: ["POST"],
1150
- path: { exact: "/endpoints/v1/chat/completions" }
1151
- }]
1152
- },
1153
- {
1154
- id: "io-net",
1155
- name: "IO.NET",
1156
- env: "IOINTELLIGENCE_API_KEY",
1157
- headers: [{
1158
- name: "authorization",
1159
- scheme: "bearer"
1160
- }],
1161
- endpoints: [{
1162
- host: "api.intelligence.io.solutions",
1163
- method: ["POST"],
1164
- path: { exact: "/api/v1/chat/completions" }
1165
- }]
1166
- },
1167
- {
1168
- id: "iteracompute",
1169
- name: "IteraCompute",
1170
- env: "ITERACOMPUTE_API_KEY",
1171
- headers: [{
1172
- name: "authorization",
1173
- scheme: "bearer"
1174
- }],
1175
- endpoints: [{
1176
- host: "api.iteracompute.com",
1177
- method: ["POST"],
1178
- path: { exact: "/v1/chat/completions" }
1179
- }]
1180
- },
1181
- {
1182
- id: "jalapeno",
1183
- name: "Jalapeno Cloud",
1184
- env: "JALAPENO_API_KEY",
1185
- headers: [{
1186
- name: "authorization",
1187
- scheme: "bearer"
1188
- }],
1189
- endpoints: [{
1190
- host: "api.jalapeno-cloud.ai",
1191
- method: ["POST"],
1192
- path: { exact: "/v1/chat/completions" }
1193
- }]
1194
- },
1195
- {
1196
- id: "jiekou",
1197
- name: "Jiekou.AI",
1198
- env: "JIEKOU_API_KEY",
1199
- headers: [{
1200
- name: "authorization",
1201
- scheme: "bearer"
1202
- }],
1203
- endpoints: [{
1204
- host: "api.jiekou.ai",
1205
- method: ["POST"],
1206
- path: { exact: "/openai/chat/completions" }
1207
- }]
1208
- },
1209
- {
1210
- id: "kenari",
1211
- name: "Kenari",
1212
- env: "KENARI_API_KEY",
1213
- headers: [{
1214
- name: "authorization",
1215
- scheme: "bearer"
1216
- }],
1217
- endpoints: [{
1218
- host: "kenari.id",
1219
- method: ["POST"],
1220
- path: { exact: "/v1/chat/completions" }
1221
- }]
1222
- },
1223
- {
1224
- id: "kilo",
1225
- name: "Kilo Gateway",
1226
- env: "KILO_API_KEY",
1227
- headers: [{
1228
- name: "authorization",
1229
- scheme: "bearer"
1230
- }],
1231
- endpoints: [{
1232
- host: "api.kilo.ai",
1233
- method: ["POST"],
1234
- path: { exact: "/api/gateway/chat/completions" }
1235
- }]
1236
- },
1237
- {
1238
- id: "kimi-code-plan-cn",
1239
- name: "Kimi For Coding (kimi.com)",
1240
- env: "KIMI_API_KEY",
1241
- headers: [{
1242
- name: "authorization",
1243
- scheme: "bearer"
1244
- }],
1245
- endpoints: [{
1246
- host: "api.kimi.com",
1247
- method: ["POST"],
1248
- path: { exact: "/coding/v1/chat/completions" }
1249
- }]
1250
- },
1251
- {
1252
- id: "kimi-code-plan-global",
1253
- name: "Kimi For Coding (kimi.ai)",
1254
- env: "KIMI_API_KEY",
1255
- headers: [{
1256
- name: "authorization",
1257
- scheme: "bearer"
1258
- }],
1259
- endpoints: [{
1260
- host: "api.kimi.ai",
1261
- method: ["POST"],
1262
- path: { exact: "/coding/v1/chat/completions" }
1263
- }]
1264
- },
1265
- {
1266
- id: "klokintegration",
1267
- name: "klokintegration.se",
1268
- env: "KLOKINTEGRATION_API_KEY",
1269
- headers: [{
1270
- name: "authorization",
1271
- scheme: "bearer"
1272
- }],
1273
- endpoints: [{
1274
- host: "api-gw.klok.ipaas.se",
1275
- method: ["POST"],
1276
- path: { exact: "/proxy/kloker-key/v1/chat/completions" }
1277
- }]
1278
- },
1279
- {
1280
- id: "kosmik",
1281
- name: "Kosmik Compute",
1282
- env: "KOSMIK_API_KEY",
1283
- headers: [{
1284
- name: "authorization",
1285
- scheme: "bearer"
1286
- }],
1287
- endpoints: [{
1288
- host: "api.koscompute.com",
1289
- method: ["POST"],
1290
- path: { exact: "/v1/chat/completions" }
1291
- }]
1292
- },
1293
- {
1294
- id: "kuae-cloud-coding-plan",
1295
- name: "KUAE Cloud Coding Plan",
1296
- env: "KUAE_API_KEY",
1297
- headers: [{
1298
- name: "authorization",
1299
- scheme: "bearer"
1300
- }],
1301
- endpoints: [{
1302
- host: "coding-plan-endpoint.kuaecloud.net",
1303
- method: ["POST"],
1304
- path: { exact: "/v1/chat/completions" }
1305
- }]
1306
- },
1307
- {
1308
- id: "liquid",
1309
- name: "Liquid Inference",
1310
- env: "LIQUID_API_KEY",
1311
- headers: [{
1312
- name: "authorization",
1313
- scheme: "bearer"
1314
- }],
1315
- endpoints: [{
1316
- host: "router.inference.ai.exchange",
1317
- method: ["POST"],
1318
- path: { exact: "/v1/chat/completions" }
1319
- }]
1320
- },
1321
- {
1322
- id: "llmgateway",
1323
- name: "DevPass (LLM Gateway)",
1324
- env: "LLMGATEWAY_API_KEY",
1325
- headers: [{
1326
- name: "authorization",
1327
- scheme: "bearer"
1328
- }],
1329
- endpoints: [{
1330
- host: "api.llmgateway.io",
1331
- method: ["POST"],
1332
- path: { exact: "/v1/chat/completions" }
1333
- }]
1334
- },
1335
- {
1336
- id: "llmgateway-providers",
1337
- name: "LLM Gateway",
1338
- env: "LLMGATEWAY_API_KEY",
1339
- headers: [{
1340
- name: "authorization",
1341
- scheme: "bearer"
1342
- }],
1343
- endpoints: [{
1344
- host: "api.llmgateway.io",
1345
- method: ["POST"],
1346
- path: { exact: "/v1/chat/completions" }
1347
- }]
1348
- },
1349
- {
1350
- id: "llmtech",
1351
- name: "LLM Tech",
1352
- env: "LLMTECH_API_KEY",
1353
- headers: [{
1354
- name: "authorization",
1355
- scheme: "bearer"
1356
- }],
1357
- endpoints: [{
1358
- host: "api.llmtech.eu",
1359
- method: ["POST"],
1360
- path: { exact: "/v1/chat/completions" }
1361
- }]
1362
- },
1363
- {
1364
- id: "llmtr",
1365
- name: "LLMTR",
1366
- env: "LLMTR_API_KEY",
1367
- headers: [{
1368
- name: "authorization",
1369
- scheme: "bearer"
1370
- }],
1371
- endpoints: [{
1372
- host: "llmtr.com",
1373
- method: ["POST"],
1374
- path: { exact: "/v1/chat/completions" }
1375
- }]
1376
- },
1377
- {
1378
- id: "longcat",
1379
- name: "LongCat",
1380
- env: "LONGCAT_API_KEY",
1381
- headers: [{
1382
- name: "authorization",
1383
- scheme: "bearer"
1384
- }],
1385
- endpoints: [{
1386
- host: "api.longcat.chat",
1387
- method: ["POST"],
1388
- path: { exact: "/openai/chat/completions" }
1389
- }]
1390
- },
1391
- {
1392
- id: "lowrouter",
1393
- name: "LowRouter",
1394
- env: "LOWROUTER_API_KEY",
1395
- headers: [{
1396
- name: "authorization",
1397
- scheme: "bearer"
1398
- }],
1399
- endpoints: [{
1400
- host: "api.lowrouter.ai",
1401
- method: ["POST"],
1402
- path: { exact: "/v1/chat/completions" }
1403
- }]
1404
- },
1405
- {
1406
- id: "lucidquery",
1407
- name: "LucidQuery",
1408
- env: "LUCIDQUERY_API_KEY",
1409
- headers: [{
1410
- name: "authorization",
1411
- scheme: "bearer"
1412
- }],
1413
- endpoints: [{
1414
- host: "api.lucidquery.com",
1415
- method: ["POST"],
1416
- path: { exact: "/v1/chat/completions" }
1417
- }]
1418
- },
1419
- {
1420
- id: "meganova",
1421
- name: "Meganova",
1422
- env: "MEGANOVA_API_KEY",
1423
- headers: [{
1424
- name: "authorization",
1425
- scheme: "bearer"
1426
- }],
1427
- endpoints: [{
1428
- host: "api.meganova.ai",
1429
- method: ["POST"],
1430
- path: { exact: "/v1/chat/completions" }
1431
- }]
1432
- },
1433
- {
1434
- id: "melious",
1435
- name: "Melious",
1436
- env: "MELIOUS_API_KEY",
1437
- headers: [{
1438
- name: "authorization",
1439
- scheme: "bearer"
1440
- }],
1441
- endpoints: [{
1442
- host: "api.melious.ai",
1443
- method: ["POST"],
1444
- path: { exact: "/v1/chat/completions" }
1445
- }]
1446
- },
1447
- {
1448
- id: "meta",
1449
- name: "Meta",
1450
- env: "META_MODEL_API_KEY",
1451
- headers: [{
1452
- name: "authorization",
1453
- scheme: "bearer"
1454
- }],
1455
- endpoints: [{
1456
- host: "api.meta.ai",
1457
- method: ["POST"],
1458
- path: { exact: "/v1/responses" }
1459
- }]
1460
- },
1461
- {
1462
- id: "minimax",
1463
- name: "MiniMax (minimax.io)",
1464
- env: "MINIMAX_API_KEY",
1465
- headers: [{
1466
- name: "authorization",
1467
- scheme: "bearer"
1468
- }],
1469
- endpoints: [{
1470
- host: "api.minimax.io",
1471
- method: ["POST"],
1472
- path: { exact: "/anthropic/v1/messages" }
1473
- }]
1474
- },
1475
- {
1476
- id: "minimax-cn",
1477
- name: "MiniMax (minimax.cn)",
1478
- env: "MINIMAX_API_KEY",
1479
- headers: [{
1480
- name: "authorization",
1481
- scheme: "bearer"
1482
- }],
1483
- endpoints: [{
1484
- host: "api.minimax.cn",
1485
- method: ["POST"],
1486
- path: { exact: "/anthropic/v1/messages" }
1487
- }]
1488
- },
1489
- {
1490
- id: "minimax-cn-coding-plan",
1491
- name: "MiniMax Token Plan (minimax.cn)",
1492
- env: "MINIMAX_API_KEY",
1493
- headers: [{
1494
- name: "authorization",
1495
- scheme: "bearer"
1496
- }],
1497
- endpoints: [{
1498
- host: "api.minimax.cn",
1499
- method: ["POST"],
1500
- path: { exact: "/anthropic/v1/messages" }
1501
- }]
1502
- },
1503
- {
1504
- id: "minimax-coding-plan",
1505
- name: "MiniMax Token Plan (minimax.io)",
1506
- env: "MINIMAX_API_KEY",
1507
- headers: [{
1508
- name: "authorization",
1509
- scheme: "bearer"
1510
- }],
1511
- endpoints: [{
1512
- host: "api.minimax.io",
1513
- method: ["POST"],
1514
- path: { exact: "/anthropic/v1/messages" }
1515
- }]
1516
- },
1517
- {
1518
- id: "mistral",
1519
- name: "Mistral",
1520
- env: "MISTRAL_API_KEY",
1521
- headers: [{
1522
- name: "authorization",
1523
- scheme: "bearer"
1524
- }],
1525
- endpoints: [{
1526
- host: "api.mistral.ai",
1527
- method: ["POST"],
1528
- path: { exact: "/v1/chat/completions" }
1529
- }]
1530
- },
1531
- {
1532
- id: "mixlayer",
1533
- name: "Mixlayer",
1534
- env: "MIXLAYER_API_KEY",
1535
- headers: [{
1536
- name: "authorization",
1537
- scheme: "bearer"
1538
- }],
1539
- endpoints: [{
1540
- host: "models.mixlayer.ai",
1541
- method: ["POST"],
1542
- path: { exact: "/v1/chat/completions" }
1543
- }]
1544
- },
1545
- {
1546
- id: "moark",
1547
- name: "Moark",
1548
- env: "MOARK_API_KEY",
1549
- headers: [{
1550
- name: "authorization",
1551
- scheme: "bearer"
1552
- }],
1553
- endpoints: [{
1554
- host: "moark.com",
1555
- method: ["POST"],
1556
- path: { exact: "/v1/chat/completions" }
1557
- }]
1558
- },
1559
- {
1560
- id: "modal",
1561
- name: "Modal",
1562
- env: "MODAL_PROXY_TOKEN",
1563
- headers: [{
1564
- name: "authorization",
1565
- scheme: "bearer"
1566
- }],
1567
- endpoints: [{
1568
- host: "inference.us-west.modal.direct",
1569
- method: ["GET"],
1570
- path: { exact: "/v1/models" }
1571
- }, {
1572
- host: "inference.us-west.modal.direct",
1573
- method: ["POST"],
1574
- path: { exact: "/v1/chat/completions" }
1575
- }]
1576
- },
1577
- {
1578
- id: "model-oracle-ai",
1579
- name: "Model Oracle AI",
1580
- env: "MODEL_ORACLE_API_KEY",
1581
- headers: [{
1582
- name: "authorization",
1583
- scheme: "bearer"
1584
- }],
1585
- endpoints: [{
1586
- host: "api.modeloracle.com",
1587
- method: ["POST"],
1588
- path: { exact: "/api/v1/chat/completions" }
1589
- }]
1590
- },
1591
- {
1592
- id: "modelis",
1593
- name: "Modelis",
1594
- env: "MODELIS_API_KEY",
1595
- headers: [{
1596
- name: "authorization",
1597
- scheme: "bearer"
1598
- }],
1599
- endpoints: [{
1600
- host: "modelishub.com",
1601
- method: ["POST"],
1602
- path: { exact: "/v1/chat/completions" }
1603
- }]
1604
- },
1605
- {
1606
- id: "modelscope",
1607
- name: "ModelScope",
1608
- env: "MODELSCOPE_API_KEY",
1609
- headers: [{
1610
- name: "authorization",
1611
- scheme: "bearer"
1612
- }],
1613
- endpoints: [{
1614
- host: "api-inference.modelscope.cn",
1615
- method: ["POST"],
1616
- path: { exact: "/v1/chat/completions" }
1617
- }]
1618
- },
1619
- {
1620
- id: "moonshotai",
1621
- name: "Moonshot AI",
1622
- env: "MOONSHOT_API_KEY",
1623
- headers: [{
1624
- name: "authorization",
1625
- scheme: "bearer"
1626
- }],
1627
- endpoints: [{
1628
- host: "api.moonshot.ai",
1629
- method: ["POST"],
1630
- path: { exact: "/v1/chat/completions" }
1631
- }]
1632
- },
1633
- {
1634
- id: "moonshotai-cn",
1635
- name: "Moonshot AI (China)",
1636
- env: "MOONSHOT_API_KEY",
1637
- headers: [{
1638
- name: "authorization",
1639
- scheme: "bearer"
1640
- }],
1641
- endpoints: [{
1642
- host: "api.moonshot.cn",
1643
- method: ["POST"],
1644
- path: { exact: "/v1/chat/completions" }
1645
- }]
1646
- },
1647
- {
1648
- id: "nan",
1649
- name: "NaN",
1650
- env: "NAN_API_KEY",
1651
- headers: [{
1652
- name: "authorization",
1653
- scheme: "bearer"
1654
- }],
1655
- endpoints: [{
1656
- host: "api.nan.builders",
1657
- method: ["POST"],
1658
- path: { exact: "/v1/chat/completions" }
1659
- }]
1660
- },
1661
- {
1662
- id: "nano-gpt",
1663
- name: "NanoGPT",
1664
- env: "NANO_GPT_API_KEY",
1665
- headers: [{
1666
- name: "authorization",
1667
- scheme: "bearer"
1668
- }],
1669
- endpoints: [{
1670
- host: "nano-gpt.com",
1671
- method: ["POST"],
1672
- path: { exact: "/api/v1/chat/completions" }
1673
- }]
1674
- },
1675
- {
1676
- id: "nearai",
1677
- name: "NEAR AI Cloud",
1678
- env: "NEARAI_API_KEY",
1679
- headers: [{
1680
- name: "authorization",
1681
- scheme: "bearer"
1682
- }],
1683
- endpoints: [{
1684
- host: "cloud-api.near.ai",
1685
- method: ["POST"],
1686
- path: { exact: "/v1/chat/completions" }
1687
- }]
1688
- },
1689
- {
1690
- id: "nebius",
1691
- name: "Nebius Token Factory",
1692
- env: "NEBIUS_API_KEY",
1693
- headers: [{
1694
- name: "authorization",
1695
- scheme: "bearer"
1696
- }],
1697
- endpoints: [{
1698
- host: "api.tokenfactory.nebius.com",
1699
- method: ["POST"],
1700
- path: { exact: "/v1/chat/completions" }
1701
- }]
1702
- },
1703
- {
1704
- id: "neosmith",
1705
- name: "NeoSmith",
1706
- env: "NEOSMITH_API_KEY",
1707
- headers: [{
1708
- name: "authorization",
1709
- scheme: "bearer"
1710
- }],
1711
- endpoints: [{
1712
- host: "router.neosmith.ai",
1713
- method: ["POST"],
1714
- path: { exact: "/v1/responses" }
1715
- }]
1716
- },
1717
- {
1718
- id: "neuralwatt",
1719
- name: "Neuralwatt",
1720
- env: "NEURALWATT_API_KEY",
1721
- headers: [{
1722
- name: "authorization",
1723
- scheme: "bearer"
1724
- }],
1725
- endpoints: [{
1726
- host: "api.neuralwatt.com",
1727
- method: ["POST"],
1728
- path: { exact: "/v1/chat/completions" }
1729
- }]
1730
- },
1731
- {
1732
- id: "nova",
1733
- name: "Nova",
1734
- env: "NOVA_API_KEY",
1735
- headers: [{
1736
- name: "authorization",
1737
- scheme: "bearer"
1738
- }],
1739
- endpoints: [{
1740
- host: "api.nova.amazon.com",
1741
- method: ["POST"],
1742
- path: { exact: "/v1/chat/completions" }
1743
- }]
1744
- },
1745
- {
1746
- id: "novita-ai",
1747
- name: "Novita AI",
1748
- env: "NOVITA_API_KEY",
1749
- headers: [{
1750
- name: "authorization",
1751
- scheme: "bearer"
1752
- }],
1753
- endpoints: [{
1754
- host: "api.novita.ai",
1755
- method: ["POST"],
1756
- path: { exact: "/openai/chat/completions" }
1757
- }]
1758
- },
1759
- {
1760
- id: "nvidia",
1761
- name: "Nvidia",
1762
- env: "NVIDIA_API_KEY",
1763
- headers: [{
1764
- name: "authorization",
1765
- scheme: "bearer"
1766
- }],
1767
- endpoints: [{
1768
- host: "integrate.api.nvidia.com",
1769
- method: ["POST"],
1770
- path: { exact: "/v1/chat/completions" }
1771
- }]
1772
- },
1773
- {
1774
- id: "oci",
1775
- name: "OCI Generative AI",
1776
- env: "OCI_GENAI_API_KEY",
1777
- headers: [{
1778
- name: "authorization",
1779
- scheme: "bearer"
1780
- }],
1781
- endpoints: [{
1782
- host: "inference.generativeai.us-chicago-1.oci.oraclecloud.com",
1783
- method: ["POST"],
1784
- path: { exact: "/openai/v1/chat/completions" }
1785
- }]
1786
- },
1787
- {
1788
- id: "ofox",
1789
- name: "Ofox",
1790
- env: "OFOX_API_KEY",
1791
- headers: [
1792
- {
1793
- name: "authorization",
1794
- scheme: "bearer"
1795
- },
1796
- {
1797
- name: "x-goog-api-key",
1798
- scheme: "raw"
1799
- },
1800
- {
1801
- name: "x-api-key",
1802
- scheme: "raw"
1803
- }
1804
- ],
1805
- endpoints: [
1806
- {
1807
- host: "api.ofox.ai",
1808
- method: ["POST"],
1809
- path: { exact: "/anthropic/v1/messages" }
1810
- },
1811
- {
1812
- host: "api.ofox.ai",
1813
- method: ["POST"],
1814
- path: { exact: "/v1/chat/completions" }
1815
- },
1816
- {
1817
- host: "api.ofox.ai",
1818
- method: ["POST"],
1819
- path: { exact: "/v1/responses" }
1820
- },
1821
- {
1822
- host: "api.ofox.ai",
1823
- method: ["POST"],
1824
- path: { regex: "^/gemini/v1beta/models/([^/]+):streamGenerateContent$" }
1825
- }
1826
- ]
1827
- },
1828
- {
1829
- id: "ollama-cloud",
1830
- name: "Ollama Cloud",
1831
- env: "OLLAMA_API_KEY",
1832
- headers: [{
1833
- name: "authorization",
1834
- scheme: "bearer"
1835
- }],
1836
- endpoints: [{
1837
- host: "ollama.com",
1838
- method: ["POST"],
1839
- path: { exact: "/v1/chat/completions" }
1840
- }]
1841
- },
1842
- {
1843
- id: "openai",
1844
- name: "OpenAI",
1845
- env: "OPENAI_API_KEY",
1846
- headers: [{
1847
- name: "authorization",
1848
- scheme: "bearer"
1849
- }],
1850
- endpoints: [{
1851
- host: "api.openai.com",
1852
- method: ["POST"],
1853
- path: { exact: "/v1/responses" }
1854
- }]
1855
- },
1856
- {
1857
- id: "opencode",
1858
- name: "OpenCode Console",
1859
- env: "OPENCODE_API_KEY",
1860
- headers: [
1861
- {
1862
- name: "authorization",
1863
- scheme: "bearer"
1864
- },
1865
- {
1866
- name: "x-goog-api-key",
1867
- scheme: "raw"
1868
- },
1869
- {
1870
- name: "x-api-key",
1871
- scheme: "raw"
1872
- }
1873
- ],
1874
- endpoints: [
1875
- {
1876
- host: "opencode.ai",
1877
- method: ["GET"],
1878
- path: { exact: "/console/api/v2/config" }
1879
- },
1880
- {
1881
- host: "opencode.ai",
1882
- method: ["POST"],
1883
- path: { exact: "/inference/anthropic/v1/messages" }
1884
- },
1885
- {
1886
- host: "opencode.ai",
1887
- method: ["POST"],
1888
- path: { exact: "/inference/openai/v1/chat/completions" }
1889
- },
1890
- {
1891
- host: "opencode.ai",
1892
- method: ["POST"],
1893
- path: { exact: "/inference/openai/v1/responses" }
1894
- },
1895
- {
1896
- host: "opencode.ai",
1897
- method: ["POST"],
1898
- path: { regex: "^/inference/google/v1beta/models/([^/]+):streamGenerateContent$" }
1899
- }
1900
- ]
1901
- },
1902
- {
1903
- id: "opencode-go",
1904
- name: "OpenCode Go",
1905
- env: "OPENCODE_API_KEY",
1906
- headers: [
1907
- {
1908
- name: "authorization",
1909
- scheme: "bearer"
1910
- },
1911
- {
1912
- name: "x-goog-api-key",
1913
- scheme: "raw"
1914
- },
1915
- {
1916
- name: "x-api-key",
1917
- scheme: "raw"
1918
- }
1919
- ],
1920
- endpoints: [
1921
- {
1922
- host: "opencode.ai",
1923
- method: ["GET"],
1924
- path: { exact: "/console/api/v2/config" }
1925
- },
1926
- {
1927
- host: "opencode.ai",
1928
- method: ["POST"],
1929
- path: { exact: "/inference/go/anthropic/v1/messages" }
1930
- },
1931
- {
1932
- host: "opencode.ai",
1933
- method: ["POST"],
1934
- path: { exact: "/inference/go/openai/v1/chat/completions" }
1935
- },
1936
- {
1937
- host: "opencode.ai",
1938
- method: ["POST"],
1939
- path: { exact: "/inference/go/openai/v1/responses" }
1940
- },
1941
- {
1942
- host: "opencode.ai",
1943
- method: ["POST"],
1944
- path: { regex: "^/inference/go/google/v1beta/models/([^/]+):streamGenerateContent$" }
1945
- }
1946
- ]
1947
- },
1948
- {
1949
- id: "openreason",
1950
- name: "OpenReason",
1951
- env: "OPENREASON_API_KEY",
1952
- headers: [{
1953
- name: "authorization",
1954
- scheme: "bearer"
1955
- }],
1956
- endpoints: [{
1957
- host: "api.openreason.app",
1958
- method: ["POST"],
1959
- path: { exact: "/v1/chat/completions" }
1960
- }]
1961
- },
1962
- {
1963
- id: "openrouter",
1964
- name: "OpenRouter",
1965
- env: "OPENROUTER_API_KEY",
1966
- headers: [{
1967
- name: "authorization",
1968
- scheme: "bearer"
1969
- }],
1970
- endpoints: [{
1971
- host: "openrouter.ai",
1972
- method: ["POST"],
1973
- path: { exact: "/api/v1/chat/completions" }
1974
- }]
1975
- },
1976
- {
1977
- id: "opper",
1978
- name: "Opper",
1979
- env: "OPPER_API_KEY",
1980
- headers: [{
1981
- name: "authorization",
1982
- scheme: "bearer"
1983
- }],
1984
- endpoints: [{
1985
- host: "api.opper.ai",
1986
- method: ["POST"],
1987
- path: { exact: "/v3/compat/chat/completions" }
1988
- }]
1989
- },
1990
- {
1991
- id: "orcarouter",
1992
- name: "OrcaRouter",
1993
- env: "ORCAROUTER_API_KEY",
1994
- headers: [{
1995
- name: "authorization",
1996
- scheme: "bearer"
1997
- }],
1998
- endpoints: [{
1999
- host: "api.orcarouter.ai",
2000
- method: ["POST"],
2001
- path: { exact: "/v1/chat/completions" }
2002
- }]
2003
- },
2004
- {
2005
- id: "ovhcloud",
2006
- name: "OVHcloud AI Endpoints",
2007
- env: "OVHCLOUD_API_KEY",
2008
- headers: [{
2009
- name: "authorization",
2010
- scheme: "bearer"
2011
- }],
2012
- endpoints: [{
2013
- host: "oai.endpoints.kepler.ai.cloud.ovh.net",
2014
- method: ["POST"],
2015
- path: { exact: "/v1/chat/completions" }
2016
- }]
2017
- },
2018
- {
2019
- id: "pareto",
2020
- name: "Pareto Inference",
2021
- env: "PARETO_API_KEY",
2022
- headers: [{
2023
- name: "authorization",
2024
- scheme: "bearer"
2025
- }],
2026
- endpoints: [{
2027
- host: "api.paretoinference.com",
2028
- method: ["POST"],
2029
- path: { exact: "/v1/chat/completions" }
2030
- }]
2031
- },
2032
- {
2033
- id: "pendra",
2034
- name: "Pendra",
2035
- env: "PENDRA_API_KEY",
2036
- headers: [{
2037
- name: "authorization",
2038
- scheme: "bearer"
2039
- }],
2040
- endpoints: [{
2041
- host: "api.pendra.ai",
2042
- method: ["POST"],
2043
- path: { exact: "/api/v1/chat/completions" }
2044
- }]
2045
- },
2046
- {
2047
- id: "perplexity-agent",
2048
- name: "Perplexity Agent",
2049
- env: "PERPLEXITY_API_KEY",
2050
- headers: [{
2051
- name: "authorization",
2052
- scheme: "bearer"
2053
- }],
2054
- endpoints: [{
2055
- host: "api.perplexity.ai",
2056
- method: ["POST"],
2057
- path: { exact: "/v1/responses" }
2058
- }]
2059
- },
2060
- {
2061
- id: "pioneer",
2062
- name: "Pioneer",
2063
- env: "PIONEER_API_KEY",
2064
- headers: [{
2065
- name: "authorization",
2066
- scheme: "bearer"
2067
- }],
2068
- endpoints: [{
2069
- host: "api.fastino.ai",
2070
- method: ["POST"],
2071
- path: { exact: "/v1/chat/completions" }
2072
- }]
2073
- },
2074
- {
2075
- id: "poe",
2076
- name: "Poe",
2077
- env: "POE_API_KEY",
2078
- headers: [{
2079
- name: "authorization",
2080
- scheme: "bearer"
2081
- }],
2082
- endpoints: [{
2083
- host: "api.poe.com",
2084
- method: ["POST"],
2085
- path: { exact: "/v1/chat/completions" }
2086
- }]
2087
- },
2088
- {
2089
- id: "poolside",
2090
- name: "Poolside",
2091
- env: "POOLSIDE_API_KEY",
2092
- headers: [{
2093
- name: "authorization",
2094
- scheme: "bearer"
2095
- }],
2096
- endpoints: [{
2097
- host: "inference.poolside.ai",
2098
- method: ["POST"],
2099
- path: { exact: "/v1/chat/completions" }
2100
- }]
2101
- },
2102
- {
2103
- id: "prime",
2104
- name: "Prime Inference",
2105
- env: "PRIME_API_KEY",
2106
- headers: [{
2107
- name: "authorization",
2108
- scheme: "bearer"
2109
- }],
2110
- endpoints: [{
2111
- host: "api.pinference.ai",
2112
- method: ["POST"],
2113
- path: { exact: "/api/v1/chat/completions" }
2114
- }]
2115
- },
2116
- {
2117
- id: "qihang-ai",
2118
- name: "QiHang",
2119
- env: "QIHANG_API_KEY",
2120
- headers: [{
2121
- name: "authorization",
2122
- scheme: "bearer"
2123
- }],
2124
- endpoints: [{
2125
- host: "api.qhaigc.net",
2126
- method: ["POST"],
2127
- path: { exact: "/v1/chat/completions" }
2128
- }]
2129
- },
2130
- {
2131
- id: "qiniu-ai",
2132
- name: "Qiniu",
2133
- env: "QINIU_API_KEY",
2134
- headers: [{
2135
- name: "authorization",
2136
- scheme: "bearer"
2137
- }],
2138
- endpoints: [{
2139
- host: "api.qnaigc.com",
2140
- method: ["POST"],
2141
- path: { exact: "/v1/chat/completions" }
2142
- }]
2143
- },
2144
- {
2145
- id: "reflection",
2146
- name: "Reflection",
2147
- env: "REFLECTION_API_KEY",
2148
- headers: [{
2149
- name: "authorization",
2150
- scheme: "bearer"
2151
- }],
2152
- endpoints: [{
2153
- host: "api.reflection.ai",
2154
- method: ["POST"],
2155
- path: { exact: "/openai/v1/chat/completions" }
2156
- }]
2157
- },
2158
- {
2159
- id: "regolo-ai",
2160
- name: "Regolo AI",
2161
- env: "REGOLO_API_KEY",
2162
- headers: [{
2163
- name: "authorization",
2164
- scheme: "bearer"
2165
- }],
2166
- endpoints: [{
2167
- host: "api.regolo.ai",
2168
- method: ["POST"],
2169
- path: { exact: "/v1/chat/completions" }
2170
- }]
2171
- },
2172
- {
2173
- id: "requesty",
2174
- name: "Requesty",
2175
- env: "REQUESTY_API_KEY",
2176
- headers: [{
2177
- name: "authorization",
2178
- scheme: "bearer"
2179
- }],
2180
- endpoints: [{
2181
- host: "router.requesty.ai",
2182
- method: ["POST"],
2183
- path: { exact: "/v1/chat/completions" }
2184
- }]
2185
- },
2186
- {
2187
- id: "routing-run",
2188
- name: "routing.run",
2189
- env: "ROUTING_RUN_API_KEY",
2190
- headers: [{
2191
- name: "authorization",
2192
- scheme: "bearer"
2193
- }],
2194
- endpoints: [{
2195
- host: "api.routing.run",
2196
- method: ["POST"],
2197
- path: { exact: "/v1/chat/completions" }
2198
- }]
2199
- },
2200
- {
2201
- id: "runinfra",
2202
- name: "RunInfra",
2203
- env: "RUNINFRA_GATEWAY_KEY",
2204
- headers: [{
2205
- name: "authorization",
2206
- scheme: "bearer"
2207
- }],
2208
- endpoints: [{
2209
- host: "api.runinfra.ai",
2210
- method: ["POST"],
2211
- path: { exact: "/v1/chat/completions" }
2212
- }]
2213
- },
2214
- {
2215
- id: "sakana",
2216
- name: "Sakana AI",
2217
- env: "SAKANA_API_KEY",
2218
- headers: [{
2219
- name: "authorization",
2220
- scheme: "bearer"
2221
- }],
2222
- endpoints: [{
2223
- host: "api.sakana.ai",
2224
- method: ["POST"],
2225
- path: { exact: "/v1/chat/completions" }
2226
- }]
2227
- },
2228
- {
2229
- id: "sambanova",
2230
- name: "SambaNova",
2231
- env: "SAMBANOVA_API_KEY",
2232
- headers: [{
2233
- name: "authorization",
2234
- scheme: "bearer"
2235
- }],
2236
- endpoints: [{
2237
- host: "api.sambanova.ai",
2238
- method: ["POST"],
2239
- path: { exact: "/v1/chat/completions" }
2240
- }]
2241
- },
2242
- {
2243
- id: "sarvam",
2244
- name: "Sarvam AI",
2245
- env: "SARVAM_API_KEY",
2246
- headers: [{
2247
- name: "authorization",
2248
- scheme: "bearer"
2249
- }],
2250
- endpoints: [{
2251
- host: "api.sarvam.ai",
2252
- method: ["POST"],
2253
- path: { exact: "/v1/chat/completions" }
2254
- }]
2255
- },
2256
- {
2257
- id: "scaleway",
2258
- name: "Scaleway",
2259
- env: "SCALEWAY_API_KEY",
2260
- headers: [{
2261
- name: "authorization",
2262
- scheme: "bearer"
2263
- }],
2264
- endpoints: [{
2265
- host: "api.scaleway.ai",
2266
- method: ["POST"],
2267
- path: { exact: "/v1/chat/completions" }
2268
- }]
2269
- },
2270
- {
2271
- id: "scnet-token-plan",
2272
- name: "SCNet Token Plan",
2273
- env: "SCNET_API_KEY",
2274
- headers: [{
2275
- name: "authorization",
2276
- scheme: "bearer"
2277
- }],
2278
- endpoints: [{
2279
- host: "api.scnet.cn",
2280
- method: ["POST"],
2281
- path: { exact: "/api/llm/v1/chat/completions" }
2282
- }]
2283
- },
2284
- {
2285
- id: "scx-ai",
2286
- name: "SCX.ai",
2287
- env: "SCX_API_KEY",
2288
- headers: [{
2289
- name: "authorization",
2290
- scheme: "bearer"
2291
- }],
2292
- endpoints: [{
2293
- host: "api.scx.ai",
2294
- method: ["POST"],
2295
- path: { exact: "/v1/chat/completions" }
2296
- }]
2297
- },
2298
- {
2299
- id: "sensenova",
2300
- name: "SenseNova (China)",
2301
- env: "SENSENOVA_API_KEY",
2302
- headers: [{
2303
- name: "authorization",
2304
- scheme: "bearer"
2305
- }],
2306
- endpoints: [{
2307
- host: "token.sensenova.cn",
2308
- method: ["POST"],
2309
- path: { exact: "/v1/chat/completions" }
2310
- }]
2311
- },
2312
- {
2313
- id: "siliconflow",
2314
- name: "SiliconFlow",
2315
- env: "SILICONFLOW_API_KEY",
2316
- headers: [{
2317
- name: "authorization",
2318
- scheme: "bearer"
2319
- }],
2320
- endpoints: [{
2321
- host: "api.siliconflow.com",
2322
- method: ["POST"],
2323
- path: { exact: "/v1/chat/completions" }
2324
- }]
2325
- },
2326
- {
2327
- id: "siliconflow-cn",
2328
- name: "SiliconFlow (China)",
2329
- env: "SILICONFLOW_CN_API_KEY",
2330
- headers: [{
2331
- name: "authorization",
2332
- scheme: "bearer"
2333
- }],
2334
- endpoints: [{
2335
- host: "api.siliconflow.cn",
2336
- method: ["POST"],
2337
- path: { exact: "/v1/chat/completions" }
2338
- }]
2339
- },
2340
- {
2341
- id: "stackit",
2342
- name: "STACKIT",
2343
- env: "STACKIT_API_KEY",
2344
- headers: [{
2345
- name: "authorization",
2346
- scheme: "bearer"
2347
- }],
2348
- endpoints: [{
2349
- host: "api.openai-compat.model-serving.eu01.onstackit.cloud",
2350
- method: ["POST"],
2351
- path: { exact: "/v1/chat/completions" }
2352
- }]
2353
- },
2354
- {
2355
- id: "standardcompute",
2356
- name: "Standard Compute",
2357
- env: "STANDARDCOMPUTE_API_KEY",
2358
- headers: [{
2359
- name: "authorization",
2360
- scheme: "bearer"
2361
- }],
2362
- endpoints: [{
2363
- host: "api.stdcmpt.com",
2364
- method: ["POST"],
2365
- path: { exact: "/v1/chat/completions" }
2366
- }]
2367
- },
2368
- {
2369
- id: "stepfun",
2370
- name: "StepFun (China)",
2371
- env: "STEPFUN_API_KEY",
2372
- headers: [{
2373
- name: "authorization",
2374
- scheme: "bearer"
2375
- }],
2376
- endpoints: [{
2377
- host: "api.stepfun.com",
2378
- method: ["POST"],
2379
- path: { exact: "/v1/chat/completions" }
2380
- }]
2381
- },
2382
- {
2383
- id: "stepfun-ai",
2384
- name: "StepFun (Global)",
2385
- env: "STEPFUN_API_KEY",
2386
- headers: [{
2387
- name: "authorization",
2388
- scheme: "bearer"
2389
- }],
2390
- endpoints: [{
2391
- host: "api.stepfun.ai",
2392
- method: ["POST"],
2393
- path: { exact: "/v1/chat/completions" }
2394
- }]
2395
- },
2396
- {
2397
- id: "stepfun-ai-step-plan",
2398
- name: "StepFun Step Plan (Global)",
2399
- env: "STEPFUN_API_KEY",
2400
- headers: [{
2401
- name: "authorization",
2402
- scheme: "bearer"
2403
- }],
2404
- endpoints: [{
2405
- host: "api.stepfun.ai",
2406
- method: ["POST"],
2407
- path: { exact: "/step_plan/v1/chat/completions" }
2408
- }]
2409
- },
2410
- {
2411
- id: "stepfun-step-plan",
2412
- name: "StepFun Step Plan (China)",
2413
- env: "STEPFUN_API_KEY",
2414
- headers: [{
2415
- name: "authorization",
2416
- scheme: "bearer"
2417
- }],
2418
- endpoints: [{
2419
- host: "api.stepfun.com",
2420
- method: ["POST"],
2421
- path: { exact: "/step_plan/v1/chat/completions" }
2422
- }]
2423
- },
2424
- {
2425
- id: "subconscious",
2426
- name: "Subconscious",
2427
- env: "SUBCONSCIOUS_API_KEY",
2428
- headers: [{
2429
- name: "x-api-key",
2430
- scheme: "raw"
2431
- }],
2432
- endpoints: [{
2433
- host: "api.subconscious.dev",
2434
- method: ["POST"],
2435
- path: { exact: "/v1/messages" }
2436
- }]
2437
- },
2438
- {
2439
- id: "submodel",
2440
- name: "submodel",
2441
- env: "SUBMODEL_INSTAGEN_ACCESS_KEY",
2442
- headers: [{
2443
- name: "authorization",
2444
- scheme: "bearer"
2445
- }],
2446
- endpoints: [{
2447
- host: "llm.submodel.ai",
2448
- method: ["POST"],
2449
- path: { exact: "/v1/chat/completions" }
2450
- }]
2451
- },
2452
- {
2453
- id: "synthetic",
2454
- name: "Synthetic",
2455
- env: "SYNTHETIC_API_KEY",
2456
- headers: [{
2457
- name: "authorization",
2458
- scheme: "bearer"
2459
- }],
2460
- endpoints: [{
2461
- host: "api.synthetic.new",
2462
- method: ["POST"],
2463
- path: { exact: "/openai/v1/chat/completions" }
2464
- }]
2465
- },
2466
- {
2467
- id: "tempr",
2468
- name: "Tempr Gateway",
2469
- env: "TEMPR_API_KEY",
2470
- headers: [{
2471
- name: "authorization",
2472
- scheme: "bearer"
2473
- }],
2474
- endpoints: [{
2475
- host: "api.temprhq.io",
2476
- method: ["POST"],
2477
- path: { exact: "/v1/chat/completions" }
2478
- }]
2479
- },
2480
- {
2481
- id: "tencent-coding-plan",
2482
- name: "Tencent Coding Plan (China)",
2483
- env: "TENCENT_CODING_PLAN_API_KEY",
2484
- headers: [{
2485
- name: "authorization",
2486
- scheme: "bearer"
2487
- }],
2488
- endpoints: [{
2489
- host: "api.lkeap.cloud.tencent.com",
2490
- method: ["POST"],
2491
- path: { exact: "/coding/v3/chat/completions" }
2492
- }]
2493
- },
2494
- {
2495
- id: "tencent-token-plan",
2496
- name: "Tencent Token Plan",
2497
- env: "TENCENT_TOKEN_PLAN_API_KEY",
2498
- headers: [{
2499
- name: "authorization",
2500
- scheme: "bearer"
2501
- }],
2502
- endpoints: [{
2503
- host: "api.lkeap.cloud.tencent.com",
2504
- method: ["POST"],
2505
- path: { exact: "/plan/v3/chat/completions" }
2506
- }]
2507
- },
2508
- {
2509
- id: "tencent-tokenhub",
2510
- name: "Tencent TokenHub",
2511
- env: "TENCENT_TOKENHUB_API_KEY",
2512
- headers: [{
2513
- name: "authorization",
2514
- scheme: "bearer"
2515
- }],
2516
- endpoints: [{
2517
- host: "tokenhub.tencentmaas.com",
2518
- method: ["POST"],
2519
- path: { exact: "/v1/chat/completions" }
2520
- }]
2521
- },
2522
- {
2523
- id: "tensorx",
2524
- name: "TensorX",
2525
- env: "TENSORX_API_KEY",
2526
- headers: [{
2527
- name: "authorization",
2528
- scheme: "bearer"
2529
- }],
2530
- endpoints: [{
2531
- host: "api.tensorx.ai",
2532
- method: ["POST"],
2533
- path: { exact: "/v1/chat/completions" }
2534
- }]
2535
- },
2536
- {
2537
- id: "the-grid-ai",
2538
- name: "The Grid AI",
2539
- env: "THEGRID_API_KEY",
2540
- headers: [{
2541
- name: "authorization",
2542
- scheme: "bearer"
2543
- }],
2544
- endpoints: [{
2545
- host: "api.thegrid.ai",
2546
- method: ["POST"],
2547
- path: { exact: "/v1/chat/completions" }
2548
- }]
2549
- },
2550
- {
2551
- id: "thinkingmachines",
2552
- name: "Thinking Machines",
2553
- env: "TINKER_API_KEY",
2554
- headers: [{
2555
- name: "x-api-key",
2556
- scheme: "raw"
2557
- }],
2558
- endpoints: [{
2559
- host: "tinker.thinkingmachines.dev",
2560
- method: ["POST"],
2561
- path: { exact: "/services/tinker-prod/anthropic/api/v1/messages" }
2562
- }]
2563
- },
2564
- {
2565
- id: "tinfoil",
2566
- name: "Tinfoil",
2567
- env: "TINFOIL_API_KEY",
2568
- headers: [{
2569
- name: "authorization",
2570
- scheme: "bearer"
2571
- }],
2572
- endpoints: [{
2573
- host: "inference.tinfoil.sh",
2574
- method: ["POST"],
2575
- path: { exact: "/v1/chat/completions" }
2576
- }]
2577
- },
2578
- {
2579
- id: "togetherai",
2580
- name: "Together AI",
2581
- env: "TOGETHER_API_KEY",
2582
- headers: [{
2583
- name: "authorization",
2584
- scheme: "bearer"
2585
- }],
2586
- endpoints: [{
2587
- host: "api.together.xyz",
2588
- method: ["POST"],
2589
- path: { exact: "/v1/chat/completions" }
2590
- }]
2591
- },
2592
- {
2593
- id: "tokengo",
2594
- name: "TokenGo",
2595
- env: "TOKENGO_API_KEY",
2596
- headers: [{
2597
- name: "authorization",
2598
- scheme: "bearer"
2599
- }],
2600
- endpoints: [{
2601
- host: "api.tokengo.com",
2602
- method: ["POST"],
2603
- path: { exact: "/v1/chat/completions" }
2604
- }]
2605
- },
2606
- {
2607
- id: "tokenrouter",
2608
- name: "TokenRouter",
2609
- env: "TOKENROUTER_API_KEY",
2610
- headers: [{
2611
- name: "authorization",
2612
- scheme: "bearer"
2613
- }],
2614
- endpoints: [{
2615
- host: "api.tokenrouter.com",
2616
- method: ["POST"],
2617
- path: { exact: "/v1/chat/completions" }
2618
- }]
2619
- },
2620
- {
2621
- id: "trustedrouter",
2622
- name: "TrustedRouter",
2623
- env: "TRUSTEDROUTER_API_KEY",
2624
- headers: [{
2625
- name: "authorization",
2626
- scheme: "bearer"
2627
- }],
2628
- endpoints: [{
2629
- host: "api.trustedrouter.com",
2630
- method: ["POST"],
2631
- path: { exact: "/v1/chat/completions" }
2632
- }]
2633
- },
2634
- {
2635
- id: "umans-ai",
2636
- name: "Umans AI",
2637
- env: "UMANS_AI_API_KEY",
2638
- headers: [{
2639
- name: "authorization",
2640
- scheme: "bearer"
2641
- }],
2642
- endpoints: [{
2643
- host: "api.code.umans.ai",
2644
- method: ["POST"],
2645
- path: { exact: "/v1/chat/completions" }
2646
- }]
2647
- },
2648
- {
2649
- id: "umans-ai-coding-plan",
2650
- name: "Umans AI Coding Plan",
2651
- env: "UMANS_AI_CODING_PLAN_API_KEY",
2652
- headers: [{
2653
- name: "authorization",
2654
- scheme: "bearer"
2655
- }],
2656
- endpoints: [{
2657
- host: "api.code.umans.ai",
2658
- method: ["POST"],
2659
- path: { exact: "/v1/chat/completions" }
2660
- }]
2661
- },
2662
- {
2663
- id: "unorouter",
2664
- name: "UnoRouter",
2665
- env: "UNOROUTER_API_KEY",
2666
- headers: [{
2667
- name: "authorization",
2668
- scheme: "bearer"
2669
- }],
2670
- endpoints: [{
2671
- host: "api.unorouter.com",
2672
- method: ["POST"],
2673
- path: { exact: "/v1/chat/completions" }
2674
- }]
2675
- },
2676
- {
2677
- id: "upstage",
2678
- name: "Upstage",
2679
- env: "UPSTAGE_API_KEY",
2680
- headers: [{
2681
- name: "authorization",
2682
- scheme: "bearer"
2683
- }],
2684
- endpoints: [{
2685
- host: "api.upstage.ai",
2686
- method: ["POST"],
2687
- path: { exact: "/v1/solar/chat/completions" }
2688
- }]
2689
- },
2690
- {
2691
- id: "vancine",
2692
- name: "Vancine",
2693
- env: "VANCINE_API_KEY",
2694
- headers: [{
2695
- name: "authorization",
2696
- scheme: "bearer"
2697
- }],
2698
- endpoints: [{
2699
- host: "vancine.com",
2700
- method: ["POST"],
2701
- path: { exact: "/v1/chat/completions" }
2702
- }]
2703
- },
2704
- {
2705
- id: "venice",
2706
- name: "Venice AI",
2707
- env: "VENICE_API_KEY",
2708
- headers: [{
2709
- name: "authorization",
2710
- scheme: "bearer"
2711
- }],
2712
- endpoints: [{
2713
- host: "api.venice.ai",
2714
- method: ["POST"],
2715
- path: { exact: "/api/v1/chat/completions" }
2716
- }]
2717
- },
2718
- {
2719
- id: "vercel",
2720
- name: "Vercel AI Gateway",
2721
- env: "AI_GATEWAY_API_KEY",
2722
- headers: [{
2723
- name: "authorization",
2724
- scheme: "bearer"
2725
- }],
2726
- endpoints: [{
2727
- host: "ai-gateway.vercel.sh",
2728
- method: ["POST"],
2729
- path: { exact: "/v1/messages" }
2730
- }, {
2731
- host: "ai-gateway.vercel.sh",
2732
- method: ["POST"],
2733
- path: { exact: "/v4/ai/messages" }
2734
- }]
2735
- },
2736
- {
2737
- id: "vispark",
2738
- name: "Vispark",
2739
- env: "VISPARK_LAB_API_KEY",
2740
- headers: [{
2741
- name: "authorization",
2742
- scheme: "bearer"
2743
- }],
2744
- endpoints: [{
2745
- host: "api.lab.vispark.in",
2746
- method: ["POST"],
2747
- path: { exact: "/v1/chat/completions" }
2748
- }]
2749
- },
2750
- {
2751
- id: "vivgrid",
2752
- name: "Vivgrid",
2753
- env: "VIVGRID_API_KEY",
2754
- headers: [{
2755
- name: "x-api-key",
2756
- scheme: "raw"
2757
- }, {
2758
- name: "authorization",
2759
- scheme: "bearer"
2760
- }],
2761
- endpoints: [
2762
- {
2763
- host: "api.vivgrid.com",
2764
- method: ["POST"],
2765
- path: { exact: "/v1/chat/completions" }
2766
- },
2767
- {
2768
- host: "api.vivgrid.com",
2769
- method: ["POST"],
2770
- path: { exact: "/v1/messages" }
2771
- },
2772
- {
2773
- host: "api.vivgrid.com",
2774
- method: ["POST"],
2775
- path: { exact: "/v1/responses" }
2776
- }
2777
- ]
2778
- },
2779
- {
2780
- id: "volcengine",
2781
- name: "Volcengine Ark",
2782
- env: "ARK_API_KEY",
2783
- headers: [{
2784
- name: "authorization",
2785
- scheme: "bearer"
2786
- }],
2787
- endpoints: [{
2788
- host: "ark.cn-beijing.volces.com",
2789
- method: ["POST"],
2790
- path: { exact: "/api/v3/chat/completions" }
2791
- }]
2792
- },
2793
- {
2794
- id: "volcengine-coding-plan",
2795
- name: "Volcengine Ark Coding Plan",
2796
- env: "ARK_CODING_PLAN_API_KEY",
2797
- headers: [{
2798
- name: "authorization",
2799
- scheme: "bearer"
2800
- }],
2801
- endpoints: [{
2802
- host: "ark.cn-beijing.volces.com",
2803
- method: ["POST"],
2804
- path: { exact: "/api/coding/v3/chat/completions" }
2805
- }]
2806
- },
2807
- {
2808
- id: "vultr",
2809
- name: "Vultr",
2810
- env: "VULTR_API_KEY",
2811
- headers: [{
2812
- name: "authorization",
2813
- scheme: "bearer"
2814
- }],
2815
- endpoints: [{
2816
- host: "api.vultrinference.com",
2817
- method: ["POST"],
2818
- path: { exact: "/v1/chat/completions" }
2819
- }]
2820
- },
2821
- {
2822
- id: "wafer.ai",
2823
- name: "Wafer",
2824
- env: "WAFER_API_KEY",
2825
- headers: [{
2826
- name: "authorization",
2827
- scheme: "bearer"
2828
- }],
2829
- endpoints: [{
2830
- host: "pass.wafer.ai",
2831
- method: ["POST"],
2832
- path: { exact: "/v1/chat/completions" }
2833
- }]
2834
- },
2835
- {
2836
- id: "wallaby",
2837
- name: "Wallaby",
2838
- env: "WALLABY_API_KEY",
2839
- headers: [{
2840
- name: "authorization",
2841
- scheme: "bearer"
2842
- }],
2843
- endpoints: [{
2844
- host: "api.wallabytoken.com",
2845
- method: ["POST"],
2846
- path: { exact: "/v1/chat/completions" }
2847
- }]
2848
- },
2849
- {
2850
- id: "wandb",
2851
- name: "CoreWeave",
2852
- env: "WANDB_API_KEY",
2853
- headers: [{
2854
- name: "authorization",
2855
- scheme: "bearer"
2856
- }],
2857
- endpoints: [{
2858
- host: "api.inference.wandb.ai",
2859
- method: ["POST"],
2860
- path: { exact: "/v1/chat/completions" }
2861
- }]
2862
- },
2863
- {
2864
- id: "xai",
2865
- name: "xAI",
2866
- env: "XAI_API_KEY",
2867
- headers: [{
2868
- name: "authorization",
2869
- scheme: "bearer"
2870
- }],
2871
- endpoints: [{
2872
- host: "api.x.ai",
2873
- method: ["POST"],
2874
- path: { exact: "/v1/responses" }
2875
- }]
2876
- },
2877
- {
2878
- id: "xiaomi",
2879
- name: "Xiaomi",
2880
- env: "XIAOMI_API_KEY",
2881
- headers: [{
2882
- name: "authorization",
2883
- scheme: "bearer"
2884
- }],
2885
- endpoints: [{
2886
- host: "api.xiaomimimo.com",
2887
- method: ["POST"],
2888
- path: { exact: "/v1/chat/completions" }
2889
- }]
2890
- },
2891
- {
2892
- id: "xiaomi-token-plan-ams",
2893
- name: "Xiaomi Token Plan (Europe)",
2894
- env: "XIAOMI_API_KEY",
2895
- headers: [{
2896
- name: "authorization",
2897
- scheme: "bearer"
2898
- }],
2899
- endpoints: [{
2900
- host: "token-plan-ams.xiaomimimo.com",
2901
- method: ["POST"],
2902
- path: { exact: "/v1/chat/completions" }
2903
- }]
2904
- },
2905
- {
2906
- id: "xiaomi-token-plan-cn",
2907
- name: "Xiaomi Token Plan (China)",
2908
- env: "XIAOMI_API_KEY",
2909
- headers: [{
2910
- name: "authorization",
2911
- scheme: "bearer"
2912
- }],
2913
- endpoints: [{
2914
- host: "token-plan-cn.xiaomimimo.com",
2915
- method: ["POST"],
2916
- path: { exact: "/v1/chat/completions" }
2917
- }]
2918
- },
2919
- {
2920
- id: "xiaomi-token-plan-sgp",
2921
- name: "Xiaomi Token Plan (Singapore)",
2922
- env: "XIAOMI_API_KEY",
2923
- headers: [{
2924
- name: "authorization",
2925
- scheme: "bearer"
2926
- }],
2927
- endpoints: [{
2928
- host: "token-plan-sgp.xiaomimimo.com",
2929
- method: ["POST"],
2930
- path: { exact: "/v1/chat/completions" }
2931
- }]
2932
- },
2933
- {
2934
- id: "xpersona",
2935
- name: "Xpersona",
2936
- env: "XPERSONA_API_KEY",
2937
- headers: [{
2938
- name: "authorization",
2939
- scheme: "bearer"
2940
- }],
2941
- endpoints: [{
2942
- host: "www.xpersona.co",
2943
- method: ["POST"],
2944
- path: { exact: "/v1/chat/completions" }
2945
- }]
2946
- },
2947
- {
2948
- id: "zai",
2949
- name: "Z.AI",
2950
- env: "ZHIPU_API_KEY",
2951
- headers: [{
2952
- name: "authorization",
2953
- scheme: "bearer"
2954
- }],
2955
- endpoints: [{
2956
- host: "api.z.ai",
2957
- method: ["POST"],
2958
- path: { exact: "/api/paas/v4/chat/completions" }
2959
- }]
2960
- },
2961
- {
2962
- id: "zai-coding-plan",
2963
- name: "Z.AI Coding Plan",
2964
- env: "ZHIPU_API_KEY",
2965
- headers: [{
2966
- name: "authorization",
2967
- scheme: "bearer"
2968
- }],
2969
- endpoints: [{
2970
- host: "api.z.ai",
2971
- method: ["POST"],
2972
- path: { exact: "/api/coding/paas/v4/chat/completions" }
2973
- }]
2974
- },
2975
- {
2976
- id: "zeldoc",
2977
- name: "Zeldoc",
2978
- env: "ZELDOC_API_KEY",
2979
- headers: [{
2980
- name: "authorization",
2981
- scheme: "bearer"
2982
- }],
2983
- endpoints: [{
2984
- host: "api.zeldoc.ai",
2985
- method: ["POST"],
2986
- path: { exact: "/v1/chat/completions" }
2987
- }]
2988
- },
2989
- {
2990
- id: "zenifra",
2991
- name: "Zenifra",
2992
- env: "ZENIFRA_AI_KEY",
2993
- headers: [{
2994
- name: "authorization",
2995
- scheme: "bearer"
2996
- }],
2997
- endpoints: [{
2998
- host: "ai.zenifra.com",
2999
- method: ["POST"],
3000
- path: { exact: "/v1/chat/completions" }
3001
- }]
3002
- },
3003
- {
3004
- id: "zenmux",
3005
- name: "ZenMux",
3006
- env: "ZENMUX_API_KEY",
3007
- headers: [{
3008
- name: "x-api-key",
3009
- scheme: "raw"
3010
- }, {
3011
- name: "authorization",
3012
- scheme: "bearer"
3013
- }],
3014
- endpoints: [
3015
- {
3016
- host: "zenmux.ai",
3017
- method: ["POST"],
3018
- path: { exact: "/api/anthropic/v1/messages" }
3019
- },
3020
- {
3021
- host: "zenmux.ai",
3022
- method: ["POST"],
3023
- path: { exact: "/api/v1/chat/completions" }
3024
- },
3025
- {
3026
- host: "zenmux.ai",
3027
- method: ["POST"],
3028
- path: { exact: "/api/v1/responses" }
3029
- }
3030
- ]
3031
- },
3032
- {
3033
- id: "zhipuai",
3034
- name: "Zhipu AI",
3035
- env: "ZHIPU_API_KEY",
3036
- headers: [{
3037
- name: "authorization",
3038
- scheme: "bearer"
3039
- }],
3040
- endpoints: [{
3041
- host: "open.bigmodel.cn",
3042
- method: ["POST"],
3043
- path: { exact: "/api/paas/v4/chat/completions" }
3044
- }]
3045
- },
3046
- {
3047
- id: "zhipuai-coding-plan",
3048
- name: "Zhipu AI Coding Plan",
3049
- env: "ZHIPU_API_KEY",
3050
- headers: [{
3051
- name: "authorization",
3052
- scheme: "bearer"
3053
- }],
3054
- endpoints: [{
3055
- host: "open.bigmodel.cn",
3056
- method: ["POST"],
3057
- path: { exact: "/api/coding/paas/v4/chat/completions" }
3058
- }]
3059
- }
3060
- ];
3061
- /** Every other provider OpenCode knows, and why reeval can't broker its key. */
3062
- const REFUSED_OPENCODE_PROVIDERS = [
3063
- {
3064
- id: "aihubmix",
3065
- name: "AIHubMix",
3066
- why: "OpenCode installs its provider package from npm when it starts, so where it sends the key is unknown"
3067
- },
3068
- {
3069
- id: "atomic-chat",
3070
- name: "Atomic Chat",
3071
- why: "it runs on your machine, and the sandbox can't reach the host's localhost"
3072
- },
3073
- {
3074
- id: "azure",
3075
- name: "Azure",
3076
- why: "its API host is per account (AZURE_RESOURCE_NAME), which reeval doesn't pass"
3077
- },
3078
- {
3079
- id: "cloudflare-ai-gateway",
3080
- name: "Cloudflare AI Gateway",
3081
- why: "its API host is per account (CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_GATEWAY_ID), which reeval doesn't pass"
3082
- },
3083
- {
3084
- id: "cloudflare-workers-ai",
3085
- name: "Cloudflare Workers AI",
3086
- why: "its API host is per account (CLOUDFLARE_ACCOUNT_ID), which reeval doesn't pass"
3087
- },
3088
- {
3089
- id: "databricks",
3090
- name: "Databricks",
3091
- why: "its API host is per account (DATABRICKS_HOST), which reeval doesn't pass"
3092
- },
3093
- {
3094
- id: "github-copilot",
3095
- name: "GitHub Copilot",
3096
- why: "it runs on a GitHub Copilot subscription, through a GitHub login"
3097
- },
3098
- {
3099
- id: "gitlab",
3100
- name: "GitLab Duo",
3101
- why: "it runs on a GitLab Duo subscription, through a GitLab login"
3102
- },
3103
- {
3104
- id: "google-vertex",
3105
- name: "Vertex",
3106
- why: "it takes a service account (Vertex refuses API keys for most models), not a key in a header"
3107
- },
3108
- {
3109
- id: "infomaniak",
3110
- name: "Infomaniak",
3111
- why: "its API host is per account (INFOMANIAK_PRODUCT_ID), which reeval doesn't pass"
3112
- },
3113
- {
3114
- id: "lilac",
3115
- name: "Lilac",
3116
- why: "every one of its models is deprecated, and OpenCode runs none of them"
3117
- },
3118
- {
3119
- id: "lmstudio",
3120
- name: "LMStudio",
3121
- why: "it runs on your machine, and the sandbox can't reach the host's localhost"
3122
- },
3123
- {
3124
- id: "lynkr",
3125
- name: "Lynkr",
3126
- why: "it runs on your machine, and the sandbox can't reach the host's localhost"
3127
- },
3128
- {
3129
- id: "merge-gateway",
3130
- name: "Merge Gateway",
3131
- why: "OpenCode installs its provider package from npm when it starts, so where it sends the key is unknown"
3132
- },
3133
- {
3134
- id: "morph",
3135
- name: "Morph",
3136
- why: "none of its models can call tools, so they can't run an agent"
3137
- },
3138
- {
3139
- id: "neon",
3140
- name: "Neon",
3141
- why: "its API host is per account (NEON_AI_GATEWAY_BASE_URL), which reeval doesn't pass"
3142
- },
3143
- {
3144
- id: "perplexity",
3145
- name: "Perplexity",
3146
- why: "none of its models can call tools, so they can't run an agent"
3147
- },
3148
- {
3149
- id: "privatemode-ai",
3150
- name: "Privatemode AI",
3151
- why: "it runs on your machine, and the sandbox can't reach the host's localhost"
3152
- },
3153
- {
3154
- id: "qvac",
3155
- name: "QVAC",
3156
- why: "OpenCode installs its provider package from npm when it starts, so where it sends the key is unknown"
3157
- },
3158
- {
3159
- id: "salad-cloud",
3160
- name: "SaladCloud AI Gateway",
3161
- why: "OpenCode installs its provider package from npm when it starts, so where it sends the key is unknown"
3162
- },
3163
- {
3164
- id: "sap-ai-core",
3165
- name: "SAP AI Core",
3166
- why: "its service key is JSON that OpenCode trades for OAuth tokens"
3167
- },
3168
- {
3169
- id: "snowflake-cortex",
3170
- name: "Snowflake Cortex",
3171
- why: "its API host is per account (SNOWFLAKE_ACCOUNT), which reeval doesn't pass"
3172
- },
3173
- {
3174
- id: "watsonx",
3175
- name: "watsonx.ai",
3176
- why: "OpenCode installs its provider package from npm when it starts, so where it sends the key is unknown"
3177
- }
3178
- ];
3179
- //#endregion
3180
- //#region ../harness-opencode/src/opencode-providers.ts
3181
- const byId = new Map(OPENCODE_PROVIDERS.map((p) => [p.id, p]));
3182
- const refusedById = new Map(REFUSED_OPENCODE_PROVIDERS.map((p) => [p.id, p]));
3183
- /** A model id's provider and the model within it: `openrouter/anthropic/x` is `openrouter`. */
3184
- function splitModel(model) {
3185
- if (typeof model !== "string") return void 0;
3186
- const at = model.indexOf("/");
3187
- if (at <= 0 || at === model.length - 1) return void 0;
3188
- return {
3189
- provider: model.slice(0, at),
3190
- model: model.slice(at + 1)
3191
- };
3192
- }
3193
- /**
3194
- * The provider a model id runs on, with its hosts built from `env`'s values for its variables
3195
- * (or their defaults), and those values, which go into the sandbox as they are. Or why it can't
3196
- * run: the id has no provider, OpenCode doesn't know the provider, reeval can't broker its key, or a
3197
- * variable's value can't be part of a host name.
3198
- */
3199
- function resolveOpenCodeProvider(model, env = {}) {
3200
- const split = splitModel(model);
3201
- if (!split) return { error: `an OpenCode model id names its provider, <provider>/<model>, such as 'google/gemini-3.8-flash' or 'anthropic/claude-haiku-4-5' (got ${JSON.stringify(model)})` };
3202
- const provider = byId.get(split.provider);
3203
- if (provider) {
3204
- const vars = {};
3205
- for (const v of provider.vars ?? []) {
3206
- const value = env[v.name] || v.default;
3207
- if (!new RegExp(v.pattern).test(value)) return { error: `${v.name} is ${JSON.stringify(value)}, which isn't one ${provider.name} (${provider.id}) takes: OpenCode builds its API's host from it, so it must match /${v.pattern}/, such as ${JSON.stringify(v.default)}` };
3208
- vars[v.name] = value;
3209
- }
3210
- const fill = (host) => Object.entries(vars).reduce((h, [name, value]) => h.replaceAll(`{${name}}`, value), host);
3211
- const endpoints = provider.endpoints.map((e) => ({
3212
- ...e,
3213
- host: fill(e.host)
3214
- }));
3215
- return {
3216
- provider: {
3217
- ...provider,
3218
- endpoints
3219
- },
3220
- vars
3221
- };
3222
- }
3223
- const refused = refusedById.get(split.provider);
3224
- if (refused) return { error: `reeval can't run OpenCode on ${refused.name} (${refused.id}): ${refused.why}, so the gateway can't keep its key out of the sandbox` };
3225
- return { error: `OpenCode has no provider ${JSON.stringify(split.provider)} (in ${JSON.stringify(model)}); a model id is <provider>/<model>, such as 'google/gemini-3.8-flash'` };
3226
- }
3227
- /** Like {@link resolveOpenCodeProvider}, throwing its reason. */
3228
- function openCodeProvider(model, env = {}) {
3229
- const resolved = resolveOpenCodeProvider(model, env);
3230
- if ("error" in resolved) throw new Error(resolved.error);
3231
- return resolved.provider;
3232
- }
3233
- /** The hosts a provider's key goes to, which a restricted egress policy allows for it. */
3234
- const providerHosts = (provider) => [...new Set(provider.endpoints.map((e) => e.host))];
3235
- const headerValue = (header, key) => header.scheme === "bearer" ? `Bearer ${key}` : key;
3236
- /**
3237
- * The gateway rules that swap the key in: on each of the provider's hosts, for each header it
3238
- * sends the key in, the placeholder for the real key.
3239
- */
3240
- function providerTransformations(provider, { key, placeholder, headers = {} }) {
3241
- return providerHosts(provider).flatMap((host) => provider.headers.map((header) => ({
3242
- matchUrl: `https://${host}`,
3243
- matchHeaders: { [header.name]: headerValue(header, placeholder) },
3244
- transformHeaders: {
3245
- ...headers,
3246
- [header.name]: headerValue(header, key)
3247
- }
3248
- })));
3249
- }
3250
- const pathOf = (e) => "exact" in e.path ? { exact: e.path.exact } : { regex: e.path.regex };
3251
- /** The endpoints as a gateway matches them. */
3252
- const providerEndpoints = (provider) => provider.endpoints.map((e) => ({
3253
- host: e.host,
3254
- method: [...e.method],
3255
- path: pathOf(e)
3256
- }));
3257
- /** The model calls whose URL doesn't name the model: their response body does. */
3258
- const providerModelResponses = (provider) => providerEndpoints(provider).filter((e) => e.method.includes("POST") && "exact" in e.path);
3259
- /**
3260
- * The model a request to the provider's API says served it: from the URL where the path names
3261
- * it (Gemini's API), else from the response's `model`, with the reasoning effort it reports.
3262
- */
3263
- function providerServedModel(provider, request) {
3264
- const path = request.path.split("?")[0] ?? request.path;
3265
- for (const e of provider.endpoints) {
3266
- if (e.host !== request.host || !e.method.includes(request.method) || request.method !== "POST") continue;
3267
- if ("regex" in e.path) {
3268
- const model = new RegExp(e.path.regex).exec(path)?.[1];
3269
- if (model) return decodeURIComponent(model);
3270
- } else if (e.path.exact === path && request.responseModel) return `${request.responseModel}${request.responseEffort ? `[effort=${request.responseEffort}]` : ""}`;
3271
- }
3272
- }
3273
- //#endregion
3274
- export { providerServedModel as a, splitModel as c, providerModelResponses as i, OPENCODE_PROVIDERS as l, providerEndpoints as n, providerTransformations as o, providerHosts as r, resolveOpenCodeProvider as s, openCodeProvider as t, REFUSED_OPENCODE_PROVIDERS as u };
3275
-
3276
- //# sourceMappingURL=opencode-providers-klkqgzvb.js.map