NEAR AICloud
Sign inStart building
Kimi K3 icon
Kimi K3
moonshotai/kimi-k3
1048K context|$3.3/M input tokens|$16.5/M output tokens|$0.33/M cache read

Moonshot AI native multimodal agentic model with a 1M-token context window, built for long-horizon coding, knowledge work, and reasoning.

Input / M tokens
$3.3
Output / M tokens
$16.5
Cache read
$0.33
Context
1048K

Sample code and API for Kimi K3

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-k3", "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-k3", }) console.log(completion.choices[0]) } main()

Verify Kimi K3

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-k3' \ -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-k3&signing_algo=ecdsa' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer <NEAR_AI_CLOUD_API_KEY>'