VynarisEarly beta
Get my API key

OpenClaw Models: 10 Best, Ranked by Cost per Task

The best OpenClaw models are Claude Sonnet 5.5 and GPT-6.1 Sol at $0.23 per cached 12-step task. Ten models, official prices, config lines.

TL;DR: For most OpenClaw agents, Claude Sonnet 5.5 or GPT-6.1 Sol is the best default at $0.23 per cached 12-step task. GPT-6.1 Terra halves that to $0.12, and DeepSeek V4 Flash, Claude Haiku 5.5 and GPT-6 Luna run the same task for about $0.013. Prices verified 2026-11-07 on each provider's own pricing page.

The best OpenClaw models today are Claude Sonnet 5.5 (anthropic/claude-sonnet-5-5) and GPT-6.1 Sol (openai/gpt-6.1-sol) for daily agent work, Claude Opus 5.5 for the hardest coding, and GPT-6.1 Terra, Gemini 3.8 Flash or DeepSeek V4 Flash when cost matters more than the last few points of quality. You change the OpenClaw model with one command, openclaw models set <provider/model>, or one config key, agents.defaults.model.primary. Price per token is the wrong way to compare them: an OpenClaw agent re-sends its whole context on every step, so one 12-step task bills about 402,600 input tokens for 7,200 output tokens. We priced that exact task on all ten OpenClaw models below, with and without prompt caching.

How we judged the OpenClaw models

We ranked each model by what it costs to finish one agent task, then by what it is good at. The other pages on this results page list models by vibe or by tier. None of them price a task.

The workload is the same one we built in where the tokens go in a 12-step agent run: one bug fix or small automation, 12 model calls.

AssumptionValueWhy
Scaffolding per call15,000 tokenssystem prompt, skills, tool schemas, re-sent every step
Task prompt1,500 tokensyour message
History added per step3,100 tokenslast tool result (2,500) + last reply (600)
Output per step600 tokensreasoning summary + tool call
Steps12one task
Total billed402,600 in, 7,200 outsum over 12 calls

"Cached" assumes the provider's prompt caching works as designed: each step writes only its new 3,100 tokens and reads the rest (352,000 tokens) from cache. Cache writes are billed at each provider's write rate. Real OpenClaw sessions vary a lot; coding agent token use swings 30x between similar tasks, so treat these as a ruler, not a forecast.

Where the input tokens in one 12-step OpenClaw task come from
Output is 1.8% of the tokens; re-sent context is the bill.

OpenClaw models compared: summary table

All ten models, cost per task and per 1,000 tasks. Prices are standard tier, per 1M tokens, captured 2026-11-07.

#Model (OpenClaw ref)Input / output per 1MUncached per taskCached per taskCached per 1,000 tasks
1Claude Sonnet 5.5 (anthropic/claude-sonnet-5-5)$2 / $10$0.877$0.234$234
2GPT-6.1 Sol (openai/gpt-6.1-sol)$2 / $10$0.877$0.234$234
3GPT-6.1 Terra (openai/gpt-6.1-terra)$1 / $5$0.439$0.117$117
4Gemini 3.8 Flash (google/gemini-3.8-flash)$0.75 / $3.75$0.329$0.091$91
5DeepSeek V4 Flash (deepseek/deepseek-v4-flash)$0.15 / $0.60 off-peak$0.065$0.013$13
6Claude Opus 5.5 (anthropic/claude-opus-5-5)$4 / $20$1.754$0.467$467
7Gemini 4 Argon (google/gemini-4-argon)$2 / $10 to Nov 30$0.877$0.208$208
8Claude Haiku 5.5 (anthropic/claude-haiku-5-5)$0.10 / $0.50$0.044$0.013$13
9GPT-6 Luna (openai/gpt-6-luna)$0.10 / $0.50$0.044$0.013$13
10Local model via Ollama (ollama/<model>)$0$0$0hardware and power

Run your own token counts through the LLM cost calculator if your agent's scaffolding is bigger or smaller than 15,000 tokens; the ranking holds, the absolute numbers move.

Cached cost of the same 12-step task on five OpenClaw models
Same 402,600 input and 7,200 output tokens; only the price list changes.

1. Claude Sonnet 5.5

Claude Sonnet 5.5 is the best default model for OpenClaw when you want one model that handles chat, files and multi-step tool use without babysitting.

{ agents: { defaults: { model: { primary: "anthropic/claude-sonnet-5-5" } } } }

2. GPT-6.1 Sol

GPT-6.1 Sol is the OpenAI pick for OpenClaw coding and agent loops, at the same sticker price as Sonnet 5.5.

3. GPT-6.1 Terra

GPT-6.1 Terra is the cheapest model we would still trust as an OpenClaw primary for real agent work.

4. Gemini 3.8 Flash

Gemini 3.8 Flash is the cheapest large-context model on this list from a top-3 lab.

5. DeepSeek V4 Flash

DeepSeek V4 Flash is the cheapest hosted model that OpenClaw supports as a bundled provider.

6. Claude Opus 5.5

Claude Opus 5.5 is the model to escalate to, not the one to run every OpenClaw heartbeat on.

7. Gemini 4 Argon

Gemini 4 Argon is OpenClaw's default Google model, and it is a bargain only until November 30.

8. Claude Haiku 5.5

