{"id":112452,"date":"2026-10-03T18:40:52","date_gmt":"2026-10-03T10:40:52","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/112452.html"},"modified":"2026-10-03T18:40:52","modified_gmt":"2026-10-03T10:40:52","slug":"%e6%9c%ac%e5%9c%b0%e9%83%a8%e7%bd%b2%e5%a4%a7%e6%a8%a1%e5%9e%8b%e5%ae%9e%e6%88%98%ef%bc%9aollama%e3%80%81llama-cpp%e3%80%81vllm-%e6%80%8e%e4%b9%88%e9%80%89%ef%bc%88%e9%99%84%e5%ae%8c%e6%95%b4%e5%91%bd","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/112452.html","title":{"rendered":"\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218\uff1aOllama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009\uff08\u9644\u5b8c\u6574\u547d\u4ee4\uff09"},"content":{"rendered":"<h2>\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218&#xff1a;Ollama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009&#xff08;\u9644\u5b8c\u6574\u547d\u4ee4&#xff09;<\/h2>\n<p>LLM \u7cfb\u5217\u53c8\u4e00\u7bc7\u3002\u4e4b\u524d\u8bb2\u8fc7\u6a21\u578b\u79d1\u666e&#xff08;\u5f00\u6e90\u9635\u8425\u80fd\u81ea\u5df1\u90e8\u7f72&#xff09;\u548c Jev&#xff08;\u95ed\u6e90\u6258\u7ba1 API&#xff09;\u2014\u2014\u8fd9\u7bc7\u8865\u4e0a\u53e6\u4e00\u534a&#xff1a;\u600e\u4e48\u628a\u5f00\u6e90\u6a21\u578b\u8dd1\u5728\u81ea\u5df1\u673a\u5668\u4e0a\u3002\u6700\u8fd1\u9605\u8bfb\u699c\u4e0a\u300c\u672c\u5730\u63a8\u7406\u300d\u300cAI Agent \u6258\u7ba1\u5bb6\u91cc\u7535\u8111\u300d\u8fd9\u7c7b\u4e3b\u9898\u4e00\u76f4\u5728\u6da8&#xff0c;\u8fd9\u7bc7\u628a\u5b8c\u6574\u8def\u7ebf\u8d70\u4e00\u904d\u3002<\/p>\n<h3>\u4e00\u3001\u4ec0\u4e48\u65f6\u5019\u672c\u5730\u90e8\u7f72<\/h3>\n<p>\u5148\u8bf4\u672c\u5730\u90e8\u7f72\u4e0d\u662f\u514d\u8d39\u7684&#xff1a;\u4f60\u7684\u663e\u5b58\u5c31\u662f\u4f60\u7684\u6a21\u578b\u4e0a\u9650\u3002\u5b83\u6362\u6765\u7684\u4e09\u6837\u4e1c\u897f\u662f API \u7ed9\u4e0d\u4e86\u7684&#xff1a;<\/p>\n<li>\u6570\u636e\u4e0d\u51fa\u95e8&#xff1a;\u79c1\u6709\u6587\u6863\u3001\u5ba2\u6237\u6570\u636e\u3001\u5185\u90e8\u4ee3\u7801&#xff0c;\u4e0d\u7ecf\u8fc7\u4efb\u4f55\u7b2c\u4e09\u65b9<\/li>\n<li>\u79bb\u7ebf\u53ef\u7528&#xff1a;\u65ad\u7f51\u4e5f\u80fd\u8dd1&#xff0c;\u8fb9\u7f18\u8bbe\u5907\u548c\u5185\u7f51\u73af\u5883\u7684\u552f\u4e00\u9009\u9879<\/li>\n<li>\u8fb9\u9645\u6210\u672c\u4e3a\u96f6&#xff1a;\u8dd1\u591a\u5c11\u6b21\u90fd\u4e0d\u6309 token \u8ba1\u8d39&#xff08;\u6210\u672c\u7bc7\u7684\u8d26&#xff0c;\u672c\u5730\u7248\u76f4\u63a5\u5f52\u96f6&#xff09;<\/li>\n<p>\u5224\u65ad\u53e3\u8bc0&#xff1a;\u6570\u636e\u654f\u611f\u6216\u9ad8\u9891\u8c03\u7528&#xff0c;\u672c\u5730&#xff1b;\u8981\u6700\u5f3a\u6548\u679c&#xff0c;API\u3002 \u4e24\u8005\u53ef\u4ee5\u6df7\u7740\u6765\u2014\u2014\u6210\u672c\u7bc7\u8bb2\u7684\u5206\u7ea7\u8def\u7531&#xff0c;\u672c\u5730\u5c0f\u6a21\u578b\u6b63\u597d\u5f53\u90a3\u4e2a\u300c\u4fbf\u5b9c\u7684\u5206\u8bca\u5c42\u300d\u3002<\/p>\n<h3>\u4e8c\u3001\u4e09\u6761\u8def\u7ebf\u600e\u4e48\u9009<\/h3>\n<table>\n<tr>\u5de5\u5177\u5b9a\u4f4d\u9002\u5408<\/tr>\n<tbody>\n<tr>\n<td>Ollama<\/td>\n<td>\u4e00\u884c\u547d\u4ee4\u8dd1\u6a21\u578b<\/td>\n<td>\u5927\u591a\u6570\u4eba\u7684\u9ed8\u8ba4\u9009\u62e9&#xff0c;\u6700\u7701\u5fc3<\/td>\n<\/tr>\n<tr>\n<td>llama.cpp<\/td>\n<td>\u7eaf C&#043;&#043; \u63a8\u7406&#xff0c;\u8d44\u6e90\u5360\u7528\u6700\u5c0f<\/td>\n<td>\u4f4e\u914d\u673a\u5668\u3001CPU \u63a8\u7406\u3001\u7aef\u4fa7\u8bbe\u5907<\/td>\n<\/tr>\n<tr>\n<td>vLLM<\/td>\n<td>\u751f\u4ea7\u7ea7\u63a8\u7406\u670d\u52a1&#xff0c;\u9ad8\u541e\u5410<\/td>\n<td>\u5e76\u53d1\u573a\u666f\u3001\u670d\u52a1\u5668\u90e8\u7f72\u3001\u56e2\u961f\u5171\u4eab<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e00\u53e5\u8bdd&#xff1a;\u4e2a\u4eba\u73a9\u9009 Ollama&#xff0c;\u65e7\u7535\u8111\u9009 llama.cpp&#xff0c;\u771f\u8981\u670d\u52a1\u591a\u4eba\u9009 vLLM\u3002 \u672c\u6587\u7528 Ollama \u8d70\u5168\u6d41\u7a0b&#xff0c;\u53e6\u5916\u4e24\u4e2a\u601d\u8def\u5b8c\u5168\u4e00\u6837&#xff08;\u62c9\u6a21\u578b \u2192 \u8d77\u670d\u52a1 \u2192 \u8c03 API&#xff09;\u3002<\/p>\n<h3>\u4e09\u3001\u5148\u770b\u786c\u4ef6&#xff1a;\u663e\u5b58\u51b3\u5b9a\u4f60\u80fd\u8dd1\u591a\u5927<\/h3>\n<p>\u9009\u6a21\u578b\u524d\u5148\u770b\u663e\u5b58&#xff0c;\u7c97\u7565\u5bf9\u7167&#xff08;\u91cf\u5316\u540e&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\u6a21\u578b\u89c4\u6a21Q4 \u91cf\u5316\u663e\u5b58\u4f53\u9a8c<\/tr>\n<tbody>\n<tr>\n<td>7B<\/td>\n<td>~5GB<\/td>\n<td>\u8f7b\u91cf\u4efb\u52a1&#xff1a;\u5206\u7c7b\u3001\u6458\u8981\u3001\u7b80\u5355\u4ee3\u7801<\/td>\n<\/tr>\n<tr>\n<td>14B<\/td>\n<td>~9GB<\/td>\n<td>\u65e5\u5e38\u591f\u7528&#xff1a;\u5199\u4f5c\u3001\u4e2d\u7b49\u4ee3\u7801<\/td>\n<\/tr>\n<tr>\n<td>32B<\/td>\n<td>~20GB<\/td>\n<td>\u63a5\u8fd1\u5c0f\u65d7\u8230<\/td>\n<\/tr>\n<tr>\n<td>70B<\/td>\n<td>~45GB<\/td>\n<td>\u9700\u8981\u591a\u5361\u6216\u9ad8\u7aef\u5361<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7ecf\u9a8c\u6cd5\u5219&#xff1a;\u663e\u5b58\u6bd4\u6a21\u578b\u53c2\u6570\u91cf\u7684\u91cf\u5316\u6587\u4ef6\u5927 1~2GB&#xff08;\u7559\u7ed9\u4e0a\u4e0b\u6587&#xff09;\u3002\u663e\u5361\u4e0d\u591f\u600e\u4e48\u529e&#xff1a;\u4e0a\u66f4\u72e0\u7684\u91cf\u5316&#xff08;Q3\/Q2&#xff0c;\u8d28\u91cf\u6709\u635f&#xff09;\u3001\u6216\u76f4\u63a5\u7528\u5c0f\u4e00\u6863\u7684\u6a21\u578b\u2014\u2014\u8dd1\u5f97\u52a8\u7684 14B \u597d\u8fc7\u786c\u6491\u7684 70B\u3002<\/p>\n<p>\u91cf\u5316&#xff08;GGUF \u683c\u5f0f\u7684 Q4\/Q8&#xff09;\u4e00\u53e5\u8bdd\u7406\u89e3&#xff1a;\u628a\u6743\u91cd\u7684\u7cbe\u5ea6\u538b\u4f4e&#xff08;16 \u4f4d\u6d6e\u70b9\u538b\u5230 4 \u4f4d\u6574\u6570&#xff09;&#xff0c;\u6587\u4ef6\u5c0f 4 \u500d\u3001\u901f\u5ea6\u5feb 2~3 \u500d&#xff0c;\u8d28\u91cf\u6389\u4e00\u70b9\u70b9\u2014\u2014\u672c\u5730\u90e8\u7f72 90% \u7684\u573a\u666f Q4 \u5c31\u591f\u3002<\/p>\n<h3>\u56db\u3001Ollama \u5168\u6d41\u7a0b<\/h3>\n<h4>1. \u5b89\u88c5<\/h4>\n<p># Windows \/ macOS&#xff1a;\u5b98\u7f51\u4e0b\u8f7d\u5b89\u88c5\u5305<br \/>\n# Linux&#xff1a;\u4e00\u884c\u547d\u4ee4<br \/>\ncurl -fsSL https:\/\/ollama.com\/install.sh | sh<\/p>\n<p># \u9a8c\u8bc1<br \/>\nollama &#8211;version<\/p>\n<h4>2. \u62c9\u6a21\u578b\u3001\u8dd1\u8d77\u6765<\/h4>\n<p># \u62c9\u4e00\u4e2a 14B \u7684\u5f00\u6e90\u6a21\u578b&#xff08;\u81ea\u52a8\u9009 Q4 \u91cf\u5316&#xff09;<br \/>\nollama pull qwen3:14b<\/p>\n<p># \u76f4\u63a5\u804a\u5929<br \/>\nollama run qwen3:14b &#034;\u7528\u4e00\u53e5\u8bdd\u89e3\u91ca KV Cache&#034;<\/p>\n<p># \u770b\u672c\u5730\u5df2\u6709\u54ea\u4e9b\u6a21\u578b<br \/>\nollama list<\/p>\n<h4>3. OpenAI \u517c\u5bb9 API&#xff1a;\u73b0\u6709\u4ee3\u7801\u96f6\u6539\u52a8<\/h4>\n<p>Ollama \u8d77\u7740\u7684\u65f6\u5019\u81ea\u5e26 OpenAI \u517c\u5bb9\u7aef\u70b9&#xff08;http:\/\/localhost:11434\/v1&#xff09;\u2014\u2014\u7cfb\u5217\u524d\u9762\u6240\u6709\u4ee3\u7801\u6362\u4e2a base_url \u5c31\u80fd\u7528&#xff1a;<\/p>\n<p>from openai import OpenAI<\/p>\n<p>client &#061; OpenAI(base_url&#061;&#034;http:\/\/localhost:11434\/v1&#034;, api_key&#061;&#034;ollama&#034;)  # key \u968f\u4fbf\u586b<\/p>\n<p>resp &#061; client.chat.completions.create(<br \/>\n    model&#061;&#034;qwen3:14b&#034;,<br \/>\n    messages&#061;[{&#034;role&#034;: &#034;user&#034;, &#034;content&#034;: &#034;\u7528\u4e00\u53e5\u8bdd\u89e3\u91ca RAG&#034;}],<br \/>\n)<br \/>\nprint(resp.choices[0].message.content)<\/p>\n<p>\u8fd9\u4e00\u6b65\u7684\u610f\u4e49\u6bd4\u770b\u8d77\u6765\u5927&#xff1a;\u6210\u672c\u7bc7\u7684\u5206\u7ea7\u8def\u7531\u3001\u8bc4\u6d4b\u7bc7\u7684 runner\u3001\u7b2c\u4e00\u7bc7\u7684 60 \u884c Agent\u2014\u2014\u5168\u90e8\u539f\u6837\u6307\u5230\u672c\u5730\u6a21\u578b\u4e0a&#xff0c;\u96f6\u6539\u52a8\u3002<\/p>\n<h4>4. \u9a8c\u8bc1\u95ed\u73af<\/h4>\n<p>\u88c5\u5b8c\u5148\u9a8c\u8bc1\u518d\u7ee7\u7eed&#xff08;\u8001\u89c4\u77e9&#xff09;&#xff1a;<\/p>\n<p># API \u5c42\u9a8c\u8bc1&#xff1a;curl \u6253\u4e00\u53d1&#xff0c;\u770b\u8fd4\u56de\u7ed3\u6784<br \/>\ncurl -s http:\/\/localhost:11434\/v1\/chat\/completions \\\\<br \/>\n  -H &#034;Content-Type: application\/json&#034; \\\\<br \/>\n  -d &#039;{&#034;model&#034;:&#034;qwen3:14b&#034;,&#034;messages&#034;:[{&#034;role&#034;:&#034;user&#034;,&#034;content&#034;:&#034;\u8bf4 OK&#034;}]}&#039;<\/p>\n<p># \u8d28\u91cf\u5c42\u9a8c\u8bc1&#xff1a;\u95ee\u4e00\u4e2a\u4f60\u9886\u57df\u5185\u7684\u5177\u4f53\u95ee\u9898&#xff0c;\u4eba\u8089\u5224\u65ad\u5b83\u884c\u4e0d\u884c<\/p>\n<p>\u9875\u9762\u80fd\u6253\u5f00\u3001curl \u6709\u8fd4\u56de\u3001\u56de\u7b54\u50cf\u4eba\u8bdd&#xff0c;\u4e09\u5173\u90fd\u8fc7\u624d\u7b97\u90e8\u7f72\u5b8c\u6210\u2014\u2014\u53ea\u9a8c\u8bc1\u7b2c\u4e00\u5173\u4e0d\u7b97\u3002<\/p>\n<h3>\u4e94\u3001\u8fdc\u7a0b\u8bbf\u95ee&#xff1a;\u5206\u6e05\u94fe\u8def&#xff0c;\u52a0\u597d\u6388\u6743<\/h3>\n<p>\u672c\u5730\u8dd1\u901a\u540e\u60f3\u5728\u5916\u9762\u7528&#xff08;\u624b\u673a\u3001\u516c\u53f8\u7535\u8111\u8fde\u5bb6\u91cc\u7684\u673a\u5668&#xff09;&#xff0c;\u94fe\u8def\u662f\u4e24\u5c42&#xff0c;\u522b\u6df7\u4e3a\u4e00\u8c08&#xff1a;<\/p>\n<p>\u5916\u90e8\u8bbe\u5907 \u2192 \u5185\u7f51\u7a7f\u900f\u96a7\u9053 \u2192 \u5bb6\u91cc\u673a\u5668\u7684 11434 \u7aef\u53e3 \u2192 Ollama<\/p>\n<li>\u5148\u672c\u5730\u540e\u8fdc\u7a0b&#xff1a;\u672c\u5730 curl \u9a8c\u8bc1\u901a\u4e86\u518d\u914d\u96a7\u9053&#xff0c;\u51fa\u95ee\u9898\u624d\u80fd\u5206\u6e05\u662f\u670d\u52a1\u8fd8\u662f\u7f51\u7edc<\/li>\n<li>\u5185\u7f51\u7a7f\u900f&#xff1a;frp \/ cpolar \u8fd9\u7c7b\u5de5\u5177\u628a 11434 \u6620\u5c04\u51fa\u53bb&#xff0c;\u516c\u7f51\u5730\u5740\u7ea6 24 \u5c0f\u65f6\u53d8\u4e00\u6b21&#xff0c;\u957f\u671f\u7528\u8981\u9884\u7559\u56fa\u5b9a\u57df\u540d<\/li>\n<li>\u5fc5\u987b\u52a0\u6388\u6743&#xff1a;Ollama \u7684 API \u6ca1\u6709\u767b\u5f55\u673a\u5236&#xff0c;\u88f8\u9732\u5230\u516c\u7f51\u7b49\u4e8e\u628a\u7b97\u529b\u767d\u9001\u2014\u2014\u96a7\u9053\u5c42\u5f00 basic auth&#xff08;\u7528\u6237\u540d\u5bc6\u7801&#xff09;&#xff0c;\u6216\u8005\u53ea\u7ed1\u56fa\u5b9a IP \u767d\u540d\u5355<\/li>\n<p>\u8fd9\u4e00\u6b65\u7684\u63d0\u9192\u548c\u53c2\u8003\u539f\u6587\u91cc\u58f0\u97f3\u514b\u9686\u90a3\u7bc7\u4e00\u81f4&#xff1a;\u670d\u52a1\u80cc\u540e\u7684\u7b97\u529b\u548c\u6570\u636e\u90fd\u662f\u4f60\u7684&#xff0c;\u516c\u7f51\u5165\u53e3\u4e0d\u8bbe\u9632\u5c31\u662f\u88f8\u5954\u3002<\/p>\n<h3>\u516d\u3001\u8e29\u5751\u63d0\u9192<\/h3>\n<li>\u6a21\u578b\u6587\u4ef6\u522b\u653e\u542b\u4e2d\u6587\/\u7a7a\u683c\u7684\u8def\u5f84&#xff1a;\u542f\u52a8\u62a5\u9519\u5148\u67e5\u8def\u5f84&#xff0c;Ollama \u9ed8\u8ba4\u76ee\u5f55\u65e0\u6240\u8c13&#xff0c;\u624b\u52a8\u6307\u5b9a\u6a21\u578b\u8def\u5f84\u65f6\u5c24\u5176\u6ce8\u610f<\/li>\n<li>\u9996\u6b21\u62c9\u6a21\u578b\u8981\u7b49&#xff1a;\u51e0 GB \u7684\u6587\u4ef6&#xff0c;\u7f51\u7edc\u6162\u5c31\u5148\u62c9\u5c0f\u6a21\u578b&#xff08;7B&#xff09;\u8dd1\u901a\u5168\u6d41\u7a0b\u518d\u6362\u5927\u7684<\/li>\n<li>\u4e0a\u4e0b\u6587\u957f\u5ea6\u5403\u663e\u5b58&#xff1a;\u6a21\u578b\u80fd\u8dd1 \u2260 \u957f\u4e0a\u4e0b\u6587\u80fd\u8dd1&#xff0c;32k \u4e0a\u4e0b\u6587\u7684\u663e\u5b58\u5f00\u9500\u6bd4 4k \u5927\u5f97\u591a\u2014\u2014\u6309\u5b9e\u9645\u9700\u8981\u8bbe num_ctx<\/li>\n<li>\u522b\u62ff\u672c\u5730\u6a21\u578b\u76f4\u63a5\u4e0a\u751f\u4ea7&#xff1a;\u5148\u8fc7\u4e00\u904d\u8bc4\u6d4b\u7bc7\u7684\u8bc4\u6d4b\u96c6&#xff0c;\u672c\u5730\u90e8\u7f72\u7684\u6a21\u578b\u4e5f\u662f\u8981\u8bc4\u6d4b\u7684&#xff0c;\u8dd1\u5f97\u52a8\u548c\u7b54\u5f97\u597d\u662f\u4e24\u56de\u4e8b<\/li>\n<h3>\u603b\u7ed3<\/h3>\n<table>\n<tr>\u6b65\u9aa4\u4e00\u53e5\u8bdd<\/tr>\n<tbody>\n<tr>\n<td>\u9009\u578b<\/td>\n<td>\u4e2a\u4eba Ollama&#xff0c;\u4f4e\u914d llama.cpp&#xff0c;\u5e76\u53d1 vLLM<\/td>\n<\/tr>\n<tr>\n<td>\u663e\u5b58<\/td>\n<td>7B \u7ea6 5GB\u300114B \u7ea6 9GB&#xff0c;\u8dd1\u5f97\u52a8\u7684 14B \u4f18\u4e8e\u786c\u6491\u7684 70B<\/td>\n<\/tr>\n<tr>\n<td>\u91cf\u5316<\/td>\n<td>Q4 \u662f\u9ed8\u8ba4\u7b54\u6848&#xff1a;\u6587\u4ef6\u5c0f 4 \u500d&#xff0c;\u8d28\u91cf\u6389\u4e00\u70b9<\/td>\n<\/tr>\n<tr>\n<td>API<\/td>\n<td>Ollama \u81ea\u5e26 OpenAI \u517c\u5bb9\u7aef\u70b9&#xff0c;\u7cfb\u5217\u4ee3\u7801\u96f6\u6539\u52a8\u63a5\u4e0a<\/td>\n<\/tr>\n<tr>\n<td>\u8fdc\u7a0b<\/td>\n<td>\u5148\u672c\u5730\u540e\u96a7\u9053&#xff0c;\u516c\u7f51\u5165\u53e3\u5fc5\u52a0\u6388\u6743<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5230\u8fd9\u91cc\u6a21\u578b\u8fd9\u6761\u7ebf\u95ed\u73af\u4e86&#xff1a;\u600e\u4e48\u6765\u7684&#xff08;\u6a21\u578b\u79d1\u666e&#xff09;\u2192 \u600e\u4e48\u8c03&#xff08;\u5fae\u8c03\u7bc7&#xff09;\u2192 \u600e\u4e48\u9009&#xff08;Jev \u7bc7\u7684\u95ed\u6e90 vs \u5f00\u6e90&#xff09;\u2192 \u600e\u4e48\u81ea\u5df1\u8dd1&#xff08;\u672c\u7bc7&#xff09;\u3002\u6570\u636e\u654f\u611f\u7684\u573a\u666f&#xff0c;\u4ece\u6b64\u4e0d\u518d\u4f9d\u8d56\u4efb\u4f55\u7b2c\u4e09\u65b9 API\u3002\u89c9\u5f97\u6709\u7528\u70b9\u4e2a\u5173\u6ce8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218&#xff1a;Ollama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009&#xff08;\u9644\u5b8c\u6574\u547d\u4ee4&#xff09;LLM \u7cfb\u5217\u53c8\u4e00\u7bc7\u3002\u4e4b\u524d\u8bb2\u8fc7\u6a21\u578b\u79d1\u666e&#xff08;\u5f00\u6e90\u9635\u8425\u80fd\u81ea\u5df1\u90e8\u7f72&#xff09;\u548c Jev&#xff08;\u95ed\u6e90\u6258\u7ba1 API&#xff09;\u2014\u2014\u8fd9\u7bc7\u8865\u4e0a\u53e6\u4e00\u534a&#xff1a;\u600e\u4e48\u628a\u5f00\u6e90\u6a21\u578b\u8dd1\u5728\u81ea\u5df1\u673a\u5668\u4e0a\u3002\u6700\u8fd1\u9605\u8bfb\u699c\u4e0a\u300c\u672c\u5730\u63a8\u7406\u300d\u300cAI Agent \u6258\u7ba1\u5bb6\u91cc\u7535\u8111\u300d\u8fd9\u7c7b\u4e3b\u9898\u4e00\u76f4\u5728\u6da8&#xff0c;\u8fd9\u7bc7\u628a\u5b8c\u6574\u8def\u7ebf\u8d70\u4e00\u904d\u3002\u4e00\u3001\u4ec0\u4e48\u65f6\u5019\u672c\u5730\u90e8\u7f72<br \/>\n\u5148\u8bf4\u672c\u5730\u90e8\u7f72<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[66,126,2681,132,603],"topic":[],"class_list":["post-112452","post","type-post","status-publish","format-standard","hentry","category-server","tag-ai","tag-ollama","tag-vllm","tag-132","tag-603"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218\uff1aOllama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009\uff08\u9644\u5b8c\u6574\u547d\u4ee4\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/112452.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218\uff1aOllama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009\uff08\u9644\u5b8c\u6574\u547d\u4ee4\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218&#xff1a;Ollama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009&#xff08;\u9644\u5b8c\u6574\u547d\u4ee4&#xff09;LLM \u7cfb\u5217\u53c8\u4e00\u7bc7\u3002\u4e4b\u524d\u8bb2\u8fc7\u6a21\u578b\u79d1\u666e&#xff08;\u5f00\u6e90\u9635\u8425\u80fd\u81ea\u5df1\u90e8\u7f72&#xff09;\u548c Jev&#xff08;\u95ed\u6e90\u6258\u7ba1 API&#xff09;\u2014\u2014\u8fd9\u7bc7\u8865\u4e0a\u53e6\u4e00\u534a&#xff1a;\u600e\u4e48\u628a\u5f00\u6e90\u6a21\u578b\u8dd1\u5728\u81ea\u5df1\u673a\u5668\u4e0a\u3002\u6700\u8fd1\u9605\u8bfb\u699c\u4e0a\u300c\u672c\u5730\u63a8\u7406\u300d\u300cAI Agent \u6258\u7ba1\u5bb6\u91cc\u7535\u8111\u300d\u8fd9\u7c7b\u4e3b\u9898\u4e00\u76f4\u5728\u6da8&#xff0c;\u8fd9\u7bc7\u628a\u5b8c\u6574\u8def\u7ebf\u8d70\u4e00\u904d\u3002\u4e00\u3001\u4ec0\u4e48\u65f6\u5019\u672c\u5730\u90e8\u7f72 \u5148\u8bf4\u672c\u5730\u90e8\u7f72\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/112452.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-03T10:40:52+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/112452.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/112452.html\",\"name\":\"\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218\uff1aOllama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009\uff08\u9644\u5b8c\u6574\u547d\u4ee4\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-03T10:40:52+00:00\",\"dateModified\":\"2026-10-03T10:40:52+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/112452.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/112452.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/112452.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218\uff1aOllama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009\uff08\u9644\u5b8c\u6574\u547d\u4ee4\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218\uff1aOllama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009\uff08\u9644\u5b8c\u6574\u547d\u4ee4\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/112452.html","og_locale":"zh_CN","og_type":"article","og_title":"\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218\uff1aOllama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009\uff08\u9644\u5b8c\u6574\u547d\u4ee4\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218&#xff1a;Ollama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009&#xff08;\u9644\u5b8c\u6574\u547d\u4ee4&#xff09;LLM \u7cfb\u5217\u53c8\u4e00\u7bc7\u3002\u4e4b\u524d\u8bb2\u8fc7\u6a21\u578b\u79d1\u666e&#xff08;\u5f00\u6e90\u9635\u8425\u80fd\u81ea\u5df1\u90e8\u7f72&#xff09;\u548c Jev&#xff08;\u95ed\u6e90\u6258\u7ba1 API&#xff09;\u2014\u2014\u8fd9\u7bc7\u8865\u4e0a\u53e6\u4e00\u534a&#xff1a;\u600e\u4e48\u628a\u5f00\u6e90\u6a21\u578b\u8dd1\u5728\u81ea\u5df1\u673a\u5668\u4e0a\u3002\u6700\u8fd1\u9605\u8bfb\u699c\u4e0a\u300c\u672c\u5730\u63a8\u7406\u300d\u300cAI Agent \u6258\u7ba1\u5bb6\u91cc\u7535\u8111\u300d\u8fd9\u7c7b\u4e3b\u9898\u4e00\u76f4\u5728\u6da8&#xff0c;\u8fd9\u7bc7\u628a\u5b8c\u6574\u8def\u7ebf\u8d70\u4e00\u904d\u3002\u4e00\u3001\u4ec0\u4e48\u65f6\u5019\u672c\u5730\u90e8\u7f72 \u5148\u8bf4\u672c\u5730\u90e8\u7f72","og_url":"https:\/\/www.wsisp.com\/helps\/112452.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-03T10:40:52+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/112452.html","url":"https:\/\/www.wsisp.com\/helps\/112452.html","name":"\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218\uff1aOllama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009\uff08\u9644\u5b8c\u6574\u547d\u4ee4\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-03T10:40:52+00:00","dateModified":"2026-10-03T10:40:52+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/112452.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/112452.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/112452.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u672c\u5730\u90e8\u7f72\u5927\u6a21\u578b\u5b9e\u6218\uff1aOllama\u3001llama.cpp\u3001vLLM \u600e\u4e48\u9009\uff08\u9644\u5b8c\u6574\u547d\u4ee4\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/112452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=112452"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/112452\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=112452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=112452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=112452"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=112452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}