Using Moonshot AI with OpenHands

Moonshot AI offers several powerful models, including Kimi-K2, which has been verified to work well with OpenHands.

Setup

  1. Sign up for an account at Moonshot AI Platform
  2. Generate an API key from your account settings
  3. Configure OpenHands to use Moonshot AI:
SettingValue
LLM Providermoonshot
LLM Modelkimi-k2-0711-preview
API KeyYour Moonshot API key
  • moonshot/kimi-k2-0711-preview - Kimi-K2 is Moonshot’s most powerful model with a 131K context window, function calling support, and web search capabilities.