API-compatible first - artifact-verified later

How to Run Kimi K3 Locally without Guessing the Release

Build a local contract that can call an authorized endpoint now and switch to verified local inference after official weights, license and runtime instructions exist.

Scroll for the 66 second page video

Page video

A 66-second visual walk through this page

The video is paired with page-specific captions so the moving layer explains the same source-backed path as the text.

How to Run Kimi K3 Locally without Guessing the Release

Build a local contract that can call an authorized endpoint now and switch to verified local inference after official weights, license and runtime instructions exist.

  1. Key
  2. Contract
  3. Prompt
  4. Smoke
  5. Switch

Runtime checklist

Use a swappable local contract before official weights land

These command shapes are intentionally conservative. They preserve the backend boundary while avoiding fake artifact names.

# Server-side gateway contract
export KIMI_BASE_URL=https://api.moonshot.ai/v1
export KIMI_MODEL=kimi-k3
node local-gateway.mjs

Useful interpretation

What this page helps you decide

Every text section is paired with a visual model so the page can be scanned as a decision guide, not just read as an essay.

Start with a swappable endpoint contract

Keep API keys server-side, preserve request and response shapes, and log usage metadata without storing private prompts. That gives you a local app today and a cleaner path to future local inference.

contractserver keymetadatabackend
A page-specific visual aid derived from the source map.

Do not copy a guessed model artifact name

The repository explicitly warns that official GitHub and Hugging Face Kimi-K3 weight locations were not found in the scan. Treat third-party placeholders as non-official until Moonshot accounts publish artifacts.

third partynot officialwaitverify
A page-specific visual aid derived from the source map.

Keep one reproducible smoke prompt

Before tuning performance, record model revision, endpoint, reasoning effort, context setting, tool behavior and a tiny expected output. Repeat the same prompt after each backend change.

revisionpromptoutputlog
A page-specific visual aid derived from the source map.

Source notes

Evidence this page is built on

External references are kept here as source notes. They support the page but do not replace the on-page decision tools.

Kimi API quickstart

Use this for OpenAI-compatible base URL, example model name, and language examples.

P0verifiedapi
Open source note

Kimi K3 API guide

Use this for reasoning effort, max completion tokens, streaming, vision input, structured output, tools, and limitations.

P0verifiedapi
Open source note

Kimi Code model configuration

Use this for Kimi Code model ID, 1M context configuration, and OpenAI/Anthropic compatible coding endpoints.

P0verifieddeveloper tools
Open source note

Kimi Code release notes

Use this for K3 availability in Kimi Code and API-key model-list behavior.

P1verifieddeveloper tools
Open source note

MoonshotAI GitHub organization

Use this to check official repositories and avoid treating third-party Kimi-K3 placeholders as official weights.

P0verifiedofficial repos
Open source note

Moonshot AI Hugging Face organization

Use this to verify whether a Kimi-K3 weight repository appears under the official moonshotai account.

P0verifiedofficial repos
Open source note

FAQ

Fast answers for AI search and human readers

Short answers keep limits, dates and source boundaries explicit.

Why does the guide use an API-compatible path?

Because the source ledger confirms callable API and Kimi Code references while official Kimi-K3 weights were still pending in the scan.

What should stay out of browser JavaScript?

API keys, provider tokens, prompt logs containing private data, and backend routing secrets.

When should I switch to full local inference?

After official artifacts, model card, license, checksums, tokenizer, chat template and runtime recipe are verified.