update-models-anthropic

update-models-anthropic is a command for Claude Code from enricoros/big-AGI. It costs 10 tokens per session (836 once invoked), scanned A, original, MIT.

A command for updating Anthropic model definitions, including their current prices, features, and retirement information.

In plain words
What is it for?
Use it when maintaining the files that describe available Anthropic models, their identifiers, capabilities, pricing, and deprecation dates.
Why use it?
It keeps the application's model list aligned with Anthropic's published documentation instead of relying on outdated entries.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when maintaining the files that describe available Anthropic models, their identifiers, capabilities, pricing, and deprecation dates.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/enricoros/big-agi/update-models-anthropic
About the project

Big-AGI is an open-source workspace for using multiple AI models through chat and other AI functions. It is intended for engineers, founders, researchers, and other users who want to work with AI personas, model comparisons, image generation, voice, documents, and code-related features. The catalogue entries provide commands, instructions, and a skill for working with Big-AGI.

enricoros/big-AGI · 7,118 stars · on GitHub · big-agi.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/enricoros/big-AGI

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for update-models-anthropic

README.md
[![agentmods](https://agentmods.dev/badge/commands/enricoros/big-agi/update-models-anthropic/github.svg)](https://agentmods.dev/commands/enricoros/big-agi/update-models-anthropic)
Your own site
<a href="https://agentmods.dev/commands/enricoros/big-agi/update-models-anthropic"><img src="https://agentmods.dev/badge/commands/enricoros/big-agi/update-models-anthropic/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for update-models-anthropic

Your own site · 80×15
<a href="https://agentmods.dev/commands/enricoros/big-agi/update-models-anthropic"><img src="https://agentmods.dev/badge/commands/enricoros/big-agi/update-models-anthropic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 836 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.00836
Opus 5 $0.00005 $0.00418
Sonnet 5 $0.00002 $0.00167
Haiku 4.5 $0.00001 $0.00084

Measured 10d ago against content hash ee7938999df8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

update-models-anthropic scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**Live endpoint (extra signal):** If `.env.api-keys` has `ANTHROPIC_API_KEY`, scan the served model list as ground-truth for what's new/available and cross-check the docs above: `curl https://api.anthropic.com/v1/models
.claude/commands/llms/update-models-anthropic.md · 56 lines

What it actually says

Update src/modules/llms/server/anthropic/anthropic.models.ts with latest model definitions.

Reference files (for context only, do not modify):

  • src/modules/llms/server/llm.server.types.ts
  • src/modules/llms/server/models.mappings.ts
  • src/common/stores/llms/llms.parameters.ts

Workflow: Start with recent changes, then verify the full model list.

Primary Sources (append .md to any path for clean markdown):

  1. Recent changes: https://platform.claude.com/docs/en/release-notes/overview.md
  2. Models & IDs: https://platform.claude.com/docs/en/about-claude/models/overview.md
  3. Pricing (base, cache, batch, long context): https://platform.claude.com/docs/en/about-claude/pricing.md
  4. Deprecations & retirement dates: https://platform.claude.com/docs/en/about-claude/model-deprecations.md
    • Its "tentative retirement date" for an active model is exactly launch + 1 year, so it cross-checks pubDate. Prefer it and the release-note heading over the /v1/models created_at, which can predate the announcement by a few days.

Discovering feature docs: The release notes and models overview markdown contain inline links to feature-specific pages (thinking modes, effort, context windows, what's-new pages, etc.). When a new capability is referenced, follow those links - append .md to get markdown. Examples of pages you might discover this way:

  • about-claude/models/whats-new-* - per-generation changes (e.g. whats-new-opus-5)
  • build-with-claude/extended-thinking - manual thinking budget configuration
  • build-with-claude/effort - effort levels + per-model availability
  • build-with-claude/thinking, build-with-claude/thinking-steering-and-cost - adaptive thinking
  • build-with-claude/thinking-troubleshooting#supported-models - per-model thinking/effort matrix
  • agents-and-tools/tool-use/tool-reference - per-tool model support and tool versions

Fallback web pages (crawl if .md paths break or structure changes):

Fallbacks if blocked: Check the Anthropic TypeScript SDK at https://github.com/anthropics/anthropic-sdk-typescript, or web-search for "anthropic models latest pricing" / "anthropic latest models".

Live endpoint (extra signal): If .env.api-keys has ANTHROPIC_API_KEY, scan the served model list as ground-truth for what's new/available and cross-check the docs above: curl https://api.anthropic.com/v1/models -H "x-api-key: $ANTHROPIC_API_KEY" -H 'anthropic-version: 2023-06-01'. Never commit or echo the key.

Important:

  • Review the full model list for additions, removals, and price changes
  • For new models: check which parameterSpecs are needed (thinking mode, effort levels, 1M context, skills, web tools) by reading the linked feature docs and comparing with existing model entries
  • When thinking/effort semantics change between generations (e.g. adaptive vs manual thinking), document in comments
  • Minimize whitespace/comment changes, focus on content
  • Preserve comments to make diffs easy to review
  • Flag broken links or unexpected content
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 56 lines · 10 tokens per session scan A ee7938999df8

Subscribe to this mod's changes

update-models-anthropic is a command published in the GitHub repository enricoros/big-AGI (7,118 stars, last pushed today), licensed MIT. It adds 10 tokens to every session and 836 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.