@yina-npm/openrouterx 0.4.10 → 0.4.11
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/README.md +250 -1124
- package/app/.next/BUILD_ID +1 -1
- package/app/.next/app-path-routes-manifest.json +9 -2
- package/app/.next/build-manifest.json +3 -3
- package/app/.next/prerender-manifest.json +3 -339
- package/app/.next/react-loadable-manifest.json +1 -8
- package/app/.next/routes-manifest.json +44 -0
- package/app/.next/server/app/(dashboard)/dashboard/admin/keys/page.js +2 -0
- package/app/.next/server/app/(dashboard)/dashboard/admin/keys/page.js.nft.json +1 -0
- package/app/.next/server/app/(dashboard)/dashboard/admin/keys/page_client-reference-manifest.js +1 -0
- package/app/.next/server/app/(dashboard)/dashboard/admin/users/page.js +2 -0
- package/app/.next/server/app/(dashboard)/dashboard/admin/users/page.js.nft.json +1 -0
- package/app/.next/server/app/(dashboard)/dashboard/admin/users/page_client-reference-manifest.js +1 -0
- package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/combo/[id]/page.js +3 -3
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/combo/[id]/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/combo/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/user/page.js +5 -0
- package/app/.next/server/app/(dashboard)/dashboard/user/page.js.nft.json +1 -0
- package/app/.next/server/app/(dashboard)/dashboard/user/page_client-reference-manifest.js +1 -0
- package/app/.next/server/app/_global-error/page.js +2 -2
- package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/_global-error.html +1 -1
- package/app/.next/server/app/_global-error.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/_not-found/page.js +2 -2
- package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/_not-found.html +1 -1
- package/app/.next/server/app/_not-found.rsc +4 -4
- package/app/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
- package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/_not-found.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/api/auth/login/route.js +1 -1
- package/app/.next/server/app/api/auth/login/route.js.nft.json +1 -1
- package/app/.next/server/app/api/auth/logout/route.js +1 -1
- package/app/.next/server/app/api/auth/me/route.js +1 -0
- package/app/.next/server/app/api/auth/me/route.js.nft.json +1 -0
- package/app/.next/server/app/api/auth/me/route_client-reference-manifest.js +1 -0
- package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
- package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/codex-settings/route.js +3 -3
- package/app/.next/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/droid-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +7 -7
- package/app/.next/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cloud/auth/route.js +1 -1
- package/app/.next/server/app/api/cloud/credentials/update/route.js +1 -1
- package/app/.next/server/app/api/cloud/model/resolve/route.js +1 -1
- package/app/.next/server/app/api/cloud/models/alias/route.js +1 -1
- package/app/.next/server/app/api/combos/[id]/route.js +1 -1
- package/app/.next/server/app/api/combos/route.js +1 -1
- package/app/.next/server/app/api/health/route.js +1 -1
- package/app/.next/server/app/api/init/route.js +1 -1
- package/app/.next/server/app/api/keys/[id]/route.js +1 -1
- package/app/.next/server/app/api/keys/[id]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/keys/route.js +1 -1
- package/app/.next/server/app/api/keys/route.js.nft.json +1 -1
- package/app/.next/server/app/api/locale/route.js +1 -1
- package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
- package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
- package/app/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/app/.next/server/app/api/models/alias/route.js +1 -1
- package/app/.next/server/app/api/models/availability/route.js +1 -1
- package/app/.next/server/app/api/models/custom/route.js +1 -1
- package/app/.next/server/app/api/models/route.js +1 -1
- package/app/.next/server/app/api/models/test/route.js +1 -1
- package/app/.next/server/app/api/models/test/route.js.nft.json +1 -1
- package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
- package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
- package/app/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
- package/app/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
- package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
- package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
- package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
- package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/app/.next/server/app/api/pricing/route.js +1 -1
- package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/app/.next/server/app/api/provider-nodes/route.js +1 -1
- package/app/.next/server/app/api/provider-nodes/validate/route.js +1 -1
- package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
- package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/[id]/route.js +1 -1
- package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
- package/app/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/app/.next/server/app/api/providers/client/route.js +1 -1
- package/app/.next/server/app/api/providers/client/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
- package/app/.next/server/app/api/providers/route.js +1 -1
- package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/suggested-models/route.js +1 -1
- package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
- package/app/.next/server/app/api/providers/validate/route.js +1 -1
- package/app/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
- package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
- package/app/.next/server/app/api/proxy-pools/route.js +1 -1
- package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
- package/app/.next/server/app/api/settings/database/route.js +1 -1
- package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
- package/app/.next/server/app/api/settings/require-login/route.js +1 -1
- package/app/.next/server/app/api/settings/route.js +1 -1
- package/app/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/shutdown/route.js +1 -1
- package/app/.next/server/app/api/tags/route.js +1 -1
- package/app/.next/server/app/api/translator/console-logs/route.js +1 -1
- package/app/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
- package/app/.next/server/app/api/translator/load/route.js +1 -1
- package/app/.next/server/app/api/translator/save/route.js +1 -1
- package/app/.next/server/app/api/translator/send/route.js +1 -1
- package/app/.next/server/app/api/translator/send/route.js.nft.json +1 -1
- package/app/.next/server/app/api/translator/translate/route.js +1 -1
- package/app/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
- package/app/.next/server/app/api/tunnel/disable/route.js +1 -1
- package/app/.next/server/app/api/tunnel/enable/route.js +1 -1
- package/app/.next/server/app/api/tunnel/status/route.js +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-check/route.js +2 -2
- package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-install/route.js +2 -2
- package/app/.next/server/app/api/tunnel/tailscale-login/route.js +3 -3
- package/app/.next/server/app/api/tunnel/tailscale-start-daemon/route.js +2 -2
- package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
- package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/api-keys/route.js +1 -0
- package/app/.next/server/app/api/usage/api-keys/route.js.nft.json +1 -0
- package/app/.next/server/app/api/usage/api-keys/route_client-reference-manifest.js +1 -0
- package/app/.next/server/app/api/usage/chart/route.js +1 -1
- package/app/.next/server/app/api/usage/chart/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/history/route.js +1 -1
- package/app/.next/server/app/api/usage/history/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/logs/route.js +1 -1
- package/app/.next/server/app/api/usage/logs/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/providers/route.js +1 -1
- package/app/.next/server/app/api/usage/providers/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/request-details/route.js +1 -1
- package/app/.next/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
- package/app/.next/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/stats/route.js +1 -1
- package/app/.next/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/stream/route.js +4 -4
- package/app/.next/server/app/api/usage/stream/route.js.nft.json +1 -1
- package/app/.next/server/app/api/users/[id]/route.js +1 -0
- package/app/.next/server/app/api/users/[id]/route.js.nft.json +1 -0
- package/app/.next/server/app/api/users/[id]/route_client-reference-manifest.js +1 -0
- package/app/.next/server/app/api/users/route.js +1 -0
- package/app/.next/server/app/api/users/route.js.nft.json +1 -0
- package/app/.next/server/app/api/users/route_client-reference-manifest.js +1 -0
- package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
- package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
- package/app/.next/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
- package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
- package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/images/generations/route.js +2 -2
- package/app/.next/server/app/api/v1/images/generations/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
- package/app/.next/server/app/api/v1/messages/route.js +1 -1
- package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/models/route.js +1 -1
- package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
- package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/responses/route.js +1 -1
- package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/route.js +1 -1
- package/app/.next/server/app/api/v1/search/route.js +1 -1
- package/app/.next/server/app/api/v1/search/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/web/fetch/route.js +1 -1
- package/app/.next/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1beta/models/route.js +1 -1
- package/app/.next/server/app/api/version/route.js +1 -1
- package/app/.next/server/app/api/version/update/route.js +1 -1
- package/app/.next/server/app/callback/page.js +2 -2
- package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/callback.html +1 -1
- package/app/.next/server/app/callback.rsc +4 -4
- package/app/.next/server/app/callback.segments/_full.segment.rsc +4 -4
- package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/callback.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/callback.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing/page.js +2 -2
- package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.rsc +4 -4
- package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/favicon.ico/route.js +1 -1
- package/app/.next/server/app/index.html +1 -1
- package/app/.next/server/app/index.rsc +4 -4
- package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/index.segments/_full.segment.rsc +4 -4
- package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/index.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/landing/page.js +2 -2
- package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/landing.html +1 -1
- package/app/.next/server/app/landing.rsc +4 -4
- package/app/.next/server/app/landing.segments/_full.segment.rsc +4 -4
- package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/landing.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/landing.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
- package/app/.next/server/app/login/page.js +2 -2
- package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/login.html +1 -1
- package/app/.next/server/app/login.rsc +5 -5
- package/app/.next/server/app/login.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/login.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
- package/app/.next/server/app/manifest.webmanifest/route.js +2 -2
- package/app/.next/server/app/page.js +2 -2
- package/app/.next/server/app/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app-paths-manifest.json +9 -2
- package/app/.next/server/chunks/1256.js +1 -0
- package/app/.next/server/chunks/{1202.js → 1263.js} +2 -2
- package/app/.next/server/chunks/2417.js +1 -1
- package/app/.next/server/chunks/3913.js +2 -2
- package/app/.next/server/chunks/4013.js +1 -0
- package/app/.next/server/chunks/412.js +2 -2
- package/app/.next/server/chunks/4122.js +1 -1
- package/app/.next/server/chunks/4664.js +1 -0
- package/app/.next/server/chunks/4989.js +2 -2
- package/app/.next/server/chunks/5573.js +1 -1
- package/app/.next/server/chunks/5599.js +12 -12
- package/app/.next/server/chunks/6184.js +1 -0
- package/app/.next/server/chunks/7595.js +1 -1
- package/app/.next/server/chunks/{318.js → 7937.js} +2 -2
- package/app/.next/server/chunks/8590.js +1 -1
- package/app/.next/server/chunks/8895.js +2 -2
- package/app/.next/server/chunks/9489.js +1 -1
- package/app/.next/server/chunks/{1220.js → 9641.js} +2 -2
- package/app/.next/server/chunks/9718.js +1 -1
- package/app/.next/server/middleware-build-manifest.js +1 -1
- package/app/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/app/.next/server/middleware.js +2 -2
- package/app/.next/server/pages/404.html +1 -1
- package/app/.next/server/pages/500.html +1 -1
- package/app/.next/server/server-reference-manifest.js +1 -1
- package/app/.next/server/server-reference-manifest.json +1 -1
- package/app/.next/static/chunks/{1321-4ac1e9664ca05f67.js → 1321-e040e8704e8038e6.js} +1 -1
- package/app/.next/static/chunks/5497-4da88480a15dec4c.js +7 -0
- package/app/.next/static/chunks/{5555-c4cf1b2b38d07337.js → 5555-91932fc7b159e521.js} +2 -2
- package/app/.next/static/chunks/698-64c9bb7a1ba1f521.js +23 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/admin/keys/page-e7d9455fb9021069.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/admin/users/page-c8e5a4b31bc18425.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-ece69a38800356c3.js → page-a4b2b832a4892e6d.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-4a745b1296f08667.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/{page-0d9325464cd6e849.js → page-842b00e6db9de7ae.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-fbdc1506f7259342.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/page-f8681cfb4c894f96.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-f0bbe6b3b1bfb85e.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-d6d08994d9d6d690.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-b2443c6d810b0207.js +2 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/page-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-48fc1f090d936818.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/user/page-e9ab0043e9b15204.js +4 -0
- package/app/.next/static/chunks/app/(dashboard)/{layout-91efa9c70d2328e0.js → layout-d368218e0e87c124.js} +1 -1
- package/app/.next/static/chunks/app/_global-error/page-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/auth/login/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/auth/logout/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/auth/me/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cloud/auth/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cloud/credentials/update/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cloud/model/resolve/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/cloud/models/alias/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/combos/[id]/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/combos/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/health/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/init/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/keys/[id]/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/keys/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/locale/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/models/alias/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/models/availability/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/models/custom/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/models/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/models/test/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/cursor/import/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/import/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/pricing/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/provider-nodes/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/provider-nodes/validate/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/models/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/test/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/providers/client/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/providers/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/providers/suggested-models/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/providers/test-batch/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/providers/validate/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/settings/database/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/settings/proxy-test/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/settings/require-login/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/settings/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/shutdown/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/tags/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/translator/console-logs/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/translator/load/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/translator/save/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/translator/send/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/translator/translate/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/disable/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/enable/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/status/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-login/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-start-daemon/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/usage/[connectionId]/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/usage/api-keys/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/usage/chart/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/usage/history/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/usage/logs/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/usage/providers/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/usage/request-details/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/usage/request-logs/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/usage/stats/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/usage/stream/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/users/[id]/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/users/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/api/chat/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/audio/speech/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/chat/completions/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/embeddings/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/images/generations/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/messages/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/models/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/responses/compact/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/responses/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/search/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1/web/fetch/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/v1beta/models/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/version/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/api/version/update/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/login/page-f8fd97681568bf8f.js +1 -0
- package/app/.next/static/chunks/app/manifest.webmanifest/route-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/app/page-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-24023a32c248257e.js +1 -0
- package/app/.next/static/chunks/webpack-d1740476c6ab968a.js +1 -0
- package/app/.next/static/css/733bbed45c0f373c.css +1 -0
- package/app/.next/static/kSw7ik2y0Lphlofn8QbuF/_buildManifest.js +1 -0
- package/app/package.json +1 -1
- package/app/public/i18n/literals/ar.json +4 -4
- package/app/public/i18n/literals/bn.json +4 -4
- package/app/public/i18n/literals/cs.json +4 -4
- package/app/public/i18n/literals/da.json +4 -4
- package/app/public/i18n/literals/de.json +4 -4
- package/app/public/i18n/literals/el.json +4 -4
- package/app/public/i18n/literals/es.json +4 -4
- package/app/public/i18n/literals/fi.json +4 -4
- package/app/public/i18n/literals/fr.json +4 -4
- package/app/public/i18n/literals/he.json +4 -4
- package/app/public/i18n/literals/hi.json +4 -4
- package/app/public/i18n/literals/hu.json +4 -4
- package/app/public/i18n/literals/id.json +4 -4
- package/app/public/i18n/literals/it.json +4 -4
- package/app/public/i18n/literals/ja.json +4 -4
- package/app/public/i18n/literals/ko.json +4 -4
- package/app/public/i18n/literals/nl.json +4 -4
- package/app/public/i18n/literals/no.json +4 -4
- package/app/public/i18n/literals/pl.json +4 -4
- package/app/public/i18n/literals/pt-BR.json +4 -4
- package/app/public/i18n/literals/pt-PT.json +4 -4
- package/app/public/i18n/literals/ro.json +4 -4
- package/app/public/i18n/literals/ru.json +4 -4
- package/app/public/i18n/literals/sv.json +4 -4
- package/app/public/i18n/literals/th.json +4 -4
- package/app/public/i18n/literals/tl.json +4 -4
- package/app/public/i18n/literals/tr.json +4 -4
- package/app/public/i18n/literals/uk.json +4 -4
- package/app/public/i18n/literals/ur.json +4 -4
- package/app/public/i18n/literals/vi.json +4 -4
- package/app/public/i18n/literals/zh-CN.json +7 -7
- package/app/public/i18n/literals/zh-TW.json +4 -4
- package/app/src/shared/constants/mitmToolHosts.js +12 -0
- package/package.json +1 -1
- package/app/.next/server/app/dashboard/basic-chat.html +0 -1
- package/app/.next/server/app/dashboard/basic-chat.meta +0 -17
- package/app/.next/server/app/dashboard/basic-chat.rsc +0 -24
- package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +0 -24
- package/app/.next/server/app/dashboard/basic-chat.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/basic-chat.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/cli-tools.html +0 -1
- package/app/.next/server/app/dashboard/cli-tools.meta +0 -17
- package/app/.next/server/app/dashboard/cli-tools.rsc +0 -25
- package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +0 -25
- package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/combos.html +0 -1
- package/app/.next/server/app/dashboard/combos.meta +0 -17
- package/app/.next/server/app/dashboard/combos.rsc +0 -27
- package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +0 -27
- package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/endpoint.html +0 -1
- package/app/.next/server/app/dashboard/endpoint.meta +0 -17
- package/app/.next/server/app/dashboard/endpoint.rsc +0 -25
- package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +0 -25
- package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/media-providers/web.html +0 -1
- package/app/.next/server/app/dashboard/media-providers/web.meta +0 -18
- package/app/.next/server/app/dashboard/media-providers/web.rsc +0 -27
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +0 -27
- package/app/.next/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/mitm.html +0 -1
- package/app/.next/server/app/dashboard/mitm.meta +0 -17
- package/app/.next/server/app/dashboard/mitm.rsc +0 -24
- package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +0 -24
- package/app/.next/server/app/dashboard/mitm.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/mitm.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/profile.html +0 -1
- package/app/.next/server/app/dashboard/profile.meta +0 -17
- package/app/.next/server/app/dashboard/profile.rsc +0 -27
- package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +0 -27
- package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/providers/new.html +0 -1
- package/app/.next/server/app/dashboard/providers/new.meta +0 -18
- package/app/.next/server/app/dashboard/providers/new.rsc +0 -27
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +0 -27
- package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/providers.html +0 -1
- package/app/.next/server/app/dashboard/providers.meta +0 -17
- package/app/.next/server/app/dashboard/providers.rsc +0 -27
- package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +0 -27
- package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/proxy-pools.html +0 -1
- package/app/.next/server/app/dashboard/proxy-pools.meta +0 -17
- package/app/.next/server/app/dashboard/proxy-pools.rsc +0 -27
- package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +0 -27
- package/app/.next/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/quota.html +0 -2
- package/app/.next/server/app/dashboard/quota.meta +0 -17
- package/app/.next/server/app/dashboard/quota.rsc +0 -25
- package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +0 -7
- package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +0 -25
- package/app/.next/server/app/dashboard/quota.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/quota.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/translator.html +0 -1
- package/app/.next/server/app/dashboard/translator.meta +0 -17
- package/app/.next/server/app/dashboard/translator.rsc +0 -27
- package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +0 -27
- package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/usage.html +0 -1
- package/app/.next/server/app/dashboard/usage.meta +0 -17
- package/app/.next/server/app/dashboard/usage.rsc +0 -27
- package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +0 -27
- package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/app/dashboard.html +0 -1
- package/app/.next/server/app/dashboard.meta +0 -16
- package/app/.next/server/app/dashboard.rsc +0 -25
- package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +0 -6
- package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
- package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
- package/app/.next/server/app/dashboard.segments/_full.segment.rsc +0 -25
- package/app/.next/server/app/dashboard.segments/_head.segment.rsc +0 -6
- package/app/.next/server/app/dashboard.segments/_index.segment.rsc +0 -9
- package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +0 -6
- package/app/.next/server/chunks/2020.js +0 -1
- package/app/.next/server/chunks/6114.js +0 -1
- package/app/.next/server/chunks/7924.js +0 -1
- package/app/.next/server/chunks/8491.js +0 -1
- package/app/.next/static/ahyS0wV6v2JdXWYSEruR6/_buildManifest.js +0 -1
- package/app/.next/static/chunks/5497-9056ce5497a8e830.js +0 -7
- package/app/.next/static/chunks/698-438ce154948ce831.js +0 -23
- package/app/.next/static/chunks/8202.1ffc6ce531e066ce.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-2f4bb06a89cb1e96.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-d690c6133fec8d11.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/page-ed08f60a5fb7f3eb.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-478d456890cb93f8.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-9fb9fc4557dbea57.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-4d43dabc1455a54b.js +0 -2
- package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/page-4fc78ec3c912ea4c.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-6204a1c1bfe6aee1.js +0 -1
- package/app/.next/static/chunks/app/_global-error/page-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/auth/login/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/auth/logout/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cloud/auth/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cloud/credentials/update/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cloud/model/resolve/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/cloud/models/alias/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/combos/[id]/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/combos/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/health/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/init/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/keys/[id]/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/keys/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/locale/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/models/alias/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/models/availability/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/models/custom/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/models/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/models/test/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/cursor/import/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/import/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/pricing/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/validate/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/models/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/test/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/providers/client/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/providers/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/providers/suggested-models/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/providers/test-batch/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/providers/validate/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/settings/database/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/settings/proxy-test/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/settings/require-login/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/settings/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/shutdown/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/tags/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/translator/console-logs/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/translator/load/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/translator/save/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/translator/send/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/translator/translate/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/disable/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/enable/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/status/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-login/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-start-daemon/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/usage/[connectionId]/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/usage/chart/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/usage/history/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/usage/logs/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/usage/providers/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/usage/request-details/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/usage/request-logs/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/usage/stats/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/usage/stream/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/api/chat/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/speech/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/chat/completions/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/embeddings/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/images/generations/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/messages/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/responses/compact/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/responses/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/search/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1/web/fetch/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/v1beta/models/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/version/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/api/version/update/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/login/page-4cbcd0b23f8d9304.js +0 -1
- package/app/.next/static/chunks/app/manifest.webmanifest/route-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/app/page-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-a95908d3fe52339a.js +0 -1
- package/app/.next/static/chunks/webpack-7fe9f68a976b08ff.js +0 -1
- package/app/.next/static/css/1ef6107a5d5fd71c.css +0 -1
- /package/app/.next/static/{ahyS0wV6v2JdXWYSEruR6 → kSw7ik2y0Lphlofn8QbuF}/_ssgManifest.js +0 -0
package/README.md
CHANGED
|
@@ -1,1268 +1,394 @@
|
|
|
1
|
-
|
|
2
|
-
<img src="./images/9router.png?1" alt="openrouterx Dashboard" width="800"/>
|
|
3
|
-
|
|
4
|
-
# 9Router - FREE AI Router & Token Saver
|
|
5
|
-
|
|
6
|
-
**Never stop coding. Save 20-40% tokens with RTK + auto-fallback to FREE & cheap AI models.**
|
|
7
|
-
|
|
8
|
-
**Connect All AI Code Tools (Claude Code, Cursor, Antigravity, Copilot, Codex, Gemini, OpenCode, Cline, OpenClaw...) to 40+ AI Providers & 100+ Models.**
|
|
9
|
-
|
|
10
|
-
[](https://www.npmjs.com/package/9router)
|
|
11
|
-
[](https://www.npmjs.com/package/9router)
|
|
12
|
-
[](https://github.com/decolua/9router/blob/main/LICENSE)
|
|
1
|
+
# openrouterX
|
|
13
2
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
[🚀 Quick Start](#-quick-start) • [💡 Features](#-key-features) • [📖 Setup](#-setup-guide) • [🌐 Website](https://9router.com)
|
|
3
|
+
面向 AI 编码工具的本地统一路由服务。
|
|
17
4
|
|
|
18
|
-
|
|
19
|
-
</div>
|
|
5
|
+
`openrouterX` 可以把 Claude Code、Codex、Cursor、OpenCode、OpenClaw、Cline、Continue、Roo 等客户端统一接到一个本地 OpenAI-compatible 接口,并提供 Dashboard、模型路由、API Key 管理、Usage 分析、组合模型与自动 fallback。
|
|
20
6
|
|
|
21
|
-
|
|
7
|
+
## 为什么用 openrouterX
|
|
22
8
|
|
|
23
|
-
|
|
9
|
+
- 统一本地接口:`http://localhost:20128/v1`
|
|
10
|
+
- 统一管理后台:`http://localhost:20128/dashboard`
|
|
11
|
+
- 同时接入订阅型供应商、API Key 供应商、免费供应商
|
|
12
|
+
- 支持组合模型与自动 fallback
|
|
13
|
+
- 内置 `RTK`,适合 `git diff`、`grep`、日志等重工具调用场景
|
|
14
|
+
- 支持管理员创建子用户,并精细限制子用户可用供应商与 API Key
|
|
24
15
|
|
|
25
|
-
|
|
16
|
+
## 安装
|
|
26
17
|
|
|
27
|
-
|
|
28
|
-
- ❌ Rate limits stop you mid-coding
|
|
29
|
-
- ❌ Tool outputs (git diff, grep, ls...) burn tokens fast
|
|
30
|
-
- ❌ Expensive APIs ($20-50/month per provider)
|
|
31
|
-
- ❌ Manual switching between providers
|
|
32
|
-
|
|
33
|
-
**openrouterx solves this:**
|
|
34
|
-
|
|
35
|
-
- ✅ **RTK Token Saver** - Auto-compress tool_result content, save 20-40% tokens per request
|
|
36
|
-
- ✅ **Maximize subscriptions** - Track quota, use every bit before reset
|
|
37
|
-
- ✅ **Auto fallback** - Subscription → Cheap → Free, zero downtime
|
|
38
|
-
- ✅ **Multi-account** - Round-robin between accounts per provider
|
|
39
|
-
- ✅ **Universal** - Works with Claude Code, Codex, Cursor, Cline, any CLI tool
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
|
|
43
|
-
## 🔄 How It Works
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
┌─────────────┐
|
|
47
|
-
│ Your CLI │ (Claude Code, Codex, OpenClaw, Cursor, Cline...)
|
|
48
|
-
│ Tool │
|
|
49
|
-
└──────┬──────┘
|
|
50
|
-
│ http://localhost:20128/v1
|
|
51
|
-
↓
|
|
52
|
-
┌─────────────────────────────────────────────┐
|
|
53
|
-
│ 9Router (Smart Router) │
|
|
54
|
-
│ • RTK Token Saver (cut tool_result tokens) │
|
|
55
|
-
│ • Format translation (OpenAI ↔ Claude) │
|
|
56
|
-
│ • Quota tracking │
|
|
57
|
-
│ • Auto token refresh │
|
|
58
|
-
└──────┬──────────────────────────────────────┘
|
|
59
|
-
│
|
|
60
|
-
├─→ [Tier 1: SUBSCRIPTION] Claude Code, Codex, GitHub Copilot
|
|
61
|
-
│ ↓ quota exhausted
|
|
62
|
-
├─→ [Tier 2: CHEAP] GLM ($0.6/1M), MiniMax ($0.2/1M)
|
|
63
|
-
│ ↓ budget limit
|
|
64
|
-
└─→ [Tier 3: FREE] Kiro, OpenCode Free, Vertex ($300 credits)
|
|
65
|
-
|
|
66
|
-
Result: Never stop coding, minimal cost + 20-40% token savings via RTK
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
## ⚡ Quick Start
|
|
72
|
-
|
|
73
|
-
**1. Install globally:**
|
|
18
|
+
从 npm 全局安装:
|
|
74
19
|
|
|
75
20
|
```bash
|
|
76
|
-
npm install -g
|
|
77
|
-
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
🎉 Dashboard opens at `http://localhost:20128`
|
|
81
|
-
|
|
82
|
-
**2. Connect a FREE provider (no signup needed):**
|
|
83
|
-
|
|
84
|
-
Dashboard → Providers → Connect **Kiro AI** (free Claude unlimited) or **OpenCode Free** (no auth) → Done!
|
|
85
|
-
|
|
86
|
-
**3. Use in your CLI tool:**
|
|
87
|
-
|
|
88
|
-
```
|
|
89
|
-
Claude Code/Codex/OpenClaw/Cursor/Cline Settings:
|
|
90
|
-
Endpoint: http://localhost:20128/v1
|
|
91
|
-
API Key: [copy from dashboard]
|
|
92
|
-
Model: kr/claude-sonnet-4.5
|
|
21
|
+
npm install -g @yina-npm/openrouterx
|
|
22
|
+
openrouterX
|
|
93
23
|
```
|
|
94
24
|
|
|
95
|
-
|
|
25
|
+
启动后默认地址:
|
|
96
26
|
|
|
97
|
-
|
|
27
|
+
- Dashboard:`http://localhost:20128/dashboard`
|
|
28
|
+
- OpenAI-compatible API:`http://localhost:20128/v1`
|
|
98
29
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
```bash
|
|
102
|
-
cp .env.example .env
|
|
103
|
-
npm install
|
|
104
|
-
PORT=20128 NEXT_PUBLIC_BASE_URL=http://localhost:20128 npm run dev
|
|
105
|
-
```
|
|
30
|
+
## 快速开始
|
|
106
31
|
|
|
107
|
-
|
|
32
|
+
### 1. 启动本地服务
|
|
108
33
|
|
|
109
34
|
```bash
|
|
110
|
-
|
|
111
|
-
PORT=20128 HOSTNAME=0.0.0.0 NEXT_PUBLIC_BASE_URL=http://localhost:20128 npm run start
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
Default URLs:
|
|
115
|
-
- Dashboard: `http://localhost:20128/dashboard`
|
|
116
|
-
- OpenAI-compatible API: `http://localhost:20128/v1`
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## 🎥 Video Tutorial
|
|
121
|
-
|
|
122
|
-
<div align="center">
|
|
123
|
-
|
|
124
|
-
### 📺 Complete Setup Guide - 9Router + Claude Code FREE
|
|
125
|
-
|
|
126
|
-
[](https://www.youtube.com/watch?v=raEyZPg5xE0)
|
|
127
|
-
|
|
128
|
-
**🎬 Watch the complete step-by-step tutorial:**
|
|
129
|
-
- ✅ 9Router installation & setup
|
|
130
|
-
- ✅ FREE Claude Sonnet 4.5 configuration
|
|
131
|
-
- ✅ Claude Code integration
|
|
132
|
-
- ✅ Live coding demonstration
|
|
133
|
-
|
|
134
|
-
**⏱️ Duration:** 20 minutes | **👥 By:** Developer Community
|
|
135
|
-
|
|
136
|
-
[▶️ Watch on YouTube](https://www.youtube.com/watch?v=o3qYCyjrFYg)
|
|
137
|
-
|
|
138
|
-
</div>
|
|
139
|
-
|
|
140
|
-
---
|
|
141
|
-
|
|
142
|
-
## 🛠️ Supported CLI Tools
|
|
143
|
-
|
|
144
|
-
9Router works seamlessly with all major AI coding tools:
|
|
145
|
-
|
|
146
|
-
<div align="center">
|
|
147
|
-
<table>
|
|
148
|
-
<tr>
|
|
149
|
-
<td align="center" width="120">
|
|
150
|
-
<img src="./public/providers/claude.png" width="60" alt="Claude Code"/><br/>
|
|
151
|
-
<b>Claude-Code</b>
|
|
152
|
-
</td>
|
|
153
|
-
<td align="center" width="120">
|
|
154
|
-
<img src="./public/providers/openclaw.png" width="60" alt="OpenClaw"/><br/>
|
|
155
|
-
<b>OpenClaw</b>
|
|
156
|
-
</td>
|
|
157
|
-
<td align="center" width="120">
|
|
158
|
-
<img src="./public/providers/codex.png" width="60" alt="Codex"/><br/>
|
|
159
|
-
<b>Codex</b>
|
|
160
|
-
</td>
|
|
161
|
-
<td align="center" width="120">
|
|
162
|
-
<img src="./public/providers/opencode.png" width="60" alt="OpenCode"/><br/>
|
|
163
|
-
<b>OpenCode</b>
|
|
164
|
-
</td>
|
|
165
|
-
<td align="center" width="120">
|
|
166
|
-
<img src="./public/providers/cursor.png" width="60" alt="Cursor"/><br/>
|
|
167
|
-
<b>Cursor</b>
|
|
168
|
-
</td>
|
|
169
|
-
<td align="center" width="120">
|
|
170
|
-
<img src="./public/providers/antigravity.png" width="60" alt="Antigravity"/><br/>
|
|
171
|
-
<b>Antigravity</b>
|
|
172
|
-
</td>
|
|
173
|
-
</tr>
|
|
174
|
-
<tr>
|
|
175
|
-
<td align="center" width="120">
|
|
176
|
-
<img src="./public/providers/cline.png" width="60" alt="Cline"/><br/>
|
|
177
|
-
<b>Cline</b>
|
|
178
|
-
</td>
|
|
179
|
-
<td align="center" width="120">
|
|
180
|
-
<img src="./public/providers/continue.png" width="60" alt="Continue"/><br/>
|
|
181
|
-
<b>Continue</b>
|
|
182
|
-
</td>
|
|
183
|
-
<td align="center" width="120">
|
|
184
|
-
<img src="./public/providers/droid.png" width="60" alt="Droid"/><br/>
|
|
185
|
-
<b>Droid</b>
|
|
186
|
-
</td>
|
|
187
|
-
<td align="center" width="120">
|
|
188
|
-
<img src="./public/providers/roo.png" width="60" alt="Roo"/><br/>
|
|
189
|
-
<b>Roo</b>
|
|
190
|
-
</td>
|
|
191
|
-
<td align="center" width="120">
|
|
192
|
-
<img src="./public/providers/copilot.png" width="60" alt="Copilot"/><br/>
|
|
193
|
-
<b>Copilot</b>
|
|
194
|
-
</td>
|
|
195
|
-
<td align="center" width="120">
|
|
196
|
-
<img src="./public/providers/kilocode.png" width="60" alt="Kilo Code"/><br/>
|
|
197
|
-
<b>Kilo Code</b>
|
|
198
|
-
</td>
|
|
199
|
-
</tr>
|
|
200
|
-
</table>
|
|
201
|
-
</div>
|
|
202
|
-
|
|
203
|
-
---
|
|
204
|
-
|
|
205
|
-
## 🌐 Supported Providers
|
|
206
|
-
|
|
207
|
-
### 🔐 OAuth Providers
|
|
208
|
-
|
|
209
|
-
<div align="center">
|
|
210
|
-
<table>
|
|
211
|
-
<tr>
|
|
212
|
-
<td align="center" width="120">
|
|
213
|
-
<img src="./public/providers/claude.png" width="60" alt="Claude Code"/><br/>
|
|
214
|
-
<b>Claude-Code</b>
|
|
215
|
-
</td>
|
|
216
|
-
<td align="center" width="120">
|
|
217
|
-
<img src="./public/providers/antigravity.png" width="60" alt="Antigravity"/><br/>
|
|
218
|
-
<b>Antigravity</b>
|
|
219
|
-
</td>
|
|
220
|
-
<td align="center" width="120">
|
|
221
|
-
<img src="./public/providers/codex.png" width="60" alt="Codex"/><br/>
|
|
222
|
-
<b>Codex</b>
|
|
223
|
-
</td>
|
|
224
|
-
<td align="center" width="120">
|
|
225
|
-
<img src="./public/providers/github.png" width="60" alt="GitHub"/><br/>
|
|
226
|
-
<b>GitHub</b>
|
|
227
|
-
</td>
|
|
228
|
-
<td align="center" width="120">
|
|
229
|
-
<img src="./public/providers/cursor.png" width="60" alt="Cursor"/><br/>
|
|
230
|
-
<b>Cursor</b>
|
|
231
|
-
</td>
|
|
232
|
-
</tr>
|
|
233
|
-
</table>
|
|
234
|
-
</div>
|
|
235
|
-
|
|
236
|
-
### 🆓 Free Providers
|
|
237
|
-
|
|
238
|
-
<div align="center">
|
|
239
|
-
<table>
|
|
240
|
-
<tr>
|
|
241
|
-
<td align="center" width="150">
|
|
242
|
-
<img src="./public/providers/kiro.png" width="70" alt="Kiro"/><br/>
|
|
243
|
-
<b>Kiro AI</b><br/>
|
|
244
|
-
<sub>Claude 4.5 + GLM-5 + MiniMax<br/>Unlimited FREE</sub>
|
|
245
|
-
</td>
|
|
246
|
-
<td align="center" width="150">
|
|
247
|
-
<img src="./public/providers/opencode.png" width="70" alt="OpenCode Free"/><br/>
|
|
248
|
-
<b>OpenCode Free</b><br/>
|
|
249
|
-
<sub>No auth • Auto-fetch models<br/>Unlimited FREE</sub>
|
|
250
|
-
</td>
|
|
251
|
-
<td align="center" width="150">
|
|
252
|
-
<img src="./public/providers/gemini.png" width="70" alt="Vertex AI"/><br/>
|
|
253
|
-
<b>Vertex AI</b><br/>
|
|
254
|
-
<sub>Gemini 3 Pro + GLM-5 + DeepSeek<br/>$300 credits free</sub>
|
|
255
|
-
</td>
|
|
256
|
-
</tr>
|
|
257
|
-
</table>
|
|
258
|
-
</div>
|
|
259
|
-
|
|
260
|
-
> **Note:** iFlow, Qwen and Gemini CLI free tiers were discontinued in 2026. Use Kiro / OpenCode Free / Vertex instead.
|
|
261
|
-
|
|
262
|
-
### 🔑 API Key Providers (40+)
|
|
263
|
-
|
|
264
|
-
<div align="center">
|
|
265
|
-
<table>
|
|
266
|
-
<tr>
|
|
267
|
-
<td align="center" width="100">
|
|
268
|
-
<img src="./public/providers/openrouter.png" width="50" alt="OpenRouter"/><br/>
|
|
269
|
-
<sub>OpenRouter</sub>
|
|
270
|
-
</td>
|
|
271
|
-
<td align="center" width="100">
|
|
272
|
-
<img src="./public/providers/glm.png" width="50" alt="GLM"/><br/>
|
|
273
|
-
<sub>GLM</sub>
|
|
274
|
-
</td>
|
|
275
|
-
<td align="center" width="100">
|
|
276
|
-
<img src="./public/providers/kimi.png" width="50" alt="Kimi"/><br/>
|
|
277
|
-
<sub>Kimi</sub>
|
|
278
|
-
</td>
|
|
279
|
-
<td align="center" width="100">
|
|
280
|
-
<img src="./public/providers/minimax.png" width="50" alt="MiniMax"/><br/>
|
|
281
|
-
<sub>MiniMax</sub>
|
|
282
|
-
</td>
|
|
283
|
-
<td align="center" width="100">
|
|
284
|
-
<img src="./public/providers/openai.png" width="50" alt="OpenAI"/><br/>
|
|
285
|
-
<sub>OpenAI</sub>
|
|
286
|
-
</td>
|
|
287
|
-
<td align="center" width="100">
|
|
288
|
-
<img src="./public/providers/anthropic.png" width="50" alt="Anthropic"/><br/>
|
|
289
|
-
<sub>Anthropic</sub>
|
|
290
|
-
</td>
|
|
291
|
-
</tr>
|
|
292
|
-
<tr>
|
|
293
|
-
<td align="center" width="100">
|
|
294
|
-
<img src="./public/providers/gemini.png" width="50" alt="Gemini"/><br/>
|
|
295
|
-
<sub>Gemini</sub>
|
|
296
|
-
</td>
|
|
297
|
-
<td align="center" width="100">
|
|
298
|
-
<img src="./public/providers/deepseek.png" width="50" alt="DeepSeek"/><br/>
|
|
299
|
-
<sub>DeepSeek</sub>
|
|
300
|
-
</td>
|
|
301
|
-
<td align="center" width="100">
|
|
302
|
-
<img src="./public/providers/groq.png" width="50" alt="Groq"/><br/>
|
|
303
|
-
<sub>Groq</sub>
|
|
304
|
-
</td>
|
|
305
|
-
<td align="center" width="100">
|
|
306
|
-
<img src="./public/providers/xai.png" width="50" alt="xAI"/><br/>
|
|
307
|
-
<sub>xAI</sub>
|
|
308
|
-
</td>
|
|
309
|
-
<td align="center" width="100">
|
|
310
|
-
<img src="./public/providers/mistral.png" width="50" alt="Mistral"/><br/>
|
|
311
|
-
<sub>Mistral</sub>
|
|
312
|
-
</td>
|
|
313
|
-
<td align="center" width="100">
|
|
314
|
-
<img src="./public/providers/perplexity.png" width="50" alt="Perplexity"/><br/>
|
|
315
|
-
<sub>Perplexity</sub>
|
|
316
|
-
</td>
|
|
317
|
-
</tr>
|
|
318
|
-
<tr>
|
|
319
|
-
<td align="center" width="100">
|
|
320
|
-
<img src="./public/providers/together.png" width="50" alt="Together"/><br/>
|
|
321
|
-
<sub>Together AI</sub>
|
|
322
|
-
</td>
|
|
323
|
-
<td align="center" width="100">
|
|
324
|
-
<img src="./public/providers/fireworks.png" width="50" alt="Fireworks"/><br/>
|
|
325
|
-
<sub>Fireworks</sub>
|
|
326
|
-
</td>
|
|
327
|
-
<td align="center" width="100">
|
|
328
|
-
<img src="./public/providers/cerebras.png" width="50" alt="Cerebras"/><br/>
|
|
329
|
-
<sub>Cerebras</sub>
|
|
330
|
-
</td>
|
|
331
|
-
<td align="center" width="100">
|
|
332
|
-
<img src="./public/providers/cohere.png" width="50" alt="Cohere"/><br/>
|
|
333
|
-
<sub>Cohere</sub>
|
|
334
|
-
</td>
|
|
335
|
-
<td align="center" width="100">
|
|
336
|
-
<img src="./public/providers/nvidia.png" width="50" alt="NVIDIA"/><br/>
|
|
337
|
-
<sub>NVIDIA</sub>
|
|
338
|
-
</td>
|
|
339
|
-
<td align="center" width="100">
|
|
340
|
-
<img src="./public/providers/siliconflow.png" width="50" alt="SiliconFlow"/><br/>
|
|
341
|
-
<sub>SiliconFlow</sub>
|
|
342
|
-
</td>
|
|
343
|
-
</tr>
|
|
344
|
-
</table>
|
|
345
|
-
<p><i>...and 20+ more providers including Nebius, Chutes, Hyperbolic, and custom OpenAI/Anthropic compatible endpoints</i></p>
|
|
346
|
-
</div>
|
|
347
|
-
|
|
348
|
-
---
|
|
349
|
-
|
|
350
|
-
## 💡 Key Features
|
|
351
|
-
|
|
352
|
-
| Feature | What It Does | Why It Matters |
|
|
353
|
-
|---------|--------------|----------------|
|
|
354
|
-
| 🚀 **RTK Token Saver** | Auto-compress tool_result content (git-diff, grep, find, ls, tree...) before sending to LLM | Save 20-40% tokens per request, keep more context window |
|
|
355
|
-
| 🎯 **Smart 3-Tier Fallback** | Auto-route: Subscription → Cheap → Free | Never stop coding, zero downtime |
|
|
356
|
-
| 📊 **Real-Time Quota Tracking** | Live token count + reset countdown | Maximize subscription value |
|
|
357
|
-
| 🔄 **Format Translation** | OpenAI ↔ Claude ↔ Gemini ↔ Cursor ↔ Kiro ↔ Vertex | Works with any CLI tool |
|
|
358
|
-
| 👥 **Multi-Account Support** | Multiple accounts per provider | Load balancing + redundancy |
|
|
359
|
-
| 🔄 **Auto Token Refresh** | OAuth tokens refresh automatically | No manual re-login needed |
|
|
360
|
-
| 🎨 **Custom Combos** | Create unlimited model combinations | Tailor fallback to your needs |
|
|
361
|
-
| 📝 **Request Logging** | Debug mode with full request/response logs | Troubleshoot issues easily |
|
|
362
|
-
| 💾 **Cloud Sync** | Sync config across devices | Same setup everywhere |
|
|
363
|
-
| 📊 **Usage Analytics** | Track tokens, cost, trends over time | Optimize spending |
|
|
364
|
-
| 🌐 **Deploy Anywhere** | Localhost, VPS, Docker, Cloudflare Workers | Flexible deployment options |
|
|
365
|
-
|
|
366
|
-
<details>
|
|
367
|
-
<summary><b>📖 Feature Details</b></summary>
|
|
368
|
-
|
|
369
|
-
### 🚀 RTK Token Saver
|
|
370
|
-
|
|
371
|
-
Tool outputs (`git diff`, `grep`, `find`, `ls`, `tree`, log dumps...) often eat 30-50% of your prompt budget. RTK detects them and applies smart, lossless compression **before** the request hits the LLM:
|
|
372
|
-
|
|
373
|
-
- **Filters:** `git-diff`, `git-status`, `grep`, `find`, `ls`, `tree`, `dedup-log`, `smart-truncate`, `read-numbered`, `search-list`
|
|
374
|
-
- **Auto-detect:** No config needed — RTK peeks the first 1KB of each `tool_result` and picks the right filter.
|
|
375
|
-
- **Safe by design:** If a filter fails, throws, or makes output bigger, RTK silently keeps the original text. Errors never break your request.
|
|
376
|
-
- **Universal:** Works across all formats (OpenAI, Claude, Gemini, Cursor, Kiro, OpenAI Responses) because it runs **before** any format translation.
|
|
377
|
-
- **Default ON:** Toggle anytime in Dashboard → Endpoint settings.
|
|
378
|
-
|
|
379
|
-
```
|
|
380
|
-
Without RTK: 47K tokens sent to LLM
|
|
381
|
-
With RTK: 28K tokens sent to LLM (40% saved · same context · same answer)
|
|
382
|
-
```
|
|
383
|
-
|
|
384
|
-
### 🎯 Smart 3-Tier Fallback
|
|
385
|
-
|
|
386
|
-
Create combos with automatic fallback:
|
|
387
|
-
|
|
35
|
+
openrouterX
|
|
388
36
|
```
|
|
389
|
-
Combo: "my-coding-stack"
|
|
390
|
-
1. cc/claude-opus-4-6 (your subscription)
|
|
391
|
-
2. glm/glm-4.7 (cheap backup, $0.6/1M)
|
|
392
|
-
3. if/kimi-k2-thinking (free fallback)
|
|
393
|
-
|
|
394
|
-
→ Auto switches when quota runs out or errors occur
|
|
395
|
-
```
|
|
396
|
-
|
|
397
|
-
### 📊 Real-Time Quota Tracking
|
|
398
|
-
|
|
399
|
-
- Token consumption per provider
|
|
400
|
-
- Reset countdown (5-hour, daily, weekly)
|
|
401
|
-
- Cost estimation for paid tiers
|
|
402
|
-
- Monthly spending reports
|
|
403
|
-
|
|
404
|
-
### 🔄 Format Translation
|
|
405
|
-
|
|
406
|
-
Seamless translation between formats:
|
|
407
|
-
- **OpenAI** ↔ **Claude** ↔ **Gemini** ↔ **Cursor** ↔ **Kiro** ↔ **Vertex** ↔ **Antigravity** ↔ **Ollama** ↔ **OpenAI Responses**
|
|
408
|
-
- Your CLI tool sends OpenAI format → 9Router translates → Provider receives native format
|
|
409
|
-
- Works with any tool that supports custom OpenAI endpoints
|
|
410
|
-
|
|
411
|
-
### 👥 Multi-Account Support
|
|
412
|
-
|
|
413
|
-
- Add multiple accounts per provider
|
|
414
|
-
- Auto round-robin or priority-based routing
|
|
415
|
-
- Fallback to next account when one hits quota
|
|
416
|
-
|
|
417
|
-
### 🔄 Auto Token Refresh
|
|
418
|
-
|
|
419
|
-
- OAuth tokens automatically refresh before expiration
|
|
420
|
-
- No manual re-authentication needed
|
|
421
|
-
- Seamless experience across all providers
|
|
422
|
-
|
|
423
|
-
### 🎨 Custom Combos
|
|
424
37
|
|
|
425
|
-
|
|
426
|
-
- Mix subscription, cheap, and free tiers
|
|
427
|
-
- Name your combos for easy access
|
|
428
|
-
- Share combos across devices with Cloud Sync
|
|
38
|
+
登录页默认在:
|
|
429
39
|
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
- Enable debug mode for full request/response logs
|
|
433
|
-
- Track API calls, headers, and payloads
|
|
434
|
-
- Troubleshoot integration issues
|
|
435
|
-
- Export logs for analysis
|
|
436
|
-
|
|
437
|
-
### 💾 Cloud Sync
|
|
438
|
-
|
|
439
|
-
- Sync providers, combos, and settings across devices
|
|
440
|
-
- Automatic background sync
|
|
441
|
-
- Secure encrypted storage
|
|
442
|
-
- Access your setup from anywhere
|
|
443
|
-
|
|
444
|
-
#### Cloud Runtime Notes
|
|
445
|
-
|
|
446
|
-
- Prefer server-side cloud variables in production:
|
|
447
|
-
- `BASE_URL` (internal callback URL used by sync scheduler)
|
|
448
|
-
- `CLOUD_URL` (cloud sync endpoint base)
|
|
449
|
-
- `NEXT_PUBLIC_BASE_URL` and `NEXT_PUBLIC_CLOUD_URL` are still supported for compatibility/UI, but server runtime now prioritizes `BASE_URL`/`CLOUD_URL`.
|
|
450
|
-
- Cloud sync requests now use timeout + fail-fast behavior to avoid UI hanging when cloud DNS/network is unavailable.
|
|
451
|
-
|
|
452
|
-
### 📊 Usage Analytics
|
|
453
|
-
|
|
454
|
-
- Track token usage per provider and model
|
|
455
|
-
- Cost estimation and spending trends
|
|
456
|
-
- Monthly reports and insights
|
|
457
|
-
- Optimize your AI spending
|
|
458
|
-
|
|
459
|
-
> **💡 IMPORTANT - Understanding Dashboard Costs:**
|
|
460
|
-
>
|
|
461
|
-
> The "cost" displayed in Usage Analytics is **for tracking and comparison purposes only**.
|
|
462
|
-
> 9Router itself **never charges** you anything. You only pay providers directly (if using paid services).
|
|
463
|
-
>
|
|
464
|
-
> **Example:** If your dashboard shows "$290 total cost" while using iFlow models, this represents
|
|
465
|
-
> what you would have paid using paid APIs directly. Your actual cost = **$0** (iFlow is free unlimited).
|
|
466
|
-
>
|
|
467
|
-
> Think of it as a "savings tracker" showing how much you're saving by using free models or
|
|
468
|
-
> routing through 9Router!
|
|
469
|
-
|
|
470
|
-
### 🌐 Deploy Anywhere
|
|
471
|
-
|
|
472
|
-
- 💻 **Localhost** - Default, works offline
|
|
473
|
-
- ☁️ **VPS/Cloud** - Share across devices
|
|
474
|
-
- 🐳 **Docker** - One-command deployment
|
|
475
|
-
- 🚀 **Cloudflare Workers** - Global edge network
|
|
476
|
-
|
|
477
|
-
</details>
|
|
478
|
-
|
|
479
|
-
---
|
|
480
|
-
|
|
481
|
-
## 💰 Pricing at a Glance
|
|
482
|
-
|
|
483
|
-
| Tier | Provider | Cost | Quota Reset | Best For |
|
|
484
|
-
|------|----------|------|-------------|----------|
|
|
485
|
-
| **🚀 TOKEN SAVER** | **RTK (built-in)** | **FREE** | Always on | **Save 20-40% tokens on EVERY request** |
|
|
486
|
-
| **💳 SUBSCRIPTION** | Claude Code (Pro/Max) | $20-200/mo | 5h + weekly | Already subscribed |
|
|
487
|
-
| | Codex (Plus/Pro) | $20-200/mo | 5h + weekly | OpenAI users |
|
|
488
|
-
| | GitHub Copilot | $10-19/mo | Monthly | GitHub users |
|
|
489
|
-
| | Cursor IDE | $20/mo | Monthly | Cursor users |
|
|
490
|
-
| **💰 CHEAP** | GLM-5.1 / GLM-4.7 | $0.6/1M | Daily 10AM | Budget backup |
|
|
491
|
-
| | MiniMax M2.7 | $0.2/1M | 5-hour rolling | Cheapest option |
|
|
492
|
-
| | Kimi K2.5 | $9/mo flat | 10M tokens/mo | Predictable cost |
|
|
493
|
-
| **🆓 FREE** | Kiro AI | $0 | Unlimited | Claude 4.5 + GLM-5 + MiniMax free |
|
|
494
|
-
| | OpenCode Free | $0 | Unlimited | No auth, auto-fetch models |
|
|
495
|
-
| | Vertex AI | $300 credits | New GCP accounts | Gemini 3 Pro + DeepSeek + GLM-5 |
|
|
496
|
-
|
|
497
|
-
**💡 Pro Tip:** RTK + Kiro AI + OpenCode Free combo = **$0 cost + 20-40% token savings**!
|
|
498
|
-
|
|
499
|
-
---
|
|
500
|
-
|
|
501
|
-
### 📊 Understanding 9Router Costs & Billing
|
|
502
|
-
|
|
503
|
-
**9Router Billing Reality:**
|
|
504
|
-
|
|
505
|
-
✅ **9Router software = FREE forever** (open source, never charges)
|
|
506
|
-
✅ **Dashboard "costs" = Display/tracking only** (not actual bills)
|
|
507
|
-
✅ **You pay providers directly** (subscriptions or API fees)
|
|
508
|
-
✅ **FREE providers stay FREE** (iFlow, Kiro, Qwen = $0 unlimited)
|
|
509
|
-
❌ **9Router never sends invoices** or charges your card
|
|
510
|
-
|
|
511
|
-
**How Cost Display Works:**
|
|
512
|
-
|
|
513
|
-
The dashboard shows **estimated costs** as if you were using paid APIs directly. This is **not billing** - it's a comparison tool to show your savings.
|
|
514
|
-
|
|
515
|
-
**Example Scenario:**
|
|
40
|
+
```txt
|
|
41
|
+
http://localhost:20128/login
|
|
516
42
|
```
|
|
517
|
-
Dashboard Display:
|
|
518
|
-
• Total Requests: 1,662
|
|
519
|
-
• Total Tokens: 47M
|
|
520
|
-
• Display Cost: $290
|
|
521
|
-
|
|
522
|
-
Reality Check:
|
|
523
|
-
• Provider: iFlow (FREE unlimited)
|
|
524
|
-
• Actual Payment: $0.00
|
|
525
|
-
• What $290 Means: Amount you SAVED by using free models!
|
|
526
|
-
```
|
|
527
|
-
|
|
528
|
-
**Payment Rules:**
|
|
529
|
-
- **Subscription providers** (Claude Code, Codex): Pay them directly via their websites
|
|
530
|
-
- **Cheap providers** (GLM, MiniMax): Pay them directly, 9Router just routes
|
|
531
|
-
- **FREE providers** (iFlow, Kiro, Qwen): Genuinely free forever, no hidden charges
|
|
532
|
-
- **9Router**: Never charges anything, ever
|
|
533
43
|
|
|
534
|
-
|
|
44
|
+
### 2. 登录
|
|
535
45
|
|
|
536
|
-
|
|
46
|
+
- `Super Admin`:完整管理权限
|
|
47
|
+
- `Sub User`:受限使用权限,适合团队成员或子账号
|
|
537
48
|
|
|
538
|
-
###
|
|
49
|
+
### 3. 连接供应商
|
|
539
50
|
|
|
540
|
-
|
|
51
|
+
进入 Dashboard 后可以接入:
|
|
541
52
|
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
1. cc/claude-opus-4-7 (use subscription fully)
|
|
546
|
-
2. glm/glm-5.1 (cheap backup when quota out)
|
|
547
|
-
3. kr/claude-sonnet-4.5 (free emergency fallback)
|
|
53
|
+
- 订阅型供应商:Claude Code、Codex、Copilot、Cursor
|
|
54
|
+
- API Key 供应商:OpenAI、Anthropic、OpenRouter、GLM、Gemini、DeepSeek、Groq、Mistral、MiniMax、Kimi 等
|
|
55
|
+
- 免费或低成本供应商:Kiro、OpenCode Free、Vertex AI
|
|
548
56
|
|
|
549
|
-
|
|
550
|
-
vs. $20 + hitting limits = frustration
|
|
551
|
-
```
|
|
57
|
+
### 4. 创建或复制 API Key
|
|
552
58
|
|
|
553
|
-
|
|
59
|
+
在 Dashboard 中创建 API Key,然后把它配置到你的编码工具里。
|
|
554
60
|
|
|
555
|
-
|
|
61
|
+
### 5. 把工具接到 openrouterX
|
|
556
62
|
|
|
557
|
-
|
|
63
|
+
```txt
|
|
64
|
+
Base URL: http://localhost:20128/v1
|
|
65
|
+
API Key: 你的 Dashboard API Key
|
|
66
|
+
Model: 任意可用模型或 combo
|
|
558
67
|
```
|
|
559
|
-
Combo: "free-forever"
|
|
560
|
-
1. kr/claude-sonnet-4.5 (Claude 4.5 free unlimited)
|
|
561
|
-
2. kr/glm-5 (GLM-5 free via Kiro)
|
|
562
|
-
3. oc/<auto> (OpenCode Free, no auth)
|
|
563
68
|
|
|
564
|
-
|
|
565
|
-
Quality: Production-ready models + RTK saves 20-40% tokens
|
|
566
|
-
```
|
|
69
|
+
## 工作方式
|
|
567
70
|
|
|
568
|
-
|
|
71
|
+
```txt
|
|
72
|
+
你的工具
|
|
73
|
+
-> Claude Code / Codex / Cursor / OpenCode / OpenClaw / Cline / Continue
|
|
569
74
|
|
|
570
|
-
|
|
75
|
+
openrouterX
|
|
76
|
+
-> 本地 OpenAI-compatible 接口
|
|
77
|
+
-> 请求格式适配
|
|
78
|
+
-> 模型路由与 fallback
|
|
79
|
+
-> 配额感知切换
|
|
80
|
+
-> Usage 统计
|
|
81
|
+
-> API Key 与子用户隔离
|
|
571
82
|
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
2. cx/gpt-5.5 (second subscription)
|
|
577
|
-
3. glm/glm-5.1 (cheap, resets daily)
|
|
578
|
-
4. minimax/MiniMax-M2.7 (cheapest, 5h reset)
|
|
579
|
-
5. kr/claude-sonnet-4.5 (free unlimited)
|
|
580
|
-
|
|
581
|
-
Result: 5 layers of fallback = zero downtime
|
|
582
|
-
Monthly cost: $20-200 (subscriptions) + $10-20 (backup)
|
|
83
|
+
上游供应商
|
|
84
|
+
-> 订阅账号
|
|
85
|
+
-> API Key 供应商
|
|
86
|
+
-> 免费供应商
|
|
583
87
|
```
|
|
584
88
|
|
|
585
|
-
|
|
89
|
+
## 核心能力
|
|
586
90
|
|
|
587
|
-
|
|
91
|
+
### 统一本地接口
|
|
588
92
|
|
|
589
|
-
|
|
590
|
-
```
|
|
591
|
-
Combo: "openclaw-free"
|
|
592
|
-
1. kr/claude-sonnet-4.5 (Claude 4.5 free)
|
|
593
|
-
2. kr/glm-5 (GLM-5 free)
|
|
594
|
-
3. kr/MiniMax-M2.5 (MiniMax free)
|
|
93
|
+
多个工具共享同一个本地入口:
|
|
595
94
|
|
|
596
|
-
|
|
597
|
-
|
|
95
|
+
```txt
|
|
96
|
+
http://localhost:20128/v1
|
|
598
97
|
```
|
|
599
98
|
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
## ❓ Frequently Asked Questions
|
|
603
|
-
|
|
604
|
-
<details>
|
|
605
|
-
<summary><b>📊 Why does my dashboard show high costs?</b></summary>
|
|
606
|
-
|
|
607
|
-
The dashboard tracks your token usage and displays **estimated costs** as if you were using paid APIs directly. This is **not actual billing** - it's a reference to show how much you're saving by using free models or existing subscriptions through 9Router.
|
|
608
|
-
|
|
609
|
-
**Example:**
|
|
610
|
-
- **Dashboard shows:** "$290 total cost"
|
|
611
|
-
- **Reality:** You're using iFlow (FREE unlimited)
|
|
612
|
-
- **Your actual cost:** **$0.00**
|
|
613
|
-
- **What $290 means:** Amount you **saved** by using free models instead of paid APIs!
|
|
614
|
-
|
|
615
|
-
The cost display is a "savings tracker" to help you understand your usage patterns and optimization opportunities.
|
|
616
|
-
|
|
617
|
-
</details>
|
|
618
|
-
|
|
619
|
-
<details>
|
|
620
|
-
<summary><b>💳 Will I be charged by 9Router?</b></summary>
|
|
621
|
-
|
|
622
|
-
**No.** 9Router is free, open-source software that runs on your own computer. It never charges you anything.
|
|
623
|
-
|
|
624
|
-
**You only pay:**
|
|
625
|
-
- ✅ **Subscription providers** (Claude Code $20/mo, Codex $20-200/mo) → Pay them directly on their websites
|
|
626
|
-
- ✅ **Cheap providers** (GLM, MiniMax) → Pay them directly, 9Router just routes your requests
|
|
627
|
-
- ❌ **9Router itself** → **Never charges anything, ever**
|
|
628
|
-
|
|
629
|
-
9Router is a local proxy/router. It doesn't have your credit card, can't send invoices, and has no billing system. It's completely free software.
|
|
630
|
-
|
|
631
|
-
</details>
|
|
632
|
-
|
|
633
|
-
<details>
|
|
634
|
-
<summary><b>🆓 Are FREE providers really unlimited?</b></summary>
|
|
635
|
-
|
|
636
|
-
**Yes!** The current FREE providers (Kiro, OpenCode Free, Vertex) are genuinely free with **no hidden charges**.
|
|
637
|
-
|
|
638
|
-
These are free services offered by those respective companies:
|
|
639
|
-
- **Kiro AI**: Free unlimited Claude 4.5 + GLM-5 + MiniMax via AWS Builder ID / Google / GitHub OAuth
|
|
640
|
-
- **OpenCode Free**: No-auth passthrough proxy, models auto-fetched from `opencode.ai/zen/v1/models`
|
|
641
|
-
- **Vertex AI**: $300 free credits for new Google Cloud accounts (90 days)
|
|
99
|
+
### Dashboard 驱动配置
|
|
642
100
|
|
|
643
|
-
|
|
101
|
+
Dashboard 可以完成:
|
|
644
102
|
|
|
645
|
-
|
|
646
|
-
-
|
|
647
|
-
-
|
|
648
|
-
-
|
|
103
|
+
- 连接供应商
|
|
104
|
+
- 创建 API Key
|
|
105
|
+
- 测试模型
|
|
106
|
+
- 配置 combo
|
|
107
|
+
- 查看 Usage 和请求明细
|
|
108
|
+
- 生成各类 CLI Tools 的手动配置
|
|
649
109
|
|
|
650
|
-
|
|
110
|
+
### RTK Token Saver
|
|
651
111
|
|
|
652
|
-
|
|
653
|
-
<summary><b>💰 How do I minimize my actual AI costs?</b></summary>
|
|
112
|
+
`RTK` 会在请求发送到上游模型前,对冗长的工具输出进行压缩,尤其适合:
|
|
654
113
|
|
|
655
|
-
|
|
114
|
+
- `git diff`
|
|
115
|
+
- `grep`
|
|
116
|
+
- `ls`
|
|
117
|
+
- 构建日志
|
|
118
|
+
- 长文本工具输出
|
|
656
119
|
|
|
657
|
-
|
|
658
|
-
```
|
|
659
|
-
1. gc/gemini-3-flash (180K/month free from Google)
|
|
660
|
-
2. if/kimi-k2-thinking (unlimited free from iFlow)
|
|
661
|
-
3. qw/qwen3-coder-plus (unlimited free from Qwen)
|
|
662
|
-
```
|
|
663
|
-
**Cost: $0/month**
|
|
120
|
+
### Combo 与自动 fallback
|
|
664
121
|
|
|
665
|
-
|
|
666
|
-
```
|
|
667
|
-
4. glm/glm-4.7 ($0.6/1M tokens)
|
|
668
|
-
```
|
|
669
|
-
**Additional cost: Only pay for what you actually use**
|
|
122
|
+
你可以创建一个命名 combo,让多个模型串联:
|
|
670
123
|
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
</details>
|
|
678
|
-
|
|
679
|
-
<details>
|
|
680
|
-
<summary><b>📈 What if my usage suddenly spikes?</b></summary>
|
|
681
|
-
|
|
682
|
-
9Router's smart fallback prevents surprise charges:
|
|
683
|
-
|
|
684
|
-
**Scenario:** You're on a coding sprint and blow through your quotas
|
|
685
|
-
|
|
686
|
-
**Without 9Router:**
|
|
687
|
-
- ❌ Hit rate limit → Work stops → Frustration
|
|
688
|
-
- ❌ Or: Accidentally rack up huge API bills
|
|
689
|
-
|
|
690
|
-
**With 9Router:**
|
|
691
|
-
- ✅ Subscription hits limit → Auto-fallback to cheap tier
|
|
692
|
-
- ✅ Cheap tier gets expensive → Auto-fallback to free tier
|
|
693
|
-
- ✅ Never stop coding → Predictable costs
|
|
694
|
-
|
|
695
|
-
**You're in control:** Set spending limits per provider in dashboard, and 9Router respects them.
|
|
696
|
-
|
|
697
|
-
</details>
|
|
698
|
-
|
|
699
|
-
---
|
|
700
|
-
|
|
701
|
-
## 📖 Setup Guide
|
|
702
|
-
|
|
703
|
-
<details>
|
|
704
|
-
<summary><b>🔐 Subscription Providers (Maximize Value)</b></summary>
|
|
705
|
-
|
|
706
|
-
### Claude Code (Pro/Max)
|
|
707
|
-
|
|
708
|
-
```bash
|
|
709
|
-
Dashboard → Providers → Connect Claude Code
|
|
710
|
-
→ OAuth login → Auto token refresh
|
|
711
|
-
→ 5-hour + weekly quota tracking
|
|
712
|
-
|
|
713
|
-
Models:
|
|
714
|
-
cc/claude-opus-4-7
|
|
715
|
-
cc/claude-opus-4-6
|
|
716
|
-
cc/claude-sonnet-4-6
|
|
717
|
-
cc/claude-haiku-4-5-20251001
|
|
124
|
+
```txt
|
|
125
|
+
premium-coding
|
|
126
|
+
1. cc/claude-opus
|
|
127
|
+
2. glm/glm-5
|
|
128
|
+
3. kr/claude-sonnet-4.5
|
|
718
129
|
```
|
|
719
130
|
|
|
720
|
-
|
|
131
|
+
主模型不可用时,可以自动切到后备模型。
|
|
721
132
|
|
|
722
|
-
###
|
|
133
|
+
### 子用户权限隔离
|
|
723
134
|
|
|
724
|
-
|
|
725
|
-
Dashboard → Providers → Connect Codex
|
|
726
|
-
→ OAuth login (port 1455)
|
|
727
|
-
→ 5-hour + weekly reset
|
|
728
|
-
|
|
729
|
-
Models:
|
|
730
|
-
cx/gpt-5.5
|
|
731
|
-
cx/gpt-5.4
|
|
732
|
-
cx/gpt-5.3-codex
|
|
733
|
-
cx/gpt-5.2-codex
|
|
734
|
-
```
|
|
135
|
+
管理员可以为子用户单独控制:
|
|
735
136
|
|
|
736
|
-
|
|
137
|
+
- 可使用哪些供应商
|
|
138
|
+
- 可见哪些 API Key
|
|
139
|
+
- Usage 是否只看自己的数据
|
|
140
|
+
- 是否仅能查看 `CLI Tools` 手动配置,而不能修改本地工具设置
|
|
737
141
|
|
|
738
|
-
|
|
739
|
-
Dashboard → Providers → Connect GitHub
|
|
740
|
-
→ OAuth via GitHub
|
|
741
|
-
→ Monthly reset (1st of month)
|
|
742
|
-
|
|
743
|
-
Models:
|
|
744
|
-
gh/gpt-5.4
|
|
745
|
-
gh/claude-opus-4.7
|
|
746
|
-
gh/claude-sonnet-4.6
|
|
747
|
-
gh/gemini-3.1-pro-preview
|
|
748
|
-
gh/grok-code-fast-1
|
|
749
|
-
```
|
|
750
|
-
|
|
751
|
-
### Cursor IDE
|
|
142
|
+
这适合团队共用部署、代运营账号、或敏感 API Key 隔离场景。
|
|
752
143
|
|
|
753
|
-
|
|
754
|
-
Dashboard → Providers → Connect Cursor
|
|
755
|
-
→ OAuth login
|
|
756
|
-
→ Monthly subscription
|
|
757
|
-
|
|
758
|
-
Models:
|
|
759
|
-
cu/claude-4.6-opus-max
|
|
760
|
-
cu/claude-4.5-sonnet-thinking
|
|
761
|
-
cu/gpt-5.3-codex
|
|
762
|
-
```
|
|
144
|
+
### 团队共享网关
|
|
763
145
|
|
|
764
|
-
|
|
146
|
+
`openrouterX` 不只是单人使用工具,也可以作为团队内部统一网关:
|
|
765
147
|
|
|
766
|
-
|
|
767
|
-
|
|
148
|
+
- 管理员统一管理供应商、API Key、用户、combo
|
|
149
|
+
- 子用户只看到分配给自己的 API Key 和允许使用的供应商
|
|
150
|
+
- 子用户的 Usage 页面只展示自己的调用数据
|
|
151
|
+
- 子用户可以在 `CLI Tools` 页面复制配置,但不会拿到完整管理权限
|
|
152
|
+
- 上游供应商凭证不会暴露给普通成员
|
|
768
153
|
|
|
769
|
-
###
|
|
154
|
+
### Usage 分析
|
|
770
155
|
|
|
771
|
-
|
|
772
|
-
2. Get API key from Coding Plan
|
|
773
|
-
3. Dashboard → Add API Key:
|
|
774
|
-
- Provider: `glm`
|
|
775
|
-
- API Key: `your-key`
|
|
156
|
+
Dashboard 支持查看:
|
|
776
157
|
|
|
777
|
-
|
|
158
|
+
- 请求数
|
|
159
|
+
- tokens
|
|
160
|
+
- estimated cost
|
|
161
|
+
- 按 API Key 的使用情况
|
|
162
|
+
- 请求明细
|
|
778
163
|
|
|
779
|
-
|
|
164
|
+
其中成本展示主要用于统计和对比,`openrouterX` 本身不会向你收费。
|
|
780
165
|
|
|
781
|
-
|
|
166
|
+
## 支持的工具
|
|
782
167
|
|
|
783
|
-
|
|
784
|
-
2. Get API key
|
|
785
|
-
3. Dashboard → Add API Key
|
|
168
|
+
`openrouterX` 面向各类 AI 编码工具和 OpenAI-compatible 客户端,包括:
|
|
786
169
|
|
|
787
|
-
|
|
170
|
+
- Claude Code
|
|
171
|
+
- Codex CLI
|
|
172
|
+
- Cursor
|
|
173
|
+
- OpenCode
|
|
174
|
+
- OpenClaw
|
|
175
|
+
- Cline
|
|
176
|
+
- Continue
|
|
177
|
+
- Roo
|
|
178
|
+
- 兼容 Copilot 的相关流程
|
|
179
|
+
- 其他支持 OpenAI-compatible 接口的自定义工具
|
|
788
180
|
|
|
789
|
-
|
|
181
|
+
## 支持的供应商类型
|
|
790
182
|
|
|
791
|
-
###
|
|
183
|
+
### 订阅型供应商
|
|
792
184
|
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
185
|
+
- Claude Code
|
|
186
|
+
- Codex
|
|
187
|
+
- GitHub Copilot
|
|
188
|
+
- Cursor
|
|
796
189
|
|
|
797
|
-
|
|
190
|
+
### API Key 供应商
|
|
798
191
|
|
|
799
|
-
|
|
192
|
+
- OpenAI
|
|
193
|
+
- Anthropic
|
|
194
|
+
- OpenRouter
|
|
195
|
+
- GLM
|
|
196
|
+
- Gemini
|
|
197
|
+
- DeepSeek
|
|
198
|
+
- Groq
|
|
199
|
+
- Mistral
|
|
200
|
+
- MiniMax
|
|
201
|
+
- Kimi
|
|
202
|
+
- 以及其他兼容供应商
|
|
800
203
|
|
|
801
|
-
|
|
204
|
+
### 免费或低成本供应商
|
|
802
205
|
|
|
803
|
-
|
|
804
|
-
|
|
206
|
+
- Kiro
|
|
207
|
+
- OpenCode Free
|
|
208
|
+
- Vertex AI
|
|
805
209
|
|
|
806
|
-
|
|
210
|
+
实际可用性取决于上游服务当前状态和你的本地配置。
|
|
807
211
|
|
|
808
|
-
|
|
809
|
-
Dashboard → Connect Kiro
|
|
810
|
-
→ AWS Builder ID, AWS IAM Identity Center, Google, or GitHub
|
|
811
|
-
→ Unlimited usage
|
|
812
|
-
|
|
813
|
-
Models:
|
|
814
|
-
kr/claude-sonnet-4.5
|
|
815
|
-
kr/claude-haiku-4.5
|
|
816
|
-
kr/glm-5
|
|
817
|
-
kr/MiniMax-M2.5
|
|
818
|
-
kr/qwen3-coder-next
|
|
819
|
-
kr/deepseek-3.2
|
|
820
|
-
```
|
|
212
|
+
## CLI Tools 配置
|
|
821
213
|
|
|
822
|
-
|
|
214
|
+
Dashboard 内置了 `CLI Tools` 页面,可以直接生成可复制的配置。
|
|
823
215
|
|
|
824
|
-
###
|
|
216
|
+
### 通用 OpenAI-compatible 配置
|
|
825
217
|
|
|
826
|
-
```
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
218
|
+
```txt
|
|
219
|
+
Base URL: http://localhost:20128/v1
|
|
220
|
+
API Key: 你的 Dashboard API Key
|
|
221
|
+
Model: 你选择的模型或 combo
|
|
830
222
|
```
|
|
831
223
|
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
### Vertex AI ($300 free credits for new GCP accounts)
|
|
224
|
+
### Codex CLI
|
|
835
225
|
|
|
836
226
|
```bash
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
→ Enable Vertex AI API in your GCP project
|
|
840
|
-
|
|
841
|
-
Models:
|
|
842
|
-
vertex/gemini-3.1-pro-preview
|
|
843
|
-
vertex/gemini-3-flash-preview
|
|
844
|
-
vertex/gemini-2.5-flash
|
|
845
|
-
|
|
846
|
-
Vertex Partner (Anthropic / DeepSeek / GLM / Qwen via Vertex):
|
|
847
|
-
vertex-partner/glm-5-maas
|
|
848
|
-
vertex-partner/deepseek-v3.2-maas
|
|
849
|
-
vertex-partner/qwen3-next-80b-a3b-thinking-maas
|
|
227
|
+
export OPENAI_BASE_URL="http://localhost:20128/v1"
|
|
228
|
+
export OPENAI_API_KEY="your-dashboard-api-key"
|
|
850
229
|
```
|
|
851
230
|
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
</details>
|
|
855
|
-
|
|
856
|
-
<details>
|
|
857
|
-
<summary><b>🎨 Create Combos</b></summary>
|
|
231
|
+
### Claude Code
|
|
858
232
|
|
|
859
|
-
|
|
233
|
+
直接使用 `CLI Tools -> Claude Code` 中生成的手动配置。
|
|
860
234
|
|
|
861
|
-
|
|
862
|
-
Dashboard → Combos → Create New
|
|
235
|
+
### OpenClaw
|
|
863
236
|
|
|
864
|
-
|
|
865
|
-
Models:
|
|
866
|
-
1. cc/claude-opus-4-7 (Subscription primary)
|
|
867
|
-
2. glm/glm-5.1 (Cheap backup, $0.6/1M)
|
|
868
|
-
3. minimax/MiniMax-M2.7 (Cheapest fallback, $0.20/1M)
|
|
237
|
+
直接使用 `CLI Tools -> OpenClaw` 中生成的手动配置。
|
|
869
238
|
|
|
870
|
-
|
|
239
|
+
### OpenCode
|
|
871
240
|
|
|
872
|
-
|
|
873
|
-
80M via Claude (subscription): $0 extra
|
|
874
|
-
15M via GLM: $9
|
|
875
|
-
5M via MiniMax: $1
|
|
876
|
-
Total: $10 + your subscription
|
|
877
|
-
```
|
|
241
|
+
直接使用 `CLI Tools -> OpenCode` 中生成的手动配置。
|
|
878
242
|
|
|
879
|
-
|
|
243
|
+
## 管理员与子用户
|
|
880
244
|
|
|
881
|
-
|
|
882
|
-
Name: free-combo
|
|
883
|
-
Models:
|
|
884
|
-
1. kr/claude-sonnet-4.5 (Claude 4.5 free unlimited)
|
|
885
|
-
2. kr/glm-5 (GLM-5 free via Kiro)
|
|
886
|
-
3. vertex/gemini-3.1-pro-preview ($300 free credits)
|
|
245
|
+
`openrouterX` 内置两种角色:
|
|
887
246
|
|
|
888
|
-
|
|
889
|
-
|
|
247
|
+
- `super_admin`
|
|
248
|
+
- `sub_user`
|
|
890
249
|
|
|
891
|
-
|
|
250
|
+
### `super_admin`
|
|
892
251
|
|
|
893
|
-
|
|
894
|
-
<summary><b>🔧 CLI Integration</b></summary>
|
|
252
|
+
可以管理:
|
|
895
253
|
|
|
896
|
-
|
|
254
|
+
- providers
|
|
255
|
+
- API keys
|
|
256
|
+
- combos
|
|
257
|
+
- users
|
|
258
|
+
- usage analytics
|
|
259
|
+
- 本地工具集成配置
|
|
897
260
|
|
|
898
|
-
|
|
899
|
-
Settings → Models → Advanced:
|
|
900
|
-
OpenAI API Base URL: http://localhost:20128/v1
|
|
901
|
-
OpenAI API Key: [from 9router dashboard]
|
|
902
|
-
Model: cc/claude-opus-4-7
|
|
903
|
-
```
|
|
261
|
+
### `sub_user`
|
|
904
262
|
|
|
905
|
-
|
|
263
|
+
可以被限制为:
|
|
906
264
|
|
|
907
|
-
|
|
265
|
+
- 只能使用分配给自己的 API Key
|
|
266
|
+
- 只能访问被允许的供应商
|
|
267
|
+
- 只能查看自己的 Usage 数据
|
|
268
|
+
- 只显示精简版 `CLI Tools`
|
|
269
|
+
- 可以复制手动配置,但不能管理供应商
|
|
270
|
+
- 页面范围聚焦在自己的可见资源内
|
|
908
271
|
|
|
909
|
-
|
|
272
|
+
这使得一个部署可以服务多个用户,同时避免把所有供应商和凭证暴露给每个人。
|
|
910
273
|
|
|
911
|
-
|
|
912
|
-
{
|
|
913
|
-
"anthropic_api_base": "http://localhost:20128/v1",
|
|
914
|
-
"anthropic_api_key": "your-9router-api-key"
|
|
915
|
-
}
|
|
916
|
-
```
|
|
274
|
+
## 本地开发
|
|
917
275
|
|
|
918
|
-
|
|
276
|
+
从源码运行:
|
|
919
277
|
|
|
920
278
|
```bash
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
codex "your prompt"
|
|
925
|
-
```
|
|
926
|
-
|
|
927
|
-
### OpenClaw
|
|
928
|
-
|
|
929
|
-
**Option 1 — Dashboard (recommended):**
|
|
930
|
-
|
|
931
|
-
```
|
|
932
|
-
Dashboard → CLI Tools → OpenClaw → Select Model → Apply
|
|
933
|
-
```
|
|
934
|
-
|
|
935
|
-
**Option 2 — Manual:** Edit `~/.openclaw/openclaw.json`:
|
|
936
|
-
|
|
937
|
-
```json
|
|
938
|
-
{
|
|
939
|
-
"agents": {
|
|
940
|
-
"defaults": {
|
|
941
|
-
"model": {
|
|
942
|
-
"primary": "9router/kr/claude-sonnet-4.5"
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
},
|
|
946
|
-
"models": {
|
|
947
|
-
"providers": {
|
|
948
|
-
"9router": {
|
|
949
|
-
"baseUrl": "http://127.0.0.1:20128/v1",
|
|
950
|
-
"apiKey": "sk_9router",
|
|
951
|
-
"api": "openai-completions",
|
|
952
|
-
"models": [
|
|
953
|
-
{
|
|
954
|
-
"id": "kr/claude-sonnet-4.5",
|
|
955
|
-
"name": "Claude Sonnet 4.5 (Kiro Free)"
|
|
956
|
-
}
|
|
957
|
-
]
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
}
|
|
279
|
+
cp .env.example .env
|
|
280
|
+
npm install
|
|
281
|
+
PORT=20128 NEXT_PUBLIC_BASE_URL=http://localhost:20128 npm run dev
|
|
962
282
|
```
|
|
963
283
|
|
|
964
|
-
|
|
284
|
+
生产构建:
|
|
965
285
|
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
Provider: OpenAI Compatible
|
|
970
|
-
Base URL: http://localhost:20128/v1
|
|
971
|
-
API Key: [from dashboard]
|
|
972
|
-
Model: cc/claude-opus-4-7
|
|
286
|
+
```bash
|
|
287
|
+
npm run build
|
|
288
|
+
PORT=20128 HOSTNAME=0.0.0.0 NEXT_PUBLIC_BASE_URL=http://localhost:20128 npm run start
|
|
973
289
|
```
|
|
974
290
|
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
<details>
|
|
978
|
-
<summary><b>🚀 Deployment</b></summary>
|
|
291
|
+
## 部署
|
|
979
292
|
|
|
980
|
-
###
|
|
293
|
+
### PM2
|
|
981
294
|
|
|
982
295
|
```bash
|
|
983
|
-
# Clone and install
|
|
984
|
-
git clone https://github.com/decolua/9router.git
|
|
985
|
-
cd 9router
|
|
986
296
|
npm install
|
|
987
297
|
npm run build
|
|
988
|
-
|
|
989
|
-
# Configure
|
|
990
|
-
export JWT_SECRET="your-secure-secret-change-this"
|
|
991
|
-
export INITIAL_PASSWORD="your-password"
|
|
992
|
-
export DATA_DIR="/var/lib/9router"
|
|
993
|
-
export PORT="20128"
|
|
994
|
-
export HOSTNAME="0.0.0.0"
|
|
995
|
-
export NODE_ENV="production"
|
|
996
|
-
export NEXT_PUBLIC_BASE_URL="http://localhost:20128"
|
|
997
|
-
export NEXT_PUBLIC_CLOUD_URL="https://9router.com"
|
|
998
|
-
export API_KEY_SECRET="endpoint-proxy-api-key-secret"
|
|
999
|
-
export MACHINE_ID_SALT="endpoint-proxy-salt"
|
|
1000
|
-
|
|
1001
|
-
# Start
|
|
1002
|
-
npm run start
|
|
1003
|
-
|
|
1004
|
-
# Or use PM2
|
|
1005
|
-
npm install -g pm2
|
|
1006
|
-
pm2 start npm --name 9router -- start
|
|
1007
|
-
pm2 save
|
|
1008
|
-
pm2 startup
|
|
298
|
+
pm2 start npm --name openrouterx -- start
|
|
1009
299
|
```
|
|
1010
300
|
|
|
1011
301
|
### Docker
|
|
1012
302
|
|
|
1013
303
|
```bash
|
|
1014
|
-
|
|
1015
|
-
docker build -t 9router .
|
|
1016
|
-
|
|
1017
|
-
# Run container (command used in current setup)
|
|
1018
|
-
docker run -d \
|
|
1019
|
-
--name 9router \
|
|
1020
|
-
-p 20128:20128 \
|
|
1021
|
-
--env-file /root/dev/9router/.env \
|
|
1022
|
-
-v 9router-data:/app/data \
|
|
1023
|
-
-v 9router-usage:/root/.9router \
|
|
1024
|
-
9router
|
|
1025
|
-
```
|
|
1026
|
-
|
|
1027
|
-
Portable command (if you are already at repository root):
|
|
304
|
+
docker build -t openrouterx .
|
|
1028
305
|
|
|
1029
|
-
```bash
|
|
1030
306
|
docker run -d \
|
|
1031
|
-
--name
|
|
307
|
+
--name openrouterx \
|
|
1032
308
|
-p 20128:20128 \
|
|
1033
309
|
--env-file ./.env \
|
|
1034
|
-
-v
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
|
1054
|
-
|
|
1055
|
-
| `
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
| `PORT` | framework default | Service port (`20128` in examples) |
|
|
1059
|
-
| `HOSTNAME` | framework default | Bind host (Docker defaults to `0.0.0.0`) |
|
|
1060
|
-
| `NODE_ENV` | runtime default | Set `production` for deploy |
|
|
1061
|
-
| `BASE_URL` | `http://localhost:20128` | Server-side internal base URL used by cloud sync jobs |
|
|
1062
|
-
| `CLOUD_URL` | `https://9router.com` | Server-side cloud sync endpoint base URL |
|
|
1063
|
-
| `NEXT_PUBLIC_BASE_URL` | `http://localhost:3000` | Backward-compatible/public base URL (prefer `BASE_URL` for server runtime) |
|
|
1064
|
-
| `NEXT_PUBLIC_CLOUD_URL` | `https://9router.com` | Backward-compatible/public cloud URL (prefer `CLOUD_URL` for server runtime) |
|
|
1065
|
-
| `API_KEY_SECRET` | `endpoint-proxy-api-key-secret` | HMAC secret for generated API keys |
|
|
1066
|
-
| `MACHINE_ID_SALT` | `endpoint-proxy-salt` | Salt for stable machine ID hashing |
|
|
1067
|
-
| `ENABLE_REQUEST_LOGS` | `false` | Enables request/response logs under `logs/` |
|
|
1068
|
-
| `AUTH_COOKIE_SECURE` | `false` | Force `Secure` auth cookie (set `true` behind HTTPS reverse proxy) |
|
|
1069
|
-
| `REQUIRE_API_KEY` | `false` | Enforce Bearer API key on `/v1/*` routes (recommended for internet-exposed deploys) |
|
|
1070
|
-
| `HTTP_PROXY`, `HTTPS_PROXY`, `ALL_PROXY`, `NO_PROXY` | empty | Optional outbound proxy for upstream provider calls |
|
|
1071
|
-
|
|
1072
|
-
Notes:
|
|
1073
|
-
- Lowercase proxy variables are also supported: `http_proxy`, `https_proxy`, `all_proxy`, `no_proxy`.
|
|
1074
|
-
- `.env` is not baked into Docker image (`.dockerignore`); inject runtime config with `--env-file` or `-e`.
|
|
1075
|
-
- On Windows, `APPDATA` can be used for local storage path resolution.
|
|
1076
|
-
- `INSTANCE_NAME` appears in older docs/env templates, but is currently not used at runtime.
|
|
1077
|
-
|
|
1078
|
-
### Runtime Files and Storage
|
|
1079
|
-
|
|
1080
|
-
- Main app state: `${DATA_DIR}/db.json` (providers, combos, aliases, keys, settings), managed by `src/lib/localDb.js`.
|
|
1081
|
-
- Usage history and logs: `~/.9router/usage.json` and `~/.9router/log.txt`, managed by `src/lib/usageDb.js`.
|
|
1082
|
-
- Optional request/translator logs: `<repo>/logs/...` when `ENABLE_REQUEST_LOGS=true`.
|
|
1083
|
-
- Usage storage currently follows `~/.9router` path logic and is independent from `DATA_DIR`.
|
|
1084
|
-
|
|
1085
|
-
</details>
|
|
1086
|
-
|
|
1087
|
-
---
|
|
1088
|
-
|
|
1089
|
-
## 📊 Available Models
|
|
1090
|
-
|
|
1091
|
-
<details>
|
|
1092
|
-
<summary><b>View all available models</b></summary>
|
|
1093
|
-
|
|
1094
|
-
**Claude Code (`cc/`)** - Pro/Max:
|
|
1095
|
-
- `cc/claude-opus-4-7`
|
|
1096
|
-
- `cc/claude-opus-4-6`
|
|
1097
|
-
- `cc/claude-sonnet-4-6`
|
|
1098
|
-
- `cc/claude-sonnet-4-5-20250929`
|
|
1099
|
-
- `cc/claude-haiku-4-5-20251001`
|
|
1100
|
-
|
|
1101
|
-
**Codex (`cx/`)** - Plus/Pro:
|
|
1102
|
-
- `cx/gpt-5.5`
|
|
1103
|
-
- `cx/gpt-5.4`
|
|
1104
|
-
- `cx/gpt-5.3-codex`
|
|
1105
|
-
- `cx/gpt-5.2-codex`
|
|
1106
|
-
- `cx/gpt-5.1-codex-max`
|
|
1107
|
-
|
|
1108
|
-
**GitHub Copilot (`gh/`)**:
|
|
1109
|
-
- `gh/gpt-5.4`
|
|
1110
|
-
- `gh/claude-opus-4.7`
|
|
1111
|
-
- `gh/claude-sonnet-4.6`
|
|
1112
|
-
- `gh/gemini-3.1-pro-preview`
|
|
1113
|
-
- `gh/grok-code-fast-1`
|
|
1114
|
-
|
|
1115
|
-
**Cursor (`cu/`)** - Subscription:
|
|
1116
|
-
- `cu/claude-4.6-opus-max`
|
|
1117
|
-
- `cu/claude-4.5-sonnet-thinking`
|
|
1118
|
-
- `cu/gpt-5.3-codex`
|
|
1119
|
-
- `cu/kimi-k2.5`
|
|
1120
|
-
|
|
1121
|
-
**GLM (`glm/`)** - $0.6/1M:
|
|
1122
|
-
- `glm/glm-5.1`
|
|
1123
|
-
- `glm/glm-5`
|
|
1124
|
-
- `glm/glm-4.7`
|
|
1125
|
-
|
|
1126
|
-
**MiniMax (`minimax/`)** - $0.2/1M:
|
|
1127
|
-
- `minimax/MiniMax-M2.7`
|
|
1128
|
-
- `minimax/MiniMax-M2.5`
|
|
1129
|
-
|
|
1130
|
-
**Kimi (`kimi/`)** - $9/mo flat:
|
|
1131
|
-
- `kimi/kimi-k2.5`
|
|
1132
|
-
- `kimi/kimi-k2.5-thinking`
|
|
1133
|
-
|
|
1134
|
-
**Kiro (`kr/`)** - FREE unlimited:
|
|
1135
|
-
- `kr/claude-sonnet-4.5`
|
|
1136
|
-
- `kr/claude-haiku-4.5`
|
|
1137
|
-
- `kr/glm-5`
|
|
1138
|
-
- `kr/MiniMax-M2.5`
|
|
1139
|
-
- `kr/qwen3-coder-next`
|
|
1140
|
-
- `kr/deepseek-3.2`
|
|
1141
|
-
|
|
1142
|
-
**OpenCode Free (`oc/`)** - FREE no-auth:
|
|
1143
|
-
- Auto-fetched from `opencode.ai/zen/v1/models`
|
|
1144
|
-
|
|
1145
|
-
**Vertex AI (`vertex/`)** - $300 free credits:
|
|
1146
|
-
- `vertex/gemini-3.1-pro-preview`
|
|
1147
|
-
- `vertex/gemini-3-flash-preview`
|
|
1148
|
-
- `vertex/gemini-2.5-flash`
|
|
1149
|
-
- `vertex-partner/glm-5-maas`
|
|
1150
|
-
- `vertex-partner/deepseek-v3.2-maas`
|
|
1151
|
-
|
|
1152
|
-
</details>
|
|
1153
|
-
|
|
1154
|
-
---
|
|
1155
|
-
|
|
1156
|
-
## 🐛 Troubleshooting
|
|
1157
|
-
|
|
1158
|
-
**"Language model did not provide messages"**
|
|
1159
|
-
- Provider quota exhausted → Check dashboard quota tracker
|
|
1160
|
-
- Solution: Use combo fallback or switch to cheaper tier
|
|
1161
|
-
|
|
1162
|
-
**Rate limiting**
|
|
1163
|
-
- Subscription quota out → Fallback to GLM/MiniMax
|
|
1164
|
-
- Add combo: `cc/claude-opus-4-7 → glm/glm-5.1 → kr/claude-sonnet-4.5`
|
|
1165
|
-
|
|
1166
|
-
**OAuth token expired**
|
|
1167
|
-
- Auto-refreshed by 9Router
|
|
1168
|
-
- If issues persist: Dashboard → Provider → Reconnect
|
|
1169
|
-
|
|
1170
|
-
**High costs**
|
|
1171
|
-
- Enable RTK in Dashboard → Endpoint settings (default ON, saves 20-40% tokens)
|
|
1172
|
-
- Check usage stats in Dashboard
|
|
1173
|
-
- Switch primary model to GLM/MiniMax
|
|
1174
|
-
- Use free tier (Kiro, OpenCode Free, Vertex) for non-critical tasks
|
|
1175
|
-
|
|
1176
|
-
**Dashboard opens on wrong port**
|
|
1177
|
-
- Set `PORT=20128` and `NEXT_PUBLIC_BASE_URL=http://localhost:20128`
|
|
1178
|
-
|
|
1179
|
-
**First login not working**
|
|
1180
|
-
- Check `INITIAL_PASSWORD` in `.env`
|
|
1181
|
-
- If unset, fallback password is `123456`
|
|
1182
|
-
|
|
1183
|
-
**No request logs under `logs/`**
|
|
1184
|
-
- Set `ENABLE_REQUEST_LOGS=true`
|
|
1185
|
-
|
|
1186
|
-
---
|
|
1187
|
-
|
|
1188
|
-
## 🛠️ Tech Stack
|
|
1189
|
-
|
|
1190
|
-
- **Runtime**: Node.js 20+
|
|
1191
|
-
- **Framework**: Next.js 16
|
|
1192
|
-
- **UI**: React 19 + Tailwind CSS 4
|
|
1193
|
-
- **Database**: LowDB (JSON file-based)
|
|
1194
|
-
- **Streaming**: Server-Sent Events (SSE)
|
|
1195
|
-
- **Auth**: OAuth 2.0 (PKCE) + JWT + API Keys
|
|
1196
|
-
|
|
1197
|
-
---
|
|
1198
|
-
|
|
1199
|
-
## 📝 API Reference
|
|
310
|
+
-v openrouterx-data:/app/data \
|
|
311
|
+
openrouterx
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
## 环境变量
|
|
315
|
+
|
|
316
|
+
| 变量 | 说明 |
|
|
317
|
+
| --- | --- |
|
|
318
|
+
| `JWT_SECRET` | Dashboard 登录鉴权使用的 JWT secret |
|
|
319
|
+
| `INITIAL_PASSWORD` | 初始登录密码,在没有已保存 hash 时使用 |
|
|
320
|
+
| `DATA_DIR` | 主数据库目录 |
|
|
321
|
+
| `PORT` | 服务端口 |
|
|
322
|
+
| `HOSTNAME` | 监听地址 |
|
|
323
|
+
| `BASE_URL` | 服务端内部使用的 base URL |
|
|
324
|
+
| `CLOUD_URL` | 云端同步使用的 base URL |
|
|
325
|
+
| `NEXT_PUBLIC_BASE_URL` | 前端可见的 base URL |
|
|
326
|
+
| `NEXT_PUBLIC_CLOUD_URL` | 前端可见的云端 URL |
|
|
327
|
+
| `API_KEY_SECRET` | 生成 API Key 时使用的签名 secret |
|
|
328
|
+
| `MACHINE_ID_SALT` | 机器标识计算使用的 salt |
|
|
329
|
+
| `ENABLE_REQUEST_LOGS` | 是否开启请求日志 |
|
|
330
|
+
| `AUTH_COOKIE_SECURE` | 是否强制使用安全 Cookie |
|
|
331
|
+
| `REQUIRE_API_KEY` | 是否要求 `/v1/*` 必须携带 Bearer API Key |
|
|
332
|
+
|
|
333
|
+
## API 示例
|
|
1200
334
|
|
|
1201
335
|
### Chat Completions
|
|
1202
336
|
|
|
1203
337
|
```bash
|
|
1204
|
-
|
|
1205
|
-
Authorization: Bearer
|
|
1206
|
-
Content-Type: application/json
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
}
|
|
338
|
+
curl http://localhost:20128/v1/chat/completions \
|
|
339
|
+
-H "Authorization: Bearer YOUR_API_KEY" \
|
|
340
|
+
-H "Content-Type: application/json" \
|
|
341
|
+
-d '{
|
|
342
|
+
"model": "kr/claude-sonnet-4.5",
|
|
343
|
+
"messages": [
|
|
344
|
+
{ "role": "user", "content": "Write a Node.js hello world server." }
|
|
345
|
+
],
|
|
346
|
+
"stream": false
|
|
347
|
+
}'
|
|
1215
348
|
```
|
|
1216
349
|
|
|
1217
|
-
###
|
|
350
|
+
### 列出模型
|
|
1218
351
|
|
|
1219
352
|
```bash
|
|
1220
|
-
|
|
1221
|
-
Authorization: Bearer
|
|
1222
|
-
|
|
1223
|
-
→ Returns all models + combos in OpenAI format
|
|
353
|
+
curl http://localhost:20128/v1/models \
|
|
354
|
+
-H "Authorization: Bearer YOUR_API_KEY"
|
|
1224
355
|
```
|
|
1225
356
|
|
|
1226
|
-
##
|
|
1227
|
-
|
|
1228
|
-
- **Website**: [9router.com](https://9router.com)
|
|
1229
|
-
- **GitHub**: [github.com/decolua/9router](https://github.com/decolua/9router)
|
|
1230
|
-
- **Issues**: [github.com/decolua/9router/issues](https://github.com/decolua/9router/issues)
|
|
1231
|
-
|
|
1232
|
-
---
|
|
1233
|
-
|
|
1234
|
-
## 👥 Contributors
|
|
1235
|
-
|
|
1236
|
-
Thanks to all contributors who helped make 9Router better!
|
|
1237
|
-
|
|
1238
|
-
[](https://github.com/decolua/9router/graphs/contributors)
|
|
1239
|
-
|
|
1240
|
-
---
|
|
357
|
+
## 常见问题
|
|
1241
358
|
|
|
1242
|
-
|
|
359
|
+
### Dashboard 打不开
|
|
1243
360
|
|
|
1244
|
-
|
|
361
|
+
- 检查 `20128` 端口是否被占用
|
|
362
|
+
- 启动前显式设置 `PORT=20128`
|
|
1245
363
|
|
|
364
|
+
### 登录失败
|
|
1246
365
|
|
|
366
|
+
- 初始化环境时检查 `INITIAL_PASSWORD`
|
|
367
|
+
- 如果已经有历史数据,请使用当前保存的管理员密码,不要假设存在默认密码
|
|
1247
368
|
|
|
1248
|
-
|
|
369
|
+
### 工具看不到模型
|
|
1249
370
|
|
|
1250
|
-
|
|
371
|
+
- 确认供应商已连接
|
|
372
|
+
- 确认当前 API Key 属于当前用户
|
|
373
|
+
- 如果是子用户,检查 `Admin -> Users` 中配置的 allowed providers
|
|
1251
374
|
|
|
1252
|
-
|
|
375
|
+
### Usage 没有数据
|
|
1253
376
|
|
|
1254
|
-
|
|
377
|
+
- 确认工具接入的是 `http://localhost:20128/v1`
|
|
378
|
+
- 确认使用的是 Dashboard 中生成的 Bearer API Key
|
|
1255
379
|
|
|
1256
|
-
|
|
380
|
+
### 上游报错或配额不足
|
|
1257
381
|
|
|
1258
|
-
|
|
382
|
+
- 重新连接供应商
|
|
383
|
+
- 切换到其他模型
|
|
384
|
+
- 创建带 fallback 的 combo
|
|
1259
385
|
|
|
1260
|
-
##
|
|
386
|
+
## 包信息
|
|
1261
387
|
|
|
1262
|
-
|
|
388
|
+
- npm 包:[`@yina-npm/openrouterx`](https://www.npmjs.com/package/@yina-npm/openrouterx)
|
|
389
|
+
- 启动命令:`openrouterX`
|
|
390
|
+
- 协议:MIT
|
|
1263
391
|
|
|
1264
|
-
|
|
392
|
+
## License
|
|
1265
393
|
|
|
1266
|
-
|
|
1267
|
-
<sub>Built with ❤️ for developers who code 24/7</sub>
|
|
1268
|
-
</div>
|
|
394
|
+
MIT,见 [LICENSE](LICENSE)。
|