Borrowing it
Nothing to install: this file belongs to ScientiaCapital/unsloth-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ScientiaCapital/unsloth-mcp-server/main/.claude/skills/model-deployment/SKILL.mdgit clone --depth 1 https://github.com/ScientiaCapital/unsloth-mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/scientiacapital/unsloth-mcp-server/model-deployment)<a href="https://agentmods.dev/skills/scientiacapital/unsloth-mcp-server/model-deployment"><img src="https://agentmods.dev/badge/skills/scientiacapital/unsloth-mcp-server/model-deployment/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/scientiacapital/unsloth-mcp-server/model-deployment"><img src="https://agentmods.dev/badge/skills/scientiacapital/unsloth-mcp-server/model-deployment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.06570 |
| Opus 5 | $0.00026 | $0.03285 |
| Sonnet 5 | $0.00010 | $0.01314 |
| Haiku 4.5 | $0.00005 | $0.00657 |
Grade B, and why
model-deployment scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
# curl http://localhost:11434/api/generate -d '{"model": "my-medical-model", "prompt": "..."}' Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
# curl http://localhost:11434/api/generate -d '{"model": "my-medical-model", "prompt": "..."}' How it starts
The opening of the file, as written. The whole thing — 1,039 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Model Deployment
Complete guide for exporting, optimizing, and deploying fine-tuned LLMs to production environments.
Overview
After fine-tuning your model with Unsloth, deploy it efficiently:
- GGUF export - For llama.cpp, Ollama, local inference
- vLLM deployment - For high-throughput production serving
- HuggingFace Hub - For sharing and version control
- Quantization - Reduce size while maintaining quality
- Platform selection - Choose the right infrastructure
- Monitoring - Track performance and costs
Quick Start
Export to GGUF (Ollama/llama.cpp)
from unsloth import FastLanguageModel
# Load your fine-tuned model
model, tokenizer = FastLanguageModel.from_pretrained(
"./fine_tuned_model",
max_seq_length=2048
)
# Export to GGUF format
model.save_pretrained_gguf(
"./gguf_output",
tokenizer,
quantization_method="q4_k_m" # 4-bit quantization
)
# Use with Ollama
# ollama create my-model -f ./gguf_output/Modelfile
# ollama run my-model
Deploy with vLLM
from unsloth import FastLanguageModel
# Save for vLLM
model.save_pretrained("./vllm_model")
tokenizer.save_pretrained("./vllm_model")
# Start vLLM server
# python -m vllm.entrypoints.openai.api_server \
# --model ./vllm_model \
# --tensor-parallel-size 1 \
# --dtype bfloat16
Push to HuggingFace Hub
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
"./fine_tuned_model",
max_seq_length=2048
)
# Push to Hub
model.push_to_hub(
"your-username/model-name",
token="hf_...",
private=False
)
tokenizer.push_to_hub(
"your-username/model-name",
token="hf_..."
)
Export Formats
1. GGUF (llama.cpp / Ollama)
Best for: Local deployment, edge devices, CPU inference
# Export with different quantization levels
quantization_methods = {
"q4_k_m": "4-bit, medium quality (recommended)",
"q5_k_m": "5-bit, higher quality",
"q8_0": "8-bit, near-original quality",
"f16": "16-bit float, full quality",
"f32": "32-bit float, highest quality"
}
# Export
model.save_pretrained_gguf(
"./gguf_output",
tokenizer,
quantization_method="q4_k_m"
)
# Creates:
# - model-q4_k_m.gguf (quantized model)
# - Modelfile (for Ollama)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 1,039 lines · 52 tokens per session scan B fdec90b3ae2f
model-deployment is a skill published in the GitHub repository ScientiaCapital/unsloth-mcp-server (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 6,570 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
tensorrt-llm
High-throughput LLM inference on NVIDIA GPUs.
google-cloud-solution-guided-gke-ai-migration
Guides the migration of existing AI workloads (Cloud Run, Gemini API, Gemini Enterprise Agent Platform) to self-hosted GKE inference using gcloud and kubectl. Use when the user has an existing AI inference workload (on Cloud Run, the Gemini API, Gemini Enterprise Agent Platform, or a custom VM) and wants to move it to…
agent-platform-tuning
Agent Platform Model Tuning. Use when you need to fine-tune open models or Gemini models using Agent Platform infrastructure. Don't use for model training outside Agent Platform, model deployment to endpoints (use agent-platform-deploy), or managing serving endpoints (use agent-platform-endpoint-management).
agent-platform-endpoint-management
Manages Agent Platform serving endpoints. Use when you need to create, list, describe, update, or delete serving endpoints for model deployment on Agent Platform. Also use when troubleshooting endpoint permission, quota, or resource busy errors. Don't use for deploying models to endpoints or for running model…
gke-inference
Deploys and optimizes AI/ML inference workloads on GKE, using GPUs, TPUs, and model servers. Use when deploying GKE inference servers, configuring GKE GPU resources for inference, or deploying LLMs on GKE. Don't use for generic batch jobs or HPC task queues (use gke-batch-hpc instead).
modal
Modal is a serverless cloud platform for running Python on demand, including on-demand GPUs. Use when deploying or serving AI/ML models, running GPU-accelerated workloads (training, fine-tuning, inference), serving web endpoints, scheduling batch jobs, or scaling Python code to cloud containers with the Modal SDK.