{"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-10-08T08:16:53","modified_gmt":"2026-10-08T08:16:53","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\">To add custom provider models in OpenClaw on a <a href=\"https:\/\/www.hostinger.com\/vps-hosting\">Hostinger VPS<\/a>, run the openclaw onboard command inside your OpenClaw container, restart the container, and select the new model for your agent in the OpenClaw dashboard. This guide covers OpenRouter and Kimi (Moonshot) models, which OpenClaw supports alongside its default providers.<\/span><\/p><p><b>NOTES<\/b><\/p><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\"><a href=\"https:\/\/www.hostinger.com\/support\/how-to-get-started-with-openclaw-on-hostinger-vps\/\">OpenClaw must already be installed<\/a> on your VPS.<\/span><\/li>\n<\/ul><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>Web Console<\/b><span style=\"font-weight: 400\"> in Hostinger dashboard.<\/span><\/p><p><img decoding=\"async\" class=\"alignnone wp-image-17105 size-large\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-27_13-12-1024x480.png\" alt=\"\" width=\"1024\" height=\"480\" data-media-id=\"9213\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-27_13-12-1024x480.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-27_13-12-300x141.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-27_13-12-768x360.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-27_13-12-1536x721.png 1536w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-27_13-12-2048x961.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/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 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=\"(max-width: 931px) 100vw, 931px\" \/><\/p><p><img 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=\"(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 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=\"(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>Web Console<\/b><span style=\"font-weight: 400\"> in Hostinger dashboard.<\/span><\/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 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=\"(max-width: 929px) 100vw, 929px\" \/><\/p><p><img 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=\"(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 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=\"(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 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=\"(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><p><b>Additional resources<\/b><\/p><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>To add custom provider models in OpenClaw on a Hostinger VPS, run the openclaw onboard command inside your OpenClaw container, restart the container, and select&#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":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/how-to-add-custom-provider-models-in-openclaw-on-hostinger-vps","default":1}],"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":9,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/9211\/revisions"}],"predecessor-version":[{"id":19960,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/9211\/revisions\/19960"}],"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}]}}