OPENCLAW MODEL SELECTION

Choose an OpenClaw model for the work it repeats.

The best model for a recurring summary may differ from the best model for a complex tool workflow. Choose by task completion first, then compare the API cost at the frequency you expect.

Selected model rates from 0.3× official API pricing

Decide what your agent must complete.

Group tasks by the behavior they require. This makes the model shortlist smaller and the cost comparison more useful.

Agent workModel requirementWhat to measure
Routine summariesFollows format and preserves key factsAccepted summaries and cost per run
Tool workflowsReliable calls in the selected API formatCompleted workflows and extra attempts
Long conversationsSufficient context for the retained historyCompletion as history grows
Complex reasoningMeets task-specific quality criteriaAccepted outcomes and total task cost

Use specifications to narrow the list, then test the client.

For recurring summaries, measure one run and multiply by the actual schedule. For a tool workflow, include a complete tool round trip and recovery from a rejected action. For long conversations, test the retained history as well as a fresh session. A publisher input specification alone does not establish OpenClaw tool behavior.

Keep with your resultRecord
Client and configurationClient version, exact model ID and API adapter
AcceptanceCompleted workflow and expected tool result
CostAll requests, retries and billed token categories
ReproducibilityTest date, instructions and sanitized failure details

Compare models that meet those requirements.

Filter by publisher or image input, then compare each model’s context limit and agent API. Inspect the current rates and compare candidates with the same tasks.

Input types and context limits describe the publisher’s model. The agent API column gives the recommended request format. Open a model for its configuration and source links.

Model / exact API IDPublisher inputsPublisher contextAgent API
claude-fable-5Text, image1M tokensMessages
claude-fable-5.1Text, image1M tokensMessages
claude-haiku-5.5Text, image1M tokensMessages
claude-opus-5—View model settingsAPI quickstart
claude-opus-5.5Text, image1M tokensMessages
claude-sonnet-5—View model settingsAPI quickstart
claude-sonnet-5.5Text, image1M tokensMessages
deepseek-4v-pro-call—View model settingsAPI quickstart
deepseek-search—View model settingsAPI quickstart
deepseek-v4-proText1M tokensChat Completions
deepseek-v4.1-flashText, image1M tokensChat Completions
deepseek-v4.1-flash-call—View model settingsAPI quickstart
gemini-3.8-flashText, image, audio, video, PDF1,048,576 input tokensChat Completions
gemini-4-argonText, image, audio, video, PDF1,048,576 tokens (input + output)Chat Completions
glm-5.2—View model settingsAPI quickstart
glm-5.3—View model settingsAPI quickstart
glm-5.3-flash—View model settingsAPI quickstart
gpt-5.6-lunaText, image1,050,000 tokensResponses
gpt-5.6-solText, image1,050,000 tokensResponses
gpt-5.6-terraText, image1,050,000 tokensResponses
gpt-6-astraText, image1,050,000 tokensResponses
gpt-6-lunaText, image1,050,000 tokensResponses
gpt-6-solText, image1,050,000 tokensResponses
gpt-6.1-solText, image1,050,000 tokensResponses
gpt-6.1-terra—View model settingsAPI quickstart
gpt-image-2-codex—View model settingsAPI quickstart
jev-1.13.0—View model settingsAPI quickstart
jev-1.14.0—View model settingsAPI quickstart
jev-latest—View model settingsAPI quickstart
jev-preview—View model settingsAPI quickstart
kimi-k3—View model settingsAPI quickstart
kimi-k3.1-pro—View model settingsAPI quickstart
minimax-m3.1-flash—View model settingsAPI quickstart
qwen3.7-max—View model settingsAPI quickstart
qwen3.7-plus—View model settingsAPI quickstart
qwen3.8-2.4t-a95b—View model settingsAPI quickstart
qwen3.8-27b—View model settingsAPI quickstart
qwen3.8-flash—View model settingsAPI quickstart
qwen3.8-max—View model settingsAPI quickstart
qwen3.8-max-0902—View model settingsAPI quickstart
qwen3.8-omni-flash—View model settingsAPI quickstart

Codimixa rates checked: 2026-10-31T15:06:07.868Z. Publisher references checked: October 20, 2026.

Test repeated use before making a default.

Run a small representative sample across the tasks the agent will repeat. Record the accepted result, failed attempts and total API cost. Include tasks that require tools, not only conversational replies.

Use a lower rate across the work you keep.

Selected model rates start at 0.3× the matching official API reference. Apply the specific model’s rates to your measured task frequency to estimate the ongoing cost.

A FEW DETAILS

Before you continue

Should every task use the same model?

A single default is easier to manage. Add a separate model only when a task’s requirements or measured cost justify the extra configuration.

Is the cheapest token rate enough to choose?

Also measure whether the model finishes the workflow. Extra turns or failed tool calls can consume more tokens than the initial price comparison suggests.

Reference documentation

OpenClaw — Custom providers and base URLsOpenClaw — API usage and costs