Skip to content
agentusehub
Sign in+ Submit
Run New Anthropic Models From the Command Line With llm-anthropic
Software & DevOpsBeginnerSoftware

Run New Anthropic Models From the Command Line With llm-anthropic

Install the llm CLI plus the Anthropic plugin, set an API key, and test new models across reasoning levels.

Jump to setup
Time saved
0h / week
Setup time
Not stated
Running cost
Not stated
Cost range
Under $25/mo

The problem it solves

“Run New Anthropic Models From the Command Line With llm-anthropic” is a beginner Software & DevOps AI agent workflow from Software. It connects Other or custom in 4 steps. Setup takes about Not stated and running costs are about Not stated.

When a new Anthropic model ships, you need a quick way to try it from the terminal without building a custom client. The llm command-line tool with the llm-anthropic plugin lets you point prompts at newly released models, and comparing outputs across reasoning effort levels shows where a model succeeds or fails before you commit to it in a real workflow.

How it flows
  1. Install CLI and plugin
  2. Store API key
  3. Run prompt
  4. Compare reasoning levels

Step-by-step setup

  1. Install the CLI and Anthropic plugin

    Install the llm command-line tool and add the llm-anthropic plugin so the CLI can reach Anthropic models. Use the uv tool install approach described in the release notes, then install the plugin into the same environment.

  2. Store your Anthropic API key

    Set your Anthropic API key through the CLI's key command so later prompts authenticate without extra flags. Paste the key when prompted rather than hardcoding it in scripts.

  3. Run a prompt against the new model

    Send a test prompt to the newly added model using the model flag. Start with a simple generative task such as producing an SVG, then inspect the output to confirm the model responds as expected.

  4. Compare reasoning effort levels

    Repeat the same prompt at each available reasoning level, from low through max. Note which levels return usable output and which run out of tokens or fail, so you know which setting to use in production.

Example prompts

Test a new model across reasoning levels
Using the llm command-line tool with the llm-anthropic plugin installed and an Anthropic API key configured, run the same prompt against the model [MODEL NAME] at each reasoning effort level available: low, medium, high, xhigh, and max. Use this prompt for every run: [TEST PROMPT]. Save each output to a separate file named by effort level, then summarize in a table which levels returned valid output, which failed, and any token exhaustion you observed. Do not modify the prompt between runs so the comparison stays fair.
Add a new model to the plugin
In the llm-anthropic plugin codebase, add support for the newly released Anthropic model [MODEL NAME] so it can be selected with the llm -m flag. Locate where existing model identifiers are registered, add the new identifier alongside them, and confirm the model appears when listing available models. Then run a short smoke-test prompt through the CLI to verify the model responds. Report the files changed and the exact command used for the smoke test.

Frequently asked questions

What does the “Run New Anthropic Models From the Command Line With llm-anthropic” workflow do?

Install the llm CLI plus the Anthropic plugin, set an API key, and test new models across reasoning levels.

Which tools do I need?

You need Other or custom.

How long does it take to set up?

Plan for about Not stated. It is rated beginner. The guide walks through 4 steps, starting with “Install the CLI and Anthropic plugin”.

How much does it cost to run?

Expect about Not stated in running costs (Under $25/mo range).

What problem does it solve?

When a new Anthropic model ships, you need a quick way to try it from the terminal without building a custom client. The llm command-line tool with the llm-anthropic plugin lets you point prompts at newly released models, and comparing outputs across reasoning effort levels shows where a model succeeds or fails before you commit to it in a real workflow.

Add this badge to your site

Built this workflow? Show it is featured on AgentUseHub with a live upvote count that links back here. About badges

Featured on AgentUseHub