Home/Models/Kimi-K2.7-Code
Moonshot·Chat LLMAvailable

Kimi-K2.7-Code

kimi-k2.7-code
Available via NovAI
01

Model introduction

Moonshot Kimi-K2.7-Code is specialized for coding and agentic software workflows. Requires temperature=1 (handled automatically by NovAI).

Kimi K2.7 Code. Coding-specialized, agentic dev workflows.

Highlights

  • Coding-specialized model
  • Great for agentic dev tools
  • 256K context
  • Auto temperature handling
  • Transparent NovAI pricing
  • NovAI price: $0.67 input / $3.4 output

Best use cases

  • Code generation & review
  • Repo-level agents
  • Test writing
  • Refactoring

Capabilities

CodingAgents
02

NovAI pricing

NovAI current price$0.67 input / $3.4 outputper 1M tokens (input/output)
NovAI current billing configuration
Billing formulainput tokens ÷ 1,000,000 × $0.67 + output tokens ÷ 1,000,000 × $3.4

Token rates

UsageNovAI current rate
Input$0.67/ 1M tokens
Output$3.40/ 1M tokens
CacheNot supported

Cost examples

1M input + 1M output tokens$4.071,000,000 ÷ 1,000,000 × $0.67 + 1,000,000 ÷ 1,000,000 × $3.4

Estimate note:Final charge is based on actual input and output tokens.

03

API quickstart

Endpoint

POST https://aiapi-pro.com/v1/chat/completions
curl https://aiapi-pro.com/v1/chat/completions \
  -H "Authorization: Bearer $NOVAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "kimi-k2.7-code", "messages": [{"role": "user", "content": "Hello"}]}'
import requests

response = requests.post(
    "https://aiapi-pro.com/v1/chat/completions",
    headers={"Authorization": "Bearer NOVAI_API_KEY"},
    json={
  "model": "kimi-k2.7-code",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
},
    timeout=120,
)
print(response.json())

Build with Kimi-K2.7-Code

OpenAI-compatible API. Credits never expire.