|
5 | 5 | [](http://makeapullrequest.com) |
6 | 6 | [](https://github.com/mergisi/awesome-openclaw-agents) |
7 | 7 | [](agents/) |
| 8 | +[](https://ollama.com) |
8 | 9 |
|
9 | 10 | > A curated collection of **187 production-ready AI agent templates** for the OpenClaw ecosystem. Every template is a copy-paste ready `SOUL.md` file. |
10 | 11 |
|
@@ -48,6 +49,7 @@ Pick a template. Customize the config. Get a full deploy package. No terminal re |
48 | 49 | - [Tools](#tools) |
49 | 50 | - [Security](#security) |
50 | 51 | - [Tutorials & Guides](#tutorials--guides) |
| 52 | +- [Cost Optimization & Multi-Provider](#-cost-optimization--multi-provider) |
51 | 53 | - [Submit Your Agent](#submit-your-agent) |
52 | 54 | - [Community](#community) |
53 | 55 |
|
@@ -649,6 +651,58 @@ Learn how to build and deploy agents. |
649 | 651 |
|
650 | 652 | --- |
651 | 653 |
|
| 654 | +## 💰 Cost Optimization & Multi-Provider |
| 655 | + |
| 656 | +After Anthropic's April 2026 pricing change, OpenClaw usage on third-party harnesses requires separate pay-as-you-go billing. Here are free and low-cost alternatives: |
| 657 | + |
| 658 | +### One-Command Ollama Setup |
| 659 | + |
| 660 | +```bash |
| 661 | +ollama launch openclaw --model gemma4 |
| 662 | +``` |
| 663 | + |
| 664 | +This installs OpenClaw, pulls the model, and starts the gateway. Pick your model: |
| 665 | + |
| 666 | +| Model | Size | Best For | |
| 667 | +|-------|------|----------| |
| 668 | +| `gemma4:e2b` | 7.2 GB | Edge devices, minimal RAM | |
| 669 | +| `gemma4:e4b` | 9.6 GB | Laptops, fast inference | |
| 670 | +| `gemma4:latest` | 9.6 GB | All-rounder, 128K context | |
| 671 | +| `gemma4:26b` | 18 GB | Strong reasoning (MoE) | |
| 672 | +| `gemma4:31b` | 20 GB | Maximum performance | |
| 673 | +| `qwen3` | 20 GB | Best local tool calling | |
| 674 | +| `deepseek-v3` | API | $0.27/M tokens | |
| 675 | + |
| 676 | +### Ollama-Ready Configs |
| 677 | + |
| 678 | +Every agent in this repo works with Ollama models. Set your model in SOUL.md: |
| 679 | + |
| 680 | +```yaml |
| 681 | +Model: ollama/gemma4 |
| 682 | +``` |
| 683 | +
|
| 684 | +Or switch globally: |
| 685 | +
|
| 686 | +```bash |
| 687 | +openclaw models set ollama/gemma4:e4b |
| 688 | +openclaw gateway restart |
| 689 | +``` |
| 690 | + |
| 691 | +### Cost Comparison |
| 692 | + |
| 693 | +| Provider | Input Cost | Output Cost | Monthly (moderate) | |
| 694 | +|----------|-----------|-------------|-------------------| |
| 695 | +| Claude Sonnet (API) | $3.00/M | $15.00/M | ~$45-90 | |
| 696 | +| Claude Haiku (API) | $0.80/M | $4.00/M | ~$12-25 | |
| 697 | +| GPT-4o Mini | $0.15/M | $0.60/M | ~$5-10 | |
| 698 | +| DeepSeek V3 | $0.27/M | $1.10/M | ~$4-8 | |
| 699 | +| Ollama Cloud | Subscription | Subscription | ~$10-20 | |
| 700 | +| Ollama Local | Free | Free | $0 | |
| 701 | + |
| 702 | +> 📖 **Guides:** [Multi-Provider Strategy](https://crewclaw.com/blog/anthropic-openclaw-multi-provider-agents) · [Reduce Token Usage](https://crewclaw.com/blog/reduce-openclaw-token-usage) · [API Pricing Explained](https://crewclaw.com/blog/openclaw-api-pricing-2026) · [Ollama Cloud Switch](https://crewclaw.com/blog/ollama-cloud-openclaw-switch) |
| 703 | +
|
| 704 | +--- |
| 705 | + |
652 | 706 | ## Submit Your Agent |
653 | 707 |
|
654 | 708 | Built a custom agent? Get it listed here and on [crewclaw.com/agents](https://crewclaw.com/agents?utm_source=github&utm_medium=readme&utm_campaign=submit). |
|
0 commit comments