Moonshot AI logo

Kimi K2.7 Code Highspeed

moonshotai/kimi-k2.7-code-highspeedChat
  • Function calling
  • Vision
  • Reasoning

Moonshot AI

Kimi K2.7 Code Highspeed (moonshotai/kimi-k2.7-code-highspeed) is a chat model from Moonshot AI with a 262,144-token context window and 262,144 max output tokens, priced at $1.90/1M input and $8.00/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.

API usage

from openai import OpenAI

client = OpenAI(
    base_url="https://api.haimaker.ai/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="moonshotai/kimi-k2.7-code-highspeed",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

print(response.choices[0].message.content)

Replace YOUR_API_KEY with a key from your haimaker account. Get an API key or read the developer docs.

Overview

Kimi K2.7 Code Highspeed is a chat-based AI model developed by Moonshot AI with a 262,144-token context window and equivalent maximum output length. It supports function calling, vision, and reasoning capabilities, with pricing set at $1.9 per million input tokens and $8 per million output tokens. The model's parameter count, architecture, and license details remain undisclosed.

Specifications

ModeChat
SupportsFunction calling, Vision, Reasoning
Not supportedWeb search, URL context

Frequently asked questions

What is the context window of Kimi K2.7 Code Highspeed?

Kimi K2.7 Code Highspeed (moonshotai/kimi-k2.7-code-highspeed) has a 262,144-token context window and supports up to 262,144 output tokens per request.

How much does Kimi K2.7 Code Highspeed cost?

Kimi K2.7 Code Highspeed is priced at $1.90 per 1M input tokens and $8.00 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.

What features does Kimi K2.7 Code Highspeed support?

Kimi K2.7 Code Highspeed supports function calling, vision, reasoning.

How do I use Kimi K2.7 Code Highspeed via API?

Send requests to https://api.haimaker.ai/v1/chat/completions with model "moonshotai/kimi-k2.7-code-highspeed" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.