
OpenClaw can respond to a Telegram voice message with spoken audio and delegate research to separate subagents. The free, open-source assistant connects to AI models through APIs, retains information between conversations and can take actions or send updates without a prompt. A walkthrough by Metics Media shows how a beginner can set up those capabilities while keeping an eye on permissions and model costs. Discover why the hosting, memory and routing choices matter before connecting your accounts.
Put the Assistant on an Isolated VPS
TL;DR Key Takeaways :
- Telegram can handle voice messages and spoken replies after transcription and text-to-speech are configured.
- Editable workspace files and memory settings help preserve instructions and context.
- Spending limits and model routing can keep token-heavy tasks under control.
- Parallel research required a search API and produced a report that was harder to read in Telegram.
- Inspect skill permissions and keep a way to stop or restore the deployment.
A VPS is a practical starting point because it stays online, is isolated from your personal computer and can be reset if a configuration goes wrong. Hosting can cost $5 to $12 per month, depending on the plan and term. Running OpenClaw on a personal computer is free, but it stops when the laptop closes and may give the agent access to personal files, passwords and browser history. Dedicated hardware such as a Mac mini offers isolation but may cost $500 or more upfront and needs attention to port forwarding, power and internet reliability.
Hostinger’s one-click OpenClaw template deploys without terminal or Docker knowledge and includes a randomized gateway port and preconfigured authentication. The walkthrough connects Anthropic Claude, although OpenAI, Gemini and free options are also available. The configuration page may change over time, but the setup follows this sequence:
- Choose a VPS plan and click Deploy. KVM1 is sufficient for API calls and a few automations; KVM2 has 2 CPU cores and 100 GB of disk space, while KVM4 is suggested for a local Ollama model that needs more RAM.
- Choose a registration period and turn off the preselected ready-to-use AI option to connect a model separately. Consider daily automatic backups: the demonstrated option costs $3 a month and can help undo damage if OpenClaw changes its environment.
- Choose a low-latency server location, click Continue, register with Google, GitHub or email, and enter your billing information.
- Use the eye icon to reveal the gateway token, then copy it to a password manager. Anyone with the token can access the dashboard and everything the bot can do, so do not post it in chat, screenshot it or leave it in an unsecured text file.
- Open the link under the relevant API-key field and complete provider onboarding. In Anthropic’s dashboard, click Buy Credits and add at least $5; starting with $40 moves the account from tier 1, with 30,000 input tokens per minute, to tier 2, with 450,000, reducing the chance of token-heavy setup stopping without an error.
- Before creating the key, open Manage, then Limits, and set a monthly limit under Spend Limits; the example uses $100. Consider leaving auto-reload disabled so the bot stops when credits run out rather than producing a surprise bill.
- Open API Keys, click Create Key, name it and click Add. Save the key securely when it appears, because it is shown only once and anyone with it can use the API; paste it into the matching Hostinger field and click Deploy.
- In Hostinger, open VPS and click Manage for the Docker instance, skipping the survey if it appears. Copy the gateway token, click OpenClaw, paste the token into the login page and click Login.
- Type hello in the gateway chat and answer the first-run questions about the bot’s name, personality, time zone and your work. Specific answers help establish its identity and your profile.
Set Approval Rules Before Connecting Accounts
The demonstrated dashboard uses HTTP rather than HTTPS and displays a Not Secure warning. Avoid opening it on public Wi-Fi; a VPN can add protection, while a reverse proxy and Tailscale are recommended for a production setup. If the bot goes blank or stops responding, check the model provider’s dashboard for exhausted credits or a rate limit first.
OpenClaw can run terminal commands, access files, send messages and browse the web. Tell it to draft messages for approval and ask before deleting files or making network requests. Also limit it to three failed attempts and a 10-minute runtime per task unless instructed otherwise, reducing the risk of retry loops consuming API credit. One person reported that hidden text on a fetched page tried to trick their bot into executing instructions, although the bot identified the request as suspicious.
For another security pass, paste the URL of OpenClaw’s security documentation into chat and ask the bot to implement and verify its recommendations. Leave allowInsecureAuth set to true for the demonstrated browser dashboard. The bot ran an audit and made changes, then briefly disconnected while the gateway restarted.
Pair Telegram and Enable Voice Replies
Telegram is presented as the easiest bot setup, although OpenClaw supports 15-plus messaging platforms, including WhatsApp, Discord and Slack. Ask OpenClaw to set up Telegram and approve the network request if prompted. The bot supplies instructions for creating and pairing a Telegram bot, and you can ask it for instructions for other platforms.
In Telegram, find BotFather, press Start and choose the new bot command. Give the bot a display name and a unique username ending in bot, then copy the supplied API token into OpenClaw chat and keep it private like a password. Open the new bot’s Telegram link, press Start and copy the access-not-configured message and pairing code into OpenClaw chat. This adds your Telegram user ID to an allowlist, so unapproved contacts are ignored.
Send the paired bot a message to test it. To inspect the conversation in the gateway, refresh and choose the Telegram session from the main-session dropdown. Start with questions and small tasks before connecting sensitive accounts or adding many automations.
For voice input, ask the bot to enable audio transcription and restart the gateway. OpenAI Whisper successfully transcribed a Telegram voice message in the walkthrough, with ffmpeg also suggested as an alternative. For spoken replies, ask it to set up Edge TTS and restart again. Edge TTS is described as free, runs in Docker and supports more than 300 voices in 74 languages; the bot’s audio reply even spoke a crown emoji.
Keep Memory and Schedule Useful Checks
OpenClaw stores its workspace in readable, editable Markdown files rather than a proprietary database. The core files load each session: agents.md contains behavioral rules, soul.md defines personality, and user.md holds details such as your name, time zone, work context and preferences. Ask the bot to show a file or edit it, for example to add an email-approval rule to agents.md. Give specific personality instructions rather than simply asking it to be helpful, and consider a rule against revealing workspace files or API keys.
Ask the bot to enable compaction memory flush and session memory. The flush saves important details to disk before a long conversation is compressed at its context limit, while session memory carries context between conversations. Long-term facts can also be stored alongside a daily interaction log. A simple preference change can take one message, while an interview that updates user.md can use more tokens.
For work at a fixed time, ask for a cron job. One example requests a daily 7 a.m. Telegram briefing with Paris weather, the day’s Google Calendar, urgent Gmail and priorities, then approves a test run. For ongoing monitoring instead, ask the bot to enable heartbeat.md and check upcoming calendar events and new email, alerting you only when attention is needed.
A heartbeat runs at intervals rather than a specified time and loads the full context window on each check. The demonstrated interval is every 30 minutes, or about 50 API calls a day, so too many tasks or an expensive model can consume substantial tokens. Use fixed-time cron jobs for briefings, reviews and reminders, and reserve heartbeat checks for ongoing monitoring.
Route Tasks to Manage Model Costs
Model API costs depend on usage and the model you choose. Estimates are $5 to $20 per month for budget LLMs, $30 to $80 for mid-tier models and $100 to $300 or more for flagship models. Even a simple question can load 50,000 to 100,000 tokens of workspace and identity files, memory, tools and conversation history before reasoning starts. A single operation-heavy Opus prompt can cost $2 to $6.
Use a stronger model for complex reasoning and a cheaper one for routine execution. The suggested hierarchy places Claude Opus and GPT-5.2 Pro at the top, Claude Sonnet and GPT-5.2 in the middle, and Claude Haiku and GPT-5.2 Mini among the cheaper choices; Haiku is described as 25 times cheaper than Opus. Routing could save an estimated 40 to 60% compared with expensive-model usage. Using only a top-tier model is estimated at $60 to $200 per month for light use and $200 to $500 for heavy use.
One set of routing rules uses Claude Sonnet by default with GPT-5.2 as fallback, Opus for coding and complex planning with GPT-5.1 Codex as the coding fallback, and Haiku for routine work with GPT-5 Mini and then GPT-4.1 as fallbacks. Ask the bot to save the rules, delegate execution to cheaper subagents and identify the model used for each task. Remove fallback models that are not set up, then use /restart in Telegram and send hello when the gateway returns. Use /model to inspect the current model or select another; the demonstrated default was Claude Sonnet 4.5.
To add a provider without posting its API key in chat, open Hostinger’s Docker Manager, open Projects and manage the OpenClaw project. Under Environment, add the provider’s key name and value, then click Save and Deploy to restart the container. Ask the bot whether it can use the new key. If errors persist, inspect the detailed gateway chat output or Settings, then Logs; after one restart stalled, a manual VPS reboot and a fresh Telegram session using /new restored the bot.
A free final fallback can report an outage, rate limit or exhausted credits instead of leaving the bot silent. Kimi K2.5 through Nvidia is a free but slower option: obtain its key, add it to Docker environment variables and instruct the bot to use it last. Local models through Ollama have $0 in model API fees, but require more computing power, such as a larger VPS or a capable local CPU and GPU. Choose a model that supports tool use and fits the machine, and ask OpenClaw to evaluate the system; the VPS used in the walkthrough was too small for a local model.
Delegate Research to Subagents
Subagents can work on separate tasks at the same time or pass work through a sequence. A research request asked for parallel investigations of n8n, Zapier and Make.com, covering what each does, pricing and a major limitation, followed by a comparison table. The bot launched three research subagents and compiled their work into a report. Their individual sessions were visible in the gateway, although the final Telegram formatting was not especially readable.
The research first stalled because web search was not enabled. The setup used Brave Search API: create an account, add a payment method, subscribe to Search and generate an API key. Brave says the demonstrated plan provides $5 in free credits per month; set a $5 monthly usage limit to try to keep charges within that allowance. Add the key to the OpenClaw project’s environment in Hostinger, save and deploy, then tell the bot the key is available and ask it to resume.
Inspect Skills and Prepare for Recovery
Skills are plugins that add capabilities such as Gmail access, calendar checks and web searches. ClawHub is the official marketplace, with search, browsing and an option to hide suspicious skills; in Telegram, /clawhub can search for, install or publish one. Researchers reported more than 300 malicious skills there and found at least one security concern in nearly half the skills reviewed. The report also cautioned that a high download count does not establish that a skill is safe.
Before installing a skill, inspect its VirusTotal security scan, ask the bot to check its code and consider whether its permissions make sense. Network access for a note-taking skill is one red flag. The GOG skill connects Google services, but its Google Cloud API and OAuth setup takes about 10 to 15 minutes and is only needed once. Begin with Telegram and perhaps a skill or two rather than immediately connecting primary email, banking or financial services, or a password manager.
Keep a way to stop or undo changes as you expand the setup. If the bot performs an unwanted action, tell it to stop all processes; if that fails, use Stop in the OpenClaw project’s three-dot menu in Hostinger Docker Manager. If necessary, revoke the relevant model API key in the provider’s dashboard to remove its access to that API. Before a potentially breaking change, use Create Snapshot in Hostinger; automatic backups can be restored through Backups and Monitoring, then Snapshots and Backups.
What concerns us most is the combination of broad permissions and token-heavy requests: an assistant that can send messages or change files also needs clear approval rules and a spending limit. Telegram, a small task and a cheap default model are a sensible place to learn its behavior before connecting more sensitive services. The subagent research shows why delegation is useful, but its search setup and less readable Telegram output are reasons to check both the costs and the finished work. Keep the stop and restore options available as the setup grows.
OpenClaw suits beginners willing to configure an assistant gradually and watch its permissions and API usage. Start with questions, let it learn your preferences and add integrations only when you are comfortable with the setup. For maintenance, ask the Telegram bot to check for updates, approve an available update and restart when prompted, or use Update in the project’s Docker Manager menu.
- OpenClaw Beginner Setup Guide with Safer Cloud & Firewall Steps
- Claude Code Loop vs OpenClaw: What Persists and What Resets
- How Peter Steinberger Built OpenClaw and Sustains Its Community
- OpenClaw 3.8 Adds Telegram Topic Routing and Backups
Media Credit: Metics Media
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.