Tool calling with Moonshot's Kimi K2 mode
Moonshot's new Kimi 2 model is extremely inexpensive to use. Moonshot AI (ζδΉζι’) is a prominent Chinese artificial intelligence startup focused on developing large language models with the long-term goal of achieving Artificial General Intelligence (AGI). The company gained significant recognition for its Kimi chatbot, which pioneered an exceptionally large context window capable of processing up to two million Chinese characters in a single prompt. Backed by major investors like Alibaba, Moonshot AI has quickly become one of China's most valuable AI unicorns and a key competitor in the global AI race. The release of Kimi 2 last week has been referred to as "another DeepSeek moment." You need a Moonshot API access key from https://platform.moonshot.ai/console/account The direct API pricing from Moonshot AI is approximately: Input Tokens: ~$0.60 per 1 million tokens Output Tokens: ~$2.50 per 1 million tokens Several inference providers in the USA are now supporting...