Spiral gives your agent every tool with one account. Browse the tools →

OpenClaw · LLM

How to Use Claude Sonnet Latest in OpenClaw

Use Claude Sonnet Latest for scoped coding, code review, and document drafts. Anthropic positions Claude Sonnet 5.5 for everyday work and Claude Opus 5.5 for complex, open-ended tasks.

Prompts to try with Claude Sonnet Latest in OpenClaw

Copy an example into OpenClaw, or ask in your own words.

Each morning, use Claude Sonnet Latest to summarize the support conversations supplied for this run. Identify recurring problems, quote supporting messages, and list unanswered questions without inventing causes.

Claude Sonnet LatestOpenClaw
Try asking
  • Every Friday, use Claude Sonnet Latest to draft release notes from the completed change descriptions supplied for this run. Include only changes completed during the reporting period and cite the supporting descriptions.

  • Each day, use Claude Sonnet Latest to compare the previous and current policy text supplied for this run. Quote changed commitments and summarize their practical effects in a table.

  • Each week, use Claude Sonnet Latest to turn the supplied project updates into a brief under 400 words. Separate completed work, stated blockers, and next steps; preserve the original owners and dates.

  • For each scheduled support review, use Claude Sonnet Latest to draft replies from the supplied customer messages and approved policy text. Keep each reply under 150 words and mark unanswered policy questions for review.

How to set up Claude Sonnet Latest in OpenClaw

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send OpenClaw this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add the server

    On the machine that runs OpenClaw's Gateway:

    openclaw mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --transport streamable-http \
      --auth oauth
  2. Sign in

    In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

    openclaw mcp login spiral
  3. Reload and check

    A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

    openclaw mcp reload
    openclaw mcp doctor spiral --probe

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Claude Sonnet Latest

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "anthropic",
        "model": "~anthropic/claude-sonnet-latest",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: OpenClaw finds Claude Sonnet Latest on Spiral, shows the price and runs it.

Claude Sonnet Latest providers and prices

Spiral runs Claude Sonnet Latest through Anthropic. Open a card for today's price, with every fee included.

AnthropicLLM
Claude Sonnet Latest
~anthropic/claude-sonnet-latest

Settings you can ask for

Ask OpenClaw for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Max tokens1 to 128000

The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length).

Reasoning effortlow, medium, high, xhigh, or maxhigh

How much the model reasons.

Parallel tool callson or off

Every API field of Claude Sonnet Latest is on its tool page: open its card above.

What can you do with Claude Sonnet Latest in OpenClaw?

Use Claude Sonnet to produce recurring briefs, feedback summaries, and draft replies from each run's supplied material. Define the reporting period, required evidence, and handling of missing information.

Fix a reproducible bug

Give Claude Sonnet the failing behavior, expected result, and relevant code. Request a focused patch and a check that exercises the failure.

Review a proposed code change

Ask Claude Sonnet to inspect a diff for correctness problems and missing edge cases. Require each finding to identify the affected code and explain a concrete failure.

Explain an unfamiliar codebase

Have Claude Sonnet trace one request through the relevant modules. Ask for entry points, data transformations, and the code supporting each explanation.

Compare source documents

Ask Claude Sonnet to compare requirements or proposals, quoting the passages behind each difference. Separate explicit commitments from missing information.

Draft support replies

Provide a customer message and approved policy text. Ask Claude Sonnet for a concise draft that answers the question and flags anything the policy does not establish.

Translate product communications

Ask Claude Sonnet to translate release announcements or support replies into a specified language. Supply terminology to preserve and review the result with a fluent speaker.

Write release notes from completed work

Give Claude Sonnet completed change descriptions and ask for user-facing release notes. Require every statement to trace back to a supplied change.

Analyze customer feedback

Ask Claude Sonnet to organize supplied feedback into recurring problems, supporting examples, and unresolved questions. Keep observations separate from proposed explanations.

Questions about Claude Sonnet Latest in OpenClaw

Can OpenClaw use Claude Sonnet Latest?

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run Claude Sonnet Latest like any built-in tool.

How much does Claude Sonnet Latest cost in OpenClaw?

Up to $0.05343 per run at the default inputs. $2.60 per 1M input tokens, $0.13 per 1M cached input tokens, $3.25 per 1M cache write tokens, $5.20 per 1M 1-hour cache write tokens, $13.00 per 1M output tokens; for a prompt above 200,000 tokens, $5.20 per 1M input tokens, $0.26 per 1M cached input tokens, $6.50 per 1M cache write tokens, $10.40 per 1M 1-hour cache write tokens, $19.50 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.

Do I need an Anthropic account to use Claude Sonnet Latest in OpenClaw?

No. Spiral runs Claude Sonnet Latest on its own Anthropic account. You sign in to Spiral once and never paste a key.

How long does it take to set up Claude Sonnet Latest in OpenClaw?

About two minutes: add the server, then sign in, then reload and check.

Does OpenClaw wait while Claude Sonnet Latest runs?

Claude Sonnet Latest runs in the background. OpenClaw starts the run, checks on it and gives you the text, json when it's ready.

What is Claude Sonnet good at?

Claude Sonnet is useful for everyday development, including feature work, bug fixes, and code review. Document drafting and data analysis are also documented uses for Claude Sonnet 5.5.

Where does Claude Sonnet fall short?

Anthropic finds Claude Opus 5.5 stronger than Claude Sonnet 5.5 on complex, open-ended work requiring sustained judgment. Give Claude Sonnet a defined task and a clear completion condition.

How much text can Claude Sonnet handle?

Anthropic documents a 1 million-token context window and a 128,000-token maximum output for Claude Sonnet 5.5.

Which reasoning effort should I use?

For Claude Sonnet 5.5 coding and multistep tool tasks, start with medium effort when the task is well specified. Move to high for harder or longer work, and compare results on representative tasks.

Can Claude Sonnet work in languages other than English?

Yes. Claude processes and generates text in most world languages using standard Unicode characters, although performance varies by language. Check examples in the languages your work requires.

Get started

Start using Claude Sonnet Latest in OpenClaw

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into OpenClaw:

Set up OpenClaw

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options