@code-yeongyu/senpi 2026.7.14 → 2026.7.16-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +143 -0
- package/README.md +6 -6
- package/dist/bun/cli.js +2 -0
- package/dist/bun/cli.js.map +1 -1
- package/dist/cli/args.js +1 -1
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/list-models.d.ts +2 -2
- package/dist/cli/list-models.d.ts.map +1 -1
- package/dist/cli/list-models.js +3 -3
- package/dist/cli/list-models.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +3 -0
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session-services.d.ts +4 -3
- package/dist/core/agent-session-services.d.ts.map +1 -1
- package/dist/core/agent-session-services.js +14 -5
- package/dist/core/agent-session-services.js.map +1 -1
- package/dist/core/agent-session.d.ts +8 -4
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +81 -30
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/auth-providers.js +1 -1
- package/dist/core/auth-providers.js.map +1 -1
- package/dist/core/auth-storage.d.ts +32 -87
- package/dist/core/auth-storage.d.ts.map +1 -1
- package/dist/core/auth-storage.js +158 -221
- package/dist/core/auth-storage.js.map +1 -1
- package/dist/core/cache-stats.d.ts +2 -2
- package/dist/core/cache-stats.d.ts.map +1 -1
- package/dist/core/cache-stats.js +1 -1
- package/dist/core/cache-stats.js.map +1 -1
- package/dist/core/compaction/branch-summarization.d.ts +1 -1
- package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
- package/dist/core/compaction/branch-summarization.js.map +1 -1
- package/dist/core/dynamic-prompt/build.d.ts.map +1 -1
- package/dist/core/dynamic-prompt/build.js +6 -1
- package/dist/core/dynamic-prompt/build.js.map +1 -1
- package/dist/core/extensions/builtin/bash-timeout/timeout.js +2 -2
- package/dist/core/extensions/builtin/bash-timeout/timeout.js.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/gpt-5.6.d.ts.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/gpt-5.6.js +22 -13
- package/dist/core/extensions/builtin/prompt-preset/gpt-5.6.js.map +1 -1
- package/dist/core/extensions/builtin/terminal/runtime-session.d.ts +1 -1
- package/dist/core/extensions/builtin/terminal/runtime-session.d.ts.map +1 -1
- package/dist/core/extensions/builtin/terminal/runtime-session.js +3 -2
- package/dist/core/extensions/builtin/terminal/runtime-session.js.map +1 -1
- package/dist/core/extensions/loader.d.ts.map +1 -1
- package/dist/core/extensions/loader.js +8 -2
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +1 -0
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +3 -0
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/extensions/types.d.ts +15 -2
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/model-config.d.ts +589 -0
- package/dist/core/model-config.d.ts.map +1 -0
- package/dist/core/model-config.js +288 -0
- package/dist/core/model-config.js.map +1 -0
- package/dist/core/model-registry.d.ts +17 -146
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +69 -943
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/model-resolver.d.ts +8 -5
- package/dist/core/model-resolver.d.ts.map +1 -1
- package/dist/core/model-resolver.js +19 -18
- package/dist/core/model-resolver.js.map +1 -1
- package/dist/core/model-runtime.d.ts +81 -0
- package/dist/core/model-runtime.d.ts.map +1 -0
- package/dist/core/model-runtime.js +442 -0
- package/dist/core/model-runtime.js.map +1 -0
- package/dist/core/models-store.d.ts +17 -0
- package/dist/core/models-store.d.ts.map +1 -0
- package/dist/core/models-store.js +46 -0
- package/dist/core/models-store.js.map +1 -0
- package/dist/core/package-manager.d.ts.map +1 -1
- package/dist/core/package-manager.js +7 -2
- package/dist/core/package-manager.js.map +1 -1
- package/dist/core/provider-composer.d.ts +64 -0
- package/dist/core/provider-composer.d.ts.map +1 -0
- package/dist/core/provider-composer.js +406 -0
- package/dist/core/provider-composer.js.map +1 -0
- package/dist/core/provider-display-names.d.ts.map +1 -1
- package/dist/core/provider-display-names.js +2 -1
- package/dist/core/provider-display-names.js.map +1 -1
- package/dist/core/radius.d.ts +2 -0
- package/dist/core/radius.d.ts.map +1 -0
- package/dist/core/radius.js +2 -0
- package/dist/core/radius.js.map +1 -0
- package/dist/core/remote-catalog-provider.d.ts +5 -0
- package/dist/core/remote-catalog-provider.d.ts.map +1 -0
- package/dist/core/remote-catalog-provider.js +83 -0
- package/dist/core/remote-catalog-provider.js.map +1 -0
- package/dist/core/runtime-credentials.d.ts +15 -0
- package/dist/core/runtime-credentials.d.ts.map +1 -0
- package/dist/core/runtime-credentials.js +35 -0
- package/dist/core/runtime-credentials.js.map +1 -0
- package/dist/core/sdk.d.ts +11 -20
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +61 -89
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/skills.js +1 -1
- package/dist/core/skills.js.map +1 -1
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +1 -11
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +10 -13
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/assistant-message.js +22 -10
- package/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/dist/modes/interactive/components/footer.js +1 -1
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/components/login-dialog.d.ts +4 -8
- package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -1
- package/dist/modes/interactive/components/login-dialog.js +14 -12
- package/dist/modes/interactive/components/login-dialog.js.map +1 -1
- package/dist/modes/interactive/components/model-selector.d.ts +13 -4
- package/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/model-selector.js +84 -41
- package/dist/modes/interactive/components/model-selector.js.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.d.ts +4 -4
- package/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.js +14 -25
- package/dist/modes/interactive/components/oauth-selector.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +5 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +155 -129
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/package-manager-cli.d.ts.map +1 -1
- package/dist/package-manager-cli.js +70 -8
- package/dist/package-manager-cli.js.map +1 -1
- package/docs/custom-provider.md +8 -11
- package/docs/extensions.md +78 -555
- package/docs/models.md +4 -0
- package/docs/packages.md +1 -0
- package/docs/providers.md +23 -11
- package/docs/sdk.md +79 -105
- package/docs/usage.md +1 -0
- package/examples/AGENTS.md +34 -0
- package/examples/extensions/README.md +1 -0
- package/examples/extensions/custom-provider-anthropic/index.ts +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/gondolin/package-lock.json +2 -2
- package/examples/extensions/gondolin/package.json +1 -1
- package/examples/extensions/kimi-deferred-tools.ts +61 -0
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/examples/sdk/02-custom-model.ts +5 -8
- package/examples/sdk/09-api-keys-and-oauth.ts +13 -31
- package/examples/sdk/12-full-control.ts +8 -13
- package/examples/sdk/README.md +14 -18
- package/node_modules/@code-yeongyu/senpi-codemode/CHANGELOG.md +32 -0
- package/node_modules/@code-yeongyu/senpi-codemode/package.json +3 -3
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/local-module-loader.ts +2 -2
- package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/js/rewrite-imports.ts +4 -4
- package/node_modules/@code-yeongyu/senpi-codemode/src/tool/render.ts +32 -32
- package/node_modules/@earendil-works/pi-agent-core/package.json +4 -4
- package/node_modules/@earendil-works/pi-ai/README.md +80 -25
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +23 -42
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +10 -6
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/lazy.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/lazy.js +9 -10
- package/node_modules/@earendil-works/pi-ai/dist/api/lazy.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.d.ts +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +4 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.d.ts +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +54 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +23 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.d.ts +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +24 -6
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.d.ts +97 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +307 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.lazy.d.ts +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.lazy.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.lazy.js +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.lazy.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/credential-store.d.ts +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/credential-store.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/credential-store.js +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/credential-store.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/helpers.d.ts +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/helpers.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/helpers.js +4 -3
- package/node_modules/@earendil-works/pi-ai/dist/auth/helpers.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/anthropic.d.ts +9 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/anthropic.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/{utils → auth}/oauth/anthropic.js +51 -116
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/anthropic.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/device-code.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/device-code.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/github-copilot.d.ts +6 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/github-copilot.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/{utils → auth}/oauth/github-copilot.js +18 -77
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/github-copilot.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/load.d.ts +23 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/load.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/load.js +49 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/load.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/oauth-page.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/oauth-page.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openai-codex.d.ts +9 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openai-codex.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/{utils → auth}/oauth/openai-codex.js +61 -155
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openai-codex.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/pkce.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/pkce.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/radius.d.ts +16 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/radius.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/radius.js +316 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/radius.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/xai.d.ts +6 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/xai.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/xai.js +189 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/xai.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/resolve.d.ts +2 -4
- package/node_modules/@earendil-works/pi-ai/dist/auth/resolve.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/resolve.js +9 -7
- package/node_modules/@earendil-works/pi-ai/dist/auth/resolve.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/types.d.ts +49 -10
- package/node_modules/@earendil-works/pi-ai/dist/auth/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/bun-oauth.d.ts +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/bun-oauth.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/bun-oauth.js +17 -0
- package/node_modules/@earendil-works/pi-ai/dist/bun-oauth.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/cli.js +58 -76
- package/node_modules/@earendil-works/pi-ai/dist/cli.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/compat/extension-oauth-types.d.ts +42 -0
- package/node_modules/@earendil-works/pi-ai/dist/compat/extension-oauth-types.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/compat/extension-oauth-types.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/compat/extension-oauth-types.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/compat.d.ts +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/compat.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/compat.js +49 -22
- package/node_modules/@earendil-works/pi-ai/dist/compat.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/images-models.d.ts +4 -2
- package/node_modules/@earendil-works/pi-ai/dist/images-models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/images-models.js +5 -4
- package/node_modules/@earendil-works/pi-ai/dist/images-models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/index.d.ts +3 -1
- package/node_modules/@earendil-works/pi-ai/dist/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/index.js +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models-store.d.ts +25 -0
- package/node_modules/@earendil-works/pi-ai/dist/models-store.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/models-store.js +16 -0
- package/node_modules/@earendil-works/pi-ai/dist/models-store.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.d.ts +69 -30
- package/node_modules/@earendil-works/pi-ai/dist/models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +328 -120
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.js +217 -31
- package/node_modules/@earendil-works/pi-ai/dist/models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/oauth.d.ts +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/oauth.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/oauth.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/oauth.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/all.d.ts +11 -6
- package/node_modules/@earendil-works/pi-ai/dist/providers/all.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/all.js +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/all.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js +51 -10
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.js +4 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-auth.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-auth.js +13 -20
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-auth.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-stream.d.ts +8 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-stream.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-stream.js +21 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-stream.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-workers-ai.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-workers-ai.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-workers-ai.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.js +11 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.d.ts +1 -6
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.js +1 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.js +56 -5
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.d.ts +66 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.js +42 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai-cn.models.d.ts +36 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai-cn.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai-cn.models.js +19 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai-cn.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai.models.d.ts +36 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai.models.js +19 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.d.ts +57 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js +19 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.d.ts +42 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js +175 -139
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius-config.d.ts +26 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius-config.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius-config.js +59 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius-config.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius.d.ts +9 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius.js +54 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.d.ts +84 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.js +74 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/xai.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/xai.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/xai.js +15 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/xai.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.d.ts +6 -114
- package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.js +3 -92
- package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/context-transformer.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/context-transformer.js +9 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/context-transformer.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/index.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/index.js +6 -2
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/coerce-parameters.d.ts +8 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/coerce-parameters.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/coerce-parameters.js +92 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/coerce-parameters.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/format.d.ts +6 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/format.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/format.js +54 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/format.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/index.d.ts +4 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/index.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/index.js +4 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/index.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/invoke-match.d.ts +7 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/invoke-match.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/invoke-match.js +16 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/invoke-match.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/invoke-tag-scanner.d.ts +19 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/invoke-tag-scanner.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/invoke-tag-scanner.js +217 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/invoke-tag-scanner.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/parse.d.ts +4 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/parse.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/parse.js +46 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/parse.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/stream-boundary.d.ts +13 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/stream-boundary.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/stream-boundary.js +144 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/stream-boundary.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/stream.d.ts +5 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/stream.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/stream.js +208 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/stream.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/tool-resolver.d.ts +4 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/tool-resolver.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/tool-resolver.js +17 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/tool-resolver.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/xml-entities.d.ts +5 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/xml-entities.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/xml-entities.js +34 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/anthropic-xml/xml-entities.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/types.d.ts +3 -1
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/types.d.ts +12 -5
- package/node_modules/@earendil-works/pi-ai/dist/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/package.json +6 -1
- package/node_modules/@earendil-works/pi-pty/native/prebuilds/darwin-arm64/senpi_pty.darwin-arm64.node +0 -0
- package/node_modules/@earendil-works/pi-pty/package.json +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/utils.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/utils.js +22 -4
- package/node_modules/@earendil-works/pi-tui/dist/utils.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/package.json +6 -6
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.d.ts +0 -27
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.js.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/device-code.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/device-code.js.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.d.ts +0 -32
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.js.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/index.d.ts +0 -58
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/index.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/index.js +0 -122
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/index.js.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/load.d.ts +0 -5
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/load.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/load.js +0 -22
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/load.js.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/oauth-page.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/oauth-page.js.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.d.ts +0 -45
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.js.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/pkce.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/pkce.js.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/types.d.ts +0 -64
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/types.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/types.js +0 -2
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/types.js.map +0 -1
- /package/node_modules/@earendil-works/pi-ai/dist/{utils → auth}/oauth/device-code.d.ts +0 -0
- /package/node_modules/@earendil-works/pi-ai/dist/{utils → auth}/oauth/device-code.js +0 -0
- /package/node_modules/@earendil-works/pi-ai/dist/{utils → auth}/oauth/oauth-page.d.ts +0 -0
- /package/node_modules/@earendil-works/pi-ai/dist/{utils → auth}/oauth/oauth-page.js +0 -0
- /package/node_modules/@earendil-works/pi-ai/dist/{utils → auth}/oauth/pkce.d.ts +0 -0
- /package/node_modules/@earendil-works/pi-ai/dist/{utils → auth}/oauth/pkce.js +0 -0
|
@@ -382,7 +382,7 @@ export const OPENROUTER_MODELS = {
|
|
|
382
382
|
cacheRead: 0.3,
|
|
383
383
|
cacheWrite: 3.75,
|
|
384
384
|
},
|
|
385
|
-
contextWindow:
|
|
385
|
+
contextWindow: 200000,
|
|
386
386
|
maxTokens: 64000,
|
|
387
387
|
},
|
|
388
388
|
"anthropic/claude-sonnet-4.5": {
|
|
@@ -649,13 +649,13 @@ export const OPENROUTER_MODELS = {
|
|
|
649
649
|
reasoning: false,
|
|
650
650
|
input: ["text"],
|
|
651
651
|
cost: {
|
|
652
|
-
input: 0.
|
|
653
|
-
output:
|
|
652
|
+
input: 0.27,
|
|
653
|
+
output: 1.12,
|
|
654
654
|
cacheRead: 0.135,
|
|
655
655
|
cacheWrite: 0,
|
|
656
656
|
},
|
|
657
657
|
contextWindow: 163840,
|
|
658
|
-
maxTokens:
|
|
658
|
+
maxTokens: 65536,
|
|
659
659
|
},
|
|
660
660
|
"deepseek/deepseek-chat-v3.1": {
|
|
661
661
|
id: "deepseek/deepseek-chat-v3.1",
|
|
@@ -722,11 +722,11 @@ export const OPENROUTER_MODELS = {
|
|
|
722
722
|
input: ["text"],
|
|
723
723
|
cost: {
|
|
724
724
|
input: 0.27,
|
|
725
|
-
output:
|
|
726
|
-
cacheRead: 0.
|
|
725
|
+
output: 1,
|
|
726
|
+
cacheRead: 0.135,
|
|
727
727
|
cacheWrite: 0,
|
|
728
728
|
},
|
|
729
|
-
contextWindow:
|
|
729
|
+
contextWindow: 131072,
|
|
730
730
|
maxTokens: 32768,
|
|
731
731
|
},
|
|
732
732
|
"deepseek/deepseek-v3.2": {
|
|
@@ -739,13 +739,13 @@ export const OPENROUTER_MODELS = {
|
|
|
739
739
|
reasoning: true,
|
|
740
740
|
input: ["text"],
|
|
741
741
|
cost: {
|
|
742
|
-
input: 0.
|
|
743
|
-
output: 0.
|
|
744
|
-
cacheRead: 0.
|
|
742
|
+
input: 0.269,
|
|
743
|
+
output: 0.4,
|
|
744
|
+
cacheRead: 0.1345,
|
|
745
745
|
cacheWrite: 0,
|
|
746
746
|
},
|
|
747
|
-
contextWindow:
|
|
748
|
-
maxTokens:
|
|
747
|
+
contextWindow: 163840,
|
|
748
|
+
maxTokens: 65536,
|
|
749
749
|
},
|
|
750
750
|
"deepseek/deepseek-v3.2-exp": {
|
|
751
751
|
id: "deepseek/deepseek-v3.2-exp",
|
|
@@ -776,13 +776,13 @@ export const OPENROUTER_MODELS = {
|
|
|
776
776
|
thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "max": null, "xhigh": "xhigh" },
|
|
777
777
|
input: ["text"],
|
|
778
778
|
cost: {
|
|
779
|
-
input: 0.
|
|
780
|
-
output: 0.
|
|
781
|
-
cacheRead: 0.
|
|
779
|
+
input: 0.098,
|
|
780
|
+
output: 0.196,
|
|
781
|
+
cacheRead: 0.02,
|
|
782
782
|
cacheWrite: 0,
|
|
783
783
|
},
|
|
784
|
-
contextWindow:
|
|
785
|
-
maxTokens:
|
|
784
|
+
contextWindow: 1048575,
|
|
785
|
+
maxTokens: 4096,
|
|
786
786
|
},
|
|
787
787
|
"deepseek/deepseek-v4-pro": {
|
|
788
788
|
id: "deepseek/deepseek-v4-pro",
|
|
@@ -1048,12 +1048,12 @@ export const OPENROUTER_MODELS = {
|
|
|
1048
1048
|
input: ["text", "image"],
|
|
1049
1049
|
cost: {
|
|
1050
1050
|
input: 0.08,
|
|
1051
|
-
output: 0.
|
|
1052
|
-
cacheRead: 0,
|
|
1051
|
+
output: 0.45,
|
|
1052
|
+
cacheRead: 0.04,
|
|
1053
1053
|
cacheWrite: 0,
|
|
1054
1054
|
},
|
|
1055
1055
|
contextWindow: 131072,
|
|
1056
|
-
maxTokens:
|
|
1056
|
+
maxTokens: 131072,
|
|
1057
1057
|
},
|
|
1058
1058
|
"google/gemma-4-26b-a4b-it": {
|
|
1059
1059
|
id: "google/gemma-4-26b-a4b-it",
|
|
@@ -1065,13 +1065,13 @@ export const OPENROUTER_MODELS = {
|
|
|
1065
1065
|
reasoning: true,
|
|
1066
1066
|
input: ["text", "image"],
|
|
1067
1067
|
cost: {
|
|
1068
|
-
input: 0.
|
|
1069
|
-
output: 0.
|
|
1068
|
+
input: 0.1,
|
|
1069
|
+
output: 0.3,
|
|
1070
1070
|
cacheRead: 0,
|
|
1071
1071
|
cacheWrite: 0,
|
|
1072
1072
|
},
|
|
1073
|
-
contextWindow:
|
|
1074
|
-
maxTokens:
|
|
1073
|
+
contextWindow: 256000,
|
|
1074
|
+
maxTokens: 256000,
|
|
1075
1075
|
},
|
|
1076
1076
|
"google/gemma-4-26b-a4b-it:free": {
|
|
1077
1077
|
id: "google/gemma-4-26b-a4b-it:free",
|
|
@@ -1101,9 +1101,9 @@ export const OPENROUTER_MODELS = {
|
|
|
1101
1101
|
reasoning: true,
|
|
1102
1102
|
input: ["text", "image"],
|
|
1103
1103
|
cost: {
|
|
1104
|
-
input: 0.
|
|
1105
|
-
output: 0.
|
|
1106
|
-
cacheRead: 0.
|
|
1104
|
+
input: 0.22,
|
|
1105
|
+
output: 0.55,
|
|
1106
|
+
cacheRead: 0.12,
|
|
1107
1107
|
cacheWrite: 0,
|
|
1108
1108
|
},
|
|
1109
1109
|
contextWindow: 262144,
|
|
@@ -1300,13 +1300,13 @@ export const OPENROUTER_MODELS = {
|
|
|
1300
1300
|
reasoning: false,
|
|
1301
1301
|
input: ["text"],
|
|
1302
1302
|
cost: {
|
|
1303
|
-
input: 0.
|
|
1304
|
-
output: 0.
|
|
1305
|
-
cacheRead: 0,
|
|
1303
|
+
input: 0.05,
|
|
1304
|
+
output: 0.08,
|
|
1305
|
+
cacheRead: 0.025,
|
|
1306
1306
|
cacheWrite: 0,
|
|
1307
1307
|
},
|
|
1308
1308
|
contextWindow: 131072,
|
|
1309
|
-
maxTokens:
|
|
1309
|
+
maxTokens: 131072,
|
|
1310
1310
|
},
|
|
1311
1311
|
"meta-llama/llama-3.3-70b-instruct": {
|
|
1312
1312
|
id: "meta-llama/llama-3.3-70b-instruct",
|
|
@@ -1318,13 +1318,13 @@ export const OPENROUTER_MODELS = {
|
|
|
1318
1318
|
reasoning: false,
|
|
1319
1319
|
input: ["text"],
|
|
1320
1320
|
cost: {
|
|
1321
|
-
input: 0.
|
|
1322
|
-
output: 0.
|
|
1321
|
+
input: 0.13,
|
|
1322
|
+
output: 0.4,
|
|
1323
1323
|
cacheRead: 0,
|
|
1324
1324
|
cacheWrite: 0,
|
|
1325
1325
|
},
|
|
1326
1326
|
contextWindow: 131072,
|
|
1327
|
-
maxTokens:
|
|
1327
|
+
maxTokens: 128000,
|
|
1328
1328
|
},
|
|
1329
1329
|
"meta-llama/llama-3.3-70b-instruct:free": {
|
|
1330
1330
|
id: "meta-llama/llama-3.3-70b-instruct:free",
|
|
@@ -1380,6 +1380,24 @@ export const OPENROUTER_MODELS = {
|
|
|
1380
1380
|
contextWindow: 327680,
|
|
1381
1381
|
maxTokens: 16384,
|
|
1382
1382
|
},
|
|
1383
|
+
"meta/muse-spark-1.1": {
|
|
1384
|
+
id: "meta/muse-spark-1.1",
|
|
1385
|
+
name: "Meta: Muse Spark 1.1",
|
|
1386
|
+
api: "openai-completions",
|
|
1387
|
+
provider: "openrouter",
|
|
1388
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
1389
|
+
compat: { "supportsDeveloperRole": false, "thinkingFormat": "openrouter" },
|
|
1390
|
+
reasoning: true,
|
|
1391
|
+
input: ["text", "image"],
|
|
1392
|
+
cost: {
|
|
1393
|
+
input: 1.25,
|
|
1394
|
+
output: 4.25,
|
|
1395
|
+
cacheRead: 0.15,
|
|
1396
|
+
cacheWrite: 0,
|
|
1397
|
+
},
|
|
1398
|
+
contextWindow: 1048576,
|
|
1399
|
+
maxTokens: 4096,
|
|
1400
|
+
},
|
|
1383
1401
|
"minimax/minimax-m1": {
|
|
1384
1402
|
id: "minimax/minimax-m1",
|
|
1385
1403
|
name: "MiniMax: MiniMax M1",
|
|
@@ -1390,7 +1408,7 @@ export const OPENROUTER_MODELS = {
|
|
|
1390
1408
|
reasoning: true,
|
|
1391
1409
|
input: ["text"],
|
|
1392
1410
|
cost: {
|
|
1393
|
-
input: 0.
|
|
1411
|
+
input: 0.55,
|
|
1394
1412
|
output: 2.2,
|
|
1395
1413
|
cacheRead: 0,
|
|
1396
1414
|
cacheWrite: 0,
|
|
@@ -1462,13 +1480,13 @@ export const OPENROUTER_MODELS = {
|
|
|
1462
1480
|
reasoning: true,
|
|
1463
1481
|
input: ["text"],
|
|
1464
1482
|
cost: {
|
|
1465
|
-
input: 0.
|
|
1466
|
-
output:
|
|
1467
|
-
cacheRead: 0,
|
|
1483
|
+
input: 0.3,
|
|
1484
|
+
output: 1.2,
|
|
1485
|
+
cacheRead: 0.06,
|
|
1468
1486
|
cacheWrite: 0,
|
|
1469
1487
|
},
|
|
1470
|
-
contextWindow:
|
|
1471
|
-
maxTokens:
|
|
1488
|
+
contextWindow: 204800,
|
|
1489
|
+
maxTokens: 131072,
|
|
1472
1490
|
},
|
|
1473
1491
|
"minimax/minimax-m3": {
|
|
1474
1492
|
id: "minimax/minimax-m3",
|
|
@@ -1485,8 +1503,8 @@ export const OPENROUTER_MODELS = {
|
|
|
1485
1503
|
cacheRead: 0.06,
|
|
1486
1504
|
cacheWrite: 0,
|
|
1487
1505
|
},
|
|
1488
|
-
contextWindow:
|
|
1489
|
-
maxTokens:
|
|
1506
|
+
contextWindow: 524288,
|
|
1507
|
+
maxTokens: 512000,
|
|
1490
1508
|
},
|
|
1491
1509
|
"mistralai/codestral-2508": {
|
|
1492
1510
|
id: "mistralai/codestral-2508",
|
|
@@ -1696,13 +1714,13 @@ export const OPENROUTER_MODELS = {
|
|
|
1696
1714
|
reasoning: false,
|
|
1697
1715
|
input: ["text"],
|
|
1698
1716
|
cost: {
|
|
1699
|
-
input: 0.
|
|
1717
|
+
input: 0.019,
|
|
1700
1718
|
output: 0.03,
|
|
1701
1719
|
cacheRead: 0,
|
|
1702
1720
|
cacheWrite: 0,
|
|
1703
1721
|
},
|
|
1704
1722
|
contextWindow: 131072,
|
|
1705
|
-
maxTokens:
|
|
1723
|
+
maxTokens: 16384,
|
|
1706
1724
|
},
|
|
1707
1725
|
"mistralai/mistral-saba": {
|
|
1708
1726
|
id: "mistralai/mistral-saba",
|
|
@@ -1750,13 +1768,13 @@ export const OPENROUTER_MODELS = {
|
|
|
1750
1768
|
reasoning: false,
|
|
1751
1769
|
input: ["text", "image"],
|
|
1752
1770
|
cost: {
|
|
1753
|
-
input: 0.
|
|
1754
|
-
output: 0.
|
|
1755
|
-
cacheRead: 0,
|
|
1771
|
+
input: 0.1,
|
|
1772
|
+
output: 0.3,
|
|
1773
|
+
cacheRead: 0.01,
|
|
1756
1774
|
cacheWrite: 0,
|
|
1757
1775
|
},
|
|
1758
|
-
contextWindow:
|
|
1759
|
-
maxTokens:
|
|
1776
|
+
contextWindow: 131072,
|
|
1777
|
+
maxTokens: 4096,
|
|
1760
1778
|
},
|
|
1761
1779
|
"mistralai/mixtral-8x22b-instruct": {
|
|
1762
1780
|
id: "mistralai/mixtral-8x22b-instruct",
|
|
@@ -1842,11 +1860,11 @@ export const OPENROUTER_MODELS = {
|
|
|
1842
1860
|
cost: {
|
|
1843
1861
|
input: 0.6,
|
|
1844
1862
|
output: 2.5,
|
|
1845
|
-
cacheRead: 0
|
|
1863
|
+
cacheRead: 0,
|
|
1846
1864
|
cacheWrite: 0,
|
|
1847
1865
|
},
|
|
1848
1866
|
contextWindow: 262144,
|
|
1849
|
-
maxTokens:
|
|
1867
|
+
maxTokens: 262144,
|
|
1850
1868
|
},
|
|
1851
1869
|
"moonshotai/kimi-k2.5": {
|
|
1852
1870
|
id: "moonshotai/kimi-k2.5",
|
|
@@ -1876,13 +1894,13 @@ export const OPENROUTER_MODELS = {
|
|
|
1876
1894
|
reasoning: true,
|
|
1877
1895
|
input: ["text", "image"],
|
|
1878
1896
|
cost: {
|
|
1879
|
-
input: 0.
|
|
1880
|
-
output:
|
|
1881
|
-
cacheRead: 0.
|
|
1897
|
+
input: 0.95,
|
|
1898
|
+
output: 4,
|
|
1899
|
+
cacheRead: 0.16,
|
|
1882
1900
|
cacheWrite: 0,
|
|
1883
1901
|
},
|
|
1884
1902
|
contextWindow: 262144,
|
|
1885
|
-
maxTokens:
|
|
1903
|
+
maxTokens: 4096,
|
|
1886
1904
|
},
|
|
1887
1905
|
"moonshotai/kimi-k2.7-code": {
|
|
1888
1906
|
id: "moonshotai/kimi-k2.7-code",
|
|
@@ -1894,14 +1912,32 @@ export const OPENROUTER_MODELS = {
|
|
|
1894
1912
|
reasoning: true,
|
|
1895
1913
|
input: ["text", "image"],
|
|
1896
1914
|
cost: {
|
|
1897
|
-
input: 0.
|
|
1898
|
-
output: 3.
|
|
1899
|
-
cacheRead: 0.
|
|
1915
|
+
input: 0.75,
|
|
1916
|
+
output: 3.5,
|
|
1917
|
+
cacheRead: 0.16,
|
|
1900
1918
|
cacheWrite: 0,
|
|
1901
1919
|
},
|
|
1902
1920
|
contextWindow: 262144,
|
|
1903
1921
|
maxTokens: 262144,
|
|
1904
1922
|
},
|
|
1923
|
+
"moonshotai/kimi-k3": {
|
|
1924
|
+
id: "moonshotai/kimi-k3",
|
|
1925
|
+
name: "MoonshotAI: Kimi K3",
|
|
1926
|
+
api: "openai-completions",
|
|
1927
|
+
provider: "openrouter",
|
|
1928
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
1929
|
+
compat: { "supportsDeveloperRole": false, "thinkingFormat": "openrouter" },
|
|
1930
|
+
reasoning: true,
|
|
1931
|
+
input: ["text", "image"],
|
|
1932
|
+
cost: {
|
|
1933
|
+
input: 3,
|
|
1934
|
+
output: 15,
|
|
1935
|
+
cacheRead: 0.3,
|
|
1936
|
+
cacheWrite: 0,
|
|
1937
|
+
},
|
|
1938
|
+
contextWindow: 1048576,
|
|
1939
|
+
maxTokens: 131072,
|
|
1940
|
+
},
|
|
1905
1941
|
"nex-agi/nex-n2-mini": {
|
|
1906
1942
|
id: "nex-agi/nex-n2-mini",
|
|
1907
1943
|
name: "Nex AGI: Nex-N2-Mini",
|
|
@@ -2020,12 +2056,12 @@ export const OPENROUTER_MODELS = {
|
|
|
2020
2056
|
reasoning: true,
|
|
2021
2057
|
input: ["text"],
|
|
2022
2058
|
cost: {
|
|
2023
|
-
input: 0.
|
|
2024
|
-
output: 0.
|
|
2025
|
-
cacheRead: 0,
|
|
2059
|
+
input: 0.21,
|
|
2060
|
+
output: 0.455,
|
|
2061
|
+
cacheRead: 0.06,
|
|
2026
2062
|
cacheWrite: 0,
|
|
2027
2063
|
},
|
|
2028
|
-
contextWindow:
|
|
2064
|
+
contextWindow: 1000000,
|
|
2029
2065
|
maxTokens: 4096,
|
|
2030
2066
|
},
|
|
2031
2067
|
"nvidia/nemotron-3-super-120b-a12b:free": {
|
|
@@ -2056,13 +2092,13 @@ export const OPENROUTER_MODELS = {
|
|
|
2056
2092
|
reasoning: true,
|
|
2057
2093
|
input: ["text"],
|
|
2058
2094
|
cost: {
|
|
2059
|
-
input: 0.
|
|
2060
|
-
output:
|
|
2061
|
-
cacheRead: 0.
|
|
2095
|
+
input: 0.6,
|
|
2096
|
+
output: 3.6,
|
|
2097
|
+
cacheRead: 0.2,
|
|
2062
2098
|
cacheWrite: 0,
|
|
2063
2099
|
},
|
|
2064
|
-
contextWindow:
|
|
2065
|
-
maxTokens:
|
|
2100
|
+
contextWindow: 512288,
|
|
2101
|
+
maxTokens: 4096,
|
|
2066
2102
|
},
|
|
2067
2103
|
"nvidia/nemotron-3-ultra-550b-a55b:free": {
|
|
2068
2104
|
id: "nvidia/nemotron-3-ultra-550b-a55b:free",
|
|
@@ -2242,7 +2278,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2242
2278
|
cacheWrite: 0,
|
|
2243
2279
|
},
|
|
2244
2280
|
contextWindow: 1047576,
|
|
2245
|
-
maxTokens:
|
|
2281
|
+
maxTokens: 32768,
|
|
2246
2282
|
},
|
|
2247
2283
|
"openai/gpt-4.1-mini": {
|
|
2248
2284
|
id: "openai/gpt-4.1-mini",
|
|
@@ -2292,7 +2328,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2292
2328
|
cost: {
|
|
2293
2329
|
input: 2.5,
|
|
2294
2330
|
output: 10,
|
|
2295
|
-
cacheRead:
|
|
2331
|
+
cacheRead: 1.25,
|
|
2296
2332
|
cacheWrite: 0,
|
|
2297
2333
|
},
|
|
2298
2334
|
contextWindow: 128000,
|
|
@@ -2508,11 +2544,11 @@ export const OPENROUTER_MODELS = {
|
|
|
2508
2544
|
cost: {
|
|
2509
2545
|
input: 1.25,
|
|
2510
2546
|
output: 10,
|
|
2511
|
-
cacheRead: 0.
|
|
2547
|
+
cacheRead: 0.125,
|
|
2512
2548
|
cacheWrite: 0,
|
|
2513
2549
|
},
|
|
2514
2550
|
contextWindow: 128000,
|
|
2515
|
-
maxTokens:
|
|
2551
|
+
maxTokens: 16384,
|
|
2516
2552
|
},
|
|
2517
2553
|
"openai/gpt-5.1-codex": {
|
|
2518
2554
|
id: "openai/gpt-5.1-codex",
|
|
@@ -2526,7 +2562,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2526
2562
|
cost: {
|
|
2527
2563
|
input: 1.25,
|
|
2528
2564
|
output: 10,
|
|
2529
|
-
cacheRead: 0.
|
|
2565
|
+
cacheRead: 0.125,
|
|
2530
2566
|
cacheWrite: 0,
|
|
2531
2567
|
},
|
|
2532
2568
|
contextWindow: 400000,
|
|
@@ -2974,8 +3010,8 @@ export const OPENROUTER_MODELS = {
|
|
|
2974
3010
|
reasoning: true,
|
|
2975
3011
|
input: ["text"],
|
|
2976
3012
|
cost: {
|
|
2977
|
-
input: 0.
|
|
2978
|
-
output: 0.
|
|
3013
|
+
input: 0.037,
|
|
3014
|
+
output: 0.17,
|
|
2979
3015
|
cacheRead: 0,
|
|
2980
3016
|
cacheWrite: 0,
|
|
2981
3017
|
},
|
|
@@ -2992,13 +3028,13 @@ export const OPENROUTER_MODELS = {
|
|
|
2992
3028
|
reasoning: true,
|
|
2993
3029
|
input: ["text"],
|
|
2994
3030
|
cost: {
|
|
2995
|
-
input: 0.
|
|
2996
|
-
output: 0.
|
|
2997
|
-
cacheRead: 0,
|
|
3031
|
+
input: 0.03,
|
|
3032
|
+
output: 0.13,
|
|
3033
|
+
cacheRead: 0.03,
|
|
2998
3034
|
cacheWrite: 0,
|
|
2999
3035
|
},
|
|
3000
3036
|
contextWindow: 131072,
|
|
3001
|
-
maxTokens:
|
|
3037
|
+
maxTokens: 131072,
|
|
3002
3038
|
},
|
|
3003
3039
|
"openai/gpt-oss-20b:free": {
|
|
3004
3040
|
id: "openai/gpt-oss-20b:free",
|
|
@@ -3424,13 +3460,13 @@ export const OPENROUTER_MODELS = {
|
|
|
3424
3460
|
reasoning: true,
|
|
3425
3461
|
input: ["text"],
|
|
3426
3462
|
cost: {
|
|
3427
|
-
input: 0.
|
|
3463
|
+
input: 0.12,
|
|
3428
3464
|
output: 0.24,
|
|
3429
3465
|
cacheRead: 0,
|
|
3430
3466
|
cacheWrite: 0,
|
|
3431
3467
|
},
|
|
3432
3468
|
contextWindow: 40960,
|
|
3433
|
-
maxTokens:
|
|
3469
|
+
maxTokens: 16384,
|
|
3434
3470
|
},
|
|
3435
3471
|
"qwen/qwen3-235b-a22b": {
|
|
3436
3472
|
id: "qwen/qwen3-235b-a22b",
|
|
@@ -3514,13 +3550,13 @@ export const OPENROUTER_MODELS = {
|
|
|
3514
3550
|
reasoning: false,
|
|
3515
3551
|
input: ["text"],
|
|
3516
3552
|
cost: {
|
|
3517
|
-
input: 0.
|
|
3518
|
-
output: 0.
|
|
3553
|
+
input: 0.1,
|
|
3554
|
+
output: 0.3,
|
|
3519
3555
|
cacheRead: 0,
|
|
3520
3556
|
cacheWrite: 0,
|
|
3521
3557
|
},
|
|
3522
|
-
contextWindow:
|
|
3523
|
-
maxTokens:
|
|
3558
|
+
contextWindow: 262144,
|
|
3559
|
+
maxTokens: 4096,
|
|
3524
3560
|
},
|
|
3525
3561
|
"qwen/qwen3-30b-a3b-thinking-2507": {
|
|
3526
3562
|
id: "qwen/qwen3-30b-a3b-thinking-2507",
|
|
@@ -3586,9 +3622,9 @@ export const OPENROUTER_MODELS = {
|
|
|
3586
3622
|
reasoning: false,
|
|
3587
3623
|
input: ["text"],
|
|
3588
3624
|
cost: {
|
|
3589
|
-
input: 0.
|
|
3590
|
-
output: 1
|
|
3591
|
-
cacheRead: 0,
|
|
3625
|
+
input: 0.3,
|
|
3626
|
+
output: 1,
|
|
3627
|
+
cacheRead: 0.1,
|
|
3592
3628
|
cacheWrite: 0,
|
|
3593
3629
|
},
|
|
3594
3630
|
contextWindow: 262144,
|
|
@@ -3730,13 +3766,13 @@ export const OPENROUTER_MODELS = {
|
|
|
3730
3766
|
reasoning: false,
|
|
3731
3767
|
input: ["text"],
|
|
3732
3768
|
cost: {
|
|
3733
|
-
input: 0.
|
|
3769
|
+
input: 0.1,
|
|
3734
3770
|
output: 1.1,
|
|
3735
|
-
cacheRead: 0,
|
|
3771
|
+
cacheRead: 0.07,
|
|
3736
3772
|
cacheWrite: 0,
|
|
3737
3773
|
},
|
|
3738
3774
|
contextWindow: 262144,
|
|
3739
|
-
maxTokens:
|
|
3775
|
+
maxTokens: 262144,
|
|
3740
3776
|
},
|
|
3741
3777
|
"qwen/qwen3-next-80b-a3b-instruct:free": {
|
|
3742
3778
|
id: "qwen/qwen3-next-80b-a3b-instruct:free",
|
|
@@ -3784,13 +3820,13 @@ export const OPENROUTER_MODELS = {
|
|
|
3784
3820
|
reasoning: false,
|
|
3785
3821
|
input: ["text", "image"],
|
|
3786
3822
|
cost: {
|
|
3787
|
-
input: 0.
|
|
3788
|
-
output:
|
|
3789
|
-
cacheRead: 0.
|
|
3823
|
+
input: 0.21,
|
|
3824
|
+
output: 1.9,
|
|
3825
|
+
cacheRead: 0.1,
|
|
3790
3826
|
cacheWrite: 0,
|
|
3791
3827
|
},
|
|
3792
|
-
contextWindow:
|
|
3793
|
-
maxTokens:
|
|
3828
|
+
contextWindow: 131072,
|
|
3829
|
+
maxTokens: 32768,
|
|
3794
3830
|
},
|
|
3795
3831
|
"qwen/qwen3-vl-235b-a22b-thinking": {
|
|
3796
3832
|
id: "qwen/qwen3-vl-235b-a22b-thinking",
|
|
@@ -3916,7 +3952,7 @@ export const OPENROUTER_MODELS = {
|
|
|
3916
3952
|
cacheWrite: 0,
|
|
3917
3953
|
},
|
|
3918
3954
|
contextWindow: 262144,
|
|
3919
|
-
maxTokens:
|
|
3955
|
+
maxTokens: 65536,
|
|
3920
3956
|
},
|
|
3921
3957
|
"qwen/qwen3.5-27b": {
|
|
3922
3958
|
id: "qwen/qwen3.5-27b",
|
|
@@ -3948,11 +3984,11 @@ export const OPENROUTER_MODELS = {
|
|
|
3948
3984
|
cost: {
|
|
3949
3985
|
input: 0.14,
|
|
3950
3986
|
output: 1,
|
|
3951
|
-
cacheRead: 0
|
|
3987
|
+
cacheRead: 0,
|
|
3952
3988
|
cacheWrite: 0,
|
|
3953
3989
|
},
|
|
3954
3990
|
contextWindow: 262144,
|
|
3955
|
-
maxTokens:
|
|
3991
|
+
maxTokens: 262144,
|
|
3956
3992
|
},
|
|
3957
3993
|
"qwen/qwen3.5-397b-a17b": {
|
|
3958
3994
|
id: "qwen/qwen3.5-397b-a17b",
|
|
@@ -3964,13 +4000,13 @@ export const OPENROUTER_MODELS = {
|
|
|
3964
4000
|
reasoning: true,
|
|
3965
4001
|
input: ["text", "image"],
|
|
3966
4002
|
cost: {
|
|
3967
|
-
input: 0.
|
|
3968
|
-
output:
|
|
3969
|
-
cacheRead: 0.
|
|
4003
|
+
input: 0.45,
|
|
4004
|
+
output: 3,
|
|
4005
|
+
cacheRead: 0.225,
|
|
3970
4006
|
cacheWrite: 0,
|
|
3971
4007
|
},
|
|
3972
|
-
contextWindow:
|
|
3973
|
-
maxTokens:
|
|
4008
|
+
contextWindow: 262144,
|
|
4009
|
+
maxTokens: 65536,
|
|
3974
4010
|
},
|
|
3975
4011
|
"qwen/qwen3.5-9b": {
|
|
3976
4012
|
id: "qwen/qwen3.5-9b",
|
|
@@ -4054,13 +4090,13 @@ export const OPENROUTER_MODELS = {
|
|
|
4054
4090
|
reasoning: true,
|
|
4055
4091
|
input: ["text", "image"],
|
|
4056
4092
|
cost: {
|
|
4057
|
-
input: 0.
|
|
4058
|
-
output: 2.
|
|
4093
|
+
input: 0.45,
|
|
4094
|
+
output: 2.7,
|
|
4059
4095
|
cacheRead: 0,
|
|
4060
4096
|
cacheWrite: 0,
|
|
4061
4097
|
},
|
|
4062
|
-
contextWindow:
|
|
4063
|
-
maxTokens:
|
|
4098
|
+
contextWindow: 262144,
|
|
4099
|
+
maxTokens: 65536,
|
|
4064
4100
|
},
|
|
4065
4101
|
"qwen/qwen3.6-35b-a3b": {
|
|
4066
4102
|
id: "qwen/qwen3.6-35b-a3b",
|
|
@@ -4144,10 +4180,10 @@ export const OPENROUTER_MODELS = {
|
|
|
4144
4180
|
reasoning: true,
|
|
4145
4181
|
input: ["text"],
|
|
4146
4182
|
cost: {
|
|
4147
|
-
input: 1.
|
|
4148
|
-
output:
|
|
4149
|
-
cacheRead: 0.
|
|
4150
|
-
cacheWrite: 1.
|
|
4183
|
+
input: 1.475,
|
|
4184
|
+
output: 4.425,
|
|
4185
|
+
cacheRead: 0.295,
|
|
4186
|
+
cacheWrite: 1.84375,
|
|
4151
4187
|
},
|
|
4152
4188
|
contextWindow: 1000000,
|
|
4153
4189
|
maxTokens: 65536,
|
|
@@ -4288,13 +4324,13 @@ export const OPENROUTER_MODELS = {
|
|
|
4288
4324
|
reasoning: true,
|
|
4289
4325
|
input: ["text"],
|
|
4290
4326
|
cost: {
|
|
4291
|
-
input: 0.
|
|
4292
|
-
output: 0.
|
|
4293
|
-
cacheRead: 0.
|
|
4327
|
+
input: 0.2,
|
|
4328
|
+
output: 0.8,
|
|
4329
|
+
cacheRead: 0.05,
|
|
4294
4330
|
cacheWrite: 0,
|
|
4295
4331
|
},
|
|
4296
4332
|
contextWindow: 262144,
|
|
4297
|
-
maxTokens:
|
|
4333
|
+
maxTokens: 131072,
|
|
4298
4334
|
},
|
|
4299
4335
|
"tencent/hy3-preview": {
|
|
4300
4336
|
id: "tencent/hy3-preview",
|
|
@@ -4450,13 +4486,13 @@ export const OPENROUTER_MODELS = {
|
|
|
4450
4486
|
reasoning: true,
|
|
4451
4487
|
input: ["text", "image"],
|
|
4452
4488
|
cost: {
|
|
4453
|
-
input: 0.
|
|
4489
|
+
input: 0.14,
|
|
4454
4490
|
output: 0.28,
|
|
4455
|
-
cacheRead: 0.
|
|
4491
|
+
cacheRead: 0.0028,
|
|
4456
4492
|
cacheWrite: 0,
|
|
4457
4493
|
},
|
|
4458
|
-
contextWindow:
|
|
4459
|
-
maxTokens:
|
|
4494
|
+
contextWindow: 1048576,
|
|
4495
|
+
maxTokens: 131072,
|
|
4460
4496
|
},
|
|
4461
4497
|
"xiaomi/mimo-v2.5-pro": {
|
|
4462
4498
|
id: "xiaomi/mimo-v2.5-pro",
|
|
@@ -4540,13 +4576,13 @@ export const OPENROUTER_MODELS = {
|
|
|
4540
4576
|
reasoning: true,
|
|
4541
4577
|
input: ["text"],
|
|
4542
4578
|
cost: {
|
|
4543
|
-
input: 0.
|
|
4544
|
-
output:
|
|
4545
|
-
cacheRead: 0.
|
|
4579
|
+
input: 0.5,
|
|
4580
|
+
output: 2,
|
|
4581
|
+
cacheRead: 0.1,
|
|
4546
4582
|
cacheWrite: 0,
|
|
4547
4583
|
},
|
|
4548
|
-
contextWindow:
|
|
4549
|
-
maxTokens:
|
|
4584
|
+
contextWindow: 202752,
|
|
4585
|
+
maxTokens: 131072,
|
|
4550
4586
|
},
|
|
4551
4587
|
"z-ai/glm-4.6v": {
|
|
4552
4588
|
id: "z-ai/glm-4.6v",
|
|
@@ -4594,13 +4630,13 @@ export const OPENROUTER_MODELS = {
|
|
|
4594
4630
|
reasoning: true,
|
|
4595
4631
|
input: ["text"],
|
|
4596
4632
|
cost: {
|
|
4597
|
-
input: 0.
|
|
4633
|
+
input: 0.0605,
|
|
4598
4634
|
output: 0.4,
|
|
4599
|
-
cacheRead: 0
|
|
4635
|
+
cacheRead: 0,
|
|
4600
4636
|
cacheWrite: 0,
|
|
4601
4637
|
},
|
|
4602
|
-
contextWindow:
|
|
4603
|
-
maxTokens:
|
|
4638
|
+
contextWindow: 131072,
|
|
4639
|
+
maxTokens: 131072,
|
|
4604
4640
|
},
|
|
4605
4641
|
"z-ai/glm-5": {
|
|
4606
4642
|
id: "z-ai/glm-5",
|
|
@@ -4618,7 +4654,7 @@ export const OPENROUTER_MODELS = {
|
|
|
4618
4654
|
cacheWrite: 0,
|
|
4619
4655
|
},
|
|
4620
4656
|
contextWindow: 202752,
|
|
4621
|
-
maxTokens:
|
|
4657
|
+
maxTokens: 202752,
|
|
4622
4658
|
},
|
|
4623
4659
|
"z-ai/glm-5-turbo": {
|
|
4624
4660
|
id: "z-ai/glm-5-turbo",
|
|
@@ -4635,7 +4671,7 @@ export const OPENROUTER_MODELS = {
|
|
|
4635
4671
|
cacheRead: 0.24,
|
|
4636
4672
|
cacheWrite: 0,
|
|
4637
4673
|
},
|
|
4638
|
-
contextWindow:
|
|
4674
|
+
contextWindow: 202752,
|
|
4639
4675
|
maxTokens: 131072,
|
|
4640
4676
|
},
|
|
4641
4677
|
"z-ai/glm-5.1": {
|
|
@@ -4667,13 +4703,13 @@ export const OPENROUTER_MODELS = {
|
|
|
4667
4703
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
4668
4704
|
input: ["text"],
|
|
4669
4705
|
cost: {
|
|
4670
|
-
input: 0.
|
|
4671
|
-
output:
|
|
4672
|
-
cacheRead: 0.
|
|
4706
|
+
input: 0.9156,
|
|
4707
|
+
output: 2.8776,
|
|
4708
|
+
cacheRead: 0.17004,
|
|
4673
4709
|
cacheWrite: 0,
|
|
4674
4710
|
},
|
|
4675
4711
|
contextWindow: 1048576,
|
|
4676
|
-
maxTokens:
|
|
4712
|
+
maxTokens: 131072,
|
|
4677
4713
|
},
|
|
4678
4714
|
"z-ai/glm-5v-turbo": {
|
|
4679
4715
|
id: "z-ai/glm-5v-turbo",
|
|
@@ -4811,13 +4847,13 @@ export const OPENROUTER_MODELS = {
|
|
|
4811
4847
|
reasoning: true,
|
|
4812
4848
|
input: ["text", "image"],
|
|
4813
4849
|
cost: {
|
|
4814
|
-
input:
|
|
4815
|
-
output:
|
|
4816
|
-
cacheRead: 0.
|
|
4850
|
+
input: 3,
|
|
4851
|
+
output: 15,
|
|
4852
|
+
cacheRead: 0.3,
|
|
4817
4853
|
cacheWrite: 0,
|
|
4818
4854
|
},
|
|
4819
|
-
contextWindow:
|
|
4820
|
-
maxTokens:
|
|
4855
|
+
contextWindow: 1048576,
|
|
4856
|
+
maxTokens: 131072,
|
|
4821
4857
|
},
|
|
4822
4858
|
"~openai/gpt-latest": {
|
|
4823
4859
|
id: "~openai/gpt-latest",
|