Pick the cheapest capable model per task for CRM and email work
A user had their OpenClaw agent rewrite its own code to add a throttle module that picks the cheapest capable model for tasks like CRM analysis and drafting outbound emails.
Done withOpenClaw
- What they did
- Koka Sexton runs OpenClaw as a routing layer over OpenAI, Claude and Gemini. He had the agent rewrite its own code to add a manual-throttle module. The agent then picks the cheapest capable model for each job, such as a 30-row CRM analysis versus writing 20 outbound emails, and switches when he tells it to.
- How it went
- The agent now matches model cost to task complexity and acts as a chief of staff, handling follow-ups and drafts. The source gives no cost savings figures.
- Worth knowing
- The throttle is manual: the agent switches models when he tells it to. It sends external messages only after his explicit approval.
Try it yourself with OpenClaw
Add a model-routing module to yourself that picks the cheapest capable model for each task type, such as [task types, e.g. CRM analysis, drafting outbound emails, summarizing]. Use these models and prices: [list of models and costs]. Show me the code changes and a test run with sample tasks before applying them, and finish by logging which model handled each task and the estimated cost.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: substack.com · Undated
Related use cases
Manage 18 agents from a Notion workspace
Notion used as the control plane for a fleet of 18 OpenClaw agents.
Monitor and respond to home office sensors
Omar Shahine ran a local OpenClaw agent on his MacBook, extended with home automation so it could observe and respond to physical sensors in his home office.
Run a custom Telegram bot for to-dos, calendar and weather
After dropping OpenClaw over security and self-configuration crashes, the author wrote their own Telegram bot with a few manually enabled capabilities: TODO list, calendar and weather.
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Automate follow-ups and inventory tracking for a food distributor
Built agents for a wholesale food distributor that ran on Excel, calls and email, including inventory tracking and a copywriter agent for outreach emails.
Custom agent
Investigate and unblock stuck task cards
Hermes monitors blocked cards, investigates causes, tries to resolve them and reports in Discord; another user had it fix failed Home Assistant logins after a move.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.