Title: feat(providers): add Kimi (Moonshot AI) provider by waleedlatif1 · Pull Request #5716 · simstudioai/sim · GitHub
Open Graph Title: feat(providers): add Kimi (Moonshot AI) provider by waleedlatif1 · Pull Request #5716 · simstudioai/sim
X Title: feat(providers): add Kimi (Moonshot AI) provider by waleedlatif1 · Pull Request #5716 · simstudioai/sim
Description: Summary Add Kimi (Moonshot AI) as a hosted + BYOK LLM provider (api.moonshot.ai/v1, OpenAI-compatible) Models: kimi-k3 (1M context, recommended), kimi-k2.7-code, kimi-k2.7-code-highspeed, kimi-k2.6 (default) — exactly the set the API serves, pricing from official docs All current Kimi models pin temperature server-side, so no model declares the temperature capability and the adapter never sends it (verified live: non-default values are rejected) Thinking toggle on kimi-k2.6 via thinking: {type}; forced tool_choice disables thinking on toggle models and downgrades to auto on always-thinking models (Kimi rejects forced tool_choice with thinking enabled — verified live) Native json_schema structured output with the shared enforceStrictSchema() helper; max_completion_tokens output cap; image attachments via image_url data URIs Hosted key rotation via KIMI_API_KEY_1..3 + BYOK support incl. settings UI row; wired through registry, types, attachments, tokenization, billing (getHostedModels), and tests Type of Change New feature Testing Live-tested every wire shape against the real Moonshot API with production keys: chat on all four models, streaming with usage, multi-turn tool loop, forced tool calls, strict json_schema output, thinking toggle, vision parts, and the max_completion_tokens cap. 888 provider/tokenization/byok tests pass; tsc, biome, and check:api-validation clean. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary Add Kimi (Moonshot AI) as a hosted + BYOK LLM provider (api.moonshot.ai/v1, OpenAI-compatible) Models: kimi-k3 (1M context, recommended), kimi-k2.7-code, kimi-k2.7-code-highspeed, kimi-k2....
X Description: Summary Add Kimi (Moonshot AI) as a hosted + BYOK LLM provider (api.moonshot.ai/v1, OpenAI-compatible) Models: kimi-k3 (1M context, recommended), kimi-k2.7-code, kimi-k2.7-code-highspeed, kimi-k2....
Opengraph URL: https://github.com/simstudioai/sim/pull/5716
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:43c3b833-b050-8376-6061-29c6e263c968 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8B9A:112899:33101C0:346DA7D:6A632B41 |
| html-safe-nonce | 28d35367809c5bdf6d9d495e8e1057bcf55079ec6c72c66fb04965df45b15fe9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjlBOjExMjg5OTozMzEwMUMwOjM0NkRBN0Q6NkE2MzJCNDEiLCJ2aXNpdG9yX2lkIjoiNDYxMzg3NTQzMTMzMTAxNTQ4OSIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | 92893f00a949dcfbcc31567466e26da3b067230914f36b4ac1378729ae8d6252 |
| hovercard-subject-tag | pull_request:4071876940 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5716/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary Add Kimi (Moonshot AI) as a hosted + BYOK LLM provider (api.moonshot.ai/v1, OpenAI-compatible) Models: kimi-k3 (1M context, recommended), kimi-k2.7-code, kimi-k2.7-code-highspeed, kimi-k2.... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 30c644d502bce6cd2e59f9000b4744f2b64819abea8e8f959b18e3ad793125aa |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 331492a48ebd91d66ef2de38e1901bb911c9fe9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width