Canopy Wave & SAIHEACanopy Wave & SAIHEAT Announce Merger Agreement | Learn MoreArrow
Kimi-K2.7-Code API
CODE

Kimi-K2.7-Code API

All You Need to Know About Kimi-K2.7-Code API

Overview

Model Provider:Moonshot AI
Model Type:Code
State:Ready

Key Specs

Quantization:INT4
Parameters:1.1T
Context:256K
Pricing:$0.95 input / $4.00 output / $0.19 cache
Try Model API
Quick Start
Reserve Dedicated Endpoint

Introduction

Kimi K2.7 Code is a coding-focused agentic model built upon Kimi K2.6. With substantial improvements on real-world long-horizon coding tasks, it strengthens end-to-end task completion across complex software engineering workflows while improving token efficiency, reducing thinking-token usage by approximately 30% compared with Kimi K2.6.

Kimi-K2.7-Code API Usage

Model

Endpoint

moonshotai/kimi-k2.7-code


        1
        curl -X POST https://inference.canopywave.io/v1/chat/completions \
      
        2
          -H "Content-Type: application/json" \
      
        3
          -H "Authorization: Bearer $CANOPYWAVE_API_KEY" \
      
        4
          -d '{
      
        5
            "model": "moonshotai/kimi-k2.7-code",
      
        6
            "messages": [
      
        7
              {"role": "user", "content": "tell me a story"}
      
        8
            ],
      
        9
            "max_tokens": 1000,
      
        10
            "temperature": 0.7
      
        11
          }'