Which free or cheap model can your AI agent run on?
An agent does not just chat. It calls tools, so the model has to support tool calls, and it re-reads a long context on every step. This table lists 100 models that accept tool calls, 10 of them free, with list prices, context windows and an estimated cost for one day of agent work.
Two dated lists feed it: 56 models from Hivra's managed inference list and 44 from OpenRouter. Filter to free only, to private models, to a minimum context, to reasoning models or to image input. Sort by input price, output price, context or estimated cost per agent-day. The "Where" column says which list a row came from.
We do not call any model the best one. Nothing here measures how well a model plans, recovers from a failed tool call or follows instructions, and those are the things that decide whether an agent works. The sorts use numbers we can state: a price, a context size and a token assumption. The method below says how to choose from there.
Needs
Stays in this page. It is not added to the link.
Our assumption, not a measurement: 40 messages a day, about 40,000 tokens each, about 1.6 million tokens an agent-day, or 48 million over 30 days. We price 85% as input and 15% as output at list price, with no caching.
100 of 100 models match. Lowest estimated cost among the paid ones: OpenAI: gpt-oss-20b, about $0.072 a day. 10 free.
Sorted by estimated cost per agent-day, low to high. Prices are USD per million tokens at list price.
Where
Tags
Thinking Machines: Inkling 2 Small
OpenRouter
Free
Free
1.05M
Free
FreeReasoningImage input
Baidu: ERNIE-5.5-Flash-Preview
OpenRouter
Free
Free
1.02M
Free
FreeReasoning
NVIDIA: Nemotron 3 Ultra
OpenRouter
Free
Free
1M
Free
FreeReasoning
NVIDIA: Nemotron 3.5 Lightning
OpenRouter
Free
Free
1M
Free
FreeReasoning
NVIDIA: Nemotron 3.5 Super VL
OpenRouter
Free
Free
1M
Free
FreeReasoningImage input
Google: Gemma 4 26B A4B
OpenRouter
Free
Free
262K
Free
FreeReasoningImage input
Google: Gemma 4 31B
OpenRouter
Free
Free
262K
Free
FreeReasoningImage input
Recursive: Flint
OpenRouter
Free
Free
262K
Free
FreeReasoning
Cohere: North Mini Code
OpenRouter
Free
Free
256K
Free
FreeReasoning
NVIDIA: Nemotron 3 Nano Omni
OpenRouter
Free
Free
256K
Free
FreeReasoningImage input
OpenAI: gpt-oss-20b
OpenRouter
$0.03
$0.13
131K
$0.072
Reasoning
Z.ai: GLM 5.3 Flash
OpenRouter
$0.04
$0.08
1.05M
$0.074
ReasoningImage input
DeepSeek: DeepSeek V4 Flash 0423
OpenRouter
$0.09
$0.18
1.05M
$0.166
Reasoning
OpenAI GPT OSS 120B
Hivra managed inference
$0.07
$0.30
128K
$0.167
PrivateReasoning
NVIDIA Nemotron 3 Nano 30B (Beta)
Hivra managed inference
$0.075
$0.30
128K
$0.174
Private
MiniMax: MiniMax M3.1 Flash
OpenRouter
$0.08
$0.30
1.05M
$0.181
ReasoningImage input
Mistral Small 3.2 24B Instruct
Hivra managed inference
$0.094
$0.25
256K
$0.188
PrivateImage input
GLM 4.7 Flash Heretic (Uncensored)
Hivra managed inference
$0.07
$0.40
200K
$0.191
PrivateReasoning
NVIDIA: Nemotron 3 Super
OpenRouter
$0.08
$0.40
262K
$0.205
Reasoning
StepFun: Step 3.5 Flash
OpenRouter
$0.10
$0.30
262K
$0.208
Reasoning
Google Gemma 3 27B Instruct
Hivra managed inference
$0.12
$0.20
198K
$0.211
PrivateImage input
Google Gemma 4 31B Instruct
Hivra managed inference
$0.12
$0.36
256K
$0.25
PrivateReasoningImage input
DeepSeek V4 Flash
Hivra managed inference
$0.138
$0.275
1M
$0.254
PrivateReasoning
OpenAI: GPT-6 Luna
OpenRouter
$0.10
$0.50
1.05M
$0.256
ReasoningImage input
Anthropic: Claude Haiku 5.5
OpenRouter
$0.10
$0.50
1M
$0.256
ReasoningImage input
Xiaomi: MiMo-V2.6-Flash
OpenRouter
$0.14
$0.28
1.05M
$0.258
ReasoningImage input
Google Gemma 4 26B A4B Instruct
Hivra managed inference
$0.13
$0.40
256K
$0.273
PrivateReasoningImage input
Qwen: Qwen3.8 Flash
OpenRouter
$0.15
$0.47
1M
$0.317
ReasoningImage input
Gemma 4 Uncensored
Hivra managed inference
$0.163
$0.50
256K
$0.341
PrivateImage input
Mistral: Mistral Small 4
OpenRouter
$0.15
$0.60
262K
$0.348
ReasoningImage input
OpenAI: gpt-oss-120b
OpenRouter
$0.15
$0.60
131K
$0.348
Reasoning
GPT-4o Mini
Hivra managed inference
$0.15
$0.60
128K
$0.348
Image input
Llama 3.2 3B
Hivra managed inference
$0.15
$0.60
128K
$0.348
Private
Qwen: Qwen3 Coder Next
OpenRouter
$0.12
$0.80
262K
$0.355
Google: Gemma 4 31B
OpenRouter
$0.20
$0.40
262K
$0.368
ReasoningImage input
Qwen 3 235B A22B Instruct 2507
Hivra managed inference
$0.15
$0.75
128K
$0.384
Private
Z.ai: GLM 5.3
OpenRouter
$0.07
$1.40
1.05M
$0.431
Reasoning
Qwen 3.5 35B A3B (Beta)
Hivra managed inference
$0.15
$1.00
256K
$0.444
PrivateReasoningImage input
Venice Uncensored 1.2
Hivra managed inference
$0.20
$0.90
128K
$0.488
PrivateImage input
Qwen 3 VL 30B A3B (Beta E2EE)
Hivra managed inference
$0.25
$0.90
128K
$0.556
PrivateImage input
DeepSeek V3.2
Hivra managed inference
$0.33
$0.48
160K
$0.564
PrivateReasoning
MiniMax M2.5
Hivra managed inference
$0.27
$0.95
198K
$0.595
PrivateReasoning
Qwen: Qwen3.8 27B
OpenRouter
$0.15
$1.88
1.05M
$0.655
ReasoningImage input
MiniMax: MiniMax M3
OpenRouter
$0.30
$1.20
1.05M
$0.696
ReasoningImage input
DeepSeek V4.1 Flash
Hivra managed inference
$0.30
$1.20
1M
$0.696
PrivateReasoningImage input
Meta: Llama 4 Maverick
OpenRouter
$0.35
$1.00
524K
$0.716
Image input
Qwen 3 VL 235B (Vision)
Hivra managed inference
$0.21
$1.90
128K
$0.742
PrivateImage input
Qwen: Qwen3.7 Plus
OpenRouter
$0.32
$1.28
1M
$0.742
ReasoningImage input
Xiaomi: MiMo-V2.6-Pro
OpenRouter
$0.44
$0.87
1.05M
$0.807
ReasoningImage input
Qwen 3 Coder 480B Turbo
Hivra managed inference
$0.35
$1.50
256K
$0.836
Private
MiniMax M2.7
Hivra managed inference
$0.375
$1.50
198K
$0.87
PrivateReasoning
Tencent: Hy4
OpenRouter
$0.42
$1.25
1.05M
$0.871
ReasoningImage input
Qwen 3 Next 80B
Hivra managed inference
$0.35
$1.90
256K
$0.932
Private
GLM 4.6
Hivra managed inference
$0.43
$1.75
198K
$1.00
PrivateReasoning
Mistral: Devstral 2 2512
OpenRouter
$0.40
$2.00
262K
$1.02
Venice Role Play Uncensored
Hivra managed inference
$0.50
$2.00
128K
$1.16
PrivateImage input
Qwen 3.6 27B
Hivra managed inference
$0.325
$3.25
256K
$1.22
PrivateReasoningImage input
GLM 4.7
Hivra managed inference
$0.55
$2.65
198K
$1.38
PrivateReasoning
NVIDIA: Nemotron 3 Ultra
OpenRouter
$0.60
$2.40
262K
$1.39
Reasoning
Qwen 3 235B A22B Thinking 2507
Hivra managed inference
$0.45
$3.50
128K
$1.45
PrivateReasoning
Mistral: Mistral Large 4
OpenRouter
$0.70
$2.10
1.05M
$1.46
ReasoningImage input
Kimi K2.5
Hivra managed inference
$0.56
$3.50
256K
$1.60
PrivateReasoningImage input
Llama 3.3 70B
Hivra managed inference
$0.70
$2.80
128K
$1.62
Private
DeepSeek: DeepSeek V4 Pro 0423
OpenRouter
$0.89
$1.78
1.05M
$1.64
Reasoning
MoonshotAI: Kimi K2.7 Code
OpenRouter
$0.60
$3.50
262K
$1.66
ReasoningImage input
Qwen 3.6 Plus Uncensored (Beta)
Hivra managed inference
$0.625
$3.75
1M
$1.75
ReasoningImage input
Gemini 3 Flash Preview
Hivra managed inference
$0.70
$3.75
256K
$1.85
ReasoningImage input
Kimi K2.6
Hivra managed inference
$0.75
$3.50
256K
$1.86
PrivateReasoningImage input
GPT-5.4 Mini (Beta)
Hivra managed inference
$0.75
$4.50
400K
$2.10
ReasoningImage input
Qwen 3.5 397B
Hivra managed inference
$0.75
$4.50
128K
$2.10
ReasoningImage input
Google: Gemini 3.8 Flash
OpenRouter
$0.83
$4.13
1.05M
$2.12
ReasoningImage input
GLM 5
Hivra managed inference
$1.00
$3.20
198K
$2.13
PrivateReasoning
MoonshotAI: Kimi K3.1 Pro
OpenRouter
$0.24
$8.79
1.05M
$2.44
ReasoningImage input
OpenAI: GPT-6.1 Terra
OpenRouter
$1.00
$5.00
1.05M
$2.56
ReasoningImage input
GLM 5 Turbo
Hivra managed inference
$1.20
$4.00
200K
$2.59
Reasoning
Grok 4.20
Hivra managed inference
$1.42
$2.83
2M
$2.61
PrivateReasoningImage input
Grok 4.3
Hivra managed inference
$1.42
$2.83
1M
$2.61
PrivateReasoningImage input
DeepSeek V4 Pro
Hivra managed inference
$1.65
$3.30
1M
$3.04
PrivateReasoning
GLM 5V Turbo (Multimodal Beta)
Hivra managed inference
$1.50
$5.00
200K
$3.24
ReasoningImage input
GLM 5.1 (Beta)
Hivra managed inference
$1.54
$4.84
200K
$3.26
PrivateReasoning
SpaceXAI: Grok 4.7
OpenRouter
$2.00
$6.00
500K
$4.16
ReasoningImage input
OpenAI: GPT-6.1 Sol
OpenRouter
$2.00
$10.00
1.05M
$5.12
ReasoningImage input
Google: Gemini 4 Carbon
OpenRouter
$2.00
$10.00
1.05M
$5.12
ReasoningImage input
Anthropic: Claude Sonnet 5.5
OpenRouter
$2.00
$10.00
1M
$5.12
ReasoningImage input
GPT-5.3 Codex (Beta)
Hivra managed inference
$1.75
$14.00
400K
$5.74
ReasoningImage input
GPT-5.2
Hivra managed inference
$1.75
$14.00
256K
$5.74
Reasoning
GPT-4o
Hivra managed inference
$2.50
$10.00
128K
$5.80
Image input
Gemini 3.1 Pro Preview
Hivra managed inference
$2.50
$15.00
1M
$7.00
ReasoningImage input
GPT-5.4
Hivra managed inference
$2.50
$15.00
1M
$7.00
ReasoningImage input
Claude Sonnet 4.6 (Beta)
Hivra managed inference
$3.00
$15.00
1M
$7.68
ReasoningImage input
Anthropic: Claude Opus 5.5
OpenRouter
$4.00
$20.00
1M
$10.24
ReasoningImage input
Claude Opus 4.6 (Beta)
Hivra managed inference
$5.00
$25.00
1M
$12.80
ReasoningImage input
Claude Opus 4.7
Hivra managed inference
$5.00
$25.00
1M
$12.80
ReasoningImage input
Claude Opus 4.8
Hivra managed inference
$5.00
$25.00
1M
$12.80
ReasoningImage input
Claude Opus 4.5
Hivra managed inference
$5.00
$25.00
198K
$12.80
ReasoningImage input
GPT-5.5 (Beta)
Hivra managed inference
$5.00
$30.00
1M
$14.00
ReasoningImage input
Claude Fable 5
Hivra managed inference
$10.00
$50.00
1M
$25.60
ReasoningImage input
Claude Opus 4.8 Fast (Beta)
Hivra managed inference
$10.00
$50.00
1M
$25.60
ReasoningImage input
GPT-5.4 Pro (Beta)
Hivra managed inference
$30.00
$180.00
1M
$84.00
ReasoningImage input
GPT-5.5 Pro (Beta)
Hivra managed inference
$30.00
$180.00
1M
$84.00
ReasoningImage input
Free models are rate limited and can change. OpenRouter's own free-models page says its free variants (IDs ending in :free) are capped at 20 requests a minute and 50 a day, or 1,000 a day after you buy $10 of credits, and that failed attempts count. An agent makes several requests per message. A cheap model that fails tool calls costs more in retries than it saves, so test before you commit. We rank by a stated number only, never by quality.
Where the data comes from: Hivra's managed inference list, updated November 2026, and OpenRouter list prices from a copy taken November 2026, before any discount. Only models that accept tool calls are shown. The private tag is the provider's label from Hivra's list, and OpenRouter rows are not tagged. Prices change, so check the provider before you commit.
If you would rather not run the server, Hivra runs the official Hermes Agent on a managed computer, starting at $9.99 a month for 2 vCPU and 4 GB of RAM. The plan does not include AI usage, so the model cost above is on top. The rows from Hivra's list are the models its managed inference offers.
Two datasets, each with its own date. Hivra's managed inference list was updated 2026-11-10, with prices stored in micro-USD per million tokens and shown here in USD. OpenRouter prices are list prices from a copy taken 2026-11-12, before any provider discount or credit fee, for models that accept tool calls and return text. Prices change, so check the provider before you commit. Sources: OpenRouter models.
Only models that accept tool calls are shown, because an agent needs them. Hivra's catalog does not record that, so we read the model provider's public models list on 2026-11-12 for tool-call, reasoning and image flags. 23 of the 79 Hivra models are left out because that list did not confirm tool calls for them or did not return them. That is a gap in our check, not a verdict on those models. Sources: Provider models list.
Estimated cost per agent-day = tokens a day, split 85% input and 15% output, times the model's per-million prices. The token counts are our assumptions, not measurements: light is 10 messages a day, about 20,000 tokens each, typical is 40 messages a day, about 40,000 tokens each and heavy is 150 messages a day, about 80,000 tokens each. Agents re-send instructions and tool output on every step, so one message moves far more tokens than its text. Prompt caching is not modelled, so a model that caches repeated input will cost less than shown, and one that retries will cost more.
Free models. OpenRouter's free-models page says free variants (IDs ending in :free) are capped at 20 requests a minute and 50 a day, or 1,000 a day once you have bought $10 of credits, and that failed attempts count. It also says other $0 models skip those caps but can hit their own limits. We could not find a promise from OpenRouter that a free model stays free, so treat each one as something that can change. Sources: OpenRouter free models, OpenRouter rate limits.
How to choose. First, make sure the model supports tool calls: every row here does. Second, check the context window against what your agent reads, such as long files, many tools and a long history. Third, decide if you need reasoning or image input and filter for them. Fourth, decide whether privacy matters and read the provider's terms, since the private label is only a label. Fifth, sort by estimated cost and take two or three candidates, not one. Sixth, run the same real task on each and count retries and failures. The one that finishes the task without retries is cheaper than a lower list price that does not.
On the agents. Hermes Agent's README says you can use any model provider and switch with the hermes model command. OpenClaw's README says its models are plugins you can swap. We could not verify a minimum context window or a recommended model from either project, so the context filter is yours to set, and nothing here is a Hermes or OpenClaw recommendation. Sources: Hermes Agent on GitHub, OpenClaw on GitHub.
Last checked November 2026.
Worked examples
A free model with a long context
Inputs: Free only, 200K context or more, light use..
10 of 100 models match. Lowest estimated cost first at 10 messages a day, about 20,000 tokens each: 1. Thinking Machines: Inkling 2 Small (OpenRouter): free, 1.05M context 2. Baidu: ERNIE-5.5-Flash-Preview (OpenRouter): free, 1.02M context 3. NVIDIA: Nemotron 3 Ultra (OpenRouter): free, 1M context
These are OpenRouter's free models, and they share a cap of 50 requests a day until you buy credits. Fine for learning how an agent behaves, thin for anything you rely on.
21 of 100 models match. Lowest estimated cost first at 40 messages a day, about 40,000 tokens each: 1. OpenAI GPT OSS 120B (Hivra managed inference): $0.167 a day, 128K context 2. GLM 4.7 Flash Heretic (Uncensored) (Hivra managed inference): $0.191 a day, 200K context 3. Google Gemma 4 31B Instruct (Hivra managed inference): $0.25 a day, 256K context
Private rows are Hivra managed inference, so this is a short list of paid models. The label comes from the provider. Read its terms if privacy decides the choice.
31 of 100 models match. Lowest estimated cost first at 40 messages a day, about 40,000 tokens each: 1. OpenAI: gpt-oss-20b (OpenRouter): $0.072 a day, 131K context 2. Z.ai: GLM 5.3 Flash (OpenRouter): $0.074 a day, 1.05M context 3. DeepSeek: DeepSeek V4 Flash 0423 (OpenRouter): $0.166 a day, 1.05M context
The cheapest paid row is a starting point, not a pick. Test it on a real task before you trust it. For scale, DeepSeek V4.1 Flash on Hivra lists at about $0.696 a day at typical use.
Cite this page
Hivra, "Free and Cheap Models for AI Agents", https://hivra.cloud/tools/best-free-models-for-ai-agents, facts last checked November 2026.
Source: <a href="https://hivra.cloud/tools/best-free-models-for-ai-agents">Hivra</a>, Free and Cheap Models for AI Agents, facts last checked November 2026.
Common questions
What are the best free models on OpenRouter for an agent?+
We do not rank them, because nothing here measures quality. This tool lists the 10 free OpenRouter models that accept tool calls, with their context windows, and you can sort and filter them. Pick on what your agent needs: tool-call support is a given in this list, then context size, reasoning and image input. Then test two or three on a real task. OpenRouter's own free-models page ranks by how many tokens people send, which measures use, not quality.
Is there a free LLM API?+
Yes, with limits. OpenRouter's free variants, whose IDs end in :free, cost $0. OpenRouter's own page says they are capped at 20 requests a minute and 50 a day, rising to 1,000 a day after you buy $10 of credits, and failed attempts count toward the daily cap. An agent makes several requests per message, so 50 a day goes quickly. Free is good for learning and light use, not for something you rely on.
What is the best model for Hermes Agent?+
We cannot name one, and we would distrust a page that did. Hermes Agent works with the provider you choose: its README lists Nous Portal, OpenRouter, OpenAI and your own endpoint, and you switch with the hermesmodel command. On a Hivra computer, Hermes starts on DeepSeek V4.1 Flash, which is listed here at $0.30 per million input tokens and $1.20 per million output tokens. That is a default, not a verdict. Filter this table by context and tool support, then test on your own tasks.
What is the best model for OpenClaw?+
There is no measured answer here. OpenClaw's README says models and agent harnesses are plugins you can swap without changing anything else, and it works with hosted and local providers. That makes it cheap to try more than one. Start from the filters: a model that supports tool calls, enough context for your files and tools, and a price you can live with. Run the same task on two or three and keep the one that finishes it without retries.
Why not just use the cheapest model?+
Because a cheap model that fails tool calls costs more than it saves. If a model needs two attempts where another needs one, its real price per finished task is double. At the typical assumption of 1.6 million tokens a day, a model that lists at $0.10 a day but needs every step twice costs the same as one that lists at $0.20 and gets it right the first time. Those two prices are made up to show the arithmetic. Price is a starting filter, not the answer. Test on a real task before you commit.
Can free models disappear or change?+
Yes, plan for it. OpenRouter's free-models page tells you to set the model to openrouter/free if you do not want to track which free models are currently available, which tells you the set moves. Our list is a copy from 2026-11-12 and will age. Check the model's own page on OpenRouter before you build on it, and keep a paid fallback you have already tested.
Which models here are private?+
34 of the 100 rows are marked private. That label is the one in Hivra's managed inference catalog, set to private or end-to-end private by the model provider. It is a provider label, not a guarantee we have audited. OpenRouter rows are never marked private here, because we did not record each provider's data policy. If privacy matters, read the provider's own terms.
Are the models on Hivra free?+
No. Hivra charges for the computer, $9.99 a month for 2 vCPU and 4 GB of RAM or $19.99 a month for 4 vCPU and 8 GB of RAM, and the plan does not include AI usage. Models in the Hivra rows are priced at the managed inference list prices in the table. Hermes on Hivra defaults to DeepSeek V4.1 Flash through Hivra's managed inference, or your own Venice key. There is a 7-day money-back guarantee on card payments. Free here means this tool is free, and the OpenRouter free variants.
When you need a computer that stays on
If you want the computer to stay on after you leave your desk, Hivra offers a managed computer starting at $9.99 a month for 2 vCPU and 4 GB of RAM. A paid Hivra Cloud computer stays on and is not paused for inactivity. The plan does not include AI usage. Bring your own account or key where the agent supports it, or pay with Hivra credits. Claude Code can use your own Anthropic sign-in or Hivra credits. There is a 7-day money-back guarantee on card payments.