Skip to content

MoonshotAI: Kimi K2.7 Code

Moonshot AI
moonshotai/kimi-k2.7-code

About this model

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...

Make a request

OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.

curl https://promptix.tn/api/v1/chat/completions \  -H "Authorization: Bearer $PROMPTIX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "moonshotai/kimi-k2.7-code",    "messages": [      {"role": "user", "content": "Hello! What can you do?"}    ]  }'

Pricing

In TND per 1M tokens. VAT and the platform fee are added at top-up.

Input tokens

2.180 TND

per 1M tokens

Output tokens

10.965 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 7.663 TND.

Specifications

Provider
Moonshot AI
Context window
262,144 tokens
Input modality
Text, Image
Added
Jun 12, 2026
Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_pparallel_tool_callspresence_penalty