update-models-nvidia

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

A coding command that refreshes the list of models available through NVIDIA's hosted AI endpoint by collecting information from live catalogs and service checks.

In plain words
What is it for?
Use it to update NVIDIA NIM model definitions and review the resulting catalog snapshot for changes.
Why use it?
It reduces the manual work of finding new models, pricing or capability details, retirement dates, and whether models still respond.

Command for Claude Code

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,109 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.

agentmods
npx agentmods add commands/enricoros/big-agi/update-models-nvidia
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-nvidia

README.md
[![agentmods](https://agentmods.dev/badge/commands/enricoros/big-agi/update-models-nvidia.svg)](https://agentmods.dev/commands/enricoros/big-agi/update-models-nvidia)
Your own site
<a href="https://agentmods.dev/commands/enricoros/big-agi/update-models-nvidia"><img src="https://agentmods.dev/badge/commands/enricoros/big-agi/update-models-nvidia.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 973 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00011 $0.00973
Opus 5 $0.00005 $0.00487
Sonnet 5 $0.00002 $0.00195
Haiku 4.5 $0.00001 $0.00097

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

Security

Grade A, and why

update-models-nvidia scanned grade A with 0 findings 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 6d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/llms/update-models-nvidia.md · 35 lines

What it actually says

Update src/modules/llms/server/openai/models/nvidianim.models.ts with the latest model definitions for NVIDIA's hosted endpoint (integrate.api.nvidia.com / build.nvidia.com).

Reference src/modules/llms/server/llm.server.types.ts and src/modules/llms/server/models.mappings.ts for context only. Focus on the model file, do not descend into other code.

Primary source - run the harvest tool (requires NVIDIANIM_API_KEY in .env.api-keys for the probe phase; never commit or echo the key):

npx tsx tools/develop/nvidianim-catalog-sync/harvest.ts

This merges 4 sources (see the tool's README): live /v1/models ids, build.nvidia.com markdown catalog (labels, capabilities, createdDate -> pubDate), NGC deprecation dates, and authenticated liveness + context-window probes. It writes tools/develop/nvidianim-catalog-sync/harvest-latest.json. The probe phase is paced for the 40 RPM account limit and takes 30-45 minutes; use --skip-probes for a metadata-only refresh.

harvest-latest.json is a committed snapshot (id-sorted, diff-stable): after the run, git diff tools/develop/nvidianim-catalog-sync/harvest-latest.json IS the change review - alive flips, context changes, and new deprecation dates in that diff are exactly the edits to port into the curated table. Commit the refreshed snapshot together with the table changes. Ignore harvestedAt and lastMonthInvocations churn.

Do NOT use web search. The harvest output is the ground truth.

Applying the results to the curated table:

  • ADD newly-alive chat models worth surfacing (skip embeddings/rerankers/parsers/guards unless hidden)
  • REMOVE models that are dead (dead-entitlement, retired, no-chat-route) or carry a deprecationDate in the past or within days
  • REGENERATE _retiredNvidiaNIMIds (the deny list): every harvested id that is neither curated nor a live chat model belongs there, grouped by classification. The invariant is total coverage: curated + denied should equal the full /v1/models list, so that any id outside both sets is a genuine 0-day arrival (those surface automatically as hidden entries)
  • CAUTION - dead-for-our-key is not dead-for-everyone: NVIDIA scopes function visibility per account, so dead-entitlement and probe-error classifications reflect OUR key only. Before denying such a model, cross-check production analytics (PostHog, host integrate.api.nvidia.com, successful aix_chat_generate_completed events in the last ~14 days) for other accounts using it successfully. Precedent: qwen/qwen3.5-397b-a17b probed dead for our key on 2026-07-25 yet had 17 recent successes from 4 users - it stays OFF the deny list (hidden 0-day entry). Models with zero successes across all accounts are safe to deny
  • contextWindow MUST come from the measured probe value (ctxMeasured), never from build.nvidia.com's advertised value - they disagree on ~25% of models, up to 8x, and gemma-4-31b silently truncates
  • pubDate is the upstream model release date: prefer the same model's pubDate from another vendor's *.models.ts (add a // = <file> '<id>' cross-reference comment), fall back to the harvest pubDate (catalog createdDate)
  • Borrowed benchmark: { cbaElo } values use the - 2 yield idiom so native vendors win auto-picks
  • Keep chatPrice: _freePrice on all models (the endpoint has no paid tier)
  • Reasoning params: gpt-oss models use _PS_OaiEffort; other thinking models use _PS_Thinking (wired to chat_template_kwargs in the adapter)
  • Preserve comments and table order (flagships first, hidden tail last); minimize whitespace churn

Verify: tsc --noEmit --pretty && npm run lint, then NVIDIANIM_API_KEY=... npm test (the nvidianim tests do a live listing; a [DEV] stale warning fails the test - that is the drift alarm).

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. 6d ago First seen · 35 lines · 11 tokens per session scan A d05e9958811f

Subscribe to this mod's changes

update-models-nvidia is a command published in the GitHub repository enricoros/big-AGI (7,109 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 973 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.