@aituber-onair/chat 0.64.0 → 0.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.ja.md +120 -56
  2. package/README.md +119 -61
  3. package/dist/cjs/constants/claude.d.ts +1 -0
  4. package/dist/cjs/constants/claude.d.ts.map +1 -1
  5. package/dist/cjs/constants/claude.js +4 -1
  6. package/dist/cjs/constants/claude.js.map +1 -1
  7. package/dist/cjs/constants/deepseek.d.ts +1 -0
  8. package/dist/cjs/constants/deepseek.d.ts.map +1 -1
  9. package/dist/cjs/constants/deepseek.js +1 -0
  10. package/dist/cjs/constants/deepseek.js.map +1 -1
  11. package/dist/cjs/constants/gemini.d.ts +2 -0
  12. package/dist/cjs/constants/gemini.d.ts.map +1 -1
  13. package/dist/cjs/constants/gemini.js +4 -2
  14. package/dist/cjs/constants/gemini.js.map +1 -1
  15. package/dist/cjs/constants/kimi.d.ts +4 -0
  16. package/dist/cjs/constants/kimi.d.ts.map +1 -1
  17. package/dist/cjs/constants/kimi.js +10 -2
  18. package/dist/cjs/constants/kimi.js.map +1 -1
  19. package/dist/cjs/constants/mistral.d.ts +1 -1
  20. package/dist/cjs/constants/mistral.d.ts.map +1 -1
  21. package/dist/cjs/constants/mistral.js +1 -1
  22. package/dist/cjs/constants/mistral.js.map +1 -1
  23. package/dist/cjs/constants/openai.d.ts +12 -1
  24. package/dist/cjs/constants/openai.d.ts.map +1 -1
  25. package/dist/cjs/constants/openai.js +34 -4
  26. package/dist/cjs/constants/openai.js.map +1 -1
  27. package/dist/cjs/constants/openrouter.d.ts +12 -0
  28. package/dist/cjs/constants/openrouter.d.ts.map +1 -1
  29. package/dist/cjs/constants/openrouter.js +84 -7
  30. package/dist/cjs/constants/openrouter.js.map +1 -1
  31. package/dist/cjs/constants/plamo.d.ts +1 -1
  32. package/dist/cjs/constants/plamo.d.ts.map +1 -1
  33. package/dist/cjs/constants/plamo.js +1 -1
  34. package/dist/cjs/constants/plamo.js.map +1 -1
  35. package/dist/cjs/services/ChatServiceFactory.d.ts.map +1 -1
  36. package/dist/cjs/services/ChatServiceFactory.js +2 -1
  37. package/dist/cjs/services/ChatServiceFactory.js.map +1 -1
  38. package/dist/cjs/services/providers/claude/ClaudeChatServiceProvider.d.ts.map +1 -1
  39. package/dist/cjs/services/providers/claude/ClaudeChatServiceProvider.js +0 -1
  40. package/dist/cjs/services/providers/claude/ClaudeChatServiceProvider.js.map +1 -1
  41. package/dist/cjs/services/providers/kimi/KimiChatServiceProvider.d.ts.map +1 -1
  42. package/dist/cjs/services/providers/kimi/KimiChatServiceProvider.js +2 -1
  43. package/dist/cjs/services/providers/kimi/KimiChatServiceProvider.js.map +1 -1
  44. package/dist/cjs/services/providers/openai/OpenAIChatService.d.ts.map +1 -1
  45. package/dist/cjs/services/providers/openai/OpenAIChatService.js +6 -3
  46. package/dist/cjs/services/providers/openai/OpenAIChatService.js.map +1 -1
  47. package/dist/cjs/services/providers/openai/OpenAIChatServiceProvider.d.ts.map +1 -1
  48. package/dist/cjs/services/providers/openai/OpenAIChatServiceProvider.js +6 -12
  49. package/dist/cjs/services/providers/openai/OpenAIChatServiceProvider.js.map +1 -1
  50. package/dist/cjs/services/providers/openai/openaiRequestBuilder.d.ts.map +1 -1
  51. package/dist/cjs/services/providers/openai/openaiRequestBuilder.js +6 -2
  52. package/dist/cjs/services/providers/openai/openaiRequestBuilder.js.map +1 -1
  53. package/dist/cjs/services/providers/openrouter/OpenRouterChatService.d.ts.map +1 -1
  54. package/dist/cjs/services/providers/openrouter/OpenRouterChatService.js +6 -2
  55. package/dist/cjs/services/providers/openrouter/OpenRouterChatService.js.map +1 -1
  56. package/dist/cjs/services/providers/openrouter/OpenRouterChatServiceProvider.d.ts +2 -2
  57. package/dist/cjs/services/providers/openrouter/OpenRouterChatServiceProvider.d.ts.map +1 -1
  58. package/dist/cjs/services/providers/openrouter/OpenRouterChatServiceProvider.js +15 -16
  59. package/dist/cjs/services/providers/openrouter/OpenRouterChatServiceProvider.js.map +1 -1
  60. package/dist/esm/constants/claude.d.ts +1 -0
  61. package/dist/esm/constants/claude.d.ts.map +1 -1
  62. package/dist/esm/constants/claude.js +4 -1
  63. package/dist/esm/constants/claude.js.map +1 -1
  64. package/dist/esm/constants/deepseek.d.ts +1 -0
  65. package/dist/esm/constants/deepseek.d.ts.map +1 -1
  66. package/dist/esm/constants/deepseek.js +1 -0
  67. package/dist/esm/constants/deepseek.js.map +1 -1
  68. package/dist/esm/constants/gemini.d.ts +2 -0
  69. package/dist/esm/constants/gemini.d.ts.map +1 -1
  70. package/dist/esm/constants/gemini.js +4 -2
  71. package/dist/esm/constants/gemini.js.map +1 -1
  72. package/dist/esm/constants/kimi.d.ts +4 -0
  73. package/dist/esm/constants/kimi.d.ts.map +1 -1
  74. package/dist/esm/constants/kimi.js +9 -1
  75. package/dist/esm/constants/kimi.js.map +1 -1
  76. package/dist/esm/constants/mistral.d.ts +1 -1
  77. package/dist/esm/constants/mistral.d.ts.map +1 -1
  78. package/dist/esm/constants/mistral.js +1 -1
  79. package/dist/esm/constants/mistral.js.map +1 -1
  80. package/dist/esm/constants/openai.d.ts +12 -1
  81. package/dist/esm/constants/openai.d.ts.map +1 -1
  82. package/dist/esm/constants/openai.js +33 -3
  83. package/dist/esm/constants/openai.js.map +1 -1
  84. package/dist/esm/constants/openrouter.d.ts +12 -0
  85. package/dist/esm/constants/openrouter.d.ts.map +1 -1
  86. package/dist/esm/constants/openrouter.js +81 -5
  87. package/dist/esm/constants/openrouter.js.map +1 -1
  88. package/dist/esm/constants/plamo.d.ts +1 -1
  89. package/dist/esm/constants/plamo.d.ts.map +1 -1
  90. package/dist/esm/constants/plamo.js +1 -1
  91. package/dist/esm/constants/plamo.js.map +1 -1
  92. package/dist/esm/services/ChatServiceFactory.d.ts.map +1 -1
  93. package/dist/esm/services/ChatServiceFactory.js +3 -2
  94. package/dist/esm/services/ChatServiceFactory.js.map +1 -1
  95. package/dist/esm/services/providers/claude/ClaudeChatServiceProvider.d.ts.map +1 -1
  96. package/dist/esm/services/providers/claude/ClaudeChatServiceProvider.js +1 -2
  97. package/dist/esm/services/providers/claude/ClaudeChatServiceProvider.js.map +1 -1
  98. package/dist/esm/services/providers/kimi/KimiChatServiceProvider.d.ts.map +1 -1
  99. package/dist/esm/services/providers/kimi/KimiChatServiceProvider.js +3 -2
  100. package/dist/esm/services/providers/kimi/KimiChatServiceProvider.js.map +1 -1
  101. package/dist/esm/services/providers/openai/OpenAIChatService.d.ts.map +1 -1
  102. package/dist/esm/services/providers/openai/OpenAIChatService.js +7 -4
  103. package/dist/esm/services/providers/openai/OpenAIChatService.js.map +1 -1
  104. package/dist/esm/services/providers/openai/OpenAIChatServiceProvider.d.ts.map +1 -1
  105. package/dist/esm/services/providers/openai/OpenAIChatServiceProvider.js +7 -13
  106. package/dist/esm/services/providers/openai/OpenAIChatServiceProvider.js.map +1 -1
  107. package/dist/esm/services/providers/openai/openaiRequestBuilder.d.ts.map +1 -1
  108. package/dist/esm/services/providers/openai/openaiRequestBuilder.js +7 -3
  109. package/dist/esm/services/providers/openai/openaiRequestBuilder.js.map +1 -1
  110. package/dist/esm/services/providers/openrouter/OpenRouterChatService.d.ts.map +1 -1
  111. package/dist/esm/services/providers/openrouter/OpenRouterChatService.js +7 -3
  112. package/dist/esm/services/providers/openrouter/OpenRouterChatService.js.map +1 -1
  113. package/dist/esm/services/providers/openrouter/OpenRouterChatServiceProvider.d.ts +2 -2
  114. package/dist/esm/services/providers/openrouter/OpenRouterChatServiceProvider.d.ts.map +1 -1
  115. package/dist/esm/services/providers/openrouter/OpenRouterChatServiceProvider.js +16 -17
  116. package/dist/esm/services/providers/openrouter/OpenRouterChatServiceProvider.js.map +1 -1
  117. package/dist/umd/aituber-onair-chat.js +167 -55
  118. package/dist/umd/aituber-onair-chat.min.js +7 -7
  119. package/package.json +6 -1
