🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Free Models for OpenClaw and other Agents

by @qidu

Discover and select free or low-cost AI models from OpenRouter optimized for agents with filtering by price, context, provider, and capabilities.

Versionv1.0.0
πŸ’‘ Examples

Find free models

import { discoverFreeModels } from './scripts/free-models.js';

const models = await discoverFreeModels(); // Returns models with $0.00 or very low pricing

Filter by criteria

import { filterModels } from './scripts/free-models.js';

// High context + low price (best for tool calling) const models = await filterModels({ minContext: 200000, // 200k+ tokens maxPromptPrice: 0.00001 // Under $0.00001/1M tokens });

// Specific provider only const openaiModels = await filterModels({ author: 'openai', minContext: 100000 });

// Name contains filter const flashModels = await filterModels({ author: 'google', nameContains: 'flash' });

// All filters combined const cheapGoogle = await filterModels({ author: 'google', minContext: 500000, maxPromptPrice: 0.000001 });

Get best free model for agent

import { getBestFreeModel } from './scripts/free-models.js';

// Best overall (highest context) const bestModel = await getBestFreeModel();

// Best for reasoning tasks const reasoningModel = await getBestFreeModel({ needReasoning: true, });

// Best for tool calling (high context is key) const toolModel = await getBestFreeModel({ preferReasoning: true, maxPrice: 0.00001 });

// Best for vision tasks const visionModel = await getBestFreeModel({ needVision: true, });

View on ClawHub
TERMINAL
clawhub install free-models

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’