NEAR AICloud
Sign inStart building
Kimi K2.6 icon
Kimi K2.6
moonshotai/kimi-k2.6
262K context|$0.81/M input tokens|$3.85/M output tokens|$0.41/M cache read

Moonshot AI's frontier MoE model with 256K context window. Excels at complex reasoning, math, coding, and multilingual tasks with native vision support.

Input / M tokens
$0.81
Output / M tokens
$3.85
Cache read
$0.41
Context
262K

Sample code and API for Kimi K2.6

fetch("https://cloud-api.near.ai/v1/chat/completions", { method: "POST", headers: { "Authorization": "Bearer <YOUR-NEAR-AI-CLOUD-API-KEY>", "Content-Type": "application/json" }, body: JSON.stringify({ "model": "moonshotai/kimi-k2.6", "messages": [ { "role": "user", "content": "What is the meaning of life?" } ] }) })

You can also use NEAR AI Cloud with OpenAI's client API:

import OpenAI from "openai" const openai = new OpenAI({ baseURL: "https://cloud-api.near.ai/v1", apiKey: "<YOUR-NEAR-AI-CLOUD-API-KEY>", }) async function main() { const completion = await openai.chat.completions.create({ messages: [{ "role": "user", "content": "What is the meaning of life?" }], model: "moonshotai/kimi-k2.6", }) console.log(completion.choices[0]) } main()

Verify Kimi K2.6

This model is hosted in a GPU TEE. TEE enables strong privacy with end-to-end encryption for data in transmission and in use. TEE protects the entire lifecycle of the model inference and gives you a proof of the execution. It allows you to verify that the given a model and an input, it produces a specific output both onchain and offchain.

Check out the docs for more details.

Get the attestation report.

curl 'https://cloud-api.near.ai/v1/attestation/report?model=moonshotai/kimi-k2.6' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer <NEAR_AI_CLOUD_API_KEY>'

Retrieve the response signature using the chat completion ID. Signatures are available for 5 minutes.

CHAT_ID=chatcmpl-4af9... curl 'https://cloud-api.near.ai/v1/signature/${CHAT_ID}?model=moonshotai/kimi-k2.6&signing_algo=ecdsa' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer <NEAR_AI_CLOUD_API_KEY>'