How to get the most out of models like Kimi K2.
moonshotai/Kimi-K2-Instruct
and the pricing is $1.00 for input tokens and $3.00 for output tokens.
Tip | Rationale |
---|---|
Keep the system prompt simple - "You are Kimi, an AI assistant created by Moonshot AI." is the recommended default. | Matches the prompt used during instruction tuning. |
Temperature ≈ 0.6 | Calibrated to Kimi-K2-Instruct’s RLHF alignment curve; higher values yield verbosity. |
Leverage native tool calling | Pass a JSON schema in tools=[...] ; set tool_choice="auto" . Kimi decides when/what to call. |
Think in goals, not steps | Because the model is “agentic”, give a high-level objective (“Analyse this CSV and write a report”), letting it orchestrate sub-tasks. |
Chunk very long contexts | 128 K is huge, but response speed drops on >100 K inputs; supply a short executive brief in the final user message to focus the model. |