Image-Text-to-Text
Transformers
Safetensors
kimi_k31
text-generation
compressed-tensors
conversational
custom_code
Eval Results
8-bit precision
Instructions to use moonshotai/Kimi-K3.1-Pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use moonshotai/Kimi-K3.1-Pro with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="moonshotai/Kimi-K3.1-Pro", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("moonshotai/Kimi-K3.1-Pro", trust_remote_code=True, device_map="auto") - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use moonshotai/Kimi-K3.1-Pro with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "moonshotai/Kimi-K3.1-Pro" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "moonshotai/Kimi-K3.1-Pro", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/moonshotai/Kimi-K3.1-Pro
- SGLang
How to use moonshotai/Kimi-K3.1-Pro with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "moonshotai/Kimi-K3.1-Pro" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "moonshotai/Kimi-K3.1-Pro", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "moonshotai/Kimi-K3.1-Pro" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "moonshotai/Kimi-K3.1-Pro", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use moonshotai/Kimi-K3.1-Pro with Docker Model Runner:
docker model run hf.co/moonshotai/Kimi-K3.1-Pro
Kimi 3.1 run locally on one GPU
1
#16 opened about 4 hours ago
by
konstantinnikol
Name Change
1
#15 opened about 20 hours ago
by
RedDragonGecko
Please create dataset of kimi 3.1 responses
#14 opened about 22 hours ago
by
gcviguyg
Thank you Kimi! You gained new, paid consumer.
#13 opened 1 day ago
by
Arkovski
You can now run Kimi K3.1 Pro locally on one 96 GB GPU at 2 tok/s - 40 tok/s prefill
1
#12 opened 1 day ago
by
konstantinnikol
Please also make a 20B class model !!! π₯Ί ππ
π 2
4
#11 opened 1 day ago
by
YADAV0206
Lets Appreciate People at Moonshot AI Labs & Ask about Future Plans related smaller sized models
#9 opened 2 days ago
by
chirag-gamer
Kimi-K3.1-Pro Uncensored
4
#8 opened 2 days ago
by
levelsio1
Notes from an NVFP4 port of Kimi K3.1 Pro
π₯ 2
#7 opened 2 days ago
by
alexmv2025
Impressive. Very nice. Let's see Liang Wenfeng's model.
π€―π 9
#6 opened 3 days ago
by
Mikkkkoooo
Please soften the hard-trained persona
π 8
10
#5 opened 3 days ago
by
sumiremelody
Great release! Please make also small ones. like 27B/A3B or 9B or something like that
β 16
8
#4 opened 3 days ago
by
ZeroWw
Add OmniCompass-VL evaluation result
πβ€οΈ 2
#3 opened 3 days ago
by
VCLab-PolyU
Add evaluation results
#2 opened 3 days ago
by
SaylorTwift