n4nAI
← Models
M

Kimi K2.7 Code

moonshotai/kimi-k2.7-code

About

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. It uses a native multimodal mixture-of-experts...

Context
262,144
Max output
262,144
Tokenizer
Other
Knowledge cutoff
Input
text · image
Output
text

Pricing

per 1M tokens
Input
$0.94
Output
$4.00

Use this model

curl https://api.n4n.ai/v1/chat/completions \
  -H "Authorization: Bearer $N4N_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/kimi-k2.7-code",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Authenticate with an API key from your console; prices above are per 1M tokens.

Providers

max context 262,144
ProviderInput $/1MOutput $/1M
Wandb wandb$0.94$4.00
Yuwu yuwu$0.94$4.00

Supported parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_pparallel_tool_callspresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p