package/README.md CHANGED
@@ -303,6 +303,12 @@ rather than the API's `medium` default. The provider's default model is unchange
303
303
  [Model API reference](https://developers.openai.com/api/docs/models/gpt-6.1-sol),
304
304
  [API guide](https://developers.openai.com/api/docs/guides/latest-model).
305
305
 
306
+ Models with image input and streaming whose tools require Responses use Responses by default. `gpt-6.1-terra` (`MODEL_GPT_6_1_TERRA`) is an explicit option in this group. It supports `none`, `low`, `medium`, `high`, `xhigh`, and `max` reasoning effort. The API default is `medium`; the package default is `low`. Tool-free requests may use Chat Completions. Tools and MCP at the standard endpoint always use Responses, while custom endpoints with tools are rejected before sending.
307
+
308
+ This package does not send sampling fields such as `temperature`, `top_p`, or `logprobs`. The OpenRouter variant, `openai/gpt-6.1-terra`, uses Chat Completions with package-default reasoning effort `none`. Provider default models are unchanged.
309
+
310
+ See the [official Terra model specification](https://developers.openai.com/api/docs/models/gpt-6.1-terra), [API parameter migration guide](https://developers.openai.com/api/docs/guides/latest-model#gpt-6-astra-update-api-and-model-parameters), and [OpenRouter model catalog](https://openrouter.ai/api/v1/models).
311
+
306
312
  `gpt-6-astra` (`MODEL_GPT_6_ASTRA`) is an explicit option with image input and streaming. The package routes it to Responses, which is required for tool calling. Reasoning supports `low` (package default), `medium`, `high`, `xhigh`, and `max`; `none`/`minimal` normalize to `low`. Existing `gpt5Preset` and `gpt5EndpointPreference` option names remain for compatibility, but Astra uses Responses at the standard endpoint. [API guide](https://developers.openai.com/api/docs/guides/latest-model).
307
313
 
308
314
  `gpt-6-sol` (`MODEL_GPT_6_SOL`) is also available with image input and
@@ -613,7 +619,7 @@ time-to-first-token matters more than deep reasoning:
613
619
  ```typescript
614
620
  const aituberChatService = ChatServiceFactory.createChatService('openai', {
615
621
  apiKey: process.env.OPENAI_API_KEY,
616
- model: 'gpt-5.4-nano',
622
+ model: 'gpt-5.6-luna',
617
623
  gpt5Preset: 'casual', // resolves to reasoning_effort 'none' on this model
618
624
  responseLength: 'veryShort', // or 'short' for slightly longer replies
619
625
  });
@@ -636,11 +642,23 @@ Caveats:
636
642
  - `gpt-5.4-pro` – Highest-tier GPT-5.4 model. Use with Responses API only.
637
643
  - `gpt-5.4` – Previous GPT-5 generation model optimized for stronger coding, instruction following, and long-context agentic work.
638
644
  - `gpt-5.4-mini` – Faster GPT-5.4-class small model for coding, tool use, and multimodal workloads.
639
- - `gpt-5.4-nano` – Lowest-cost GPT-5.4-class model for simpler high-volume tasks and lightweight subagents.
640
- - `gpt-5.1` – Complex reasoning, broad world knowledge, and code-heavy or multi-step agentic workflows.
641
- - `gpt-5` – Previous flagship, still available for backward compatibility but superseded by GPT-5.1.
642
- - `gpt-5-mini` – Cost-optimized reasoning/chat model that balances speed, cost, and capability.
643
- - `gpt-5-nano` – High-throughput option best suited for simple instruction-following or classification runs.
645
+
646
+ The provider default is `gpt-5.6-luna`, which OpenAI names as the replacement
647
+ for `gpt-5-nano`. It defaults to `reasoning_effort: 'none'` for responsive chat.
648
+
649
+ Models that OpenAI has deprecated or shut down remain exported for source
650
+ compatibility (`OPENAI_DEPRECATED_MODELS`), but are no longer in the supported
651
+ model list. Requests to shut-down models fail at the OpenAI API.
652
+
653
+ | Model | Status | Replacement |
654
+ | --- | --- | --- |
655
+ | `o1`, `o3-mini` | Shut down on 2026-10-23 | `gpt-5.6-sol` |
656
+ | `gpt-4.1-nano` | Shut down on 2026-10-23 | `gpt-5.6-luna` |
657
+ | `o1-mini` | Shut down in 2025 | `gpt-5.6-sol` |
658
+ | `gpt-5`, `gpt-5-mini`, `gpt-5-nano` | Scheduled shutdown on 2026-12-11 | `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna` |
659
+ | `gpt-5.1`, `gpt-5.4-nano` | Scheduled shutdown on 2027-04-01 | `gpt-6-sol`, `gpt-6-luna` |
660
+
661
+ See [OpenAI deprecations](https://developers.openai.com/api/docs/deprecations).
644
662
 
645
663
  `gpt-5.5-pro` is not included in the supported model list because OpenAI
646
664
  documents it as non-streaming, while this package's standard chat flow expects
@@ -751,6 +769,11 @@ Claude refusals are terminal completions rather than tool errors. The returned
751
769
  completion preserves `finish_reason: 'refusal'` and Anthropic `stop_details`
752
770
  when supplied, including in streaming `processChat` callbacks.
753
771
 
772
+ `claude-sonnet-4-5-20250929` is deprecated by Anthropic and retires on
773
+ 2026-11-30. It remains exported in `CLAUDE_DEPRECATED_MODELS`, but is no longer
774
+ in the supported model list; use `claude-sonnet-5-5` instead.
775
+ [Model deprecations](https://platform.claude.com/docs/en/about-claude/model-deprecations).
776
+
754
777
  #### Google Gemini
755
778
 
756
779
  ```typescript
@@ -765,13 +788,15 @@ const geminiService = ChatServiceFactory.createChatService('gemini', {
765
788
  `gemini-3.5-flash-lite` is available as the latest stable, low-latency
766
789
  Flash-Lite option. `gemini-3.8-flash` is available as the newest explicit stable
767
790
  Flash option for low-latency coding, agentic, and multimodal tasks.
768
- `gemini-3.7-flash` and `gemini-3.6-flash` remain available for compatibility.
791
+ `gemini-3.6-flash` remains available. Google deprecated `gemini-3.7-flash` and
792
+ `gemini-3.5-flash` on 2026-10-08 and routes their requests to
793
+ `gemini-3.8-flash` and `gemini-3.6-flash`, respectively.
769
794
  Deprecated
770
- preview and shutdown-scheduled models such as `gemini-3.1-flash-lite-preview`,
795
+ preview and shutdown-scheduled models such as `gemini-3.7-flash`,
796
+ `gemini-3.5-flash`, `gemini-3.1-flash-lite-preview`,
771
797
  `gemini-3-pro-preview`, and `gemini-2.5-flash-lite-preview-06-17` remain usable
772
798
  by explicit model string for backward compatibility, but are no longer
773
799
  advertised in the standard supported-model list for production use.
774
- `gemini-3.5-flash` is also available as a stable Flash model.
775
800
 
776
801
  Gemini 3 models accept `reasoning_effort`, which maps to Gemini
777
802
  `thinkingConfig.thinkingLevel` while keeping `includeThoughts: false`:
@@ -790,13 +815,22 @@ those models.
790
815
 
791
816
  #### OpenRouter
792
817
 
793
- The following explicit options use OpenRouter Chat Completions without changing the provider default. Text-only options include Mercury 2.5, Nemotron 3.5 Lightning, Solar Mini4, Solar Pro 4, Apodex 1.1 Mini, and Ling 3.1 Flash; the others support image input. This does not add file, audio, or video input support.
818
+ The following explicit options use OpenRouter Chat Completions without changing the provider default. Text-only options include Mercury 2.5/3, Nemotron 3.5 Lightning, Solar Mini4, Solar Pro 4, and Ling 3.1 Flash; the others support image input. This does not add file, audio, or video input support.
794
819
 
795
820
  | Model ID | Reasoning efforts (package default) |
796
821
  | --- | --- |
797
822
  | `mistralai/mistral-large-4-0` | `none` (package default), `high` (upstream default); no reasoning token budget |
798
- | `unbiased/pareto-26.10-preview` | No effort selector (provider default) |
823
+ | `unbiased/pareto-26.9` | No effort selector (provider default) |
824
+ | `anthropic/claude-haiku-5.5` | none, low, medium, high, xhigh, max (low) |
825
+ | `inception/mercury-3` | none, low, medium, high (none) |
826
+ | `deepseek/deepseek-v4.1-flash-1017` | none, low, high, max (none) |
827
+ | `moonshotai/kimi-k3.1-pro` | none, low, high, max (none) |
828
+ | `minimax/minimax-m3.1-flash` | low, medium, high, xhigh, max (low) |
829
+ | `unbiased/pareto-26.10` | No effort selector or reasoning token budget |
830
+ | `inclusionai/ling-3.0-flash-vl` | No effort selector or reasoning token budget |
831
+ | `nex-agi/nex-n2.5-pro` | none, medium, high (none) |
799
832
  | `openai/gpt-6.1-sol` | max, xhigh, high, medium, low (low) |
833
+ | `openai/gpt-6.1-terra` | none, low, medium, high, xhigh, max (none) |
800
834
  | `openai/gpt-6-sol` | max, xhigh, high, medium, low, none (none) |
801
835
  | `openai/gpt-6-luna` | max, xhigh, high, medium, low, none (none) |
802
836
  | `anthropic/claude-sonnet-5.5` | max, xhigh, high, medium, low (low) |
@@ -808,22 +842,24 @@ The following explicit options use OpenRouter Chat Completions without changing
808
842
  | `anthropic/claude-fable-5.1` | max, xhigh, high, medium, low (high) |
809
843
  | `deepseek/deepseek-v4.1-flash` | max, high, low, none (none) |
810
844
  | `google/gemini-3.8-flash` | high, medium, low (medium) |
811
- | `inclusionai/ling-3.0-flash-vl:free` | No effort selector (provider default) |
812
845
  | `inception/mercury-2.5` | high, medium, low, none (none) |
813
- | `nex-agi/nex-n2.5-mini:free` | high, medium, none (none) |
814
- | `nex-agi/nex-n2.5-pro:free` | high, medium, none (none) |
815
846
  | `qwen/qwen3.8-max-0902` | xhigh, high, medium, low, minimal (xhigh) |
816
847
  | `meta/muse-spark-1.3` | max, xhigh, high, medium, low, minimal (medium) |
817
848
  | `inclusionai/ling-3.1-flash` | No effort selector (provider default) |
818
849
  | `upstage/solar-pro4` | none, minimal, low, medium, high, xhigh, max (none) |
819
850
  | `upstage/solar-mini4` | none, minimal, low, medium, high, xhigh, max (none) |
820
851
  | `xiaomi/mimo-v2.6-flash` | No effort selector (provider default) |
821
- | `apodex/apodex-1.1-mini:free` | No effort selector (provider default) |
822
852
  | `nvidia/nemotron-3.5-lightning` | No effort selector (provider default) |
823
853
  | `qwen/qwen3.8-27b` | No effort selector (provider default) |
824
854
  | `qwen/qwen3.8-omni-flash` | No effort selector (provider default) |
855
+ | `google/gemma-4-31b-it:free` | No effort selector (provider default) |
856
+ | `nvidia/nemotron-3.5-super-vl:free` | No effort selector (provider default) |
857
+
858
+ The additional explicit options in the table support tools and streaming. Mercury 3 is text-only; the other additions accept images. MiniMax M3.1 Flash requires reasoning and normalizes unsupported settings to `low`. Pareto 26.10 sends no reasoning parameters. Ling 3.0 Flash VL supports reasoning visibility without an effort selector or token budget. Ling and Nex Pro use paid IDs.
825
859
 
826
- For models without documented effort levels or reasoning token budgets, those controls are omitted. Current explicit options in this group are `nvidia/nemotron-3.5-lightning`, `qwen/qwen3.8-27b`, `qwen/qwen3.8-omni-flash`, `xiaomi/mimo-v2.6-flash`, `apodex/apodex-1.1-mini:free`, and `inclusionai/ling-3.1-flash`. Existing `reasoning_effort` and `reasoningMaxTokens` settings are not sent for these models; `includeReasoning` still controls whether reasoning output is included. See the [reasoning configuration documentation](https://openrouter.ai/docs/guides/best-practices/reasoning-tokens).
860
+ These capabilities follow the [OpenRouter model catalog](https://openrouter.ai/api/v1/models) and [Chat Completions schema](https://openrouter.ai/docs/api-reference/overview).
861
+
862
+ For models without documented effort levels or reasoning token budgets, those controls are omitted. Current explicit options in this group are `nvidia/nemotron-3.5-lightning`, `qwen/qwen3.8-27b`, `qwen/qwen3.8-omni-flash`, `xiaomi/mimo-v2.6-flash`, `inclusionai/ling-3.1-flash`, `google/gemma-4-31b-it:free`, and `nvidia/nemotron-3.5-super-vl:free`. Existing `reasoning_effort` and `reasoningMaxTokens` settings are not sent for these models; `includeReasoning` still controls whether reasoning output is included. See the [reasoning configuration documentation](https://openrouter.ai/docs/guides/best-practices/reasoning-tokens).
827
863
 
828
864
  Solar Pro 4 (`upstage/solar-pro4`) is an explicit text-only option via
829
865
  `POST https://openrouter.ai/api/v1/chat/completions`. Select **OpenRouter → Solar Pro 4**
@@ -842,13 +878,28 @@ Solar Mini4 is an explicit text-chat option. Reasoning defaults to `none` for
842
878
  responsive replies; supported efforts, including `minimal`, are sent unchanged.
843
879
  Its reasoning token budget is omitted. MiMo V2.6 Flash supports text and image
844
880
  input here; audio and video inputs are outside this package's supported surface.
845
- Apodex 1.1 Mini is an explicit text/tool option subject to free-tier limits.
846
- MiMo and Apodex use provider-default reasoning without an effort or budget field;
881
+ MiMo uses provider-default reasoning without an effort or budget field;
847
882
  `includeReasoning` controls whether the upstream response includes reasoning; it
848
883
  does not disable reasoning computation or add reasoning display to this package.
849
- See [Solar Mini4](https://openrouter.ai/upstage/solar-mini4),
850
- [MiMo V2.6 Flash](https://openrouter.ai/xiaomi/mimo-v2.6-flash), and
851
- [Apodex 1.1 Mini](https://openrouter.ai/apodex/apodex-1.1-mini%3Afree).
884
+ See [Solar Mini4](https://openrouter.ai/upstage/solar-mini4) and
885
+ [MiMo V2.6 Flash](https://openrouter.ai/xiaomi/mimo-v2.6-flash).
886
+
887
+ The provider default is `google/gemma-4-31b-it:free`, a free model with text and
888
+ image input and tool calling. It replaced `openai/gpt-oss-20b:free` after that
889
+ free route was removed from the OpenRouter catalog. `getFreeModels()` returns
890
+ `google/gemma-4-31b-it:free` and `nvidia/nemotron-3.5-super-vl:free`. Free
891
+ routes change often, so use `refreshOpenRouterFreeModels` below to find the
892
+ currently available `:free` models.
893
+
894
+ IDs that the OpenRouter catalog no longer returns remain exported in
895
+ `OPENROUTER_DEPRECATED_MODELS`, but are no longer in the supported model list:
896
+ `openai/gpt-oss-20b:free`, `~openai/gpt-latest`, `anthropic/claude-opus-4`,
897
+ `anthropic/claude-sonnet-4`, `google/gemini-2.5-flash-lite-preview-09-2025`,
898
+ `kwaipilot/kat-coder-air-v2.5`, `kwaipilot/kat-coder-pro-v2.5`,
899
+ `unbiased/pareto-26.10-preview`, `apodex/apodex-1.1-mini:free`,
900
+ `inclusionai/ling-3.0-flash-vl:free`, `nex-agi/nex-n2.5-mini:free`, and
901
+ `nex-agi/nex-n2.5-pro:free`. Use `unbiased/pareto-26.9` instead of the Pareto
902
+ preview.
852
903
 
853
904
  Mistral Large 4 (`mistralai/mistral-large-4-0`) is a supported, explicit public
854
905
  preview for text and image input, text output, streaming, and tool calls with a
@@ -874,24 +925,23 @@ live inference; no live generation test was run. See the [model catalog](https:/
874
925
  [model page](https://openrouter.ai/mistralai/mistral-large-4-0), and
875
926
  [Chat Completions reference](https://openrouter.ai/docs/api/reference/overview).
876
927
 
877
- Pareto 26.10 Preview (`unbiased/pareto-26.10-preview`) is an explicit preview
878
- option for text, images, streaming, and automatic tool selection. It may change
879
- without notice and is not a default or a stable-model recommendation. Select
880
- **OpenRouter → Pareto 26.10 Preview** and enter your OpenRouter API key, or set
881
- `provider: 'openrouter'` and this model ID through `ChatServiceFactory`.
882
- The sample sends Bearer-authenticated JSON directly to
883
- `https://openrouter.ai/api/v1/chat/completions`; responses use
884
- `choices[].message` or SSE `choices[].delta` and OpenAI-compatible tool calls.
885
- Effort and reasoning-token-budget controls are hidden and inherited values are
886
- omitted because neither control is documented for this model. `includeReasoning` is also ignored because no reasoning controls are documented;
887
- no reasoning object is sent.
888
- Structured-output enforcement and file/audio/video input are not enabled.
889
- Mocked transport and rendered-DOM tests exercise the direct request path,
890
- streaming, image input, tools, and error recovery; live inference and authenticated
891
- browser CORS have not been verified. See the
892
- [model API example](https://openrouter.ai/unbiased/pareto-26.10-preview?view=api),
893
- [endpoint metadata](https://openrouter.ai/api/v1/models/unbiased/pareto-26.10-preview/endpoints),
894
- and [Chat Completions reference](https://openrouter.ai/docs/api/api-reference/chat/create-a-chat-completion).
928
+ Pareto 26.9 (`unbiased/pareto-26.9`) is a stable, explicit option for text/image
929
+ input, streaming, and automatic tool selection. Select **OpenRouter → Pareto 26.9**
930
+ and enter your OpenRouter API key, or pass this model ID to `ChatServiceFactory`
931
+ with the `openrouter` provider. Existing defaults and model order are unchanged.
932
+ Requests use Bearer-authenticated JSON at
933
+ `https://openrouter.ai/api/v1/chat/completions`, with `choices[].message` responses
934
+ or SSE `choices[].delta` events. Output token limits are supported. No reasoning
935
+ controls are documented, so effort, token budgets, and `includeReasoning` are
936
+ ignored and no reasoning object is sent. The example hides effort/budget inputs.
937
+ The package supports tools; the example chat UI does not configure tools.
938
+ Structured-output enforcement and file/audio/video input are outside this path.
939
+ The [model page](https://openrouter.ai/unbiased/pareto-26.9) and
940
+ [Chat Completions quickstart](https://openrouter.ai/docs/quickstart) document the
941
+ model and API route. The [browser authentication guide](https://openrouter.ai/docs/guides/overview/auth/oauth)
942
+ documents direct browser requests; no proxy is added. Mock transport and DOM
943
+ integration tests cover package behavior, not live inference or authenticated CORS.
944
+ No rendered-browser verification, live generation, or CORS probe was run.
895
945
 
896
946
  Ling 3.1 Flash (`inclusionai/ling-3.1-flash`) is an explicit text-only option.
897
947
  Choose the `openrouter` provider and this model ID with your OpenRouter API key, or
@@ -951,31 +1001,28 @@ const openRouterService = ChatServiceFactory.createChatService('openrouter', {
951
1001
  - `deepseek/deepseek-v4-flash`: older unversioned 0423 snapshot; supports `none`, `high`, and `xhigh`.
952
1002
  - `deepseek/deepseek-v4-pro-0813`: fixed Pro snapshot; supports `none`, `high`, and `xhigh`.
953
1003
  - `deepseek/deepseek-v4-flash-vision-exp`: experimental image-capable model; supports `none`, `low`, `high`, and `max`.
954
- - Specialized coding models are explicit options rather than defaults. This includes `kwaipilot/kat-coder-air-v2.5` and `kwaipilot/kat-coder-pro-v2.5`, which are text-only.
955
1004
  - `moonshotai/kimi-k3` availability depends on upstream capacity; OpenRouter may return 429 responses when capacity is constrained.
956
1005
  - `x-ai/grok-4.5` has region-specific availability, including a current EU limitation. `~x-ai/grok-latest` inherits those limits when it resolves to Grok 4.5.
957
1006
  - Supported models (curated list):
958
1007
  - `openrouter/auto`, `openrouter/auto-beta`
959
1008
  - `openrouter/fusion`
960
- - `openai/gpt-oss-20b:free`
961
- - `~openai/gpt-latest`, `~openai/gpt-mini-latest`
1009
+ - `google/gemma-4-31b-it:free`, `nvidia/nemotron-3.5-super-vl:free`
1010
+ - `~openai/gpt-mini-latest`
962
1011
  - `openai/gpt-5.6-sol`, `openai/gpt-5.6-terra`, `openai/gpt-5.6-luna`
963
1012
  - `openai/gpt-5.5-pro`, `openai/gpt-5.5`
964
1013
  - `openai/gpt-5.1-codex`, `openai/gpt-5-mini`, `openai/gpt-5-nano`
965
1014
  - `openai/gpt-4o`, `openai/gpt-4.1-mini`, `openai/gpt-4.1-nano`
966
1015
  - `~anthropic/claude-sonnet-latest`, `~anthropic/claude-haiku-latest`
967
1016
  - `anthropic/claude-fable-5`, `anthropic/claude-sonnet-5`, `anthropic/claude-opus-5`, `anthropic/claude-opus-4.8`
968
- - `anthropic/claude-opus-4`, `anthropic/claude-sonnet-4`
969
1017
  - `anthropic/claude-haiku-4.5`
970
1018
  - `~google/gemini-pro-latest`, `~google/gemini-flash-latest`
971
1019
  - `google/gemini-3.7-flash`, `google/gemini-3.6-flash`, `google/gemini-3.5-flash-lite`
972
- - `google/gemini-2.5-pro`, `google/gemini-2.5-flash`, `google/gemini-2.5-flash-lite-preview-09-2025`
1020
+ - `google/gemini-2.5-pro`, `google/gemini-2.5-flash`
973
1021
  - `z-ai/glm-5.3`, `z-ai/glm-5.3-flash`, `z-ai/glm-5.2`, `z-ai/glm-4.7-flash`, `z-ai/glm-4.5-air`
974
1022
  - `~x-ai/grok-latest`, `x-ai/grok-4.6`, `x-ai/grok-4.5`
975
1023
  - `deepseek/deepseek-v4-flash-0731`, `deepseek/deepseek-v4-flash`, `deepseek/deepseek-v4-pro-0813`, `deepseek/deepseek-v4-flash-vision-exp`
976
1024
  - `qwen/qwen3.8-flash`
977
1025
  - `~moonshotai/kimi-latest`, `moonshotai/kimi-k3`, `moonshotai/kimi-k2.7-code`, `moonshotai/kimi-k2.6`, `moonshotai/kimi-k2.5`
978
- - `kwaipilot/kat-coder-air-v2.5`, `kwaipilot/kat-coder-pro-v2.5`
979
1026
 
980
1027
  **Dynamic OpenRouter free model refresh**
981
1028
 
@@ -992,7 +1039,7 @@ const result = await refreshOpenRouterFreeModels({
992
1039
  maxWorking: 10, // default: 10
993
1040
  });
994
1041
 
995
- console.log(result.working); // e.g. ['openai/gpt-oss-20b:free']
1042
+ console.log(result.working); // e.g. ['google/gemma-4-31b-it:free']
996
1043
  console.log(result.failed); // [{ id, reason }, ...]
997
1044
  console.log(result.fetchedAt); // Date.now() timestamp
998
1045
  ```
@@ -1047,6 +1094,8 @@ Notes:
1047
1094
 
1048
1095
  #### Kimi (Moonshot)
1049
1096
 
1097
+ The [official K3.1 Pro quickstart](https://platform.kimi.ai/docs/guide/kimi-k3-1-pro-quickstart.md) and [model list](https://platform.kimi.ai/docs/models.md) document both K3.1 variants. Both support image input, tools, and streaming.
1098
+
1050
1099
  ```typescript
1051
1100
  const kimiService = ChatServiceFactory.createChatService('kimi', {
1052
1101
  apiKey: process.env.MOONSHOT_API_KEY,
@@ -1060,11 +1109,12 @@ const kimiService = ChatServiceFactory.createChatService('kimi', {
1060
1109
 
1061
1110
  Notes:
1062
1111
  - Kimi uses OpenAI-compatible Chat Completions.
1063
- - Supported models: `kimi-k3`, `kimi-k2.7-code`, `kimi-k2.7-code-highspeed`, `kimi-k2.6`, `kimi-k2.5`
1112
+ - Supported models: `kimi-k3.1-pro`, `kimi-k3.1-pro-highspeed`, `kimi-k3`, `kimi-k2.7-code`, `kimi-k2.7-code-highspeed`, `kimi-k2.6`
1113
+ - `kimi-k2.5` was discontinued by Kimi on 2026-08-31. It remains exported in `KIMI_DEPRECATED_MODELS`, but is no longer in the supported model list.
1064
1114
  - `kimi-k2.6` remains the default model for chat-oriented usage.
1065
- - Kimi K3 is an explicit reasoning model. It accepts `reasoning_effort: 'low' | 'high' | 'max'`, defaults to `max`, always reasons, and does not accept the K2.x `thinking` option. `none`, `minimal`, and `medium` are not supported.
1066
- - Kimi K3 uses `max_completion_tokens` for configured response limits.
1067
- - For Kimi K3 multi-turn and tool-call flows, append the returned `completion.assistant_message` to history so `reasoning_content` and `tool_calls` are preserved.
1115
+ - Kimi K3 and K3.1 Pro (including Highspeed) are explicit reasoning models. It accepts `reasoning_effort: 'low' | 'high' | 'max'`, defaults to `max`, always reasons, and does not accept the K2.x `thinking` option. `none`, `minimal`, and `medium` are not supported.
1116
+ - Kimi K3-family models use `max_completion_tokens` for configured response limits.
1117
+ - For Kimi K3-family multi-turn and tool-call flows, append the returned `completion.assistant_message` to history so `reasoning_content` and `tool_calls` are preserved.
1068
1118
  - Kimi K2.7 Code models are coding-oriented and require thinking mode, so they keep `thinking` enabled even when tools are used.
1069
1119
  - Explicitly setting `thinking: { type: 'disabled' }` with Kimi K2.7 Code models throws before sending the request.
1070
1120
  - For older Kimi models, when tools are enabled, `thinking` is forced to `{ type: 'disabled' }`.
@@ -1084,25 +1134,33 @@ Notes for self-hosted:
1084
1134
 
1085
1135
  #### DeepSeek
1086
1136
 
1087
- `deepseek-flash` (`MODEL_DEEPSEEK_FLASH`) is the official ID for DeepSeek V4.1 Flash. It supports images and streaming through Chat Completions, with `none` (package default), `low`, `high`, and `max` reasoning. The existing package restriction still requires `none` when using tools. Legacy Flash IDs are compatibility aliases routed to V4.1 by DeepSeek. [API guide](https://api-docs.deepseek.com/).
1137
+ Rolling model IDs follow provider updates. As of October 17, 2026,
1138
+ `deepseek-flash` (`MODEL_DEEPSEEK_FLASH`) serves
1139
+ [DeepSeek-V4.1-Flash-1017](https://api-docs.deepseek.com/zh-cn/news/news261017/)
1140
+ through the existing Chat Completions endpoint. Continue sending
1141
+ `deepseek-flash` as the API model ID; future provider updates can change the
1142
+ model behind this ID. It supports text/image input and streaming. See the
1143
+ [API guide](https://api-docs.deepseek.com/).
1088
1144
 
1089
1145
  ```typescript
1090
1146
  const deepSeekService = ChatServiceFactory.createChatService('deepseek', {
1091
1147
  apiKey: process.env.DEEPSEEK_API_KEY,
1092
- model: 'deepseek-v4-flash',
1148
+ model: 'deepseek-flash',
1093
1149
  reasoning_effort: 'none', // Default: disable thinking for responsive chat
1094
1150
  });
1095
1151
  ```
1096
1152
 
1097
1153
  Notes:
1098
1154
  - DeepSeek uses OpenAI-compatible Chat Completions at `https://api.deepseek.com/chat/completions`.
1099
- - Recommended text models: `deepseek-v4-flash` (default) and `deepseek-v4-pro`. The experimental `deepseek-v4-flash-vision-exp` model is available explicitly for image input.
1155
+ - Select `deepseek-flash` for the current text/image model, or `deepseek-v4-pro` for text-only Pro. The package keeps its existing `deepseek-v4-flash` default for compatibility.
1156
+ - Legacy Flash IDs `deepseek-v4-flash` and `deepseek-v4-flash-vision-exp` remain accepted by DeepSeek and are routed to DeepSeek-V4.1-Flash-1017. Their original models have been retired; these aliases do not pin an older model.
1100
1157
  - Legacy aliases `deepseek-chat` and `deepseek-reasoner` remain exported for explicit compatibility, but DeepSeek marks them deprecated and scheduled for removal on 2026-07-24.
1101
1158
  - You can still use DeepSeek through `openai-compatible` by providing the full endpoint and model manually, but the first-class `deepseek` provider supplies the endpoint and default model for you.
1102
- - `deepseek-v4-flash` accepts `reasoning_effort: 'none' | 'low' | 'high' | 'max'`. The package defaults to `none`, mapped to `thinking: { type: 'disabled' }`, for responsive chat. Other levels enable thinking and are sent as DeepSeek `reasoning_effort`.
1159
+ - `deepseek-flash` accepts `reasoning_effort: 'none' | 'low' | 'high' | 'max'`. DeepSeek defaults to enabled thinking with `high` effort. The package defaults to `none`, mapped to `thinking: { type: 'disabled' }`, for responsive chat. Other levels enable thinking and are sent as DeepSeek `reasoning_effort`.
1103
1160
  - `deepseek-v4-pro` exposes `none`, `high`, and `max`. DeepSeek currently maps a requested `low` to `high`, so the package normalizes it explicitly.
1104
- - `deepseek-v4-flash-vision-exp` uses the same Chat Completions image format and defaults to `none` thinking for responsive vision chat.
1161
+ - `deepseek-flash` accepts the OpenAI-compatible `image_url` message format. The legacy `deepseek-v4-flash-vision-exp` alias remains available for existing vision configurations.
1105
1162
  - Thinking with tool calling is intentionally rejected for now because DeepSeek requires `reasoning_content` replay across tool turns and does not accept the normal `tool_choice` request shape in thinking mode. Tool calling works with the default `none` setting.
1163
+ - DeepSeek's Search/Fetch endpoints are separate APIs and are not exposed by this chat integration.
1106
1164
 
1107
1165
  #### Mistral
1108
1166
 
@@ -1596,15 +1654,15 @@ without hard-coding provider-specific rules.
1596
1654
 
1597
1655
  Currently, the following AI providers are built-in:
1598
1656
 
1599
- - **OpenAI**: GPT-6.1 Sol (`gpt-6.1-sol`, tools via Responses), GPT-6 Astra (`gpt-6-astra`), GPT-6 Sol (`gpt-6-sol`), and GPT-6 Luna (`gpt-6-luna`, Responses API by default); Supports models like GPT-5.6 (Sol/Terra/Luna), GPT-5.5, GPT-5.4 Pro, GPT-5.4, GPT-5.4 Mini, GPT-5.4 Nano, GPT-5.1, GPT-5 (Nano/Mini/Standard), GPT-4.1 (including mini and nano), GPT-4, GPT-4o-mini, O3-mini, o1, o1-mini
1657
+ - **OpenAI**: GPT-6.1 Terra (`gpt-6.1-terra`, explicit, tools via Responses), GPT-6.1 Sol (`gpt-6.1-sol`, tools via Responses), GPT-6 Astra (`gpt-6-astra`), GPT-6 Sol (`gpt-6-sol`), and GPT-6 Luna (`gpt-6-luna`, Responses API by default); Supports models like GPT-5.6 (Sol/Terra/Luna), GPT-5.5, GPT-5.4 Pro, GPT-5.4, GPT-5.4 Mini, GPT-5.4 Nano, GPT-5.1, GPT-5 (Nano/Mini/Standard), GPT-4.1 (including mini and nano), GPT-4, GPT-4o-mini, O3-mini, o1, o1-mini
1600
1658
  - **OpenAI-Compatible**: Supports arbitrary local/self-hosted model IDs via OpenAI-compatible endpoints. Vision capability is treated as `unknown` unless your app knows the endpoint-specific model catalog.
1601
- - **Gemini**: Supports recommended models like Gemini 3.8 Flash, Gemini 3.7 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash, Gemini 3.5 Flash-Lite, Gemini 3.1 Flash-Lite, Gemini 3.1 Pro Preview, Gemini 3 Flash Preview, Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.5 Flash Lite, Gemma 4 31B IT, and Gemma 4 26B A4B IT. Gemini 3 models default to their lowest supported thinking level for chat-style responses. Gemini 3.8 Flash, Gemini 3.7 Flash, and Gemini 3 Pro use low because they do not support minimal; other Gemini 3 Flash models use minimal. Deprecated lifecycle models such as Gemini 3.1 Flash-Lite Preview, Gemini 3 Pro Preview, and Gemini 2.5 Flash Lite Preview remain exported for explicit use.
1602
- - **Claude**: Claude Haiku 5.5 (`claude-haiku-5-5`, explicit), Claude Opus 5.5 (`claude-opus-5-5`), Claude Sonnet 5.5 (`claude-sonnet-5-5`), and Claude Fable 5.1 (`claude-fable-5-1`); Supports current Claude API model IDs including Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, Claude Opus 4.5, Claude Sonnet 4.6, Claude Sonnet 4.5, and Claude Haiku 4.5. Adjustable `reasoning_effort` is sent as `output_config.effort` only for models that support it; refusal metadata is preserved as a terminal completion.
1603
- - **OpenRouter**: Mistral Large 4 (`mistralai/mistral-large-4-0`, explicit public preview), Pareto 26.10 Preview (`unbiased/pareto-26.10-preview`, explicit preview), Ling 3.1 Flash (text-only, explicit), Solar Mini4, Solar Pro 4, MiMo V2.6 Flash, Apodex 1.1 Mini (Free), GPT-6.1 Sol, GPT-6 Sol/Luna/Astra/Pro, Claude Sonnet 5.5/Opus 5.5, Grok 4.7, Claude Fable 5.1, DeepSeek V4.1 Flash, Gemini 3.8 Flash, Ling 3.0 Flash VL, Mercury 2.5, Nex N2.5 Mini/Pro, Qwen3.8 Max, Muse Spark 1.3; Supports a curated OpenRouter model list (OpenAI/Claude/Gemini/Z.ai/xAI/Kimi/DeepSeek/Qwen/Kwaipilot), including GLM-5.3/FlashX, Qwen3.8 Flash, DeepSeek V4 Flash Vision Exp, Claude Sonnet 5/Opus 4.8, and Kimi K2.6. See the OpenRouter section for model IDs. Explicit options also include `nvidia/nemotron-3.5-lightning` (text-only), `qwen/qwen3.8-27b`, and `qwen/qwen3.8-omni-flash` (image input).
1659
+ - **Gemini**: Supports recommended models like Gemini 3.8 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash-Lite, Gemini 3.1 Flash-Lite, Gemini 3.1 Pro Preview, Gemini 3 Flash Preview, Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.5 Flash Lite, Gemma 4 31B IT, and Gemma 4 26B A4B IT. Gemini 3 models default to their lowest supported thinking level for chat-style responses. Gemini 3.8 Flash, Gemini 3.7 Flash, and Gemini 3 Pro use low because they do not support minimal; other Gemini 3 Flash models use minimal. Deprecated lifecycle models such as Gemini 3.7 Flash, Gemini 3.5 Flash, Gemini 3.1 Flash-Lite Preview, Gemini 3 Pro Preview, and Gemini 2.5 Flash Lite Preview remain exported for explicit use.
1660
+ - **Claude**: Claude Haiku 5.5 (`claude-haiku-5-5`, explicit), Claude Opus 5.5 (`claude-opus-5-5`), Claude Sonnet 5.5 (`claude-sonnet-5-5`), and Claude Fable 5.1 (`claude-fable-5-1`); Supports current Claude API model IDs including Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, Claude Opus 4.5, Claude Sonnet 4.6, and Claude Haiku 4.5. Adjustable `reasoning_effort` is sent as `output_config.effort` only for models that support it; refusal metadata is preserved as a terminal completion.
1661
+ - **OpenRouter**: Pareto 26.9 (`unbiased/pareto-26.9`), Mistral Large 4 (`mistralai/mistral-large-4-0`, explicit public preview), Ling 3.1 Flash (text-only, explicit), Solar Mini4, Solar Pro 4, MiMo V2.6 Flash, GPT-6.1 Sol, GPT-6 Sol/Luna/Astra/Pro, Claude Sonnet 5.5/Opus 5.5, Grok 4.7, Claude Fable 5.1, DeepSeek V4.1 Flash, Gemini 3.8 Flash, Mercury 2.5, Qwen3.8 Max, Muse Spark 1.3; Supports a curated OpenRouter model list (OpenAI/Claude/Gemini/Z.ai/xAI/Kimi/DeepSeek/Qwen), including GLM-5.3/FlashX, Qwen3.8 Flash, DeepSeek V4 Flash Vision Exp, Claude Sonnet 5/Opus 4.8, and Kimi K2.6. See the OpenRouter section for model IDs. Explicit options also include `nvidia/nemotron-3.5-lightning` (text-only), `qwen/qwen3.8-27b`, and `qwen/qwen3.8-omni-flash` (image input). The default is `google/gemma-4-31b-it:free`; `nvidia/nemotron-3.5-super-vl:free` is also listed as a free model. Additional models: `anthropic/claude-haiku-5.5`, `inception/mercury-3`, `deepseek/deepseek-v4.1-flash-1017`, `moonshotai/kimi-k3.1-pro`, `minimax/minimax-m3.1-flash`, `unbiased/pareto-26.10`, `inclusionai/ling-3.0-flash-vl`, `nex-agi/nex-n2.5-pro`. `openai/gpt-6.1-terra` is also an explicit option.
1604
1662
  - **Z.ai**: Supports GLM-5.3/GLM-5.2/GLM-5.1/GLM-5/GLM-5-Turbo and GLM-4.7/4.6 text models, plus GLM-5.3-FlashX/GLM-5.3-Flash/GLM-5V-Turbo/GLM-4.6V vision models. GLM-5.3 always thinks and defaults to `low`; GLM-5.2 defaults to `none`.
1605
1663
  - **xAI**: Supports Grok 4.7, Grok 4.6, Grok 4.5, Grok 4.3, and Grok 4.20 Reasoning/Non-Reasoning with vision. Grok 4.7/4.6/4.5 use package-default `reasoning_effort: 'low'`; Grok 4.3 defaults to `none`.
1606
- - **Kimi**: Supports Kimi K3 (`kimi-k3`, `low` / `high` / `max` reasoning with `max` as the default), Kimi K2.7 Code (`kimi-k2.7-code`), Kimi K2.7 Code HighSpeed (`kimi-k2.7-code-highspeed`), Kimi K2.6 (`kimi-k2.6`, default), and Kimi K2.5 (`kimi-k2.5`) with vision support
1607
- - **DeepSeek**: DeepSeek V4.1 Flash (`deepseek-flash`); Supports DeepSeek V4 Flash (`deepseek-v4-flash`), V4 Pro (`deepseek-v4-pro`), and the explicit experimental vision model (`deepseek-v4-flash-vision-exp`) via OpenAI-compatible Chat Completions. Thinking defaults to disabled for low-latency chat.
1664
+ - **Kimi**: Kimi K3.1 Pro (`kimi-k3.1-pro`) and Highspeed (`kimi-k3.1-pro-highspeed`) are explicit options with image input, tools, streaming, and the same reasoning controls as K3. Supports Kimi K3 (`kimi-k3`, `low` / `high` / `max` reasoning with `max` as the default), Kimi K2.7 Code (`kimi-k2.7-code`), Kimi K2.7 Code HighSpeed (`kimi-k2.7-code-highspeed`), and Kimi K2.6 (`kimi-k2.6`, default) with vision support
1665
+ - **DeepSeek**: DeepSeek V4.1 Flash 1017 via the rolling `deepseek-flash` ID, plus text-only V4 Pro (`deepseek-v4-pro`), through OpenAI-compatible Chat Completions. Legacy Flash aliases remain available for compatibility. Thinking defaults to disabled for low-latency chat.
1608
1666
  - **Mistral**: Supports the Ministral 3 family (`ministral-3b-2512`, `ministral-8b-2512`, `ministral-14b-2512`) and current Mistral generalist models, with streaming and vision support. Adjustable `reasoning_effort` is only sent for supported models. GLM-5.3 (`zai-glm-5-3`) is an explicit text-only option.
1609
1667
  - **Sakana AI**: Supports Fugu (`fugu`), Fugu Ultra (`fugu-ultra-v1.1`), and vision-capable Sakana Namazu (`sakana-namazu`) via OpenAI-compatible Chat Completions. Namazu thinking defaults to disabled for responsive chat.
1610
1668
  - **PLaMo**: Supports PLaMo 3.0 Prime (`plamo-3.0-prime`, default) via OpenAI-compatible Chat Completions; the retiring 2.2 constant remains exported for compatibility.
@@ -6,6 +6,7 @@ export declare const MODEL_CLAUDE_3_5_SONNET = "claude-3-5-sonnet-20241022";
6
6
  export declare const MODEL_CLAUDE_3_7_SONNET = "claude-3-7-sonnet-20250219";
7
7
  export declare const MODEL_CLAUDE_4_SONNET = "claude-sonnet-4-20250514";
8
8
  export declare const MODEL_CLAUDE_4_OPUS = "claude-opus-4-20250514";
9
+ /** @deprecated Anthropic retires it on November 30, 2026. Use MODEL_CLAUDE_5_5_SONNET. */
9
10
  export declare const MODEL_CLAUDE_4_5_SONNET = "claude-sonnet-4-5-20250929";
10
11
  export declare const MODEL_CLAUDE_4_5_HAIKU = "claude-haiku-4-5-20251001";
11
12
  export declare const MODEL_CLAUDE_4_5_OPUS = "claude-opus-4-5-20251101";
@@ -1 +1 @@
1
- {"version":3,"file":"claude.d.ts","sourceRoot":"","sources":["../../../src/constants/claude.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,0CAA0C,CAAC;AAE3E,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AAGzD,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,sBAAsB,8BAA8B,CAAC;AAClE,eAAO,MAAM,uBAAuB,+BAA+B,CAAC;AACpE,eAAO,MAAM,uBAAuB,+BAA+B,CAAC;AACpE,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,mBAAmB,2BAA2B,CAAC;AAC5D,eAAO,MAAM,uBAAuB,+BAA+B,CAAC;AACpE,eAAO,MAAM,sBAAsB,8BAA8B,CAAC;AAClE,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAC3D,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AACrD,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,mBAAmB,kBAAkB,CAAC;AACnD,eAA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BAAuB,sBAAsB,CAAC;AAC3D,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AACrD,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,mBAAmB,kBAAkB,CAAC;AACnD,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAC3D,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AAIzD,eAAO,MAAM,wBAAwB,UAQpC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAoChF,eAAO,MAAM,8BAA8B,UAe1C,CAAC;AAEF;;GAEG;AACH,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,MAAM,GACZ,SAAS,qBAAqB,EAAE,CAElC;AAED,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEnE;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,MAAM,GACZ,qBAAqB,GAAG,SAAS,CAEnC;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,qBAAqB,GAC7B,qBAAqB,GAAG,SAAS,CAgBnC"}
@@ -14,6 +14,7 @@ exports.MODEL_CLAUDE_3_5_SONNET = 'claude-3-5-sonnet-20241022';
14
14
  exports.MODEL_CLAUDE_3_7_SONNET = 'claude-3-7-sonnet-20250219';
15
15
  exports.MODEL_CLAUDE_4_SONNET = 'claude-sonnet-4-20250514';
16
16
  exports.MODEL_CLAUDE_4_OPUS = 'claude-opus-4-20250514';
17
+ /** @deprecated Anthropic retires it on November 30, 2026. Use MODEL_CLAUDE_5_5_SONNET. */
17
18
  exports.MODEL_CLAUDE_4_5_SONNET = 'claude-sonnet-4-5-20250929';
18
19
  exports.MODEL_CLAUDE_4_5_HAIKU = 'claude-haiku-4-5-20251001';
19
20
  exports.MODEL_CLAUDE_4_5_OPUS = 'claude-opus-4-5-20251101';
@@ -27,8 +28,10 @@ exports.MODEL_CLAUDE_5_OPUS = 'claude-opus-5';
27
28
  exports.MODEL_CLAUDE_5_5_OPUS = 'claude-opus-5-5';
28
29
  exports.MODEL_CLAUDE_5_5_SONNET = 'claude-sonnet-5-5';
29
30
  exports.MODEL_CLAUDE_5_5_HAIKU = 'claude-haiku-5-5';
30
- // Retired model ids remain exported so existing imports continue to compile.
31
+ // Deprecated and retired model ids remain exported so existing imports
32
+ // continue to compile.
31
33
  exports.CLAUDE_DEPRECATED_MODELS = [
34
+ exports.MODEL_CLAUDE_4_5_SONNET,
32
35
  exports.MODEL_CLAUDE_3_HAIKU,
33
36
  exports.MODEL_CLAUDE_3_5_HAIKU,
34
37
  exports.MODEL_CLAUDE_3_5_SONNET,
@@ -1 +1 @@
1
- {"version":3,"file":"claude.js","sourceRoot":"","sources":["../../../src/constants/claude.ts"],"names":[],"mappings":";;;AA2FA,gFAIC;AAED,oEAEC;AAMD,0EAIC;AAKD,wEAmBC;AArIY,QAAA,mBAAmB,GAAG,uCAAuC,CAAC;AAE9D,QAAA,sBAAsB,GAAG,kBAAkB,CAAC;AAEzD,eAAe;AACF,QAAA,oBAAoB,GAAG,yBAAyB,CAAC;AACjD,QAAA,sBAAsB,GAAG,2BAA2B,CAAC;AACrD,QAAA,uBAAuB,GAAG,4BAA4B,CAAC;AACvD,QAAA,uBAAuB,GAAG,4BAA4B,CAAC;AACvD,QAAA,qBAAqB,GAAG,0BAA0B,CAAC;AACnD,QAAA,mBAAmB,GAAG,wBAAwB,CAAC;AAC/C,QAAA,uBAAuB,GAAG,4BAA4B,CAAC;AACvD,QAAA,sBAAsB,GAAG,2BAA2B,CAAC;AACrD,QAAA,qBA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8B,CAC5C,KAAa,EACb,MAA8B;IAE9B,MAAM,SAAS,GAAG,kCAAkC,CAAC,KAAK,CAAC,CAAC;IAC5D,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,+BAA+B,CAAC,KAAK,CAAC,CAAC;IAChD,CAAC;IAED,IAAI,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAC/B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,uEAAuE;IACvE,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export declare const DEEPSEEK_API_BASE_URL = "https://api.deepseek.com";
2
2
  export declare const ENDPOINT_DEEPSEEK_CHAT_COMPLETIONS_API = "https://api.deepseek.com/chat/completions";
3
+ /** Rolling API ID, served by DeepSeek-V4.1-Flash-1017 as of 2026-10-17. */
3
4
  export declare const MODEL_DEEPSEEK_FLASH = "deepseek-flash";
4
5
  export declare const MODEL_DEEPSEEK_V4_FLASH = "deepseek-v4-flash";
5
6
  export declare const MODEL_DEEPSEEK_V4_PRO = "deepseek-v4-pro";
@@ -1 +1 @@
1
- {"version":3,"file":"deepseek.d.ts","sourceRoot":"","sources":["../../../src/constants/deepseek.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,sCAAsC,8CAA8C,CAAC;AAElG,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AAGrD,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAC3D,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,kCAAkC,iCACf,CAAC;AAEjC,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;AAgBtE,uDAAuD;AACvD,eAAO,MAAM,mBAAmB,kB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AO,MAAM,0BAA0B,UAGtC,CAAC;AAEF,wBAAgB,oCAAoC,CAClD,KAAK,EAAE,MAAM,GACZ,SAAS,uBAAuB,EAAE,CAcpC;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAErE;AAED,+EAA+E;AAC/E,wBAAgB,iCAAiC,CAC/C,KAAK,EAAE,MAAM,GACZ,uBAAuB,GAAG,SAAS,CAErC;AAED,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,uBAAuB,GAC/B,uBAAuB,GAAG,SAAS,CAkBrC"}
@@ -8,6 +8,7 @@ exports.getDefaultDeepSeekReasoningEffort = getDefaultDeepSeekReasoningEffort;
8
8
  exports.normalizeDeepSeekReasoningEffort = normalizeDeepSeekReasoningEffort;
9
9
  exports.DEEPSEEK_API_BASE_URL = 'https://api.deepseek.com';
10
10
  exports.ENDPOINT_DEEPSEEK_CHAT_COMPLETIONS_API = `${exports.DEEPSEEK_API_BASE_URL}/chat/completions`;
11
+ /** Rolling API ID, served by DeepSeek-V4.1-Flash-1017 as of 2026-10-17. */
11
12
  exports.MODEL_DEEPSEEK_FLASH = 'deepseek-flash';
12
13
  // DeepSeek V4 models
13
14
  exports.MODEL_DEEPSEEK_V4_FLASH = 'deepseek-v4-flash';
@@ -1 +1 @@
1
- {"version":3,"file":"deepseek.js","sourceRoot":"","sources":["../../../src/constants/deepseek.ts"],"names":[],"mappings":";;;AAiDA,oFAgBC;AAED,sDAEC;AAED,wEAEC;AAGD,8EAIC;AAED,4EAqBC;AAvGY,QAAA,qBAAqB,GAAG,0BAA0B,CAAC;AACnD,QAAA,sCAAsC,GAAG,GAAG,6BAAqB,mBAAmB,CAAC;AAErF,QAAA,oBAAoB,GAAG,gBAAgB,CAAC;AAErD,qBAAqB;AACR,QAAA,uBAAuB,GAAG,mBAAmB,C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,CAAC,EAAE,CAAC;QAC3B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,SAAS,GAAG,MAAM,IAAI,iCAAiC,CAAC,KAAK,CAAC,CAAC;IACrE,IAAI,SAAS,IAAI,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAC/C,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,yEAAyE;IACzE,kEAAkE;IAClE,IAAI,KAAK,KAAK,6BAAqB,IAAI,SAAS,KAAK,KAAK,EAAE,CAAC;QAC3D,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,iCAAiC,CAAC,KAAK,CAAC,CAAC;AAClD,CAAC"}
@@ -2,8 +2,10 @@ export declare const ENDPOINT_GEMINI_API = "https://generativelanguage.googleapi
2
2
  export declare const MODEL_GEMMA_4_31B_IT = "gemma-4-31b-it";
3
3
  export declare const MODEL_GEMMA_4_26B_A4B_IT = "gemma-4-26b-a4b-it";
4
4
  export declare const MODEL_GEMINI_3_8_FLASH = "gemini-3.8-flash";
5
+ /** @deprecated Google routes requests to gemini-3.8-flash. Use MODEL_GEMINI_3_8_FLASH. */
5
6
  export declare const MODEL_GEMINI_3_7_FLASH = "gemini-3.7-flash";
6
7
  export declare const MODEL_GEMINI_3_6_FLASH = "gemini-3.6-flash";
8
+ /** @deprecated Google routes requests to gemini-3.6-flash. Use MODEL_GEMINI_3_6_FLASH. */
7
9
  export declare const MODEL_GEMINI_3_5_FLASH = "gemini-3.5-flash";
8
10
  export declare const MODEL_GEMINI_3_5_FLASH_LITE = "gemini-3.5-flash-lite";
9
11
  export declare const MODEL_GEMINI_3_1_PRO_PREVIEW = "gemini-3.1-pro-preview";
@@ -1 +1 @@
1
- {"version":3,"file":"gemini.d.ts","sourceRoot":"","sources":["../../../src/constants/gemini.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,8CAA8C,CAAC;AAG/E,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AACrD,eAAO,MAA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,CAC7C,KAAK,EAAE,MAAM,GACZ,qBAAqB,GAAG,SAAS,CAEnC;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,qBAAqB,GAC7B,qBAAqB,GAAG,SAAS,CAWnC"}
@@ -11,8 +11,10 @@ exports.ENDPOINT_GEMINI_API = 'https://generativelanguage.googleapis.com';
11
11
  exports.MODEL_GEMMA_4_31B_IT = 'gemma-4-31b-it';
12
12
  exports.MODEL_GEMMA_4_26B_A4B_IT = 'gemma-4-26b-a4b-it';
13
13
  exports.MODEL_GEMINI_3_8_FLASH = 'gemini-3.8-flash';
14
+ /** @deprecated Google routes requests to gemini-3.8-flash. Use MODEL_GEMINI_3_8_FLASH. */
14
15
  exports.MODEL_GEMINI_3_7_FLASH = 'gemini-3.7-flash';
15
16
  exports.MODEL_GEMINI_3_6_FLASH = 'gemini-3.6-flash';
17
+ /** @deprecated Google routes requests to gemini-3.6-flash. Use MODEL_GEMINI_3_6_FLASH. */
16
18
  exports.MODEL_GEMINI_3_5_FLASH = 'gemini-3.5-flash';
17
19
  exports.MODEL_GEMINI_3_5_FLASH_LITE = 'gemini-3.5-flash-lite';
18
20
  exports.MODEL_GEMINI_3_1_PRO_PREVIEW = 'gemini-3.1-pro-preview';
@@ -29,9 +31,7 @@ exports.MODEL_GEMINI_2_5_FLASH_LITE = 'gemini-2.5-flash-lite';
29
31
  exports.MODEL_GEMINI_2_5_FLASH_LITE_PREVIEW_06_17 = 'gemini-2.5-flash-lite-preview-06-17';
30
32
  exports.GEMINI_RECOMMENDED_MODELS = [
31
33
  exports.MODEL_GEMINI_3_8_FLASH,
32
- exports.MODEL_GEMINI_3_7_FLASH,
33
34
  exports.MODEL_GEMINI_3_6_FLASH,
34
- exports.MODEL_GEMINI_3_5_FLASH,
35
35
  exports.MODEL_GEMINI_3_5_FLASH_LITE,
36
36
  exports.MODEL_GEMINI_3_1_FLASH_LITE,
37
37
  exports.MODEL_GEMINI_3_1_PRO_PREVIEW,
@@ -43,6 +43,8 @@ exports.GEMINI_RECOMMENDED_MODELS = [
43
43
  exports.MODEL_GEMMA_4_26B_A4B_IT,
44
44
  ];
45
45
  exports.GEMINI_DEPRECATED_MODELS = [
46
+ exports.MODEL_GEMINI_3_7_FLASH,
47
+ exports.MODEL_GEMINI_3_5_FLASH,
46
48
  exports.MODEL_GEMINI_3_1_FLASH_LITE_PREVIEW,
47
49
  exports.MODEL_GEMINI_3_PRO_PREVIEW,
48
50
  exports.MODEL_GEMINI_2_5_FLASH_LITE_PREVIEW_06_17,
@@ -1 +1 @@
1
- {"version":3,"file":"gemini.js","sourceRoot":"","sources":["../../../src/constants/gemini.ts"],"names":[],"mappings":";;;AA0FA,gFAYC;AAED,oEAEC;AAKD,0EAIC;AAKD,wEAcC;AAtID,gBAAgB;AACH,QAAA,mBAAmB,GAAG,2CAA2C,CAAC;AAE/E,wBAAwB;AACX,QAAA,oBAAoB,GAAG,gBAAgB,CAAC;AACxC,QAAA,wBAAwB,GAAG,oBAAoB,CAAC;AAChD,QAAA,sBAAsB,GAAG,kBAAkB,CAAC;AAC5C,QAAA,sBAAsB,GAAG,kBAAkB,CAAC;AAC5C,QAAA,sBAAsB,GAAG,kBAAkB,CAAC;AAC5C,QAAA,sBAAsB,GAAG,kBAAkB,CAAC;AAC5C,QAAA,2BAA2B,GAAG,uBAAuB,CAAC;AACtD,QAAA,4BAA4B,GAAG,wBAAwB,CAAC;AACxD,QAAA,2BAA2B,GAAG,uBAAuB,CAAC;AACnE,2DAA2D;AAC9C,QAAA,mCAAmC,GAC9C,+BAA+B,CAAC;AAClC,4DAA4D;AAC/C,QAAA,0BAA0B,GAAG,sBAAsB,CAAC;AACpD,QAAA,4BAA4B,GAAG,wBAAwB,CAAC;AACxD,QAAA,oBAAoB,GAAG,gBAAgB,CAAC;AACxC,QAAA,sBAAsB,GAAG,kBAAkB,CAAC;AAC5C,QAAA,2BAA2B,GAAG,uBAAuB,CAAC;AACnE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Q,CAAC,KAAK,CAAC,EAAE,CAAC;QAC/D,OAAO,oCAAoC,CAAC;IAC9C,CAAC;IAED,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,SAAgB,4BAA4B,CAAC,KAAa;IACxD,OAAO,kCAAkC,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;AAC9D,CAAC;AAED;;GAEG;AACH,SAAgB,+BAA+B,CAC7C,KAAa;IAEb,OAAO,kCAAkC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,SAAgB,8BAA8B,CAC5C,KAAa,EACb,MAA8B;IAE9B,MAAM,SAAS,GAAG,kCAAkC,CAAC,KAAK,CAAC,CAAC;IAC5D,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,MAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACzC,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;AACtB,CAAC"}
@@ -3,7 +3,11 @@ export declare const MODEL_KIMI_K3 = "kimi-k3";
3
3
  export declare const MODEL_KIMI_K2_7_CODE = "kimi-k2.7-code";
4
4
  export declare const MODEL_KIMI_K2_7_CODE_HIGHSPEED = "kimi-k2.7-code-highspeed";
5
5
  export declare const MODEL_KIMI_K2_6 = "kimi-k2.6";
6
+ /** @deprecated Discontinued by Kimi on August 31, 2026. Use MODEL_KIMI_K2_6. */
6
7
  export declare const MODEL_KIMI_K2_5 = "kimi-k2.5";
8
+ export declare const MODEL_KIMI_K3_1_PRO = "kimi-k3.1-pro";
9
+ export declare const MODEL_KIMI_K3_1_PRO_HIGHSPEED = "kimi-k3.1-pro-highspeed";
10
+ export declare const KIMI_DEPRECATED_MODELS: string[];
7
11
  export type KimiReasoningEffort = 'low' | 'high' | 'max';
8
12
  export declare const KIMI_VISION_SUPPORTED_MODELS: string[];
9
13
  export declare const KIMI_THINKING_REQUIRED_MODELS: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"kimi.d.ts","sourceRoot":"","sources":["../../../src/constants/kimi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAGhD,eAAO,MAAM,aAAa,YAAY,CAAC;AACvC,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AACrD,eAAO,MAAM,8BAA8B,6BAA6B,CAAC;AACzE,eAAO,MAAM,eAAe,cAAc,CAAC;AAC3C,eAAO,MAAM,eAAe,cAAc,CAAC;AAE3C,MAAM,MAAM,mBAAmB,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;AAUzD,eAAO,MAAM,4BAA4B,UAMxC,CAAC;AAGF,eAAO,MAAM,6BAA6B,UAGzC,CAAC;AAEF;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAExD;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAElE;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,MAAM,GACZ,SAAS,mBAAmB,EAAE,CAEhC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,MAAM,GACZ,mBAAmB,GAAG,SAAS,CAEjC;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEjE"}
1
+ {"version":3,"file":"kimi.d.ts","sourceRoot":"","sources":["../../../src/constants/kimi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAGhD,eAAO,MAAM,aAAa,YAAY,CAAC;AACvC,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AACrD,eAAO,MAAM,8BAA8B,6BAA6B,CAAC;AACzE,eAAO,MAAM,eAAe,cAAc,CAAC;AAC3C,gFAAgF;AAChF,eAAO,MAAM,eAAe,cAAc,CAAC;AAC3C,eAAO,MAAM,mBAAmB,kBAAkB,CAAC;AACnD,eAAO,MAAM,6BAA6B,4BAA4B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,UAAoB,CAAC;AAExD,MAAM,MAAM,mBAAmB,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;AAYzD,eAAO,MAAM,4BAA4B,UAQxC,CAAC;AAGF,eAAO,MAAM,6BAA6B,UAGzC,CAAC;AAEF;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAExD;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAElE;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,MAAM,GACZ,SAAS,mBAAmB,EAAE,CAEhC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,MAAM,GACZ,mBAAmB,GAAG,SAAS,CAEjC;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEjE"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.KIMI_THINKING_REQUIRED_MODELS = exports.KIMI_VISION_SUPPORTED_MODELS = exports.MODEL_KIMI_K2_5 = exports.MODEL_KIMI_K2_6 = exports.MODEL_KIMI_K2_7_CODE_HIGHSPEED = exports.MODEL_KIMI_K2_7_CODE = exports.MODEL_KIMI_K3 = exports.ENDPOINT_KIMI_CHAT_COMPLETIONS_API = void 0;
3
+ exports.KIMI_THINKING_REQUIRED_MODELS = exports.KIMI_VISION_SUPPORTED_MODELS = exports.KIMI_DEPRECATED_MODELS = exports.MODEL_KIMI_K3_1_PRO_HIGHSPEED = exports.MODEL_KIMI_K3_1_PRO = exports.MODEL_KIMI_K2_5 = exports.MODEL_KIMI_K2_6 = exports.MODEL_KIMI_K2_7_CODE_HIGHSPEED = exports.MODEL_KIMI_K2_7_CODE = exports.MODEL_KIMI_K3 = exports.ENDPOINT_KIMI_CHAT_COMPLETIONS_API = void 0;
4
4
  exports.isKimiVisionModel = isKimiVisionModel;
5
5
  exports.isKimiThinkingRequiredModel = isKimiThinkingRequiredModel;
6
6
  exports.getKimiSupportedReasoningEfforts = getKimiSupportedReasoningEfforts;
@@ -12,8 +12,14 @@ exports.MODEL_KIMI_K3 = 'kimi-k3';
12
12
  exports.MODEL_KIMI_K2_7_CODE = 'kimi-k2.7-code';
13
13
  exports.MODEL_KIMI_K2_7_CODE_HIGHSPEED = 'kimi-k2.7-code-highspeed';
14
14
  exports.MODEL_KIMI_K2_6 = 'kimi-k2.6';
15
+ /** @deprecated Discontinued by Kimi on August 31, 2026. Use MODEL_KIMI_K2_6. */
15
16
  exports.MODEL_KIMI_K2_5 = 'kimi-k2.5';
17
+ exports.MODEL_KIMI_K3_1_PRO = 'kimi-k3.1-pro';
18
+ exports.MODEL_KIMI_K3_1_PRO_HIGHSPEED = 'kimi-k3.1-pro-highspeed';
19
+ exports.KIMI_DEPRECATED_MODELS = [exports.MODEL_KIMI_K2_5];
16
20
  const KIMI_REASONING_EFFORTS_BY_MODEL = {
21
+ [exports.MODEL_KIMI_K3_1_PRO]: ['low', 'high', 'max'],
22
+ [exports.MODEL_KIMI_K3_1_PRO_HIGHSPEED]: ['low', 'high', 'max'],
17
23
  [exports.MODEL_KIMI_K3]: ['low', 'high', 'max'],
18
24
  };
19
25
  // Vision support for models
@@ -23,6 +29,8 @@ exports.KIMI_VISION_SUPPORTED_MODELS = [
23
29
  exports.MODEL_KIMI_K2_7_CODE_HIGHSPEED,
24
30
  exports.MODEL_KIMI_K2_6,
25
31
  exports.MODEL_KIMI_K2_5,
32
+ exports.MODEL_KIMI_K3_1_PRO,
33
+ exports.MODEL_KIMI_K3_1_PRO_HIGHSPEED,
26
34
  ];
27
35
  // Kimi K2.7 Code supports thinking mode only.
28
36
  exports.KIMI_THINKING_REQUIRED_MODELS = [
@@ -51,7 +59,7 @@ function getKimiSupportedReasoningEfforts(model) {
51
59
  * Get the official default reasoning effort for a Kimi model.
52
60
  */
53
61
  function getDefaultKimiReasoningEffort(model) {
54
- return model === exports.MODEL_KIMI_K3 ? 'max' : undefined;
62
+ return isKimiReasoningEffortModel(model) ? 'max' : undefined;
55
63
  }
56
64
  /**
57
65
  * Check if a model uses reasoning_effort instead of the K2.x thinking field.
@@ -1 +1 @@
1
- {"version":3,"file":"kimi.js","sourceRoot":"","sources":["../../../src/constants/kimi.ts"],"names":[],"mappings":";;;AAqCA,8CAEC;AAKD,kEAEC;AAKD,4EAIC;AAKD,sEAIC;AAKD,gEAEC;AAvEY,QAAA,kCAAkC,GAC7C,6CAA6C,CAAC;AAEhD,cAAc;AACD,QAAA,aAAa,GAAG,SAAS,CAAC;AAC1B,QAAA,oBAAoB,GAAG,gBAAgB,CAAC;AACxC,QAAA,8BAA8B,GAAG,0BAA0B,CAAC;AAC5D,QAAA,eAAe,GAAG,WAAW,CAAC;AAC9B,QAAA,eAAe,GAAG,WAAW,CAAC;AAI3C,MAAM,+BAA+B,GAGjC;IACF,CAAC,qBAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC;CACxC,CAAC;AAEF,4BAA4B;AACf,QAAA,4BAA4B,GAAG;IAC1C,qBAAa;IACb,4BAAoB;IACpB,sCAA8B;IAC9B,uBAAe;IACf,uBAAe;CAChB,CAAC;AAEF,8CAA8C;AACjC,QAAA,6BAA6B,GAAG;IAC3C,4BAAoB;IACpB,sCAA8B;CAC/B,CAAC;AAEF;;GAEG;AACH,SAAgB,iBAAiB,CAAC,KAAa;IAC7C,OAAO,oCAA4B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAa;IACvD,OAAO,qCAA6B,CAAC,QAAQ,CA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