{"id":9211,"date":"2026-03-27T12:01:54","date_gmt":"2026-03-27T12:01:54","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=9211"},"modified":"2026-05-08T13:03:31","modified_gmt":"2026-05-08T13:03:31","slug":"how-to-add-custom-provider-models-in-openclaw-on-hostinger-vps","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-add-custom-provider-models-in-openclaw-on-hostinger-vps\/","title":{"rendered":"How to add custom provider models in OpenClaw on Hostinger VPS"},"content":{"rendered":"<p><span style=\"font-weight: 400\">OpenClaw supports custom AI providers beyond the default options. This article explains how to add OpenRouter and Kimi (Moonshot) models to your OpenClaw installation on Hostinger VPS.<\/span><\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p><b>NOTE<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You need an API key from your chosen provider before starting.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">OpenClaw must already be installed on your VPS.<\/span><\/li>\n<\/ul>\n<\/div><h2 id=\"h-adding-openrouter-models\"><b>Adding OpenRouter models<\/b><\/h2><p><span style=\"font-weight: 400\">OpenRouter gives you access to multiple AI models through a single API.<\/span><\/p><h3><b>Step 1 &ndash; Connect to your VPS<\/b><\/h3><p><span style=\"font-weight: 400\">Access your VPS via SSH or use <\/span><b>Browser terminal<\/b><span style=\"font-weight: 400\"> in hPanel.<\/span><\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9213\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-53.png\" alt=\"Hostinger VPS overview page with the Terminal button highlighted on the top right\" width=\"936\" height=\"408\" data-media-id=\"9213\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-53.png 936w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-53-300x131.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-53-768x335.png 768w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\" \/><\/p><h3><b>Step 2 &ndash; Enter the OpenClaw container<\/b><\/h3><p><span style=\"font-weight: 400\">Run the following command, replacing <\/span><span style=\"font-weight: 400\">openclaw-XXXX-openclaw-1<\/span><span style=\"font-weight: 400\"> with your actual container name:<\/span><\/p><pre><code>docker exec -it openclaw-XXXX-openclaw-1 bash<\/code><\/pre><h3><b>Step 3 &ndash; Run the onboard command<\/b><\/h3><p><span style=\"font-weight: 400\">Inside the container, run:<\/span><\/p><pre><span style=\"font-weight: 400\">openclaw onboard --auth-choice apiKey --token-provider openrouter --token \"$OPENROUTER_API_KEY\"<\/span><\/pre><p><span style=\"font-weight: 400\">Replace <\/span><span style=\"font-weight: 400\">$OPENROUTER_API_KEY<\/span><span style=\"font-weight: 400\"> with your actual OpenRouter API key.<\/span><\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9214\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54.png\" alt=\"OpenClaw onboarding security warning screen in a terminal interface\" width=\"931\" height=\"468\" data-media-id=\"9214\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54.png 931w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54-300x151.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54-768x386.png 768w\" sizes=\"auto, (max-width: 931px) 100vw, 931px\" \/><\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9215\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_1.png\" alt=\"Terminal setup prompt to enter OpenRouter API key, with local gateway config shown\" width=\"930\" height=\"499\" data-media-id=\"9215\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_1.png 930w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_1-300x161.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_1-768x412.png 768w\" sizes=\"auto, (max-width: 930px) 100vw, 930px\" \/><\/p><h3><b>Step 4 &ndash; Exit and restart the container<\/b><\/h3><p><span style=\"font-weight: 400\">Exit the container:<\/span><\/p><pre><span style=\"font-weight: 400\">exit<\/span><\/pre><p><span style=\"font-weight: 400\">Restart the container to apply changes:<\/span><\/p><pre><span style=\"font-weight: 400\">docker restart openclaw-XXXX-openclaw-1<\/span><\/pre><h3><b>Step 5 &ndash; Select the model in OpenClaw<\/b><\/h3><ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Open the OpenClaw dashboard.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Go to <\/span><b>Agents<\/b><span style=\"font-weight: 400\"> in the left sidebar.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select your agent (for example, <\/span><b>main<\/b><span style=\"font-weight: 400\">).<br>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9216\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_2.png\" alt=\"Nexus agent settings showing the current model set to Nexus GPT 5 2\" width=\"932\" height=\"310\" data-media-id=\"9216\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_2.png 932w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_2-300x100.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_2-768x255.png 768w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><br>\n<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">In the <\/span><b>Overview<\/b><span style=\"font-weight: 400\"> tab, find <\/span><b>Model Selection<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click the <\/span><b>Primary model (default)<\/b><span style=\"font-weight: 400\"> dropdown and select your OpenRouter model.<\/span><\/li>\n<\/ol><h2 id=\"h-adding-kimi-moonshot-models\"><b>Adding Kimi (Moonshot) models<\/b><\/h2><p><span style=\"font-weight: 400\">Kimi is an AI model from Moonshot AI.<\/span><\/p><h3><b>Step 1 &ndash; Connect to your VPS<\/b><\/h3><p><span style=\"font-weight: 400\">Access your VPS via SSH or use <\/span><b>Browser terminal<\/b><span style=\"font-weight: 400\"> in hPanel.<\/span><\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9217\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_3.png\" alt=\"Hostinger VPS overview with the Terminal button highlighted in the top right\" width=\"927\" height=\"427\" data-media-id=\"9217\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_3.png 927w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_3-300x138.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_3-768x354.png 768w\" sizes=\"auto, (max-width: 927px) 100vw, 927px\" \/><\/p><h3><b>Step 2 &ndash; Enter the OpenClaw container<\/b><\/h3><p><span style=\"font-weight: 400\">Run the following command, replacing <\/span><span style=\"font-weight: 400\">openclaw-XXXX-openclaw-1<\/span><span style=\"font-weight: 400\"> with your actual container name:<\/span><\/p><pre><span style=\"font-weight: 400\">docker exec -it openclaw-XXXX-openclaw-1 bash<\/span><\/pre><h3><b>Step 3 &ndash; Run the onboard command<\/b><\/h3><p><span style=\"font-weight: 400\">Inside the container, run:<\/span><\/p><pre><span style=\"font-weight: 400\">openclaw onboard --auth-choice moonshot-api-key<\/span><\/pre><p><span style=\"font-weight: 400\">Follow the prompts to enter your Moonshot API key.<\/span><\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9218\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_4.png\" alt=\"OpenClaw onboarding security warning screen with text about tool-enabled agent risks\" width=\"929\" height=\"505\" data-media-id=\"9218\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_4.png 929w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_4-300x163.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_4-768x417.png 768w\" sizes=\"auto, (max-width: 929px) 100vw, 929px\" \/><\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9219\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_5.png\" alt=\"OpenAI onboarding terminal setup with Moonshot API key prompt and existing config detected\" width=\"922\" height=\"502\" data-media-id=\"9219\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_5.png 922w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_5-300x163.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-54_5-768x418.png 768w\" sizes=\"auto, (max-width: 922px) 100vw, 922px\" \/><\/p><h3><b>Step 4 &ndash; Exit and restart the container<\/b><\/h3><p><span style=\"font-weight: 400\">Exit the container:<\/span><\/p><pre><span style=\"font-weight: 400\">exit<\/span><\/pre><p><span style=\"font-weight: 400\">Restart the container to apply changes:<\/span><\/p><pre><span style=\"font-weight: 400\">docker restart openclaw-XXXX-openclaw-1<\/span><\/pre><h3><b>Step 5 &ndash; Select the model in OpenClaw<\/b><\/h3><ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Open the OpenClaw dashboard.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Go to <\/span><b>Agents<\/b><span style=\"font-weight: 400\"> in the left sidebar.<br>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9220\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-55.png\" alt=\"OpenClaw Agents page with the Agents menu item highlighted in the left sidebar\" width=\"933\" height=\"438\" data-media-id=\"9220\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-55.png 933w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-55-300x141.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-55-768x361.png 768w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><br>\n<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select your agent (for example, <\/span><b>main<\/b><span style=\"font-weight: 400\">).<br>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9221\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-55_1.png\" alt=\"Agent dropdown showing main (default) selected and open in a dark dashboard\" width=\"924\" height=\"242\" data-media-id=\"9221\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-55_1.png 924w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-55_1-300x79.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/2026-03-27_18-55_1-768x201.png 768w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><br>\n<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">In the <\/span><b>Overview<\/b><span style=\"font-weight: 400\"> tab, find <\/span><b>Model Selection<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click the <\/span><b>Primary model (default)<\/b><span style=\"font-weight: 400\"> dropdown and select your Kimi model.<\/span><\/li>\n<\/ol><p><span style=\"font-weight: 400\">You have successfully added a custom provider to OpenClaw. Your new models are now available for use with your agents.<\/span><\/p><h2 id=\"h-adding-other-providers\"><b>Adding other providers<\/b><\/h2><p><span style=\"font-weight: 400\">OpenClaw supports additional providers such as Ollama, OpenAI, Anthropic, Google Gemini, and more. Each provider has its own onboard command and configuration options. For the full list of supported providers and their setup instructions, refer to the <a href=\"https:\/\/docs.openclaw.ai\/providers\" target=\"_blank\" rel=\"noopener\">OpenClaw providers documentation<\/a><\/span><span style=\"font-weight: 400\">.<\/span><\/p><h2 id=\"h-additional-resources\"><b>Additional Resources<\/b><\/h2><ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><a href=\"https:\/\/docs.openclaw.ai\/providers\" target=\"_blank\" rel=\"noopener\">OpenClaw providers documentation<\/a>.&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><a href=\"https:\/\/openrouter.ai\/docs\/api\/reference\/authentication\" target=\"_blank\" rel=\"noopener\">OpenRouter <\/a><a href=\"https:\/\/openrouter.ai\/docs\/api\/reference\/authentication\" target=\"_blank\" rel=\"noopener\">documentation<\/a><a href=\"https:\/\/openrouter.ai\/docs\/api\/reference\/authentication\" target=\"_blank\" rel=\"noopener\">:&nbsp;API authentication<\/a>.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><a href=\"https:\/\/platform.moonshot.ai\/docs\/guide\/use-kimi-in-openclaw#step1-create-kimi-platform-api-key\" target=\"_blank\" rel=\"noopener\">Kimi platform setup guide<\/a>.<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>OpenClaw supports custom AI providers beyond the default options. This article explains how to add OpenRouter and Kimi (Moonshot) models to your OpenClaw installation on&#8230;<\/p>\n","protected":false},"author":594,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[309,297],"tags":[],"class_list":["post-9211","post","type-post","status-publish","format-standard","hentry","category-openclaw-vps","category-docker-manager"],"hreflangs":[],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/9211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/594"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=9211"}],"version-history":[{"count":4,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/9211\/revisions"}],"predecessor-version":[{"id":9235,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/9211\/revisions\/9235"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=9211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=9211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=9211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}