{"id":8843,"date":"2026-03-19T15:01:24","date_gmt":"2026-03-19T15:01:24","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=8843"},"modified":"2026-03-25T10:10:00","modified_gmt":"2026-03-25T10:10:00","slug":"how-to-disable-nexos-ai-credits","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-disable-nexos-ai-credits\/","title":{"rendered":"How to change the AI provider for Docker projects on Hostinger VPS"},"content":{"rendered":"<p data-path-to-node=\"5\">If you want to switch from nexos.ai to a different provider or check if your <b data-path-to-node=\"5\" data-index-in-node=\"77\">OpenClaw<\/b> setup (or any other project using AI) is correctly configured, you can manage your settings directly through <b data-path-to-node=\"5\" data-index-in-node=\"195\">hPanel<\/b>.<\/p><p data-path-to-node=\"6\">Instead of using terminal commands or editing configuration files via SSH, the most efficient way to manage these settings is through the <b data-path-to-node=\"6\" data-index-in-node=\"138\">Docker Manager<\/b> environment variables. This ensures that your API keys are correctly injected into the container environment and persist across updates.<\/p><h1 id=\"h-before-you-start\">Before you start<\/h1><ul>\n<li>Ensure you have a running OpenClaw container (or any other AI-based Docker application) in your Docker Manager.<\/li>\n<li>Obtain a valid API key from your chosen provider (e.g., OpenAI, Anthropic, or xAI).<\/li>\n<\/ul><h1 id=\"h-step-2-configure-environment-variables-1\">Step 1 &ndash; Remove the nexos.ai configuration<\/h1><p>To disable nexos.ai credits, remove the existing API key:<\/p><ol>\n<li>Go to&nbsp;<strong>hPanel<\/strong>&nbsp;&rarr;&nbsp;<strong>VPS<\/strong> &rarr; <strong>Manage<\/strong> &rarr; <strong>Docker Manager &rarr; Projects<\/strong><\/li>\n<li>Locate your OpenClaw or AI container and click <strong>Manage<\/strong>.<\/li>\n<li>Navigate to the&nbsp;<strong>Environment variables<\/strong>&nbsp;(<code>.env<\/code>) section and click to expand it.<\/li>\n<li>Find the <code>NEXOS_API_KEY<\/code> variable and click the <strong>bin icon<\/strong> to remove it.<br>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9068\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/hostinger-docker-manager-remove-nexosai.png\" alt=\"\" width=\"701\" height=\"533\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/hostinger-docker-manager-remove-nexosai.png 1020w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/hostinger-docker-manager-remove-nexosai-300x228.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/hostinger-docker-manager-remove-nexosai-768x584.png 768w\" sizes=\"auto, (max-width: 701px) 100vw, 701px\" \/><\/li>\n<li>Click&nbsp;<strong>Save and deploy<\/strong>.<\/li>\n<\/ol><h2 id=\"h-step-2-configure-a-new-ai-provider\">Step 2 &ndash; Configure a new AI provider<\/h2><p>To add a new provider like OpenAI, Anthropic, or xAI, follow these steps:<\/p><ol>\n<li>In the same Environment variables section, click <strong>+ Environment<\/strong> to create a new variable.<\/li>\n<li>Enter the variable name required by your specific model:\n<ol>\n<li><code>ANTHROPIC_API_KEY<\/code> for Anthropic<\/li>\n<li><code><\/code><code>OPENAI_API_KEY<\/code> for OpenAI<\/li>\n<li><code>XAI_API_KEY<\/code> for xAI.<\/li>\n<\/ol>\n<\/li>\n<li>Paste your corresponding API key into the <strong>Value<\/strong> field.<\/li>\n<li>Click <strong>Save and deploy <\/strong>to apply the changes.<\/li>\n<\/ol><p>&nbsp;<\/p><p><span data-path-to-node=\"12,1\"><span class=\"citation-21\">After the container finishes re-deploying, your application will stop using nexos.ai credits and begin using your newly configured AI provider. <\/span><\/span><span data-path-to-node=\"12,4\"><span class=\"citation-20\">This ensures your setup remains flexible and updated with your preferred AI models without needing manual terminal commands.<\/span><\/span><\/p><p data-path-to-node=\"18\"><b data-path-to-node=\"18\" data-index-in-node=\"0\">NOTE<\/b><\/p><ul data-path-to-node=\"19\">\n<li>\n<p data-path-to-node=\"19,0,0\">Do not edit the <code>.env<\/code> file directly via SSH, as changes made outside of the <b data-path-to-node=\"19,0,0\" data-index-in-node=\"75\">Docker Manager<\/b> may be overwritten during the next deployment.<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Switch AI models like OpenAI, Anthropic, or xAI for OpenClaw or other AI-powered applications using the Hostinger VPS Docker Manager<\/p>\n","protected":false},"author":568,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[161,297],"tags":[],"class_list":["post-8843","post","type-post","status-publish","format-standard","hentry","category-vps","category-docker-manager"],"hreflangs":[],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/8843","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\/568"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=8843"}],"version-history":[{"count":6,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/8843\/revisions"}],"predecessor-version":[{"id":9069,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/8843\/revisions\/9069"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=8843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=8843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=8843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}