Choosing a provider is easy when the only question is which model sounds best in a short demo. A new OpenClaw operator has four harder questions: can the route complete the actual task, where does the prompt travel, how will the bill be measured, and what happens when the route fails?
A short pong response proves that some endpoint answered. It does not prove that the model can handle OpenClaw's full context, tools, channel, or recovery behavior. OpenClaw's local-model documentation makes that distinction explicit by separating small local and Gateway probes from a real agent turn.
The practical choice is therefore a provider route, not a model name. The route includes authentication, endpoint, runtime, data policy, price record, and fallback. Start with those boundaries, then compare models inside the routes that survive them.
Start with one job
Write the first workload in one sentence. For example: read new issues from a private repository, classify them, and draft a response for review without posting anything.
Record the input, expected output, tools, sensitivity, acceptable delay, and review boundary. Note whether the task needs images, a long context, structured output, browser access, or file changes. A provider that is excellent for a short rewrite may be a poor fit for a multi-step task that must inspect files and preserve evidence.
OpenClaw separates model providers from chat channels. Its provider reference treats WhatsApp, Telegram, and other channels as a different configuration concern. Its models reference explains that a provider/model reference selects a provider and model, not automatically every part of the underlying runtime. Keep those decisions separate in the record.
The four gates
| Gate | Question | Pass condition |
|---|---|---|
| Task fit | Can it produce the required result with the required tools and context? | A representative, read-only test meets the minimum quality and latency. |
| Data path | Which systems receive the prompt, files, tool results, and transcript? | The route matches the workload's privacy, region, and retention requirements. |
| Cost | What is billed, where is it recorded, and what remains unknown? | You can make a dated estimate and name the provider-side source of truth. |
| Recovery | What happens after a timeout, quota error, missing credential, or capability failure? | The fallback meets the same minimum policy and cannot repeat an unsafe action. |
These are admission gates. A cheap route that fails the data requirement is not rescued by a low price. A capable route with no safe recovery may be suitable for a manual experiment, but not for an unattended workflow.
Gate 1: test task fit, not general reputation
Begin with the smallest task that still resembles the real job. Use synthetic or disposable input. Check the answer against a known result, then check the behavior around the answer.
- Send the basic prompt without tools.
- Repeat it with the read-only tool or file context the workflow needs.
- Try the longest normal input, not an artificial stress test.
- Record missing fields, malformed tool calls, latency, and the amount of human correction.
Proposed test. Change only the provider or model between runs. Keep the prompt, input, tool policy, and expected result fixed. This makes a provider decision easier to explain than a collection of unrelated demos. The test is a proposed operator check; no live provider result is claimed here.
Local routes need an extra check. OpenClaw documents a local probe with openclaw infer model run --local and a Gateway probe with openclaw infer model run --gateway. The Gateway probe exercises routing, authentication, and provider selection, but skips the transcript, workspace bootstrap, tools, and bundled MCP servers. The documentation warns that a successful text-only probe does not prove that a full agent turn will work. Treat tool compatibility and context allocation as separate pass conditions.
Gate 2: draw the data path
Local Gateway and local inference are different claims. A model server listening on 127.0.0.1 can keep that model request on the machine, while a channel, web search service, remote memory provider, proxy, or fallback can create another path. That is an operational inference from the separate provider, channel, tool, and security boundaries. Write each path down instead of using the word private as a shortcut.
| Route type | What to inspect | Typical decision question |
|---|---|---|
| Local endpoint | Base URL, model server, logs, hardware, tools, and fallback. | Must every model request stay local, or may an approved hosted fallback be used? |
| Hosted API | Endpoint, account, region, retention, files, caching, and tool features. | Does the provider policy cover the exact endpoint and features OpenClaw will call? |
| CLI or subscription route | Native login, runtime, plan quota, terms, local transcripts, and usage visibility. | Is a plan allowance acceptable when there is no comparable per-message dollar estimate? |
| Proxy or router | Proxy logs, upstream provider, model mapping, credentials, and regional routing. | Which party receives the data, and who can change the selected upstream model? |
OpenClaw's token-use reference is a useful reminder about what a model may receive. The assembled prompt can include tool descriptions, skill metadata, workspace bootstrap files, conversation history, files, and tool results. The visible user message is only one part of the request.
Provider policies are route-specific. OpenAI's API data guide says abuse-monitoring logs may contain customer content and are retained for up to 30 days by default. Its zero-retention controls require eligibility and approval, and stateful features can have separate storage requirements. Anthropic's API retention documentation distinguishes its first-party API from Claude on Bedrock or Google Cloud, where the cloud provider is the data processor, and maps retention eligibility by feature.
Feature selection can change the answer. Google's Gemini data-retention documentation says paid services do not use prompts and responses to improve products, but Search and Maps grounding store prompts, context, and output for 30 days. The lesson is not that one provider is automatically safer. The lesson is that the provider, endpoint, account, region, and enabled feature belong in the data-path decision.
Gate 3: turn cost into a dated estimate
OpenClaw can help observe usage, but its local estimate is not a provider invoice. The API usage and costs reference says /usage full can show an estimated cost when usage metadata and local pricing are available. It also says local totals describe available session history, not a provider billing ledger.
The token reference separates input, output, cache reads, cache writes, and the current context snapshot. A provider total may include several model calls from a tool loop or retry. If pricing is missing, OpenClaw can show tokens without a dollar estimate. Keep unknown values unknown; do not turn them into zero.
Subscription-style OAuth, token, and CLI routes need special care. OpenClaw's cost reference says those routes may show token usage only unless compatible usage metadata and an explicit local price are available. That makes a plan quota and an API invoice different accounting objects. Choose the route whose cost record matches the way you plan to operate.
For a first estimate, record the provider, exact model ID, endpoint, account route, input tokens, cache behavior, output tokens, tool calls, retries, compaction calls, media or search charges, expected volume, and date checked. Use a formula such as:
estimated model cost = (input tokens * input rate + cache reads * cache-read rate + cache writes * cache-write rate + output tokens * output rate) / 1,000,000This is a planning formula, not a promise. OpenAI's pricing page separates input, cached input, cache writes, output, context length, processing mode, and regional processing. Anthropic's pricing documentation also distinguishes endpoint geography and prompt-caching behavior. Refresh the record when the model, route, prompt size, cache policy, or provider terms change.
Gate 4: design recovery before failure
A fallback can change the data boundary as well as the answer. If a local primary fails over to a hosted model, the recovery plan has made a privacy decision. If a cheap model replaces a tool-capable primary, it may also change what the agent can safely do.
OpenClaw's model-failover documentation describes two stages: auth-profile rotation within the current provider, followed by the next configured model fallback. It uses bounded recovery for eligible transient failures, but does not treat every error as a reason to switch. Context overflow and final provider refusals follow separate handling. The documentation also requires evidence that replaying an unfinished action is safe.
Selection source matters. The models reference says configured defaults can use configured fallbacks, while an explicit user session selection is strict. A user-selected model that becomes unavailable may fail visibly instead of silently moving to an unrelated model. Test the default route and any pinned session separately.
Your recovery record should name the primary model, fallback model, auth-profile order, errors that permit rotation, errors that stop the run, and the side effects that must never be replayed. A fallback is ready only when it passes the same minimum task and data tests as the primary.
Worked example: private issue triage
Imagine a small team that wants OpenClaw to read private issue text and repository files, classify the issue, and draft a response. A person approves every response. The team requires the model input to stay inside an approved boundary and wants a useful usage record for monthly planning.
A hosted API may pass the task-fit test quickly. It sends the assembled prompt to a provider, so the team must approve the exact endpoint, region, account, and features. Its metered API usage may be easier to reconcile than a subscription quota. A second hosted provider can be a sensible fallback only if its data terms and tool behavior pass the same review.
A local model may satisfy the hard data boundary for inference. It still needs a real agent test, because the local OpenClaw documentation separates a short probe from tool-enabled turns. Hardware, model loading, memory pressure, and maintenance become part of the cost. If the policy forbids external processing, a hosted fallback is not a valid recovery plan even when it improves availability.
A CLI or subscription route may reduce the need for a separate API invoice, but it can expose quota rather than per-message cost in OpenClaw. Its login method, runtime, provider terms, and local transcript behavior need their own review. It should not be treated as equivalent to an API key merely because both routes use the same model family.
Editorial inference. For this workload, choose the first route that passes the data requirement and the read-only tool test. Use cost as the tie-breaker among approved routes. If continuity matters, add a second approved route and test recovery with a harmless request. If privacy is a hard constraint, keep the fallback local or stop and ask for review; do not average a policy failure into a score.
Keep a one-page decision record
- Job: the input, expected result, tools, and human approval step.
- Capability floor: context, modalities, tool behavior, latency, and correction effort.
- Data route: Gateway host, endpoint, provider, region, feature calls, retention, and fallback path.
- Cost record: dated rates, token fields, plan quota or invoice source, and unknown charges.
- Recovery: primary, fallback, auth order, retry classes, and side-effect rule.
- Evidence: the test prompt, result, version, timestamp, and operator decision.
Use hard gates first and a score only to break a tie. A neat average can hide the one constraint that matters most.
Failure paths and limits
- The probe returns a short answer, but the agent fails. Check the model's tool format, context allocation, server logs, and OpenClaw compatibility. The local probe is not a full-agent certification.
- The cost is missing. Keep the token record and mark the monetary amount unknown. Missing pricing is not free usage.
- The fallback never runs. Check whether the session selection is explicit, whether the error is failover-eligible, and whether the fallback model is actually configured.
- The fallback changes the data policy. Treat that as a blocked recovery path until the new provider is approved.
- The local Gateway is shared by people with different trust levels. OpenClaw's security guidance says one Gateway is one trust boundary, not a hostile multi-tenant boundary. Separate Gateway, credentials, and possibly hosts when users are mutually adversarial.
Documentation-derived checks, not live test results: inspect the model catalog with openclaw models, refresh it with openclaw models list --refresh, and review available usage with openclaw status --usage. Preserve the selected route and the result of each harmless test. Do not put real credentials in commands, logs, screenshots, or issue reports.
The short answer
Choose an OpenClaw provider in this order: define the job, pass the task-fit test, draw every data path, record a dated cost estimate, and verify recovery. A model can be impressive and still be the wrong provider for the work. The right choice is the route whose capabilities, data handling, bill, and failure behavior you can explain before you hand it a real task.
Sources
Sources were opened and checked on 2026-09-13. Publication dates are left empty where the source page does not provide one.
- OpenClaw model providers reference
- OpenClaw models and selection rules
- OpenClaw local models
- OpenClaw token use and costs
- OpenClaw API usage and costs
- OpenClaw model failover
- OpenClaw Gateway security
- OpenAI API data controls
- OpenAI API pricing
- Anthropic API and data retention
- Anthropic API pricing
- Gemini API zero data retention
Reference Trail
Sources and further reading
- local-model documentationdocs.openclaw.ai
- provider referencegithub.com
- models referencegithub.com
- token-use referencedocs.openclaw.ai
- API data guidedevelopers.openai.com