Multi-GPU
Lambda runbook · model rank #22

Stand up Kimi K2.5
on Lambda.

Fits one high-memory node, but needs tensor/expert parallel configuration. Straightforward dedicated NVIDIA instances and full multi-GPU nodes.

Multi-GPU: Fits one high-memory node, but needs tensor/expert parallel configuration.

Lambda setup, in the order that matters

An On-Demand Cloud instance, or a 1-Click Cluster for larger deployments. Use the provider console for infrastructure and the pinned runtime block for the model server.

  1. 01

    Add an SSH key and choose capacity

    In On-Demand Cloud, launch 8x H100/A100 80GB-class GPUs. For more than one node, use a 1-Click Cluster. Attach at least 850GB of persistent storage if you want cached weights to survive instance replacement.

  2. 02

    Connect to the instance

    Use the console-provided SSH command. Lambda opens only port 22 by default, so keep port 8000 private or add a narrowly scoped firewall rule.

  3. 03

    Start the runtime

    Run the container command below with model ID moonshotai/Kimi-K2.5. Keep the first context limit at 32,768 tokens.

  4. 04

    Tunnel, test, and terminate

    Use an SSH tunnel for the first smoke test. Terminate from the Lambda console or API—shutting down Linux does not stop billing.

Runtime seedvLLM · latest
docker run --rm --gpus all --ipc=host \
  -p 8000:8000 \
  -e HUGGING_FACE_HUB_TOKEN="$HF_TOKEN" \
  -v "$PWD/.hf-cache:/root/.cache/huggingface" \
  vllm/vllm-openai:latest \
  --model moonshotai/Kimi-K2.5 \
  --tensor-parallel-size 8 \
  --max-model-len 32768 \
  --trust-remote-code \
  --served-model-name kimi-k2.5

This is a reproducible starting block. Cluster paths still need the model author's distributed recipe and the provider's orchestration layer.

Smoke testOpenAI-compatible request
curl http://127.0.0.1:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.5",
    "messages": [{"role": "user", "content": "Reply with: deployment healthy"}],
    "max_tokens": 32
  }'

Run this only after logs show the model loaded. A successful HTTP response is not a latency or quality benchmark.

Quota, license, and storage

  • Confirm 8x H100/A100 80GB-class GPUs is actually available in the selected region.
  • Read the Modified MIT terms and accept any gated-model conditions.
  • Budget at least 850GB for weights, cache, and container layers.
  • Keep HF_TOKEN in the provider secret store—not in scripts or templates.

Memory, format, and shutdown

  • Record idle/free VRAM after the model loads and after a representative prompt.
  • Validate the official chat template, reasoning parser, and tool-call parser.
  • Add authentication and TLS in front of port 8000.
  • Verify the provider's stop/delete action actually ends compute billing.

Hand this runbook to Claude Code or Codex

Open a terminal in the repository where you want the deployment files, start claude or codex, then paste this prompt. It asks the agent to verify sources and stop before it creates billable infrastructure.

Deployment prompt
Deploy Kimi K2.5 (moonshotai/Kimi-K2.5) on Lambda. Use this guide as the starting context: https://www.getflops.ai/models/kimi-k2.5/lambda. Use a planning floor of 8x 80GB GPUs, 850GB storage, vllm latest, and an initial context limit of 32768 tokens. Open every linked primary source and flag any mismatch instead of guessing. Create a deployment folder containing README.md, .env.example with no secrets, a pinned start script or infrastructure manifest, and smoke-test.sh. Make the endpoint OpenAI-compatible where the runtime supports it. Run local/static validation, estimate the billable resources, and stop before provisioning paid infrastructure until I approve.
Guardrails included No secrets in files · verify primary docs · approval before spend

The two sources to check first

Checked 2026-07-27. This page separates sourced facts from the planning baseline; verify current runtime support and capacity before spending.

Compare Kimi K2.5 elsewhere