How to use Kimi K3 API with Python, Cursor, and OpenAI-compatible tools
How to use Kimi K3 API with Python, Cursor, and OpenAI-compatible tools Kimi K3 is useful to test when you want a model for coding, long-context reading, agent workflows, or document-heavy work. The easiest way to evaluate it is not to rebuild your whole stack. Start with an OpenAI-compatible endpoint, send one small request, then move the same configuration into Python, Cursor, Hermes, OpenClaw, or your own backend. This tutorial uses lizh.ai as an independent OpenAI-compatible API gateway. lizh.ai is not the official Moonshot AI or Kimi API website. It is an independent gateway for calling Kimi K3 and other models through a familiar API shape. What values do you need? For most OpenAI-compatible tools, the important values are: Base URL: https://lizh.ai/v1 Model ID: kimi-k3 API Key: your lizh.ai API key Create your API key at https://lizh.ai/keys . Check current model availability and pricing at https://lizh.ai/pricing . Step 1: Test Kimi K3 with cURL Before d...