Claude Haiku 5.5 is the cheapest Claude, and the right OpenClaw utility model.

9. GPT-6 Luna

GPT-6 Luna ties Haiku 5.5 to the cent on our task and is OpenAI's high-volume model.

10. A local model through Ollama

Running a local model through Ollama is the only way to make OpenClaw's per-token bill zero, and the only option where prompts never leave your machine.

ollama pull llama3.3
openclaw models set ollama/llama3.3

Which model works best with OpenClaw?

Claude Sonnet 5.5 and GPT-6.1 Sol work best for most OpenClaw setups: they handle multi-step tool use reliably and cost $0.23 per cached 12-step task. Pick Sonnet if your skills and prompts were tuned on Claude, Sol if you live in OpenAI's tooling. Escalate to Opus 5.5 for the tasks those two fail.

What is the cheapest model that still handles OpenClaw tool calls?

GPT-6.1 Terra is the cheapest model we would run as a primary for real tool-calling work, at $0.117 per cached task. Below it, DeepSeek V4 Flash, Claude Haiku 5.5 and GPT-6 Luna all land near $0.013 per task, about 18x cheaper than Sonnet, but they fail more on long tool chains. Pair one of them with a stronger fallback rather than trusting it alone.

The video below is from April 2026, so the model names are older, but the part from 7:00 shows the point of this page on real dashboards: the same OpenClaw tool call cost one cent on one provider and dollars on another.

I Tested 24 AI Models on OpenClaw (Creator Magic)

A creator runs the same OpenClaw health-report tool call on several providers and reads the real cost off each billing dashboard. The spread from about one cent to over three dollars per run shows why per-task cost, not model hype, should pick your default.

  • 7:00 Testing Grok's tool calling on a Garmin stats skill
  • 7:46 The xAI dashboard shows about one cent for the call
  • 8:13 OpenAI cost $0.36 and Claude Opus 4.6 $3.20 for the same report
  • 8:41 At that rate one daily Opus report runs over $33 a month

How do I change the OpenClaw model?

You change the OpenClaw model with openclaw models set <provider/model>, which writes agents.defaults.model.primary (OpenClaw models CLI). Adding a provider's API key does not switch your model; you have to set it.

  1. Authenticate the provider: openclaw onboard --auth-choice apiKey for Anthropic, or set DEEPSEEK_API_KEY, GEMINI_API_KEY or OPENAI_API_KEY.
  2. Set the primary: openclaw models set anthropic/claude-sonnet-5-5.
  3. Add fallbacks, tried in order: openclaw models fallbacks add openai/gpt-6.1-terra.
  4. Set a cheap utility model for titles and recaps in config: agents: { defaults: { utilityModel: "anthropic/claude-haiku-5-5" } }.
  5. Check it: openclaw models status exits 0 when every configured route has working auth.
  6. Switch mid-session with the /model command in chat.
How OpenClaw picks a model for each call
agents.defaults.model.primary, then agents.defaults.model.fallbacks.

A cost-aware fallback chain runs cheap first and escalates: Terra as primary, Sonnet 5.5 as fallback, Opus 5.5 only by hand. We covered what a fallback chain costs during an outage separately. If you would rather not hand-maintain that chain, Vynaris is an OpenAI-compatible gateway at https://api.vynaris.com/v1 that you add to OpenClaw as a custom provider under models.providers; it routes each call by cost and prints a receipt with the price of every response.

Can I use a local model with OpenClaw?

Yes. OpenClaw bundles an Ollama provider: install Ollama, pull a model, and set ollama/<model> as your primary. vLLM, SGLang, LM Studio and llama.cpp also work through models.providers with a local base URL. Expect slower replies and more failed tool calls than hosted models, and give the model enough context for OpenClaw's scaffolding.

How to choose

Don't route by price alone when a failed task has to be redone: one retry on Terra already costs as much as one clean run on Sonnet. Whatever you pick, keep prompt caching working; it cut every model's bill on our task by 69% to 80%.

FAQ

What model does OpenClaw use by default?

It depends on the provider you onboard. OpenAI's fresh setup defaults to openai/gpt-6-astra ($10 / $50 per 1M) and Google's to google/gemini-4-argon. Anthropic's example is anthropic/claude-opus-5-5. Check with openclaw models status.

Is Claude Opus worth it for OpenClaw?

Only for hard tasks. Opus 5.5 costs exactly 2x Sonnet 5.5 on our task ($0.467 vs $0.234 cached). Run Sonnet by default and switch to Opus with /model when Sonnet fails.

Why is my OpenClaw bill so high?

Because input dominates. Our 12-step task bills 402,600 input tokens for 7,200 output; output is 1.8% of the tokens. Broken caching, a large skills scaffold, or a premium default like GPT-6 Astra multiplies that.

Does OpenClaw support OpenRouter and other gateways?

Yes. OpenRouter, Vercel AI Gateway and others are bundled providers, and any OpenAI-compatible endpoint works through models.providers with a custom base URL.

Can I use different models for different tasks?

Yes. OpenClaw has separate keys for the primary model, fallbacks, utilityModel, imageModel and pdfModel, and per-agent overrides under agents.entries.

Will these prices change?

Two are already scheduled to: Gemini 4 Argon doubles on 2026-12-01 and Gemini 3.8 Flash on 2027-01-01. Current rates for every model are on our models page.