{"id":130058,"date":"2026-09-09T17:11:25","date_gmt":"2026-09-09T10:11:25","guid":{"rendered":"https:\/\/tino.vn\/blog\/?p=130058"},"modified":"2026-10-24T17:53:32","modified_gmt":"2026-10-24T10:53:32","slug":"chay-openclaw-voi-ollama-local","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/chay-openclaw-voi-ollama-local\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn ch\u1ea1y OpenClaw v\u1edbi Ollama local cho ng\u01b0\u1eddi m\u1edbi"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Ch\u1ea1y OpenClaw v\u1edbi Ollama local ngh\u0129a l\u00e0 \u0111\u1ec3 OpenClaw g\u1ecdi model AI ch\u1ea1y ngay tr\u00ean m\u00e1y c\u1ee7a b\u1ea1n qua Ollama, thay v\u00ec g\u1eedi prompt t\u1edbi API tr\u1ea3 ph\u00ed.<\/strong> C\u00e1ch g\u1ecdn l\u00e0 c\u00e0i Ollama, t\u1ea3i m\u1ed9t model h\u1ed7 tr\u1ee3 tool nh\u01b0 <code>qwen3.5<\/code> ho\u1eb7c <code>gemma4<\/code>, r\u1ed3i ch\u1ea1y <code>ollama launch openclaw<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u00e0i n\u00e0y thu\u1ed9c nh\u00f3m <a href=\"https:\/\/tino.vn\/blog\/cai-dat-openclaw-tren-vps\/\">c\u00e0i \u0111\u1eb7t v\u00e0 v\u1eadn h\u00e0nh OpenClaw<\/a>; n\u1ebfu ch\u01b0a r\u00f5 OpenClaw l\u00e0 g\u00ec, \u0111\u1ecdc tr\u01b0\u1edbc <a href=\"https:\/\/tino.vn\/blog\/openclaw-la-gi\/\">OpenClaw l\u00e0 g\u00ec<\/a>. Kh\u00e1i ni\u1ec7m Ollama c\u00f3 \u1edf b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/ollama-ai-la-gi\/\">Ollama AI l\u00e0 g\u00ec<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 24\/10\/2026 theo OpenClaw 2026.10.x v\u00e0 Ollama hi\u1ec7n h\u00e0nh. \u1ea2nh ch\u1ee5p thao t\u00e1c l\u00e0m tr\u00ean Windows v\u1edbi b\u1ea3n c\u0169 h\u01a1n (Ollama 0.33, OpenClaw 2026.7); c\u00e1c l\u1ec7nh trong \u1ea3nh v\u1eabn d\u00f9ng \u0111\u01b0\u1ee3c.<\/em><\/p>\n\n\n\n<h2 id=\"Ch\u1ea1y_OpenClaw_v\u1edbi_Ollama_local_c\u00f3_l\u1ee3i_g\u00ec?\">Ch\u1ea1y OpenClaw v\u1edbi Ollama local c\u00f3 l\u1ee3i g\u00ec?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ea1y OpenClaw v\u1edbi Ollama local gi\u00fap b\u1ea1n d\u00f9ng agent m\u00e0 kh\u00f4ng tr\u1ea3 ph\u00ed theo token cho ph\u1ea7n suy lu\u1eadn, v\u00e0 prompt kh\u00f4ng ph\u1ea3i g\u1eedi t\u1edbi API model b\u00ean ngo\u00e0i. C\u1ee5 th\u1ec3:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Gi\u1ea3m ph\u1ee5 thu\u1ed9c API th\u01b0\u01a1ng m\u1ea1i:<\/strong> nhi\u1ec1u model ch\u1ea1y tr\u1ef1c ti\u1ebfp tr\u00ean m\u00e1y.<\/li>\n\n\n<li><strong>Ch\u1ee7 \u0111\u1ed9ng ch\u1ecdn model:<\/strong> \u0111\u1ed5i qua l\u1ea1i gi\u1eefa c\u00e1c model Ollama h\u1ed7 tr\u1ee3.<\/li>\n\n\n<li><strong>D\u1eef li\u1ec7u x\u1eed l\u00fd local:<\/strong> prompt g\u1eedi t\u1edbi model local \u0111\u01b0\u1ee3c x\u1eed l\u00fd tr\u00ean thi\u1ebft b\u1ecb.<\/li>\n\n\n<li><strong>Kh\u00f4ng t\u00ednh ph\u00ed token cho suy lu\u1eadn local:<\/strong> chi ph\u00ed ch\u1ee7 y\u1ebfu l\u00e0 ph\u1ea7n c\u1ee9ng v\u00e0 \u0111i\u1ec7n.<\/li>\n\n\n<li><strong>H\u1ee3p \u0111\u1ec3 h\u1ecdc v\u00e0 th\u1eed agent:<\/strong> kh\u00f4ng ph\u1ea3i theo d\u00f5i chi ph\u00ed token li\u00ean t\u1ee5c.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">H\u1ea1n ch\u1ebf quan tr\u1ecdng: n\u0103ng l\u1ef1c model ph\u1ee5 thu\u1ed9c ph\u1ea7n c\u1ee9ng. Model c\u00e0ng l\u1edbn, context c\u00e0ng d\u00e0i th\u00ec c\u00e0ng c\u1ea7n nhi\u1ec1u RAM ho\u1eb7c VRAM. T\u00e0i li\u1ec7u OpenClaw c\u0169ng l\u01b0u \u00fd model nh\u1ecf hay g\u1ecdi tool sai v\u00e0 n\u00ean d\u00f9ng model l\u1edbn \u1edf m\u1ee9c m\u00e1y c\u00f2n ch\u1ea1y n\u1ed5i (<a href=\"https:\/\/docs.openclaw.ai\/gateway\/local-models\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Local models<\/a>).<\/p>\n\n\n\n<h2 id=\"C\u1ea7n_chu\u1ea9n_b\u1ecb_g\u00ec_tr\u01b0\u1edbc_khi_ch\u1ea1y_OpenClaw_v\u1edbi_Ollama?\">C\u1ea7n chu\u1ea9n b\u1ecb g\u00ec tr\u01b0\u1edbc khi ch\u1ea1y OpenClaw v\u1edbi Ollama?<\/h2>\n\n\n\n<h3 id=\"H\u1ec7_\u0111i\u1ec1u_h\u00e0nh\">H\u1ec7 \u0111i\u1ec1u h\u00e0nh<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ollama c\u00f3 b\u1ea3n cho Windows, macOS v\u00e0 Linux (<a href=\"https:\/\/ollama.com\/download\" target=\"_blank\" rel=\"noopener nofollow\">trang t\u1ea3i Ollama<\/a>); trang t\u1ea3i ghi b\u1ea3n Windows c\u1ea7n Windows 10 tr\u1edf l\u00ean. Tr\u00ean Windows, Ollama ch\u1ea1y nh\u01b0 \u1ee9ng d\u1ee5ng n\u1ec1n v\u00e0 cung c\u1ea5p API t\u1ea1i <code>http:\/\/localhost:11434<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OpenClaw ch\u1ea1y tr\u00ean macOS, Linux v\u00e0 Windows (Windows Hub app, PowerShell, ho\u1eb7c Gateway trong WSL2) (<a href=\"https:\/\/docs.openclaw.ai\/install\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Install<\/a>).<\/p>\n\n\n\n<h3 id=\"Node.js\">Node.js<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu c\u00e0i OpenClaw b\u1eb1ng npm, m\u00e1y c\u1ea7n Node.js \u0111\u00fang nh\u00e1nh h\u1ed7 tr\u1ee3. T\u1eeb OpenClaw 2026.10.6, b\u1ea3n c\u00e0i y\u00eau c\u1ea7u <strong>Node 24.22.1 tr\u1edf l\u00ean tr\u00ean nh\u00e1nh 24, ho\u1eb7c Node 26.12.1 tr\u1edf l\u00ean<\/strong>; <code>openclaw update<\/code> t\u1eeb ch\u1ed1i c\u00e0i tr\u00ean Node c\u0169 h\u01a1n. Script c\u00e0i ch\u00ednh th\u1ee9c t\u1ef1 c\u00e0i Node n\u1ebfu thi\u1ebfu.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>node --version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>B\u00e0i c\u0169 ghi &#8220;khuy\u1ebfn ngh\u1ecb Node 26&#8221;; m\u1ee9c t\u1ed1i thi\u1ec3u \u0111\u00e3 \u0111\u1ed5i theo release 2026.10.6 (GitHub Releases, 24\/10\/2026).<\/em><\/p>\n\n\n\n<h3 id=\"RAM,_GPU_v\u00e0_dung_l\u01b0\u1ee3ng_l\u01b0u_tr\u1eef\">RAM, GPU v\u00e0 dung l\u01b0\u1ee3ng l\u01b0u tr\u1eef<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng c\u00f3 m\u1ed9t c\u1ea5u h\u00ecnh chung cho m\u1ecdi model. T\u00e0i nguy\u00ean c\u1ea7n d\u00f9ng ph\u1ee5 thu\u1ed9c k\u00edch th\u01b0\u1edbc model, m\u1ee9c l\u01b0\u1ee3ng t\u1eed ho\u00e1, context window, GPU v\u00e0 l\u01b0\u1ee3ng VRAM, RAM, c\u00f9ng c\u00e1c \u1ee9ng d\u1ee5ng ch\u1ea1y song song.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OpenClaw l\u00e0 \u1ee9ng d\u1ee5ng agent n\u00ean context th\u01b0\u1eddng l\u1edbn h\u01a1n chatbot. Ollama khuy\u00ean d\u00f9ng context t\u1eeb 64K token tr\u1edf l\u00ean v\u1edbi model local khi ch\u1ea1y OpenClaw (<a href=\"https:\/\/docs.ollama.com\/integrations\/openclaw\" target=\"_blank\" rel=\"noopener nofollow\">Ollama: OpenClaw integration<\/a>). Context c\u00e0ng d\u00e0i, b\u1ed9 nh\u1edb c\u1ea7n c\u00e0ng t\u0103ng so v\u1edbi dung l\u01b0\u1ee3ng file model.<\/p>\n\n\n\n<h2 id=\"N\u00ean_d\u00f9ng_model_Ollama_n\u00e0o_cho_OpenClaw?\">N\u00ean d\u00f9ng model Ollama n\u00e0o cho OpenClaw?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Model Ollama cho OpenClaw c\u1ea7n g\u1ecdi tool t\u1ed1t, l\u00e0m theo h\u01b0\u1edbng d\u1eabn, x\u1eed l\u00fd context d\u00e0i v\u00e0 chu\u1ed7i t\u00e1c v\u1ee5 nhi\u1ec1u b\u01b0\u1edbc. Hai h\u1ecd model c\u00f3 nh\u00e3n <em>tools<\/em> v\u00e0 <em>thinking<\/em> tr\u00ean th\u01b0 vi\u1ec7n Ollama, \u0111\u01b0\u1ee3c nh\u1eafc trong h\u01b0\u1edbng d\u1eabn OpenClaw, l\u00e0 Qwen 3.5 v\u00e0 Gemma 4.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Model (tag Ollama)<\/th><th>Dung l\u01b0\u1ee3ng t\u1ea3i<\/th><th>Context t\u1ed1i \u0111a<\/th><th>G\u1ee3i \u00fd d\u00f9ng<\/th><\/tr><\/thead><tbody><tr><td><code>qwen3.5:4b<\/code><\/td><td>3,3\u20134,0 GB<\/td><td>256K<\/td><td>M\u00e1y RAM th\u1ea5p, th\u1eed nghi\u1ec7m<\/td><\/tr><tr><td><code>qwen3.5<\/code> (= <code>qwen3.5:9b<\/code>)<\/td><td>6,6\u20137,6 GB<\/td><td>256K<\/td><td>\u0110i\u1ec3m kh\u1edfi \u0111\u1ea7u c\u00e2n b\u1eb1ng<\/td><\/tr><tr><td><code>qwen3.5:27b<\/code><\/td><td>17\u201320 GB<\/td><td>256K<\/td><td>GPU nhi\u1ec1u VRAM, t\u00e1c v\u1ee5 d\u00e0i<\/td><\/tr><tr><td><code>gemma4<\/code> (= <code>gemma4:e4b<\/code>)<\/td><td>6,6\u20139,5 GB<\/td><td>128K<\/td><td>M\u1eb7c \u0111\u1ecbnh setup OpenClaw g\u1ee3i \u00fd khi ch\u01b0a c\u00f3 model<\/td><\/tr><tr><td><code>gemma4:26b<\/code><\/td><td>16\u201319 GB<\/td><td>256K<\/td><td>GPU nhi\u1ec1u VRAM<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Dung l\u01b0\u1ee3ng t\u1ea3i v\u00e0 context theo <a href=\"https:\/\/ollama.com\/library\/qwen3.5\" target=\"_blank\" rel=\"noopener nofollow\">ollama.com\/library\/qwen3.5<\/a> v\u00e0 <a href=\"https:\/\/ollama.com\/library\/gemma4\" target=\"_blank\" rel=\"noopener nofollow\">ollama.com\/library\/gemma4<\/a>, truy c\u1eadp 24\/10\/2026. RAM\/VRAM th\u1ef1c t\u1ebf c\u1ea7n l\u1edbn h\u01a1n dung l\u01b0\u1ee3ng t\u1ea3i, \u0111\u1eb7c bi\u1ec7t khi \u0111\u1eb7t context 64K.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu m\u00e1y y\u1ebfu, th\u1eed model nh\u1ecf h\u01a1n, nh\u01b0ng model qu\u00e1 nh\u1ecf d\u1ec5 g\u1ecdi tool sai ho\u1eb7c b\u1ecf d\u1edf workflow d\u00e0i. Khi \u0111\u00f3, c\u00e1ch th\u1ef1c t\u1ebf l\u00e0 d\u00f9ng model qua API cho t\u00e1c v\u1ee5 n\u1eb7ng; xem <a href=\"https:\/\/tino.vn\/blog\/su-dung-nhieu-model-ai-mien-phi-tren-openclaw\/\">c\u00e1ch d\u00f9ng nhi\u1ec1u model AI tr\u00ean OpenClaw<\/a> v\u00e0 <a href=\"https:\/\/tino.vn\/blog\/su-dung-gemma-4-tren-openclaw\/\">d\u00f9ng Gemma 4 tr\u00ean OpenClaw<\/a>.<\/p>\n\n\n\n<h2 id=\"C\u00e1ch_ch\u1ea1y_OpenClaw_v\u1edbi_Ollama_local_b\u1eb1ng_ollama_launch\">C\u00e1ch ch\u1ea1y OpenClaw v\u1edbi Ollama local b\u1eb1ng ollama launch<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ollama \u0111\u00e3 t\u00edch h\u1ee3p OpenClaw qua l\u1ec7nh <code>ollama launch openclaw<\/code>: l\u1ec7nh n\u00e0y c\u00e0i OpenClaw n\u1ebfu ch\u01b0a c\u00f3, c\u1ea5u h\u00ecnh provider, \u0111\u1eb7t model ch\u00ednh, c\u00e0i daemon Gateway r\u1ed3i m\u1edf giao di\u1ec7n TUI (<a href=\"https:\/\/docs.ollama.com\/integrations\/openclaw\" target=\"_blank\" rel=\"noopener nofollow\">Ollama: OpenClaw integration<\/a>).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1400\" height=\"750\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/chay-openclaw-voi-ollama-local-luong-ket-noi.webp\" alt=\"S\u01a1 \u0111\u1ed3 OpenClaw g\u1ecdi Ollama qua API g\u1ed1c c\u1ed5ng 11434 \u0111\u01b0\u1eddng \/api\/chat (kh\u00f4ng d\u00f9ng \/v1 v\u00ec l\u00e0m h\u1ecfng tool call); Ollama ph\u1ee5c v\u1ee5 model local nh\u01b0 qwen3.5, gemma4 v\u00e0 model :cloud c\u1ea7n ollama signin; l\u1ed1i t\u1eaft ollama launch openclaw, ki\u1ec3m tra b\u1eb1ng openclaw models status\" class=\"wp-image-132007\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/chay-openclaw-voi-ollama-local-luong-ket-noi.webp 1400w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/chay-openclaw-voi-ollama-local-luong-ket-noi-300x161.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/chay-openclaw-voi-ollama-local-luong-ket-noi-1024x549.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/chay-openclaw-voi-ollama-local-luong-ket-noi-768x411.webp 768w\" sizes=\"(max-width: 1400px) 100vw, 1400px\" \/><\/figure>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_1:_C\u00e0i_\u0111\u1eb7t_Ollama\">B\u01b0\u1edbc 1: C\u00e0i \u0111\u1eb7t Ollama<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tr\u00ean Windows:<\/strong> t\u1ea3i b\u1ea3n c\u00e0i t\u1ea1i <a href=\"https:\/\/ollama.com\/download\" target=\"_blank\" rel=\"noopener nofollow\">ollama.com\/download<\/a>, ho\u1eb7c d\u00e1n l\u1ec7nh PowerShell hi\u1ec3n th\u1ecb tr\u00ean trang t\u1ea3i. C\u00e0i xong, Ollama ch\u1ea1y n\u1ec1n v\u00e0 d\u00f9ng \u0111\u01b0\u1ee3c trong PowerShell hay Command Prompt.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1098\" height=\"564\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_1-4.png\" alt=\"Trang Download Ollama tab Windows v\u1edbi l\u1ec7nh PowerShell irm https:\/\/ollama.com\/install.ps1 | iex v\u00e0 n\u00fat Download for Windows, ghi Requires Windows 10 or later\" class=\"wp-image-130066\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_1-4.png 1098w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_1-4-300x154.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_1-4-767x394.png 767w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_1-4-1024x526.png 1024w\" sizes=\"(max-width: 1098px) 100vw, 1098px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tr\u00ean Linux:<\/strong> c\u00e0i b\u1eb1ng script ch\u00ednh th\u1ee9c r\u1ed3i ch\u1ea1y d\u1ecbch v\u1ee5:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/ollama.com\/install.sh | sh\nollama serve<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u00ean Linux, script c\u00e0i th\u01b0\u1eddng t\u1ea1o s\u1eb5n service ch\u1ea1y n\u1ec1n; ch\u1ec9 c\u1ea7n <code>ollama serve<\/code> khi d\u1ecbch v\u1ee5 ch\u01b0a ch\u1ea1y.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_2:_Ki\u1ec3m_tra_Ollama\">B\u01b0\u1edbc 2: Ki\u1ec3m tra Ollama<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1edf Terminal ho\u1eb7c PowerShell v\u00e0 nh\u1eadp:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ollama --version<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"995\" height=\"522\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_2-2.png\" alt=\"PowerShell ch\u1ea1y ollama --version tr\u1ea3 v\u1ec1 ollama version is 0.33.3\" class=\"wp-image-130064\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_2-2.png 995w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_2-2-300x157.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_2-2-766x402.png 766w\" sizes=\"(max-width: 995px) 100vw, 995px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra danh s\u00e1ch model \u0111\u00e3 c\u00f3:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ollama list<\/code><\/pre>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_3:_T\u1ea3i_model_local\">B\u01b0\u1edbc 3: T\u1ea3i model local<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">V\u00ed d\u1ee5 t\u1ea3i Qwen 3.5 ho\u1eb7c Gemma 4:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ollama pull qwen3.5\nollama pull gemma4\nollama list<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1711\" height=\"779\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_3-3.png\" alt=\"PowerShell ch\u1ea1y ollama pull qwen3.5: pulling manifest, t\u1ea3i 6.6 GB, verifying sha256 digest, success\" class=\"wp-image-130065\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_3-3.png 1711w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_3-3-300x137.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_3-3-767x349.png 767w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_3-3-1024x466.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_3-3-1536x699.png 1536w\" sizes=\"(max-width: 1711px) 100vw, 1711px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00f3 th\u1ec3 ch\u1ea1y th\u1eed tr\u01b0\u1edbc \u0111\u1ec3 ch\u1eafc model ph\u1ea3n h\u1ed3i:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ollama run qwen3.5<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1702\" height=\"918\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_4-3.png\" alt=\"PowerShell ch\u1ea1y ollama run qwen3.5, g\u00f5 hello v\u00e0 model hi\u1ec3n th\u1ecb qu\u00e1 tr\u00ecnh Thinking r\u1ed3i tr\u1ea3 l\u1eddi Hello! How can I help you today?\" class=\"wp-image-130063\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_4-3.png 1702w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_4-3-300x162.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_4-3-768x414.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_4-3-1024x552.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_4-3-1536x828.jpg 1536w\" sizes=\"(max-width: 1702px) 100vw, 1702px\" \/><\/figure>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_4:_Kh\u1edfi_ch\u1ea1y_OpenClaw_b\u1eb1ng_Ollama\">B\u01b0\u1edbc 4: Kh\u1edfi ch\u1ea1y OpenClaw b\u1eb1ng Ollama<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>ollama launch openclaw<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Theo t\u00e0i li\u1ec7u Ollama, l\u1ec7nh n\u00e0y l\u1ea7n l\u01b0\u1ee3t:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ki\u1ec3m tra OpenClaw \u0111\u00e3 c\u00e0i ch\u01b0a, h\u1ecfi \u0111\u1ec3 c\u00e0i qua npm n\u1ebfu ch\u01b0a c\u00f3.<\/li>\n\n\n<li>Hi\u1ec7n c\u1ea3nh b\u00e1o b\u1ea3o m\u1eadt v\u1ec1 quy\u1ec1n tool \u1edf l\u1ea7n ch\u1ea1y \u0111\u1ea7u.<\/li>\n\n\n<li>Cho ch\u1ecdn model local ho\u1eb7c cloud.<\/li>\n\n\n<li>C\u1ea5u h\u00ecnh Ollama l\u00e0m provider, c\u00e0i daemon Gateway, \u0111\u1eb7t model \u0111\u01b0\u1ee3c ch\u1ecdn l\u00e0m model ch\u00ednh.<\/li>\n\n\n<li>B\u1eadt web search qua Ollama, kh\u1edfi \u0111\u1ed9ng Gateway v\u00e0 m\u1edf TUI.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1edbi ng\u01b0\u1eddi m\u1edbi, c\u00e1ch n\u00e0y \u0111\u01a1n gi\u1ea3n h\u01a1n nhi\u1ec1u so v\u1edbi t\u1ef1 s\u1eeda file c\u1ea5u h\u00ecnh.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_5:_Ch\u1ecdn_model_local\">B\u01b0\u1edbc 5: Ch\u1ecdn model local<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Khi danh s\u00e1ch model xu\u1ea5t hi\u1ec7n, ch\u1ecdn model \u0111\u00e3 t\u1ea3i, v\u00ed d\u1ee5 <code>qwen3.5<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1080\" height=\"578\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_6-2.png\" alt=\"M\u00e0n h\u00ecnh Select models for OpenClaw trong PowerShell: nh\u00f3m Recommended g\u1ed3m c\u00e1c model :cloud v\u00e0 gemma4:26b, nh\u00f3m More c\u00f3 qwen3.5 \u0111ang \u0111\u01b0\u1ee3c ch\u1ecdn\" class=\"wp-image-130061\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_6-2.png 1080w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_6-2-300x161.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_6-2-768x411.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_6-2-1024x548.png 1024w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ph\u00e2n bi\u1ec7t model local v\u1edbi model cloud: <code>qwen3.5<\/code> ch\u1ea1y tr\u00ean m\u00e1y b\u1ea1n, c\u00f2n <code>qwen3.5:cloud<\/code> ch\u1ea1y tr\u00ean m\u00e1y ch\u1ee7 Ollama, c\u1ea7n <code>ollama signin<\/code> v\u00e0 d\u1eef li\u1ec7u s\u1ebd r\u1eddi kh\u1ecfi m\u00e1y. Mu\u1ed1n ch\u1ea1y ho\u00e0n to\u00e0n local, ch\u1ecdn t\u00ean kh\u00f4ng c\u00f3 h\u1eadu t\u1ed1 <code>:cloud<\/code>.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_6:_Ch\u1ec9_\u0111\u1ecbnh_model_ngay_trong_l\u1ec7nh_(tu\u1ef3_ch\u1ecdn)\">B\u01b0\u1edbc 6: Ch\u1ec9 \u0111\u1ecbnh model ngay trong l\u1ec7nh (tu\u1ef3 ch\u1ecdn)<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>ollama launch openclaw --model qwen3.5<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu ch\u1ec9 mu\u1ed1n c\u1ea5u h\u00ecnh m\u00e0 ch\u01b0a kh\u1edfi ch\u1ea1y:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ollama launch openclaw --config<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Gateway \u0111ang ch\u1ea1y s\u1ebd t\u1ef1 kh\u1edfi \u0111\u1ed9ng l\u1ea1i \u0111\u1ec3 nh\u1eadn model m\u1edbi.<\/p>\n\n\n\n<h3 id=\"C\u00e1ch_c\u1ea5u_h\u00ecnh_th\u1ee7_c\u00f4ng_kh\u00f4ng_d\u00f9ng_ollama_launch\">C\u00e1ch c\u1ea5u h\u00ecnh th\u1ee7 c\u00f4ng kh\u00f4ng d\u00f9ng ollama launch<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu OpenClaw \u0111\u00e3 c\u00e0i s\u1eb5n, ch\u1ea1y <code>openclaw onboard<\/code>, ch\u1ecdn <strong>Ollama<\/strong> r\u1ed3i ch\u1ebf \u0111\u1ed9 <strong>Local only<\/strong>; ho\u1eb7c \u0111\u1eb7t model ch\u00ednh b\u1eb1ng l\u1ec7nh (<a href=\"https:\/\/docs.openclaw.ai\/providers\/ollama\/setup\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Ollama setup<\/a>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw models list --provider ollama\nopenclaw models set ollama\/qwen3.5<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Khi t\u1ef1 khai b\u00e1o \u0111\u1ecba ch\u1ec9, d\u00f9ng URL g\u1ed1c <code>http:\/\/127.0.0.1:11434<\/code>, <strong>kh\u00f4ng th\u00eam <code>\/v1<\/code><\/strong>. T\u00e0i li\u1ec7u OpenClaw c\u1ea3nh b\u00e1o endpoint <code>\/v1<\/code> l\u00e0m h\u1ecfng tool calling, khi\u1ebfn model in JSON g\u1ecdi tool ra th\u00e0nh ch\u1eef (<a href=\"https:\/\/docs.openclaw.ai\/providers\/ollama\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Ollama<\/a>). Host loopback ho\u1eb7c m\u1ea1ng LAN kh\u00f4ng c\u1ea7n API key th\u1eadt; host c\u00f4ng khai v\u00e0 Ollama Cloud th\u00ec c\u1ea7n.<\/p>\n\n\n\n<h2 id=\"C\u00e1ch_ki\u1ec3m_tra_OpenClaw_c\u00f3_th\u1ef1c_s\u1ef1_d\u00f9ng_model_local\">C\u00e1ch ki\u1ec3m tra OpenClaw c\u00f3 th\u1ef1c s\u1ef1 d\u00f9ng model local<\/h2>\n\n\n\n<h3 id=\"C\u00e1ch_1:_H\u1ecfi_tr\u1ef1c_ti\u1ebfp_OpenClaw\">C\u00e1ch 1: H\u1ecfi tr\u1ef1c ti\u1ebfp OpenClaw<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Y\u00eau c\u1ea7u OpenClaw cho bi\u1ebft model \u0111ang d\u00f9ng b\u1eb1ng ng\u00f4n ng\u1eef t\u1ef1 nhi\u00ean; thanh tr\u1ea1ng th\u00e1i TUI c\u0169ng hi\u1ec7n t\u00ean model.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"786\" height=\"385\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_7-3.png\" alt=\"TUI OpenClaw tr\u1ea3 l\u1eddi \u0111ang s\u1eed d\u1ee5ng m\u00f4 h\u00ecnh ollama\/qwen3.5:latest, thanh tr\u1ea1ng th\u00e1i connected, agent main, session main, tokens 0\/262k\" class=\"wp-image-130060\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_7-3.png 786w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_7-3-300x147.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/09\/Screenshot_7-3-768x376.png 768w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/figure>\n\n\n\n<h3 id=\"C\u00e1ch_2:_D\u00f9ng_l\u1ec7nh_openclaw_models_status\">C\u00e1ch 2: D\u00f9ng l\u1ec7nh openclaw models status<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw models status<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">D\u00f2ng <strong>Default<\/strong> ph\u1ea3i c\u00f3 d\u1ea1ng <code>ollama\/qwen3.5<\/code> (ho\u1eb7c <code>ollama\/qwen3.5:latest<\/code>).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1509\" height=\"509\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/chay-openclaw-voi-ollama-local-models-status-che.webp\" alt=\"K\u1ebft qu\u1ea3 openclaw models status: Default ollama\/qwen3.5:latest, danh s\u00e1ch configured models v\u00e0 Auth overview; \u0111o\u1ea1n API key r\u00fat g\u1ecdn c\u1ee7a c\u00e1c provider kh\u00e1c \u0111\u00e3 che\" class=\"wp-image-132008\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/chay-openclaw-voi-ollama-local-models-status-che.webp 1509w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/chay-openclaw-voi-ollama-local-models-status-che-300x101.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/chay-openclaw-voi-ollama-local-models-status-che-1024x345.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/chay-openclaw-voi-ollama-local-models-status-che-768x259.webp 768w\" sizes=\"(max-width: 1509px) 100vw, 1509px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">L\u1ec7nh n\u00e0y c\u0169ng li\u1ec7t k\u00ea provider kh\u00e1c \u0111\u00e3 c\u1ea5u h\u00ecnh. N\u1ebfu ch\u1ee5p m\u00e0n h\u00ecnh \u0111\u1ec3 h\u1ecfi ng\u01b0\u1eddi kh\u00e1c, che ph\u1ea7n key r\u00fat g\u1ecdn tr\u01b0\u1edbc khi g\u1eedi.<\/p>\n\n\n\n<h2 id=\"Kinh_nghi\u1ec7m_ch\u1ea1y_OpenClaw_v\u1edbi_Ollama_\u1ed5n_\u0111\u1ecbnh\">Kinh nghi\u1ec7m ch\u1ea1y OpenClaw v\u1edbi Ollama \u1ed5n \u0111\u1ecbnh<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>B\u1eaft \u0111\u1ea7u b\u1eb1ng model v\u1eeba s\u1ee9c m\u00e1y thay v\u00ec ch\u1ecdn model l\u1edbn ngay t\u1eeb \u0111\u1ea7u.<\/li>\n\n\n<li>\u01afu ti\u00ean model c\u00f3 nh\u00e3n <em>tools<\/em> tr\u00ean th\u01b0 vi\u1ec7n Ollama.<\/li>\n\n\n<li>Ki\u1ec3m tra model b\u1eb1ng <code>ollama run<\/code> tr\u01b0\u1edbc khi n\u1ed1i OpenClaw.<\/li>\n\n\n<li>D\u00f9ng endpoint g\u1ed1c <code>http:\/\/127.0.0.1:11434<\/code>, kh\u00f4ng th\u00eam <code>\/v1<\/code>.<\/li>\n\n\n<li>T\u0103ng context d\u1ea7n v\u00e0 theo d\u00f5i RAM, VRAM khi agent ch\u1ea1y.<\/li>\n\n\n<li>C\u1eadp nh\u1eadt Ollama \u0111\u1ec3 c\u00f3 b\u1ea3n s\u1eeda l\u1ed7i v\u00e0 model m\u1edbi.<\/li>\n\n\n<li>B\u1eadt ph\u00e1t hi\u1ec7n v\u00f2ng l\u1eb7p tool n\u1ebfu model nh\u1ecf hay l\u1eb7p l\u1ec7nh; xem <a href=\"https:\/\/tino.vn\/blog\/sua-loi-tool-loop-trong-openclaw\/\">c\u00e1ch s\u1eeda l\u1ed7i Tool Loop trong OpenClaw<\/a>.<\/li>\n\n\n<li>Ch\u1ec9 c\u1ea5p cho OpenClaw nh\u1eefng quy\u1ec1n tool th\u1eadt s\u1ef1 c\u1ea7n.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Model local kh\u00f4ng c\u00f3 b\u1ed9 l\u1ecdc an to\u00e0n c\u1ee7a nh\u00e0 cung c\u1ea5p, v\u00e0 OpenClaw v\u1eabn \u0111\u1ecdc t\u1ec7p, ch\u1ea1y l\u1ec7nh qua tool. Ch\u1ea1y local kh\u00f4ng c\u00f3 ngh\u0129a m\u1ecdi thao t\u00e1c \u0111\u1ec1u an to\u00e0n; h\u00e3y gi\u1edbi h\u1ea1n quy\u1ec1n tool v\u00e0 c\u1ea3nh gi\u00e1c prompt injection. C\u00e1ch gi\u1edbi h\u1ea1n b\u1eb1ng sandbox c\u00f3 \u1edf b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/cach-ly-sandbox-cho-ai-agent-tren-vps\/\">c\u00e1ch ly sandbox cho AI Agent tr\u00ean VPS<\/a>.<\/p>\n\n\n\n<h2 id=\"Ch\u1ea1y_OpenClaw_v\u1edbi_Ollama_local_c\u00f3_ho\u00e0n_to\u00e0n_offline_kh\u00f4ng?\">Ch\u1ea1y OpenClaw v\u1edbi Ollama local c\u00f3 ho\u00e0n to\u00e0n offline kh\u00f4ng?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ec9 ph\u1ea7n suy lu\u1eadn AI ch\u1ea1y offline \u0111\u01b0\u1ee3c, khi OpenClaw, Ollama v\u00e0 model \u0111\u1ec1u n\u1eb1m tr\u00ean m\u00e1y v\u00e0 b\u1ea1n kh\u00f4ng b\u1eadt c\u00f4ng c\u1ee5 c\u1ea7n Internet. C\u00e1c ch\u1ee9c n\u0103ng sau v\u1eabn c\u1ea7n m\u1ea1ng: web search, Telegram, Discord, Slack, WhatsApp, t\u1ea3i model m\u1edbi, API b\u00ean ngo\u00e0i, d\u1ecbch v\u1ee5 MCP t\u1eeb xa.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Web search qua Ollama cho model local y\u00eau c\u1ea7u <code>ollama signin<\/code> (<a href=\"https:\/\/docs.ollama.com\/integrations\/openclaw\" target=\"_blank\" rel=\"noopener nofollow\">Ollama: OpenClaw integration<\/a>). N\u1ebfu c\u1ea7n m\u00f4i tr\u01b0\u1eddng offline ch\u1eb7t, t\u1eaft c\u00e1c c\u00f4ng c\u1ee5 Internet v\u00e0 k\u00eanh chat.<\/p>\n\n\n\n<h2 id=\"C\u00f3_n\u00ean_ch\u1ea1y_Ollama_tr\u00ean_VPS_cho_OpenClaw_kh\u00f4ng?\">C\u00f3 n\u00ean ch\u1ea1y Ollama tr\u00ean VPS cho OpenClaw kh\u00f4ng?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ea1y Ollama tr\u00ean VPS th\u00f4ng th\u01b0\u1eddng ch\u1ec9 h\u1ee3p v\u1edbi model nh\u1ecf, v\u00ec VPS ph\u1ed5 bi\u1ebfn kh\u00f4ng c\u00f3 GPU v\u00e0 suy lu\u1eadn b\u1eb1ng CPU ch\u1eadm h\u01a1n nhi\u1ec1u. C\u00e1ch ph\u1ed5 bi\u1ebfn h\u01a1n l\u00e0 \u0111\u1ec3 OpenClaw ch\u1ea1y 24\/7 tr\u00ean VPS v\u00e0 g\u1ecdi model qua API, c\u00f2n Ollama ch\u1ea1y tr\u00ean m\u00e1y c\u00f3 GPU khi c\u1ea7n d\u1eef li\u1ec7u \u1edf l\u1ea1i trong m\u1ea1ng c\u1ee7a b\u1ea1n.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu n\u1ed1i OpenClaw tr\u00ean VPS t\u1edbi Ollama \u1edf m\u00e1y kh\u00e1c, \u0111i qua m\u1ea1ng ri\u00eang nh\u01b0 <a href=\"https:\/\/tino.vn\/blog\/bao-mat-vps-chay-ai-agent-bang-tailscale\/\">Tailscale<\/a>; kh\u00f4ng m\u1edf c\u1ed5ng 11434 ra Internet. C\u00e1ch d\u1ef1ng OpenClaw tr\u00ean VPS xem \u1edf <a href=\"https:\/\/tino.vn\/blog\/cai-dat-openclaw-tren-vps\/\">h\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t OpenClaw tr\u00ean VPS<\/a>.<\/p>\n\n\n\n<h2 id=\"K\u1ebft_lu\u1eadn\">K\u1ebft lu\u1eadn<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ea1y OpenClaw v\u1edbi Ollama local l\u00e0 c\u00e1ch t\u1ed1t \u0111\u1ec3 h\u1ecdc v\u00e0 d\u00f9ng agent m\u00e0 kh\u00f4ng tr\u1ea3 ph\u00ed token cho ph\u1ea7n suy lu\u1eadn. Ch\u1ecdn model v\u1eeba s\u1ee9c m\u00e1y, d\u00f9ng API g\u1ed1c c\u1ee7a Ollama, ki\u1ec3m tra b\u1eb1ng <code>openclaw models status<\/code>, v\u00e0 v\u1eabn gi\u1edbi h\u1ea1n quy\u1ec1n tool nh\u01b0 khi d\u00f9ng model \u0111\u00e1m m\u00e2y.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Mu\u1ed1n ch\u1ea1y OpenClaw 24\/7 m\u00e0 kh\u00f4ng t\u1ef1 c\u00e0i? <a href=\"https:\/\/tino.vn\/vps-openclaw\">VPS OpenClaw c\u1ee7a Tino<\/a> c\u00e0i s\u1eb5n OpenClaw tr\u00ean VPS NVMe \u0111\u1eb7t t\u1ea1i Vi\u1ec7t Nam; b\u1ea1n v\u1eabn c\u00f3 quy\u1ec1n root \u0111\u1ec3 c\u1ea5u h\u00ecnh. Xem c\u1ea5u h\u00ecnh v\u00e0 gi\u00e1 tr\u00ean trang s\u1ea3n ph\u1ea9m.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>B\u00e0i vi\u1ebft li\u00ean quan:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/tino.vn\/blog\/lm-studio-la-gi\/\">LM Studio l\u00e0 g\u00ec?<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/doi-provider-model-va-api-key-trong-openclaw\/\">\u0110\u1ed5i provider, model v\u00e0 API key trong OpenClaw<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/cau-hinh-toi-thieu-de-chay-openclaw-tren-vps\/\">C\u1ea5u h\u00ecnh t\u1ed1i thi\u1ec3u \u0111\u1ec3 ch\u1ea1y OpenClaw tr\u00ean VPS<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/openclaw-skills-la-gi\/\">OpenClaw Skills l\u00e0 g\u00ec?<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/cach-lay-api-token-telegram\/\">L\u1ea5y API Token Telegram \u0111\u1ec3 k\u1ebft n\u1ed1i OpenClaw<\/a><\/li>\n<\/ul>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\">Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"N\u00ean_ch\u1ecdn_model_local_n\u00e0o_cho_ng\u01b0\u1eddi_m\u1edbi_ch\u1ea1y_OpenClaw?\">N\u00ean ch\u1ecdn model local n\u00e0o cho ng\u01b0\u1eddi m\u1edbi ch\u1ea1y OpenClaw?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">B\u1eaft \u0111\u1ea7u v\u1edbi qwen3.5 (b\u1ea3n 9b, kho\u1ea3ng 6,6\u20137,6 GB) ho\u1eb7c gemma4 (b\u1ea3n e4b, kho\u1ea3ng 6,6\u20139,5 GB). C\u1ea3 hai c\u00f3 h\u1ed7 tr\u1ee3 tool tr\u00ean th\u01b0 vi\u1ec7n Ollama. M\u00e1y y\u1ebfu h\u01a1n c\u00f3 th\u1ec3 th\u1eed qwen3.5:4b nh\u01b0ng ch\u1ea5p nh\u1eadn agent k\u00e9m \u1ed5n \u0111\u1ecbnh v\u1edbi t\u00e1c v\u1ee5 d\u00e0i.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"M\u00e1y_c\u1ea7n_c\u1ea5u_h\u00ecnh_bao_nhi\u00eau_\u0111\u1ec3_ch\u1ea1y_OpenClaw_v\u1edbi_Ollama?\">M\u00e1y c\u1ea7n c\u1ea5u h\u00ecnh bao nhi\u00eau \u0111\u1ec3 ch\u1ea1y OpenClaw v\u1edbi Ollama?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng c\u00f3 con s\u1ed1 chung. RAM ho\u1eb7c VRAM ph\u1ea3i l\u1edbn h\u01a1n dung l\u01b0\u1ee3ng file model, c\u1ed9ng th\u00eam ph\u1ea7n cho context; Ollama khuy\u00ean context t\u1eeb 64K token v\u1edbi OpenClaw. C\u00e1ch ch\u1eafc ch\u1eafn l\u00e0 ch\u1ea1y th\u1eed model b\u1eb1ng ollama run v\u00e0 theo d\u00f5i b\u1ed9 nh\u1edb tr\u00ean ch\u00ednh m\u00e1y c\u1ee7a b\u1ea1n.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"Ch\u1ea1y_OpenClaw_v\u1edbi_Ollama_c\u00f3_c\u1ea7n_API_key_kh\u00f4ng?\">Ch\u1ea1y OpenClaw v\u1edbi Ollama c\u00f3 c\u1ea7n API key kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng, n\u1ebfu Ollama ch\u1ea1y tr\u00ean c\u00f9ng m\u00e1y ho\u1eb7c trong m\u1ea1ng LAN: OpenClaw d\u00f9ng gi\u00e1 tr\u1ecb \u0111\u00e1nh d\u1ea5u ollama-local. Host Ollama c\u00f4ng khai v\u00e0 Ollama Cloud th\u00ec c\u1ea7n API key th\u1eadt.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"M\u00e1y_kh\u00f4ng_c\u00f3_GPU_c\u00f3_ch\u1ea1y_\u0111\u01b0\u1ee3c_OpenClaw_v\u1edbi_Ollama_kh\u00f4ng?\">M\u00e1y kh\u00f4ng c\u00f3 GPU c\u00f3 ch\u1ea1y \u0111\u01b0\u1ee3c OpenClaw v\u1edbi Ollama kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Ch\u1ea1y \u0111\u01b0\u1ee3c model nh\u1ecf b\u1eb1ng CPU nh\u01b0ng ch\u1eadm, v\u00e0 agent ph\u1ea3i x\u1eed l\u00fd context d\u00e0i, g\u1ecdi tool nhi\u1ec1u l\u1ea7n n\u00ean c\u00e0ng ch\u1eadm. V\u1edbi m\u00e1y kh\u00f4ng GPU, n\u00ean d\u00f9ng model qua API cho t\u00e1c v\u1ee5 ch\u00ednh.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"V\u00ec_sao_OpenClaw_in_ra_JSON_g\u1ecdi_tool_thay_v\u00ec_th\u1ef1c_hi\u1ec7n?\">V\u00ec sao OpenClaw in ra JSON g\u1ecdi tool thay v\u00ec th\u1ef1c hi\u1ec7n?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Th\u01b0\u1eddng do c\u1ea5u h\u00ecnh baseUrl c\u00f3 \u0111u\u00f4i \/v1 (endpoint t\u01b0\u01a1ng th\u00edch OpenAI). \u0110\u1ed5i v\u1ec1 http:\/\/127.0.0.1:11434 kh\u00f4ng c\u00f3 \/v1 r\u1ed3i th\u1eed l\u1ea1i; n\u1ebfu v\u1eabn l\u1ed7i, th\u1eed model c\u00f3 h\u1ed7 tr\u1ee3 tool t\u1ed1t h\u01a1n.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"N\u00ean ch\u1ecdn model local n\u00e0o cho ng\u01b0\u1eddi m\u1edbi ch\u1ea1y OpenClaw?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>B\u1eaft \u0111\u1ea7u v\u1edbi qwen3.5 (b\u1ea3n 9b, kho\u1ea3ng 6,6\u20137,6 GB) ho\u1eb7c gemma4 (b\u1ea3n e4b, kho\u1ea3ng 6,6\u20139,5 GB). C\u1ea3 hai c\u00f3 h\u1ed7 tr\u1ee3 tool tr\u00ean th\u01b0 vi\u1ec7n Ollama. M\u00e1y y\u1ebfu h\u01a1n c\u00f3 th\u1ec3 th\u1eed qwen3.5:4b nh\u01b0ng ch\u1ea5p nh\u1eadn agent k\u00e9m \u1ed5n \u0111\u1ecbnh v\u1edbi t\u00e1c v\u1ee5 d\u00e0i.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"M\u00e1y c\u1ea7n c\u1ea5u h\u00ecnh bao nhi\u00eau \u0111\u1ec3 ch\u1ea1y OpenClaw v\u1edbi Ollama?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Kh\u00f4ng c\u00f3 con s\u1ed1 chung. RAM ho\u1eb7c VRAM ph\u1ea3i l\u1edbn h\u01a1n dung l\u01b0\u1ee3ng file model, c\u1ed9ng th\u00eam ph\u1ea7n cho context; Ollama khuy\u00ean context t\u1eeb 64K token v\u1edbi OpenClaw. C\u00e1ch ch\u1eafc ch\u1eafn l\u00e0 ch\u1ea1y th\u1eed model b\u1eb1ng ollama run v\u00e0 theo d\u00f5i b\u1ed9 nh\u1edb tr\u00ean ch\u00ednh m\u00e1y c\u1ee7a b\u1ea1n.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Ch\u1ea1y OpenClaw v\u1edbi Ollama c\u00f3 c\u1ea7n API key kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Kh\u00f4ng, n\u1ebfu Ollama ch\u1ea1y tr\u00ean c\u00f9ng m\u00e1y ho\u1eb7c trong m\u1ea1ng LAN: OpenClaw d\u00f9ng gi\u00e1 tr\u1ecb \u0111\u00e1nh d\u1ea5u ollama-local. Host Ollama c\u00f4ng khai v\u00e0 Ollama Cloud th\u00ec c\u1ea7n API key th\u1eadt.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"M\u00e1y kh\u00f4ng c\u00f3 GPU c\u00f3 ch\u1ea1y \u0111\u01b0\u1ee3c OpenClaw v\u1edbi Ollama kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Ch\u1ea1y \u0111\u01b0\u1ee3c model nh\u1ecf b\u1eb1ng CPU nh\u01b0ng ch\u1eadm, v\u00e0 agent ph\u1ea3i x\u1eed l\u00fd context d\u00e0i, g\u1ecdi tool nhi\u1ec1u l\u1ea7n n\u00ean c\u00e0ng ch\u1eadm. V\u1edbi m\u00e1y kh\u00f4ng GPU, n\u00ean d\u00f9ng model qua API cho t\u00e1c v\u1ee5 ch\u00ednh.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"V\u00ec sao OpenClaw in ra JSON g\u1ecdi tool thay v\u00ec th\u1ef1c hi\u1ec7n?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Th\u01b0\u1eddng do c\u1ea5u h\u00ecnh baseUrl c\u00f3 \u0111u\u00f4i \/v1 (endpoint t\u01b0\u01a1ng th\u00edch OpenAI). \u0110\u1ed5i v\u1ec1 http:\/\/127.0.0.1:11434 kh\u00f4ng c\u00f3 \/v1 r\u1ed3i th\u1eed l\u1ea1i; n\u1ebfu v\u1eabn l\u1ed7i, th\u1eed model c\u00f3 h\u1ed7 tr\u1ee3 tool t\u1ed1t h\u01a1n.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Ch\u1ea1y OpenClaw v\u1edbi Ollama local ngh\u0129a l\u00e0 \u0111\u1ec3 OpenClaw g\u1ecdi model AI ch\u1ea1y ngay tr\u00ean m\u00e1y c\u1ee7a b\u1ea1n qua Ollama, thay v\u00ec g\u1eedi prompt t\u1edbi API tr\u1ea3 ph\u00ed. C\u00e1ch g\u1ecdn l\u00e0 c\u00e0i Ollama, t\u1ea3i m\u1ed9t model h\u1ed7 tr\u1ee3 tool nh\u01b0 qwen3.5 ho\u1eb7c gemma4, r\u1ed3i ch\u1ea1y ollama launch openclaw. B\u00e0i n\u00e0y thu\u1ed9c nh\u00f3m c\u00e0i \u0111\u1eb7t v\u00e0 [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":130068,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7552],"tags":[7554],"class_list":["post-130058","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-openclaw","tag-openclaw"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=130058"}],"version-history":[{"count":4,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130058\/revisions"}],"predecessor-version":[{"id":132077,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130058\/revisions\/132077"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/130068"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=130058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=130058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=130058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}