icon

k2.6-code-preview-free

kimi-for-coding-free is a free and open version offered by AIHubMix specifically for Kimi users. To maintain stable service operations, the following usage limits apply: a maximum of 5 requests per minute 500 total requests per day, and a daily quota of 1 million tokens.
Pricing Details
  • Input Tokens: $0.00 /M tokens
  • Output Tokens: $0.00 /M tokens
  • Cache Tokens: $0.00 /M tokens
Input Modalities
  • Text
Output Modalities
  • Text
Features
  • Thinking
  • Tools
  • Function calling
  • Structured outputs
Tags
  • Best
  • Coding
  • Free
API Usage Examples
Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="k2.6-code-preview-free",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)
FAQ
What is k2.6-code-preview-free?
kimi-for-coding-free is a free and open version offered by AIHubMix specifically for Kimi users. To maintain stable service operations, the following usage limits apply: a maximum of 5 requests per minute 500 total requests per day, and a daily quota of 1 million tokens.
More from Moonshot AI
icon
New
Copy ID
Input:$ 3 /M Tokens
Output:$ 15 /M Tokens
Context:1M
Latency:8.06 S
Throughput:25 TPS

Kimi K3 is Kimi’s flagship model for long-horizon coding and end-to-end knowledge work, with a 1M-token context window and industry-leading intelligence.

icon
New
Copy ID
Input:$ 0.44 /M Tokens
Output:$ 1.6133304 /M Tokens
Context:1M
Latency:0.91 S
Throughput:73 TPS

Input:$ 0 /M Tokens
Output:$ 0 /M Tokens
Context:1M
Latency:0.91 S
Throughput:73 TPS

coding-kimi-k3-free is the open and free version of coding-kimi-k3. To maintain reliable service, each account is limited to 5 requests per minute, 500 requests per day, and 1 million tokens per day.

icon
New
Copy ID
Input:$ 0.95 /M Tokens
Output:$ 3.9995 /M Tokens
Context:262K
Latency:0.962 S
Throughput:74 TPS

Kimi K2.7 Code is Kimi’s most intelligent Coding model, capable of completing programming tasks with higher success rates in long context. It features a native multimodal architecture that supports text, image, video input, and thinking modes, and dialogue and agent tasks.

Input:$ 1.9 /M Tokens
Output:$ 7.999 /M Tokens
Context:262K
Latency:6.306 S
Throughput:42 TPS

High-Speed version of Kimi K2.7 Code model, with output speed of approximately 180 Tokens/s and up to 260 Tokens/s in short context scenarios, delivering a more extreme coding experience.

icon
Copy ID
Input:$ 0.95 /M Tokens
Output:$ 3.9995 /M Tokens
Context:262K
Latency:2.158 S
Throughput:120 TPS

Kimi K2.6 is Kimi's latest and most intelligent model, with stronger and more stable long-range code-writing capabilities, significantly improved instruction-following and self-correction abilities, and support for text, image, and video inputs, thinking and non-thinking modes, as well as dialogue and Agent tasks.The model has a context length of 256k, supports long-form thinking, and excels at deep reasoning.