MoonshotAI: Kimi K2. 7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts.
:online) Supported No monthly fee · credits never expire · set spend caps anytime
Estimate your exact pay-as-you-go spend before shipping.
OpenAI-compatible endpoint at https://api.livellmapi.com/v1
from openai import OpenAI
client = OpenAI(
base_url="https://api.livellmapi.com/v1",
api_key="YOUR_LIVELLMAPI_KEY",
)
resp = client.chat.completions.create(
model="kimi-k2.7-code",
messages=[{"role": "user", "content": "Explain consistent hashing in 3 bullets."}],
)
print(resp.choices[0].message.content) temperaturetop_pmax_tokensstreamstopseedpresence_penaltyfrequency_penaltyresponse_formattoolstool_choiceparallel_tool_calls Comparable pricing and capabilities — swap with a one-line model ID change.