NVIDIA NIM API Key Guide: Free Access to Kimi K3 2.8T MoE Model

💡 Quick Highlights:
- API Endpoint: https://integrate.api.nvidia.com/v1 (Standard OpenAI-compatible format at https://integrate.api.nvidia.com/v1/chat/completions)
- Flagship Model: moonshotai/kimi-k3 (~2.8T hybrid MoE, 104B active parameters, 1M context window, MoonViT-V2 vision)
- Free Quota: 1,000 free inference credits upon signup, no credit card required. Default rate limit: 40 RPM.
- API Key Format: Begins with nvapi- (e.g. nvapi-xxxxxxxxxxxxxxxxxxxxxxxx)

⚡ Overview: NVIDIA NIM & Kimi K3

NVIDIA NIM (build.nvidia.com) is NVIDIA's enterprise inference microservice catalog. Hosted on DGX Cloud with Blackwell/Hopper GPU acceleration, it provides serverless OpenAI-compatible APIs for developers.

Kimi K3 by Moonshot AI is an open-weight ~2.8T MoE model:

  • 2.8T Total / 104B Active Parameters: Powered by Kimi Delta Attention (KDA) and Attention Residuals for state-of-the-art reasoning and high-throughput execution.
  • 1M Token Context: Ingest entire codebases and extensive documentation without truncation.
  • Native Vision (MoonViT-V2): Integrated 401M vision encoder for UI screenshot debugging and architectural diagram analysis.
  • Top SWE-bench Performance: Optimized for multi-turn autonomous coding agents and complex tool orchestration.

🔑 3 Steps to Get Your NVIDIA NIM API Key

Step 1: Sign up on build.nvidia.com

Visit build.nvidia.com/moonshotai/kimi-k3 and click Login / Create an Account in the top right. Register a free NVIDIA Developer account (no credit card needed).

Step 2: Generate and copy your API Key

Click Get API Key on the model page. Copy your newly generated key starting with nvapi-.

Step 3: Export environment variable

bash
export NVIDIA_API_KEY="nvapi-your-key-here"

🚀 Code Examples

cURL

bash
curl https://integrate.api.nvidia.com/v1/chat/completions \
  -H "Authorization: Bearer $NVIDIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/kimi-k3",
    "messages": [{"role": "user", "content": "Write a lock-free ring buffer in Rust."}],
    "temperature": 0.2
  }'

Python (OpenAI SDK)

python
from openai import OpenAI

client = OpenAI(
    base_url="https://integrate.api.nvidia.com/v1",
    api_key="YOUR_NVIDIA_API_KEY",
)

response = client.chat.completions.create(
    model="moonshotai/kimi-k3",
    messages=[{"role": "user", "content": "Optimize this distributed consensus algorithm."}],
    temperature=0.2,
)

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

Community Feedback

Comments are tied to your GitHub account — sign in to join the discussion.