@wenathlan/devthink 2.0.14 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +60 -0
- package/{dist/bridge.d.ts → bridge.d.ts} +1 -1
- package/bridge.d.ts.map +1 -0
- package/bridge.js +1877 -0
- package/bun.d.ts.map +1 -0
- package/bun.js +52329 -0
- package/caps/background.json +712 -0
- package/caps/cli.json +360 -0
- package/caps/library.json +3611 -0
- package/caps/mcp.json +126 -0
- package/caps/pagebridge.json +377 -0
- package/caps/popup.json +51 -0
- package/caps/sidepanel.json +522 -0
- package/checksums.txt +142 -0
- package/cli.d.ts.map +1 -0
- package/{dist/cli.js → cli.js} +2 -2
- package/companion.d.ts.map +1 -0
- package/companion.js +389 -0
- package/crossbrowser.d.ts.map +1 -0
- package/crossbrowser.js +1191 -0
- package/dashdone.d.ts.map +1 -0
- package/dashdone.js +368 -0
- package/deno.d.ts.map +1 -0
- package/deno.js +52325 -0
- package/devthink.umd.js +52346 -0
- package/fixtures/bun.ts +7 -0
- package/fixtures/cjs.js +6 -0
- package/fixtures/deno.ts +6 -0
- package/fixtures/example-org-pagestate.json +22 -0
- package/fixtures/importers/automa-workflow.json +18 -0
- package/fixtures/importers/selenium-side.json +20 -0
- package/fixtures/importers/tabular-plan.csv +7 -0
- package/fixtures/importers/uivision-macro.json +10 -0
- package/fixtures/importers/v1-plan.json +13 -0
- package/fixtures/mcp-client.mjs +14 -0
- package/fixtures/pages/checkout.html +192 -0
- package/fixtures/pages/dashboard.html +110 -0
- package/fixtures/pages/feed.html +113 -0
- package/fixtures/pages/product-grid.html +150 -0
- package/fixtures/plans/form-inventory-plan.json +11 -0
- package/fixtures/plans/release-notes-plan.json +11 -0
- package/fixtures/recipes/agentscompete.json +11 -0
- package/fixtures/recipes/agentsforms.json +11 -0
- package/fixtures/recipes/agentsmonitor.json +11 -0
- package/fixtures/recipes/agentsreview.json +29 -0
- package/fixtures/recipes/agentswarm.json +11 -0
- package/fixtures/recipes/fillcalendar.json +12 -0
- package/fixtures/recipes/fillcheckout.json +13 -0
- package/fixtures/recipes/filldependentdropdowns.json +12 -0
- package/fixtures/recipes/fillfromcsv.json +13 -0
- package/fixtures/recipes/fillloginform.json +12 -0
- package/fixtures/recipes/fillmultistepwizard.json +13 -0
- package/fixtures/recipes/fillregistration.json +12 -0
- package/fixtures/recipes/fillsearchfilters.json +12 -0
- package/fixtures/recipes/filltypeahead.json +11 -0
- package/fixtures/recipes/monitoralerts.json +12 -0
- package/fixtures/recipes/monitoravailability.json +11 -0
- package/fixtures/recipes/monitornetworkquiet.json +12 -0
- package/fixtures/recipes/monitorpagechanges.json +11 -0
- package/fixtures/recipes/monitorpricechange.json +11 -0
- package/fixtures/recipes/monitorschedule.json +12 -0
- package/fixtures/recipes/scrapedynamicprices.json +13 -0
- package/fixtures/recipes/scrapeimagegallery.json +12 -0
- package/fixtures/recipes/scrapeinfinitefeed.json +13 -0
- package/fixtures/recipes/scrapenestedlists.json +12 -0
- package/fixtures/recipes/scrapeproductgrid.json +12 -0
- package/fixtures/recipes/scrapereviews.json +12 -0
- package/fixtures/recipes/scrapesearchresults.json +12 -0
- package/fixtures/recipes/scrapetablepagination.json +12 -0
- package/fixtures/recipes/testaccessibility.json +34 -0
- package/fixtures/recipes/testconsoleerrors.json +12 -0
- package/fixtures/recipes/testdeeplinks.json +12 -0
- package/fixtures/recipes/testformvalidation.json +13 -0
- package/fixtures/recipes/testlayoutshift.json +12 -0
- package/fixtures/recipes/testlinkcheck.json +12 -0
- package/fixtures/recipes/testloadtiming.json +12 -0
- package/fixtures/recipes/testvisualdiff.json +12 -0
- package/fixtures/workflows/changelog-digest-workflow.json +13 -0
- package/fixtures/workflows/form-survey-workflow.json +13 -0
- package/gallery.json +706 -0
- package/hardening.d.ts.map +1 -0
- package/hardening.js +188 -0
- package/headless.d.ts.map +1 -0
- package/headless.js +11522 -0
- package/http.d.ts.map +1 -0
- package/http.js +2165 -0
- package/index.cjs +54682 -0
- package/index.d.ts.map +1 -0
- package/index.js +52310 -0
- package/index.neutral.js +46343 -0
- package/{web/manifest.json → manifest.json} +1 -1
- package/mcp.d.ts.map +1 -0
- package/mcp.js +20515 -0
- package/memory.d.ts.map +1 -0
- package/{memory.ts → memory.js} +2310 -3834
- package/nativehost.template.json +10 -0
- package/node.cjs +54686 -0
- package/node.d.ts.map +1 -0
- package/pack.d.ts.map +1 -0
- package/pack.js +805 -0
- package/package.json +83 -176
- package/policy.d.ts.map +1 -0
- package/{policy.ts → policy.js} +4679 -5073
- package/progress.d.ts.map +1 -0
- package/progress.js +645 -0
- package/protocol.d.ts.map +1 -0
- package/protocol.js +8334 -0
- package/schemas/audit.schema.json +226 -0
- package/schemas/capability.schema.json +113 -0
- package/schemas/envelope.schema.json +162 -0
- package/schemas/memory.schema.json +51 -0
- package/schemas/observation.schema.json +113 -0
- package/schemas/plan.schema.json +208 -0
- package/schemas/progress.schema.json +126 -0
- package/schemas/proposal.schema.json +68 -0
- package/schemas/session.schema.json +82 -0
- package/schemas/tool.schema.json +94 -0
- package/server.d.ts.map +1 -0
- package/server.js +28877 -0
- package/umd-example.html +18 -0
- package/umd.d.ts.map +1 -0
- package/accounts.ts +0 -2087
- package/agent.ts +0 -2331
- package/antigravity.ts +0 -2139
- package/apifreeze.ts +0 -4146
- package/auth.ts +0 -642
- package/background.ts +0 -16837
- package/bridge.ts +0 -2080
- package/build.ts +0 -54
- package/bun.ts +0 -26
- package/capture.ts +0 -1614
- package/checksecrets.ts +0 -72
- package/cjs.ts +0 -9
- package/cli.ts +0 -3500
- package/commands.ts +0 -1101
- package/companion.ts +0 -450
- package/compatibility.ts +0 -37
- package/config.ts +0 -3137
- package/constants.ts +0 -943
- package/core.ts +0 -1473
- package/crossbrowser.ts +0 -1359
- package/dashdone.ts +0 -605
- package/data.ts +0 -943
- package/database.ts +0 -133
- package/debug.ts +0 -850
- package/deno.ts +0 -27
- package/devthink.ts +0 -707
- package/dist/accounts.d.ts +0 -409
- package/dist/agent.d.ts +0 -837
- package/dist/antigravity.d.ts +0 -380
- package/dist/apifreeze.d.ts +0 -113
- package/dist/auth.d.ts +0 -224
- package/dist/capture.d.ts +0 -595
- package/dist/cjs.d.ts +0 -6
- package/dist/commands.d.ts +0 -310
- package/dist/compatibility.d.ts +0 -17
- package/dist/config.d.ts +0 -1853
- package/dist/constants.d.ts +0 -637
- package/dist/core.d.ts +0 -361
- package/dist/data.d.ts +0 -330
- package/dist/database.d.ts +0 -24
- package/dist/debug.d.ts +0 -270
- package/dist/engine.d.ts +0 -74
- package/dist/environments.d.ts +0 -244
- package/dist/evidence.d.ts +0 -277
- package/dist/export.d.ts +0 -311
- package/dist/fingerprint.d.ts +0 -594
- package/dist/flow.d.ts +0 -300
- package/dist/gates.d.ts +0 -103
- package/dist/identity.d.ts +0 -51
- package/dist/ids.d.ts +0 -7
- package/dist/llm.d.ts +0 -652
- package/dist/models.d.ts +0 -1807
- package/dist/net.d.ts +0 -325
- package/dist/neutral.d.ts +0 -41
- package/dist/oauth.d.ts +0 -703
- package/dist/page.d.ts +0 -1166
- package/dist/perf.d.ts +0 -481
- package/dist/plan.d.ts +0 -134
- package/dist/project.d.ts +0 -395
- package/dist/providers.d.ts +0 -37
- package/dist/quota.d.ts +0 -453
- package/dist/recovery.d.ts +0 -621
- package/dist/request.d.ts +0 -1492
- package/dist/run.d.ts +0 -779
- package/dist/runtime.d.ts +0 -212
- package/dist/search.d.ts +0 -375
- package/dist/security.d.ts +0 -534
- package/dist/serve.d.ts +0 -136
- package/dist/session.d.ts +0 -296
- package/dist/storage.d.ts +0 -53
- package/dist/streaming.d.ts +0 -1119
- package/dist/swarm.d.ts +0 -328
- package/dist/tools.d.ts +0 -170
- package/dist/types.d.ts +0 -8357
- package/dist/utils.d.ts +0 -82
- package/dist/version.d.ts +0 -7
- package/dist/versionregistry.d.ts +0 -406
- package/dist/views.d.ts +0 -579
- package/dist/workbenchsession.d.ts +0 -69
- package/dist/workflow.d.ts +0 -649
- package/docs/readme.md +0 -92
- package/docs/schemas/antigravity.json +0 -192
- package/engine.ts +0 -1524
- package/environments.ts +0 -1005
- package/evidence.ts +0 -643
- package/export.ts +0 -889
- package/fingerprint.ts +0 -1458
- package/flow.ts +0 -1190
- package/gates.ts +0 -307
- package/gateway.ts +0 -34
- package/hardening.ts +0 -191
- package/headless.ts +0 -369
- package/http.ts +0 -2110
- package/identity.ts +0 -246
- package/ids.ts +0 -26
- package/index.ts +0 -369
- package/llm.ts +0 -2682
- package/mcp.ts +0 -1835
- package/models.ts +0 -3805
- package/modes.ts +0 -43
- package/net.ts +0 -1214
- package/neutral.ts +0 -362
- package/node.ts +0 -26
- package/oauth.ts +0 -2216
- package/offscreen.ts +0 -170
- package/pack.ts +0 -956
- package/page.ts +0 -7824
- package/pagebridge.ts +0 -1116
- package/perf.ts +0 -957
- package/plan.ts +0 -672
- package/plugin.ts +0 -76
- package/prisma.config.ts +0 -27
- package/progress.ts +0 -1308
- package/project.ts +0 -1291
- package/protocol.ts +0 -4187
- package/providers.ts +0 -246
- package/quota.ts +0 -1887
- package/recovery.ts +0 -2433
- package/request.ts +0 -4482
- package/run.ts +0 -2135
- package/runtime.ts +0 -526
- package/search.ts +0 -1760
- package/security.ts +0 -1673
- package/serve.ts +0 -419
- package/server.ts +0 -5538
- package/session.ts +0 -1162
- package/storage.ts +0 -182
- package/streaming.ts +0 -4101
- package/swarm.ts +0 -884
- package/sync.ts +0 -56
- package/tests/agentcert.test.ts +0 -128
- package/tests/agentfleet.test.ts +0 -214
- package/tests/agentreview.test.ts +0 -241
- package/tests/agentstream.test.ts +0 -335
- package/tests/agentwork.test.ts +0 -356
- package/tests/apifreeze.test.ts +0 -290
- package/tests/apimap.test.ts +0 -112
- package/tests/approvalgate.test.ts +0 -175
- package/tests/artifactmanifest.test.ts +0 -204
- package/tests/attentionfeed.test.ts +0 -163
- package/tests/backgroundruns.test.ts +0 -100
- package/tests/batchscheduling.test.ts +0 -131
- package/tests/blackboard.test.ts +0 -238
- package/tests/bridge.test.ts +0 -1088
- package/tests/browsercoverage.test.ts +0 -134
- package/tests/browserpolyfills.test.ts +0 -124
- package/tests/build.mjs +0 -1260
- package/tests/clientauth.test.ts +0 -223
- package/tests/clitools.test.ts +0 -578
- package/tests/confirmgates.test.ts +0 -190
- package/tests/containerpack.test.ts +0 -143
- package/tests/controlflow.test.ts +0 -2120
- package/tests/coordination.test.ts +0 -345
- package/tests/copyscreen.test.ts +0 -139
- package/tests/core.test.ts +0 -417
- package/tests/costcert.test.ts +0 -95
- package/tests/crossbrowser.test.ts +0 -115
- package/tests/cspaudit.test.ts +0 -79
- package/tests/dashdone.test.ts +0 -615
- package/tests/datagrid.test.ts +0 -137
- package/tests/doccheck.test.ts +0 -107
- package/tests/dombatch.test.ts +0 -109
- package/tests/emulation.test.ts +0 -282
- package/tests/environments.test.ts +0 -259
- package/tests/evidenceviews.test.ts +0 -88
- package/tests/exporttools.test.ts +0 -185
- package/tests/firefoxprep.test.ts +0 -134
- package/tests/flowlibrary.test.ts +0 -242
- package/tests/flowrun.test.ts +0 -303
- package/tests/forensics.test.ts +0 -439
- package/tests/gateway.test.ts +0 -939
- package/tests/headlesslib.test.ts +0 -171
- package/tests/httpstream.test.ts +0 -277
- package/tests/immutablelog.test.ts +0 -157
- package/tests/inboundguard.test.ts +0 -177
- package/tests/lazyload.test.ts +0 -72
- package/tests/librarymodes.test.ts +0 -623
- package/tests/llm.test.ts +0 -696
- package/tests/manifest.test.ts +0 -226
- package/tests/maskinputs.test.ts +0 -150
- package/tests/matrixverify.test.ts +0 -111
- package/tests/mavenpack.test.ts +0 -75
- package/tests/mcpserver.test.ts +0 -704
- package/tests/memory.test.ts +0 -4155
- package/tests/memorycare.test.ts +0 -230
- package/tests/migrateplan.test.ts +0 -349
- package/tests/minimization.test.ts +0 -414
- package/tests/modelroute.test.ts +0 -112
- package/tests/multiagent.test.ts +0 -440
- package/tests/nativebridge.test.ts +0 -807
- package/tests/navigation.test.ts +0 -284
- package/tests/nugetpack.test.ts +0 -83
- package/tests/orchestration.test.ts +0 -449
- package/tests/originpolicy.test.ts +0 -405
- package/tests/outputcompare.test.ts +0 -97
- package/tests/package.test.ts +0 -91
- package/tests/pagebridge.test.ts +0 -5909
- package/tests/pentest.test.ts +0 -75
- package/tests/perfrecords.test.ts +0 -257
- package/tests/permdiff.test.ts +0 -85
- package/tests/phishguard.test.ts +0 -128
- package/tests/pickerviews.test.ts +0 -155
- package/tests/pipelines.test.ts +0 -381
- package/tests/planlint.test.ts +0 -240
- package/tests/planreview.test.ts +0 -383
- package/tests/platformtargets.test.ts +0 -56
- package/tests/policy.test.ts +0 -8284
- package/tests/portability.test.ts +0 -96
- package/tests/progress.test.ts +0 -1036
- package/tests/promptlibrary.test.ts +0 -116
- package/tests/protocol.test.ts +0 -4793
- package/tests/publishingpipeline.test.ts +0 -314
- package/tests/quickactions.test.ts +0 -164
- package/tests/readiness.test.ts +0 -78
- package/tests/recipes.test.ts +0 -163
- package/tests/redactshots.test.ts +0 -216
- package/tests/registernvidiakeys.ts +0 -51
- package/tests/relayserve.test.ts +0 -304
- package/tests/releasenotes.test.ts +0 -276
- package/tests/resilience.test.ts +0 -467
- package/tests/resourceaware.test.ts +0 -187
- package/tests/runbudget.test.ts +0 -125
- package/tests/runhistory.test.ts +0 -299
- package/tests/runreplay.test.ts +0 -113
- package/tests/runresume.test.ts +0 -184
- package/tests/runstate.test.ts +0 -288
- package/tests/runtimeadapters.test.ts +0 -251
- package/tests/safariskeleton.test.ts +0 -115
- package/tests/sandboxframe.test.ts +0 -196
- package/tests/sbom.test.ts +0 -105
- package/tests/secretvault.test.ts +0 -188
- package/tests/selcache.test.ts +0 -111
- package/tests/sessioninterface.test.ts +0 -791
- package/tests/sessions.test.ts +0 -591
- package/tests/siteprefs.test.ts +0 -228
- package/tests/snapshotdelta.test.ts +0 -165
- package/tests/statusviews.test.ts +0 -237
- package/tests/stepmeter.test.ts +0 -200
- package/tests/streamparse.test.ts +0 -163
- package/tests/stylepruning.test.ts +0 -90
- package/tests/surfaces.test.ts +0 -282
- package/tests/sweep.test.ts +0 -78
- package/tests/syncbridge.test.ts +0 -164
- package/tests/taskqueue.test.ts +0 -206
- package/tests/toolcalls.test.ts +0 -336
- package/tests/toolcatalog.test.ts +0 -201
- package/tests/torture-agent.test.ts +0 -706
- package/tests/torture-auth.test.ts +0 -461
- package/tests/torture-commands.test.ts +0 -895
- package/tests/torture-data.test.ts +0 -923
- package/tests/torture-environments.test.ts +0 -285
- package/tests/torture-export.test.ts +0 -263
- package/tests/torture-http.test.ts +0 -1379
- package/tests/torture-llm.test.ts +0 -808
- package/tests/torture-memory.test.ts +0 -1084
- package/tests/torture-plan.test.ts +0 -829
- package/tests/torture-run.test.ts +0 -626
- package/tests/torture-session.test.ts +0 -928
- package/tests/torture-swarm.test.ts +0 -1245
- package/tests/torture-tools.test.ts +0 -964
- package/tests/torture-workflow.test.ts +0 -2354
- package/tests/tourviews.test.ts +0 -52
- package/tests/transparency.test.ts +0 -147
- package/tests/trigger.test.ts +0 -941
- package/tests/v1sunset.test.ts +0 -428
- package/tests/virtlist.test.ts +0 -94
- package/tests/vision.test.ts +0 -540
- package/tests/vsixpack.test.ts +0 -145
- package/tests/webapi.test.ts +0 -523
- package/tests/workflow.test.ts +0 -1785
- package/tests/workfloweditor.test.ts +0 -759
- package/tests/xpipack.test.ts +0 -128
- package/tools.ts +0 -734
- package/types.ts +0 -9908
- package/umd.ts +0 -9
- package/utils.ts +0 -249
- package/version.ts +0 -8
- package/versionregistry.ts +0 -1310
- package/views.ts +0 -2153
- package/vitest.config.ts +0 -12
- package/web/App.tsx +0 -78
- package/web/README.md +0 -47
- package/web/capacitor.config.ts +0 -46
- package/web/const.ts +0 -19
- package/web/control.shell.tsx +0 -66
- package/web/dashboardpage.ts +0 -554
- package/web/db.ts +0 -493
- package/web/design.html +0 -541
- package/web/gatewayview/Gateway.tsx +0 -345
- package/web/gatewayview/config.ts +0 -1042
- package/web/gatewayview/definition.ts +0 -174
- package/web/icons.ts +0 -15
- package/web/optionspage.ts +0 -691
- package/web/popup.ts +0 -1651
- package/web/schema.prisma +0 -176
- package/web/sidepanel.ts +0 -7941
- package/web/sitemanifest.json +0 -13
- package/web/terminal-ui.tsx +0 -622
- package/web/transparencypage.ts +0 -541
- package/web/vite.config.ts +0 -39
- package/web/workspace.ts +0 -23
- package/workbenchmemory.ts +0 -104
- package/workbenchsession.ts +0 -304
- package/workflow.ts +0 -4495
- /package/{dist/bun.d.ts → bun.d.ts} +0 -0
- /package/{dist/cli.d.ts → cli.d.ts} +0 -0
- /package/{dist/companion.d.ts → companion.d.ts} +0 -0
- /package/{dist/crossbrowser.d.ts → crossbrowser.d.ts} +0 -0
- /package/{dist/dashdone.d.ts → dashdone.d.ts} +0 -0
- /package/{dist/deno.d.ts → deno.d.ts} +0 -0
- /package/{dist/hardening.d.ts → hardening.d.ts} +0 -0
- /package/{dist/headless.d.ts → headless.d.ts} +0 -0
- /package/{dist/http.d.ts → http.d.ts} +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/mcp.d.ts → mcp.d.ts} +0 -0
- /package/{dist/memory.d.ts → memory.d.ts} +0 -0
- /package/{dist/node.d.ts → node.d.ts} +0 -0
- /package/{dist/pack.d.ts → pack.d.ts} +0 -0
- /package/{dist/policy.d.ts → policy.d.ts} +0 -0
- /package/{dist/progress.d.ts → progress.d.ts} +0 -0
- /package/{dist/protocol.d.ts → protocol.d.ts} +0 -0
- /package/{dist/server.d.ts → server.d.ts} +0 -0
- /package/{dist/umd.d.ts → umd.d.ts} +0 -0
|
@@ -1,1042 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* gatewayview config — the user customization layer of the embedded gateway
|
|
3
|
-
* one file one responsibility — only version definitions live here
|
|
4
|
-
* this is the hardcoded v1 v5 configuration the gateway ships with
|
|
5
|
-
*
|
|
6
|
-
* the library engine at root is universal and dry — it reads a config file
|
|
7
|
-
* every value here is what the user customizes:
|
|
8
|
-
* baseurls — which upstream apis to call
|
|
9
|
-
* models — which models to expose
|
|
10
|
-
* auth — how keys are resolved per method
|
|
11
|
-
* rotation — model rotation strategies
|
|
12
|
-
* retry — backoff and status handling
|
|
13
|
-
* context — session history and truncation
|
|
14
|
-
* thinking — two-calls pattern and budgets
|
|
15
|
-
*
|
|
16
|
-
* create as many versions as you want — v1 through v9 and beyond
|
|
17
|
-
* each version gets all 7 routes generated automatically:
|
|
18
|
-
* chat/completions completions messages responses embeddings keys models
|
|
19
|
-
*
|
|
20
|
-
* the engine config loader (gateway-configloader.ts) probes the standard
|
|
21
|
-
* web/config.mjs|ts|js locations of the working directory for the definition
|
|
22
|
-
* a deployment loads; this catalog is the shipped example the gateway
|
|
23
|
-
* console page renders — copy it to the location your serve reads, or
|
|
24
|
-
* use the cli to scaffold a fresh config (gateway init) and edit the values
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
import type { gatewaydefinition } from "./definition";
|
|
28
|
-
|
|
29
|
-
export const config: gatewaydefinition = {
|
|
30
|
-
name: "DevThink Gateway",
|
|
31
|
-
description: "multi provider ai gateway v1 v5 with thinking rotation retry and fusion context",
|
|
32
|
-
|
|
33
|
-
versions: {
|
|
34
|
-
// -----------------------------------------------------------------------
|
|
35
|
-
// v1 — zai sdk keyless transport with 2-calls thinking pattern
|
|
36
|
-
// -----------------------------------------------------------------------
|
|
37
|
-
v1: {
|
|
38
|
-
id: "v1",
|
|
39
|
-
name: "V1 ZAI",
|
|
40
|
-
providername: "zai",
|
|
41
|
-
note: "v1 replica retains token plus chat id functionality calls internal api z ai directly",
|
|
42
|
-
transport: {
|
|
43
|
-
type: "zai-sdk",
|
|
44
|
-
},
|
|
45
|
-
upstreams: [{ name: "zai", baseurl: "https://internal-api.z.ai/v1" }],
|
|
46
|
-
auth: {
|
|
47
|
-
mode: "keylesssdk",
|
|
48
|
-
required: false,
|
|
49
|
-
},
|
|
50
|
-
models: [
|
|
51
|
-
{
|
|
52
|
-
id: "glm-5.3",
|
|
53
|
-
context: 1048576,
|
|
54
|
-
maxoutput: 131072,
|
|
55
|
-
vision: false,
|
|
56
|
-
reasoning: true,
|
|
57
|
-
free: false,
|
|
58
|
-
rank: { score: 56, tier: 1 },
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
id: "glm-5.3-flash",
|
|
62
|
-
context: 1048576,
|
|
63
|
-
maxoutput: 131072,
|
|
64
|
-
vision: true,
|
|
65
|
-
reasoning: true,
|
|
66
|
-
free: false,
|
|
67
|
-
rank: { score: 55, tier: 1 },
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
id: "glm-5.2",
|
|
71
|
-
context: 1048576,
|
|
72
|
-
maxoutput: 131072,
|
|
73
|
-
vision: false,
|
|
74
|
-
reasoning: true,
|
|
75
|
-
free: true,
|
|
76
|
-
rank: { score: 53, tier: 1 },
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
id: "glm-5.1",
|
|
80
|
-
context: 131072,
|
|
81
|
-
maxoutput: 16384,
|
|
82
|
-
vision: false,
|
|
83
|
-
reasoning: true,
|
|
84
|
-
free: true,
|
|
85
|
-
rank: { score: 40, tier: 2 },
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
id: "glm-5v",
|
|
89
|
-
context: 131072,
|
|
90
|
-
maxoutput: 16384,
|
|
91
|
-
vision: true,
|
|
92
|
-
reasoning: true,
|
|
93
|
-
free: true,
|
|
94
|
-
rank: { score: 38, tier: 2 },
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
id: "glm-4-plus",
|
|
98
|
-
context: 131072,
|
|
99
|
-
maxoutput: 4096,
|
|
100
|
-
vision: false,
|
|
101
|
-
reasoning: true,
|
|
102
|
-
free: true,
|
|
103
|
-
rank: { score: 25, tier: 3 },
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
id: "glm-4-flash",
|
|
107
|
-
context: 131072,
|
|
108
|
-
maxoutput: 4096,
|
|
109
|
-
vision: false,
|
|
110
|
-
reasoning: false,
|
|
111
|
-
free: true,
|
|
112
|
-
rank: { score: 15, tier: 4 },
|
|
113
|
-
},
|
|
114
|
-
],
|
|
115
|
-
defaultmodel: "glm-5.3",
|
|
116
|
-
metamodel: {
|
|
117
|
-
id: "devthink",
|
|
118
|
-
contextoverride: 2300000,
|
|
119
|
-
fallbackcontext: 1048576,
|
|
120
|
-
maxoutput: 98304,
|
|
121
|
-
maskupstreammodel: false,
|
|
122
|
-
alwaysdisplay: false,
|
|
123
|
-
pattern: "2-calls thinking over glm-5.2 backend",
|
|
124
|
-
},
|
|
125
|
-
thinking: {
|
|
126
|
-
defaultlevel: "high",
|
|
127
|
-
budgets: {
|
|
128
|
-
none: 0,
|
|
129
|
-
minimal: 1400,
|
|
130
|
-
low: 5500,
|
|
131
|
-
medium: 17000,
|
|
132
|
-
high: 68000,
|
|
133
|
-
xhigh: 68000,
|
|
134
|
-
max: 68000,
|
|
135
|
-
},
|
|
136
|
-
twocalls: {
|
|
137
|
-
threshold: 98304,
|
|
138
|
-
freshresponseguarantee: true,
|
|
139
|
-
},
|
|
140
|
-
param: "thinking",
|
|
141
|
-
},
|
|
142
|
-
bodybuild: {
|
|
143
|
-
optionalparamspolicy: "always",
|
|
144
|
-
clampmaxtokens: true,
|
|
145
|
-
},
|
|
146
|
-
routes: {
|
|
147
|
-
embeddings: "disabled",
|
|
148
|
-
embeddingsmessage: "zai has no embeddings endpoint",
|
|
149
|
-
},
|
|
150
|
-
headers: {
|
|
151
|
-
useragent: "DevThink-Gateway/1.0",
|
|
152
|
-
},
|
|
153
|
-
},
|
|
154
|
-
|
|
155
|
-
// -----------------------------------------------------------------------
|
|
156
|
-
// v2 — babel town paused with fallback to v1
|
|
157
|
-
// -----------------------------------------------------------------------
|
|
158
|
-
v2: {
|
|
159
|
-
id: "v2",
|
|
160
|
-
name: "V2 Babel",
|
|
161
|
-
providername: "babel",
|
|
162
|
-
note: "service is paused returns 503 fallback to v1 zai",
|
|
163
|
-
paused: true,
|
|
164
|
-
upstreams: [{ name: "babel", baseurl: "https://api.babel.town/v1" }],
|
|
165
|
-
auth: {
|
|
166
|
-
mode: "apikeyheader",
|
|
167
|
-
headername: "x-token",
|
|
168
|
-
keysources: ["ephemeralurl"],
|
|
169
|
-
keyurl: "https://glm.babel.town/api/get_api_key",
|
|
170
|
-
keyexpiryminutes: 60,
|
|
171
|
-
ipbound: true,
|
|
172
|
-
required: false,
|
|
173
|
-
},
|
|
174
|
-
models: [
|
|
175
|
-
{
|
|
176
|
-
id: "babel-glm-5.3",
|
|
177
|
-
upstream: "glm-5.3",
|
|
178
|
-
context: 1048576,
|
|
179
|
-
maxoutput: 131072,
|
|
180
|
-
free: true,
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
id: "babel-glm-5.3-flash",
|
|
184
|
-
upstream: "glm-5.3-flash",
|
|
185
|
-
context: 1048576,
|
|
186
|
-
maxoutput: 131072,
|
|
187
|
-
free: true,
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
id: "babel-glm-5.2",
|
|
191
|
-
upstream: "glm-5.2",
|
|
192
|
-
context: 1048576,
|
|
193
|
-
maxoutput: 131072,
|
|
194
|
-
free: true,
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
id: "babel-devthink",
|
|
198
|
-
upstream: "devthink",
|
|
199
|
-
context: 1048576,
|
|
200
|
-
maxoutput: 131072,
|
|
201
|
-
free: true,
|
|
202
|
-
},
|
|
203
|
-
],
|
|
204
|
-
defaultmodel: "babel-glm-5.3",
|
|
205
|
-
metamodel: {
|
|
206
|
-
id: "babel-devthink",
|
|
207
|
-
fallbackcontext: 1048576,
|
|
208
|
-
maxoutput: 131072,
|
|
209
|
-
maskupstreammodel: false,
|
|
210
|
-
alwaysdisplay: false,
|
|
211
|
-
},
|
|
212
|
-
routes: {
|
|
213
|
-
embeddings: "disabled",
|
|
214
|
-
embeddingsmessage: "babel has no embeddings endpoint",
|
|
215
|
-
pausedstatus: 503,
|
|
216
|
-
pausedmessage: "babel town is paused — use v1 zai instead",
|
|
217
|
-
fallbackroute: "/v1/chat/completions",
|
|
218
|
-
},
|
|
219
|
-
},
|
|
220
|
-
|
|
221
|
-
// -----------------------------------------------------------------------
|
|
222
|
-
// v3 — nvidia nim with 4-backend rotation db keys retry backoff
|
|
223
|
-
// -----------------------------------------------------------------------
|
|
224
|
-
v3: {
|
|
225
|
-
id: "v3",
|
|
226
|
-
name: "V3 NVIDIA",
|
|
227
|
-
providername: "nvidia",
|
|
228
|
-
note: "nvidia keys round robin devthink meta model rotates",
|
|
229
|
-
upstreams: [{ name: "nvidia", baseurl: "https://integrate.api.nvidia.com/v1" }],
|
|
230
|
-
auth: {
|
|
231
|
-
mode: "bearer",
|
|
232
|
-
keysources: ["db", "env"],
|
|
233
|
-
dbmodel: "nvidiaKey",
|
|
234
|
-
dbtake: 50,
|
|
235
|
-
envvar: "NVIDIA_API_KEY",
|
|
236
|
-
envseparator: ",",
|
|
237
|
-
keyrotation: "roundrobin",
|
|
238
|
-
keylabelformat: "nvapi-key-{idx}",
|
|
239
|
-
required: true,
|
|
240
|
-
minkeylength: 10,
|
|
241
|
-
},
|
|
242
|
-
models: [
|
|
243
|
-
// rotation backends — the devthink meta rotates across these 4
|
|
244
|
-
{
|
|
245
|
-
id: "moonshotai/kimi-k3",
|
|
246
|
-
context: 262144,
|
|
247
|
-
maxoutput: 68000,
|
|
248
|
-
vision: true,
|
|
249
|
-
reasoning: true,
|
|
250
|
-
free: true,
|
|
251
|
-
rank: { score: 60, tier: 1 },
|
|
252
|
-
family: "kimi",
|
|
253
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
id: "deepseek-ai/deepseek-v4-pro-0813",
|
|
257
|
-
context: 1000000,
|
|
258
|
-
maxoutput: 68000,
|
|
259
|
-
vision: false,
|
|
260
|
-
reasoning: true,
|
|
261
|
-
free: true,
|
|
262
|
-
rank: { score: 55, tier: 1 },
|
|
263
|
-
family: "deepseek",
|
|
264
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
id: "meta/muse-glimmer-30b",
|
|
268
|
-
context: 262144,
|
|
269
|
-
maxoutput: 68000,
|
|
270
|
-
vision: true,
|
|
271
|
-
reasoning: true,
|
|
272
|
-
free: true,
|
|
273
|
-
rank: { score: 50, tier: 1 },
|
|
274
|
-
family: "muse",
|
|
275
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
id: "poolside/laguna-xs-2.1",
|
|
279
|
-
context: 262144,
|
|
280
|
-
maxoutput: 68000,
|
|
281
|
-
vision: false,
|
|
282
|
-
reasoning: true,
|
|
283
|
-
free: true,
|
|
284
|
-
rank: { score: 0, tier: 4 },
|
|
285
|
-
family: "laguna",
|
|
286
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
287
|
-
},
|
|
288
|
-
// individual catalog
|
|
289
|
-
{
|
|
290
|
-
id: "deepseek-ai/deepseek-v4-flash-0731",
|
|
291
|
-
context: 1000000,
|
|
292
|
-
maxoutput: 68000,
|
|
293
|
-
vision: false,
|
|
294
|
-
reasoning: true,
|
|
295
|
-
free: true,
|
|
296
|
-
rank: { score: 52, tier: 1 },
|
|
297
|
-
family: "deepseek",
|
|
298
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
id: "nvidia/nemotron-3-ultra-550b-a55b",
|
|
302
|
-
context: 1000000,
|
|
303
|
-
maxoutput: 68000,
|
|
304
|
-
vision: false,
|
|
305
|
-
reasoning: true,
|
|
306
|
-
free: true,
|
|
307
|
-
rank: { score: 38, tier: 2 },
|
|
308
|
-
family: "nemotron",
|
|
309
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
id: "nvidia/nemotron-3.5-lightning-30b-a3b",
|
|
313
|
-
context: 262144,
|
|
314
|
-
maxoutput: 68000,
|
|
315
|
-
vision: false,
|
|
316
|
-
reasoning: true,
|
|
317
|
-
free: true,
|
|
318
|
-
rank: { score: 24, tier: 2 },
|
|
319
|
-
family: "nemotron",
|
|
320
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
id: "google/gemma-4-31b-it",
|
|
324
|
-
context: 262144,
|
|
325
|
-
maxoutput: 68000,
|
|
326
|
-
vision: true,
|
|
327
|
-
reasoning: true,
|
|
328
|
-
free: true,
|
|
329
|
-
rank: { score: 30, tier: 2 },
|
|
330
|
-
family: "gemma",
|
|
331
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
id: "nvidia/nemotron-3-super-120b-a12b",
|
|
335
|
-
context: 1000000,
|
|
336
|
-
maxoutput: 68000,
|
|
337
|
-
vision: false,
|
|
338
|
-
reasoning: true,
|
|
339
|
-
free: true,
|
|
340
|
-
rank: { score: 26, tier: 2 },
|
|
341
|
-
family: "nemotron",
|
|
342
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
id: "openai/gpt-oss-120b",
|
|
346
|
-
context: 131072,
|
|
347
|
-
maxoutput: 68000,
|
|
348
|
-
vision: false,
|
|
349
|
-
reasoning: true,
|
|
350
|
-
free: true,
|
|
351
|
-
rank: { score: 24, tier: 2 },
|
|
352
|
-
family: "gptoss",
|
|
353
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
id: "nvidia/nemotron-3-nano-30b-a3b",
|
|
357
|
-
context: 1000000,
|
|
358
|
-
maxoutput: 68000,
|
|
359
|
-
vision: false,
|
|
360
|
-
reasoning: true,
|
|
361
|
-
free: true,
|
|
362
|
-
family: "nemotron",
|
|
363
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
id: "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
367
|
-
context: 262144,
|
|
368
|
-
maxoutput: 68000,
|
|
369
|
-
vision: true,
|
|
370
|
-
reasoning: true,
|
|
371
|
-
free: true,
|
|
372
|
-
family: "nemotron",
|
|
373
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
id: "openai/gpt-oss-20b",
|
|
377
|
-
context: 131072,
|
|
378
|
-
maxoutput: 68000,
|
|
379
|
-
vision: false,
|
|
380
|
-
reasoning: true,
|
|
381
|
-
free: true,
|
|
382
|
-
rank: { score: 15, tier: 3 },
|
|
383
|
-
family: "gptoss",
|
|
384
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
id: "mistralai/mistral-nemotron",
|
|
388
|
-
context: 262144,
|
|
389
|
-
maxoutput: 68000,
|
|
390
|
-
vision: false,
|
|
391
|
-
reasoning: true,
|
|
392
|
-
free: true,
|
|
393
|
-
family: "mistral",
|
|
394
|
-
chattemplatekwargs: { enable_thinking: true },
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
id: "meta/llama-3.2-90b-vision-instruct",
|
|
398
|
-
context: 131072,
|
|
399
|
-
maxoutput: 68000,
|
|
400
|
-
vision: true,
|
|
401
|
-
reasoning: false,
|
|
402
|
-
free: true,
|
|
403
|
-
family: "llama",
|
|
404
|
-
chattemplatekwargs: {},
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
id: "meta/llama-3.2-11b-vision-instruct",
|
|
408
|
-
context: 131072,
|
|
409
|
-
maxoutput: 68000,
|
|
410
|
-
vision: true,
|
|
411
|
-
reasoning: false,
|
|
412
|
-
free: true,
|
|
413
|
-
family: "llama",
|
|
414
|
-
chattemplatekwargs: {},
|
|
415
|
-
},
|
|
416
|
-
],
|
|
417
|
-
defaultmodel: "devthink",
|
|
418
|
-
rotation: {
|
|
419
|
-
mode: "persession",
|
|
420
|
-
models: [
|
|
421
|
-
"moonshotai/kimi-k3",
|
|
422
|
-
"deepseek-ai/deepseek-v4-pro-0813",
|
|
423
|
-
"meta/muse-glimmer-30b",
|
|
424
|
-
"poolside/laguna-xs-2.1",
|
|
425
|
-
],
|
|
426
|
-
everynmessages: 6,
|
|
427
|
-
maxmodelrotations: 4,
|
|
428
|
-
rotateonstatus: [529, 404, 410],
|
|
429
|
-
rotateontimeout: true,
|
|
430
|
-
staggernewsessions: false,
|
|
431
|
-
sessionstore: "memory",
|
|
432
|
-
},
|
|
433
|
-
retry: {
|
|
434
|
-
maxretries: 3,
|
|
435
|
-
backoffbasems: 400,
|
|
436
|
-
backoffcapms: 8000,
|
|
437
|
-
jitter: 0.2,
|
|
438
|
-
statuses: [429, 502, 503, 504],
|
|
439
|
-
nonretryable: [400],
|
|
440
|
-
fallback: "none",
|
|
441
|
-
},
|
|
442
|
-
timeout: {
|
|
443
|
-
modelswitchintervalms: 60000,
|
|
444
|
-
requestms: 300000,
|
|
445
|
-
streamms: 2147483647,
|
|
446
|
-
},
|
|
447
|
-
context: {
|
|
448
|
-
restoresessionhistory: true,
|
|
449
|
-
historylimit: 1000,
|
|
450
|
-
truncatemargin: 4096,
|
|
451
|
-
percallfallback: 1048576,
|
|
452
|
-
markshared: true,
|
|
453
|
-
},
|
|
454
|
-
thinking: {
|
|
455
|
-
defaultlevel: "high",
|
|
456
|
-
param: "chattemplatekwargs",
|
|
457
|
-
},
|
|
458
|
-
bodybuild: {
|
|
459
|
-
optionalparamspolicy: "omit-unspecified",
|
|
460
|
-
clampmaxtokens: true,
|
|
461
|
-
maxtokenscap: 68000,
|
|
462
|
-
},
|
|
463
|
-
metamodel: {
|
|
464
|
-
id: "devthink",
|
|
465
|
-
fallbackcontext: 1048576,
|
|
466
|
-
maxoutput: 272000,
|
|
467
|
-
maskupstreammodel: true,
|
|
468
|
-
alwaysdisplay: false,
|
|
469
|
-
pattern: "rotation over 4 nvidia reasoning models 2-calls pattern",
|
|
470
|
-
},
|
|
471
|
-
routes: {
|
|
472
|
-
embeddings: "disabled",
|
|
473
|
-
embeddingsmessage: "nvidia has no embeddings endpoint on this gateway",
|
|
474
|
-
},
|
|
475
|
-
headers: {
|
|
476
|
-
useragent: "DevThink-Gateway/3.0",
|
|
477
|
-
},
|
|
478
|
-
},
|
|
479
|
-
|
|
480
|
-
// -----------------------------------------------------------------------
|
|
481
|
-
// v4 — opencode zen plus kilo anonymous free models cross-provider fallback
|
|
482
|
-
// -----------------------------------------------------------------------
|
|
483
|
-
v4: {
|
|
484
|
-
id: "v4",
|
|
485
|
-
name: "V4 OpenCode Kilo",
|
|
486
|
-
providername: "opencode",
|
|
487
|
-
note: "anonymous free tier no api key required model masking to devthink",
|
|
488
|
-
upstreams: [
|
|
489
|
-
{ name: "opencode", baseurl: "https://opencode.ai/zen/v1", fallback: "kilo" },
|
|
490
|
-
{ name: "kilo", baseurl: "https://api.kilo.ai/api/gateway", fallback: "opencode" },
|
|
491
|
-
],
|
|
492
|
-
auth: {
|
|
493
|
-
mode: "anonymous",
|
|
494
|
-
required: false,
|
|
495
|
-
},
|
|
496
|
-
models: [
|
|
497
|
-
// opencode zen free models
|
|
498
|
-
{
|
|
499
|
-
id: "muse-spark-1.2-contributor-free",
|
|
500
|
-
context: 131072,
|
|
501
|
-
maxoutput: 16384,
|
|
502
|
-
vision: false,
|
|
503
|
-
reasoning: true,
|
|
504
|
-
free: true,
|
|
505
|
-
rank: { score: 57, tier: 1 },
|
|
506
|
-
endpoint: "responses",
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
id: "deepseek-v4-flash-free",
|
|
510
|
-
context: 1048576,
|
|
511
|
-
maxoutput: 16384,
|
|
512
|
-
vision: false,
|
|
513
|
-
reasoning: true,
|
|
514
|
-
free: true,
|
|
515
|
-
rank: { score: 52, tier: 1 },
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
id: "mimo-v2.5-free",
|
|
519
|
-
context: 1048576,
|
|
520
|
-
maxoutput: 32768,
|
|
521
|
-
vision: false,
|
|
522
|
-
reasoning: true,
|
|
523
|
-
free: true,
|
|
524
|
-
rank: { score: 43, tier: 1 },
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
id: "nemotron-3-ultra-free",
|
|
528
|
-
context: 1048576,
|
|
529
|
-
maxoutput: 32768,
|
|
530
|
-
vision: false,
|
|
531
|
-
reasoning: true,
|
|
532
|
-
free: true,
|
|
533
|
-
rank: { score: 38, tier: 2 },
|
|
534
|
-
nvidiarouted: true,
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
id: "ling-3.0-flash-fin-free",
|
|
538
|
-
context: 262144,
|
|
539
|
-
maxoutput: 32768,
|
|
540
|
-
vision: false,
|
|
541
|
-
reasoning: true,
|
|
542
|
-
free: true,
|
|
543
|
-
rank: { score: 38, tier: 2 },
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
id: "nemotron-3.5-lightning-free",
|
|
547
|
-
context: 1048576,
|
|
548
|
-
maxoutput: 32768,
|
|
549
|
-
vision: false,
|
|
550
|
-
reasoning: true,
|
|
551
|
-
free: true,
|
|
552
|
-
rank: { score: 24, tier: 2 },
|
|
553
|
-
nvidiarouted: true,
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
id: "laguna-s-2.1-free",
|
|
557
|
-
context: 262144,
|
|
558
|
-
maxoutput: 32768,
|
|
559
|
-
vision: false,
|
|
560
|
-
reasoning: true,
|
|
561
|
-
free: true,
|
|
562
|
-
rank: { score: 0, tier: 4 },
|
|
563
|
-
},
|
|
564
|
-
// kilo free models
|
|
565
|
-
{
|
|
566
|
-
id: "thinkingmachines/inkling:free",
|
|
567
|
-
context: 1048576,
|
|
568
|
-
maxoutput: 262144,
|
|
569
|
-
vision: true,
|
|
570
|
-
reasoning: true,
|
|
571
|
-
free: true,
|
|
572
|
-
},
|
|
573
|
-
{
|
|
574
|
-
id: "tencent/hy3:free",
|
|
575
|
-
context: 262144,
|
|
576
|
-
maxoutput: 128000,
|
|
577
|
-
vision: false,
|
|
578
|
-
reasoning: true,
|
|
579
|
-
free: true,
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
id: "thinkingmachines/inkling-small:free",
|
|
583
|
-
context: 1048576,
|
|
584
|
-
maxoutput: 262144,
|
|
585
|
-
vision: true,
|
|
586
|
-
reasoning: true,
|
|
587
|
-
free: true,
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
id: "inclusionai/ling-3.0-flash-fin:free",
|
|
591
|
-
context: 262144,
|
|
592
|
-
maxoutput: 32768,
|
|
593
|
-
vision: false,
|
|
594
|
-
reasoning: true,
|
|
595
|
-
free: true,
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
id: "nvidia/nemotron-3-ultra-550b-a55b:free",
|
|
599
|
-
context: 1048576,
|
|
600
|
-
maxoutput: 32768,
|
|
601
|
-
vision: false,
|
|
602
|
-
reasoning: true,
|
|
603
|
-
free: true,
|
|
604
|
-
nvidiarouted: true,
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
id: "minimax/minimax-m3:free",
|
|
608
|
-
context: 1048576,
|
|
609
|
-
maxoutput: 16384,
|
|
610
|
-
vision: true,
|
|
611
|
-
reasoning: true,
|
|
612
|
-
free: true,
|
|
613
|
-
},
|
|
614
|
-
{
|
|
615
|
-
id: "stepfun/step-3.7-flash:free",
|
|
616
|
-
context: 262144,
|
|
617
|
-
maxoutput: 262144,
|
|
618
|
-
vision: true,
|
|
619
|
-
reasoning: true,
|
|
620
|
-
free: true,
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
id: "nvidia/nemotron-3.5-lightning:free",
|
|
624
|
-
context: 1048576,
|
|
625
|
-
maxoutput: 32768,
|
|
626
|
-
vision: false,
|
|
627
|
-
reasoning: true,
|
|
628
|
-
free: true,
|
|
629
|
-
nvidiarouted: true,
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
id: "nvidia/nemotron-3-super-120b-a12b:free",
|
|
633
|
-
context: 1048576,
|
|
634
|
-
maxoutput: 32768,
|
|
635
|
-
vision: false,
|
|
636
|
-
reasoning: true,
|
|
637
|
-
free: true,
|
|
638
|
-
nvidiarouted: true,
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
id: "cohere/north-mini-code:free",
|
|
642
|
-
context: 256000,
|
|
643
|
-
maxoutput: 64000,
|
|
644
|
-
vision: false,
|
|
645
|
-
reasoning: true,
|
|
646
|
-
free: true,
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
id: "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",
|
|
650
|
-
context: 256000,
|
|
651
|
-
maxoutput: 65536,
|
|
652
|
-
vision: true,
|
|
653
|
-
reasoning: true,
|
|
654
|
-
free: true,
|
|
655
|
-
nvidiarouted: true,
|
|
656
|
-
},
|
|
657
|
-
{
|
|
658
|
-
id: "liquid/lfm-2.5-2.6b:free",
|
|
659
|
-
context: 65536,
|
|
660
|
-
maxoutput: 8192,
|
|
661
|
-
vision: false,
|
|
662
|
-
reasoning: true,
|
|
663
|
-
free: true,
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
id: "minimax/minimax-m2.7:free",
|
|
667
|
-
context: 196608,
|
|
668
|
-
maxoutput: 196608,
|
|
669
|
-
vision: false,
|
|
670
|
-
reasoning: true,
|
|
671
|
-
free: true,
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
id: "dots-studio/dots-3-note-preview:free",
|
|
675
|
-
context: 512000,
|
|
676
|
-
maxoutput: 460800,
|
|
677
|
-
vision: true,
|
|
678
|
-
reasoning: true,
|
|
679
|
-
free: true,
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
id: "poolside/laguna-s-2.1:free",
|
|
683
|
-
context: 262144,
|
|
684
|
-
maxoutput: 32768,
|
|
685
|
-
vision: false,
|
|
686
|
-
reasoning: true,
|
|
687
|
-
free: true,
|
|
688
|
-
},
|
|
689
|
-
{
|
|
690
|
-
id: "poolside/laguna-xs-2.1:free",
|
|
691
|
-
context: 262144,
|
|
692
|
-
maxoutput: 32768,
|
|
693
|
-
vision: false,
|
|
694
|
-
reasoning: true,
|
|
695
|
-
free: true,
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
id: "nvidia/nemotron-3.5-content-safety:free",
|
|
699
|
-
context: 128000,
|
|
700
|
-
maxoutput: 8192,
|
|
701
|
-
vision: true,
|
|
702
|
-
reasoning: false,
|
|
703
|
-
free: true,
|
|
704
|
-
nvidiarouted: true,
|
|
705
|
-
},
|
|
706
|
-
],
|
|
707
|
-
defaultmodel: "devthink",
|
|
708
|
-
rotation: {
|
|
709
|
-
mode: "persession",
|
|
710
|
-
models: [
|
|
711
|
-
"muse-spark-1.2-contributor-free",
|
|
712
|
-
"deepseek-v4-flash-free",
|
|
713
|
-
"mimo-v2.5-free",
|
|
714
|
-
"nemotron-3-ultra-free",
|
|
715
|
-
"ling-3.0-flash-fin-free",
|
|
716
|
-
"nemotron-3.5-lightning-free",
|
|
717
|
-
"laguna-s-2.1-free",
|
|
718
|
-
"thinkingmachines/inkling:free",
|
|
719
|
-
"tencent/hy3:free",
|
|
720
|
-
"thinkingmachines/inkling-small:free",
|
|
721
|
-
"inclusionai/ling-3.0-flash-fin:free",
|
|
722
|
-
"nvidia/nemotron-3-ultra-550b-a55b:free",
|
|
723
|
-
"minimax/minimax-m3:free",
|
|
724
|
-
"stepfun/step-3.7-flash:free",
|
|
725
|
-
"nvidia/nemotron-3.5-lightning:free",
|
|
726
|
-
"nvidia/nemotron-3-super-120b-a12b:free",
|
|
727
|
-
"cohere/north-mini-code:free",
|
|
728
|
-
"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",
|
|
729
|
-
"liquid/lfm-2.5-2.6b:free",
|
|
730
|
-
"minimax/minimax-m2.7:free",
|
|
731
|
-
"dots-studio/dots-3-note-preview:free",
|
|
732
|
-
"poolside/laguna-s-2.1:free",
|
|
733
|
-
"poolside/laguna-xs-2.1:free",
|
|
734
|
-
"nvidia/nemotron-3.5-content-safety:free",
|
|
735
|
-
],
|
|
736
|
-
everynmessages: 6,
|
|
737
|
-
maxmodelrotations: 1,
|
|
738
|
-
rotateonstatus: [],
|
|
739
|
-
rotateontimeout: false,
|
|
740
|
-
staggernewsessions: true,
|
|
741
|
-
sessionstore: "memory",
|
|
742
|
-
},
|
|
743
|
-
retry: {
|
|
744
|
-
maxretries: 0,
|
|
745
|
-
backoffbasems: 0,
|
|
746
|
-
statuses: [],
|
|
747
|
-
nonretryable: [400],
|
|
748
|
-
fallbackstatuses: [404, 429, 500, 502, 503, 529],
|
|
749
|
-
fallback: "crossprovider",
|
|
750
|
-
},
|
|
751
|
-
timeout: {
|
|
752
|
-
requestms: 300000,
|
|
753
|
-
streamms: 2147483647,
|
|
754
|
-
},
|
|
755
|
-
context: {
|
|
756
|
-
restoresessionhistory: true,
|
|
757
|
-
historylimit: 1000,
|
|
758
|
-
truncatemargin: 4096,
|
|
759
|
-
percallfallback: 1048576,
|
|
760
|
-
markshared: true,
|
|
761
|
-
},
|
|
762
|
-
thinking: {
|
|
763
|
-
defaultlevel: "high",
|
|
764
|
-
param: "chattemplatekwargs",
|
|
765
|
-
},
|
|
766
|
-
bodybuild: {
|
|
767
|
-
optionalparamspolicy: "omit-unspecified",
|
|
768
|
-
clampmaxtokens: false,
|
|
769
|
-
},
|
|
770
|
-
metamodel: {
|
|
771
|
-
id: "devthink",
|
|
772
|
-
fallbackcontext: 1048576,
|
|
773
|
-
maxoutput: 32768,
|
|
774
|
-
maskupstreammodel: true,
|
|
775
|
-
alwaysdisplay: true,
|
|
776
|
-
pattern: "24 free models across opencode zen and kilo with cross provider fallback",
|
|
777
|
-
},
|
|
778
|
-
routes: {
|
|
779
|
-
embeddings: "disabled",
|
|
780
|
-
embeddingsmessage: "v4 free gateways have no embeddings endpoint",
|
|
781
|
-
},
|
|
782
|
-
headers: {
|
|
783
|
-
useragent: "DevThink-Gateway/4.0",
|
|
784
|
-
},
|
|
785
|
-
},
|
|
786
|
-
|
|
787
|
-
// -----------------------------------------------------------------------
|
|
788
|
-
// v5 — openrouter free models single env key per-request rotation
|
|
789
|
-
// -----------------------------------------------------------------------
|
|
790
|
-
v5: {
|
|
791
|
-
id: "v5",
|
|
792
|
-
name: "V5 OpenRouter",
|
|
793
|
-
providername: "openrouter",
|
|
794
|
-
note: "openrouter free tier 19 models per-request round-robin",
|
|
795
|
-
upstreams: [{ name: "openrouter", baseurl: "https://openrouter.ai/api/v1" }],
|
|
796
|
-
auth: {
|
|
797
|
-
mode: "bearer",
|
|
798
|
-
keysources: ["env"],
|
|
799
|
-
envvar: "OPENROUTER_API_KEY",
|
|
800
|
-
keyrotation: "single",
|
|
801
|
-
required: true,
|
|
802
|
-
minkeylength: 10,
|
|
803
|
-
signupurl: "https://openrouter.ai",
|
|
804
|
-
extraheaders: {
|
|
805
|
-
"http-referer": "https://devthink.ai",
|
|
806
|
-
"x-title": "DevThink Gateway",
|
|
807
|
-
},
|
|
808
|
-
},
|
|
809
|
-
models: [
|
|
810
|
-
{
|
|
811
|
-
id: "z-ai/glm-5.2:free",
|
|
812
|
-
context: 1048576,
|
|
813
|
-
maxoutput: 131072,
|
|
814
|
-
vision: false,
|
|
815
|
-
reasoning: true,
|
|
816
|
-
free: true,
|
|
817
|
-
rank: { score: 53, tier: 1 },
|
|
818
|
-
exclusive: true,
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
id: "minimax/minimax-m3:free",
|
|
822
|
-
context: 1048576,
|
|
823
|
-
maxoutput: 16384,
|
|
824
|
-
vision: true,
|
|
825
|
-
reasoning: true,
|
|
826
|
-
free: true,
|
|
827
|
-
rank: { score: 45, tier: 1 },
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
id: "thinkingmachines/inkling:free",
|
|
831
|
-
context: 1048576,
|
|
832
|
-
maxoutput: 262144,
|
|
833
|
-
vision: true,
|
|
834
|
-
reasoning: true,
|
|
835
|
-
free: true,
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
id: "tencent/hy3:free",
|
|
839
|
-
context: 262144,
|
|
840
|
-
maxoutput: 128000,
|
|
841
|
-
vision: false,
|
|
842
|
-
reasoning: true,
|
|
843
|
-
free: true,
|
|
844
|
-
},
|
|
845
|
-
{
|
|
846
|
-
id: "thinkingmachines/inkling-small:free",
|
|
847
|
-
context: 1048576,
|
|
848
|
-
maxoutput: 262144,
|
|
849
|
-
vision: true,
|
|
850
|
-
reasoning: true,
|
|
851
|
-
free: true,
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
id: "inclusionai/ling-3.0-flash-fin:free",
|
|
855
|
-
context: 262144,
|
|
856
|
-
maxoutput: 32768,
|
|
857
|
-
vision: false,
|
|
858
|
-
reasoning: true,
|
|
859
|
-
free: true,
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
id: "nvidia/nemotron-3-ultra-550b-a55b:free",
|
|
863
|
-
context: 1048576,
|
|
864
|
-
maxoutput: 32768,
|
|
865
|
-
vision: false,
|
|
866
|
-
reasoning: true,
|
|
867
|
-
free: true,
|
|
868
|
-
nvidiarouted: true,
|
|
869
|
-
},
|
|
870
|
-
{
|
|
871
|
-
id: "stepfun/step-3.7-flash:free",
|
|
872
|
-
context: 262144,
|
|
873
|
-
maxoutput: 262144,
|
|
874
|
-
vision: true,
|
|
875
|
-
reasoning: true,
|
|
876
|
-
free: true,
|
|
877
|
-
},
|
|
878
|
-
{
|
|
879
|
-
id: "google/gemma-4-31b-it:free",
|
|
880
|
-
context: 262144,
|
|
881
|
-
maxoutput: 32768,
|
|
882
|
-
vision: true,
|
|
883
|
-
reasoning: true,
|
|
884
|
-
free: true,
|
|
885
|
-
exclusive: true,
|
|
886
|
-
},
|
|
887
|
-
{
|
|
888
|
-
id: "google/gemma-4-26b-a4b-it:free",
|
|
889
|
-
context: 262144,
|
|
890
|
-
maxoutput: 32768,
|
|
891
|
-
vision: true,
|
|
892
|
-
reasoning: true,
|
|
893
|
-
free: true,
|
|
894
|
-
exclusive: true,
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
id: "nvidia/nemotron-3-super-120b-a12b:free",
|
|
898
|
-
context: 1048576,
|
|
899
|
-
maxoutput: 32768,
|
|
900
|
-
vision: false,
|
|
901
|
-
reasoning: true,
|
|
902
|
-
free: true,
|
|
903
|
-
nvidiarouted: true,
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
id: "nvidia/nemotron-3.5-lightning:free",
|
|
907
|
-
context: 1048576,
|
|
908
|
-
maxoutput: 32768,
|
|
909
|
-
vision: false,
|
|
910
|
-
reasoning: true,
|
|
911
|
-
free: true,
|
|
912
|
-
nvidiarouted: true,
|
|
913
|
-
},
|
|
914
|
-
{
|
|
915
|
-
id: "cohere/north-mini-code:free",
|
|
916
|
-
context: 256000,
|
|
917
|
-
maxoutput: 64000,
|
|
918
|
-
vision: false,
|
|
919
|
-
reasoning: true,
|
|
920
|
-
free: true,
|
|
921
|
-
},
|
|
922
|
-
{
|
|
923
|
-
id: "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",
|
|
924
|
-
context: 256000,
|
|
925
|
-
maxoutput: 65536,
|
|
926
|
-
vision: true,
|
|
927
|
-
reasoning: true,
|
|
928
|
-
free: true,
|
|
929
|
-
nvidiarouted: true,
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
id: "liquid/lfm-2.5-2.6b:free",
|
|
933
|
-
context: 65536,
|
|
934
|
-
maxoutput: 8192,
|
|
935
|
-
vision: false,
|
|
936
|
-
reasoning: true,
|
|
937
|
-
free: true,
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
id: "minimax/minimax-m2.7:free",
|
|
941
|
-
context: 196608,
|
|
942
|
-
maxoutput: 196608,
|
|
943
|
-
vision: false,
|
|
944
|
-
reasoning: true,
|
|
945
|
-
free: true,
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
id: "dots-studio/dots-3-note-preview:free",
|
|
949
|
-
context: 512000,
|
|
950
|
-
maxoutput: 460800,
|
|
951
|
-
vision: true,
|
|
952
|
-
reasoning: true,
|
|
953
|
-
free: true,
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
id: "poolside/laguna-s-2.1:free",
|
|
957
|
-
context: 262144,
|
|
958
|
-
maxoutput: 32768,
|
|
959
|
-
vision: false,
|
|
960
|
-
reasoning: true,
|
|
961
|
-
free: true,
|
|
962
|
-
},
|
|
963
|
-
{
|
|
964
|
-
id: "poolside/laguna-xs-2.1:free",
|
|
965
|
-
context: 262144,
|
|
966
|
-
maxoutput: 32768,
|
|
967
|
-
vision: false,
|
|
968
|
-
reasoning: true,
|
|
969
|
-
free: true,
|
|
970
|
-
},
|
|
971
|
-
],
|
|
972
|
-
defaultmodel: "devthink",
|
|
973
|
-
rotation: {
|
|
974
|
-
mode: "perrequest",
|
|
975
|
-
models: [
|
|
976
|
-
"z-ai/glm-5.2:free",
|
|
977
|
-
"minimax/minimax-m3:free",
|
|
978
|
-
"thinkingmachines/inkling:free",
|
|
979
|
-
"tencent/hy3:free",
|
|
980
|
-
"thinkingmachines/inkling-small:free",
|
|
981
|
-
"inclusionai/ling-3.0-flash-fin:free",
|
|
982
|
-
"nvidia/nemotron-3-ultra-550b-a55b:free",
|
|
983
|
-
"stepfun/step-3.7-flash:free",
|
|
984
|
-
"google/gemma-4-31b-it:free",
|
|
985
|
-
"google/gemma-4-26b-a4b-it:free",
|
|
986
|
-
"nvidia/nemotron-3-super-120b-a12b:free",
|
|
987
|
-
"nvidia/nemotron-3.5-lightning:free",
|
|
988
|
-
"cohere/north-mini-code:free",
|
|
989
|
-
"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",
|
|
990
|
-
"liquid/lfm-2.5-2.6b:free",
|
|
991
|
-
"minimax/minimax-m2.7:free",
|
|
992
|
-
"dots-studio/dots-3-note-preview:free",
|
|
993
|
-
"poolside/laguna-s-2.1:free",
|
|
994
|
-
"poolside/laguna-xs-2.1:free",
|
|
995
|
-
],
|
|
996
|
-
everynmessages: 1,
|
|
997
|
-
maxmodelrotations: 1,
|
|
998
|
-
staggernewsessions: true,
|
|
999
|
-
sessionstore: "memory",
|
|
1000
|
-
},
|
|
1001
|
-
retry: {
|
|
1002
|
-
maxretries: 0,
|
|
1003
|
-
statuses: [],
|
|
1004
|
-
nonretryable: [400],
|
|
1005
|
-
fallback: "none",
|
|
1006
|
-
},
|
|
1007
|
-
timeout: {
|
|
1008
|
-
requestms: 300000,
|
|
1009
|
-
streamms: 2147483647,
|
|
1010
|
-
},
|
|
1011
|
-
context: {
|
|
1012
|
-
restoresessionhistory: false,
|
|
1013
|
-
truncate: false,
|
|
1014
|
-
},
|
|
1015
|
-
thinking: {
|
|
1016
|
-
defaultlevel: "high",
|
|
1017
|
-
param: "chattemplatekwargs",
|
|
1018
|
-
},
|
|
1019
|
-
bodybuild: {
|
|
1020
|
-
optionalparamspolicy: "omit-unspecified",
|
|
1021
|
-
clampmaxtokens: false,
|
|
1022
|
-
},
|
|
1023
|
-
metamodel: {
|
|
1024
|
-
id: "devthink",
|
|
1025
|
-
fallbackcontext: 1048576,
|
|
1026
|
-
maxoutput: 32768,
|
|
1027
|
-
maskupstreammodel: true,
|
|
1028
|
-
alwaysdisplay: true,
|
|
1029
|
-
pattern: "19 openrouter free models per-request round-robin",
|
|
1030
|
-
},
|
|
1031
|
-
routes: {
|
|
1032
|
-
embeddings: "disabled",
|
|
1033
|
-
embeddingsmessage: "openrouter has no embeddings endpoint on this gateway",
|
|
1034
|
-
},
|
|
1035
|
-
headers: {
|
|
1036
|
-
useragent: "DevThink-Gateway/5.0",
|
|
1037
|
-
},
|
|
1038
|
-
},
|
|
1039
|
-
},
|
|
1040
|
-
};
|
|
1041
|
-
|
|
1042
|
-
export default config;
|