Image-Text-to-Text
Transformers
Safetensors
kimi_k3
feature-extraction
compressed-tensors
conversational
custom_code
Eval Results
8-bit precision
Instructions to use moonshotai/Kimi-K3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use moonshotai/Kimi-K3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="moonshotai/Kimi-K3", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("moonshotai/Kimi-K3", trust_remote_code=True, device_map="auto") - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use moonshotai/Kimi-K3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "moonshotai/Kimi-K3" # 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", "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
- SGLang
How to use moonshotai/Kimi-K3 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" \ --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", "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" \ --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", "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 with Docker Model Runner:
docker model run hf.co/moonshotai/Kimi-K3
江浙沪包邮区人民发来贺电.
#134 opened 13 minutes ago
by
Akechi2026
BOYS IT'S TIME TO LEARN CHINESE
#132 opened about 1 hour ago
by
ombd
石家庄人民发来贺电
#131 opened about 2 hours ago
by
kenken8686
謝謝你 claude 感謝開源
2
#130 opened about 2 hours ago
by
Tianming6233
给我一张5090 我要用它托起月之暗面 🚀 One RTX 5090. Run Kimi K3! Run!
#129 opened about 2 hours ago
by
Brrrr47
moonshot牛逼
1
#126 opened about 5 hours ago
by
yixiannn
广东人民发来贺电
🔥🤗 4
1
#124 opened about 7 hours ago
by
limlex
北京人民发来贺电
1
#123 opened about 8 hours ago
by
mileitutu
太牛逼了
#122 opened about 8 hours ago
by
adfasdfa1511s
RUN on CPU + RAM
9
#121 opened about 9 hours ago
by
Anngo554
Спасибо.
❤️ 1
1
#120 opened about 9 hours ago
by
ErusShuSu
你的社会评分将减少1 000 000
😎 1
4
#119 opened about 9 hours ago
by
NjProVk
Solving Kimi's Computing Issues via External Inference Providers
👀 1
5
#117 opened about 11 hours ago
by
vectionlabs
还好抢在爆发前夜一口气定了3个会员订阅。
#116 opened about 11 hours ago
by
oylflmhjhmy
众筹部署全量K3 有想法的铁子聊起来
8
#115 opened about 11 hours ago
by
tiantianaimax
宁夏人民发来贺电
#114 opened about 11 hours ago
by
videobenchlab
Excelente!!!
😎 1
#113 opened about 11 hours ago
by
OscarCantaro
屠龙(标题来自月暗大佬发表的朋友圈)
🚀👍 1
#109 opened about 12 hours ago
by
lightness
广西大学发来贺电
👍 1
#106 opened about 12 hours ago
by
renjingneng
月之暗面大气🐮🐮🐮
#105 opened about 12 hours ago
by
Changqinghhhh
世界级时刻,合影合影!感谢月之暗面!!
2
#104 opened about 12 hours ago
by
pruidong
最伟大的一集,爱来自电子科技大学
#103 opened about 12 hours ago
by
ovomimimo
世界需要顶尖的开源-K3牛逼 China牛逼
#102 opened about 13 hours ago
by
MarvisLeon
牛逼nm的了,历史性时刻
#101 opened about 13 hours ago
by
starjack
牛逼!陕西人民发来贺电
1
#100 opened about 13 hours ago
by
carrie1988
Partial Mode Support
👀 1
#99 opened about 14 hours ago
by
bibibi12345
A great model for “a few people”
2
#98 opened about 15 hours ago
by
Duonglv
I need speculative decoding!!!
#97 opened about 15 hours ago
by
Morpheus315
Let's fly to the moon!
3
#96 opened about 15 hours ago
by
genghanqiang
She’s actually from the far side of the Moon, you know that … 😉😉😉
❤️🚀 6
#95 opened about 16 hours ago
by
wikeeyang
import Kimi-K3 as pangu
#94 opened about 16 hours ago
by
dingding71
F**k CC & Close AI
👍🤗 32
#93 opened about 16 hours ago
by
aesdhj
大写的牛逼
🔥 1
1
#92 opened about 16 hours ago
by
abfbf
这个只是模型 有agent吗 或者agent是一个框架
🤗 2
2
#90 opened about 16 hours ago
by
MaxJJJ
Please defeat Anthropic and Close AI (请干死Anthropic和Close AI)
😎🚀 12
#89 opened about 17 hours ago
by
cf8281746
48G显存玩家表示也想玩
6
#88 opened about 17 hours ago
by
haibin0528
请把niubi 打在niubi上
#87 opened about 17 hours ago
by
ryanjia3141592
牛牛,必须给一波掌声👏👏👏
🔥 1
1
#86 opened about 17 hours ago
by
sunyi666
All-Filles
#85 opened about 17 hours ago
by
Spartan120117