3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Antigravity のトークン消費量をNvidia NIMで削減する

3
Last updated at Posted at 2026-03-18

の記事にヒントをもらいました。
AntigravityとClaudeに頼んで作ってもらいました。

https://github.com/dinosauria123/antigravity-nim-routing
 
AntigravityのGeminiの処理の一部をNvidia NIMに肩代わりさせて、使用トークン量を減らします。(全部は肩代わりできませんが、8割以上削減できそうです)

Screenshot From 2026-03-19 09-14-48.png

エージェントはGeminiがやって、コーディングはNIMのQwen3.5がやるので、使い心地はほとんど変わらない(NIMのラグはあるかな)とおもいます。
 
使い方は git clone して、できたフォルダをAntigravityで開きます。

最初にエージェント(Chat)に「.agent/rules/nim-routing.md に設定済みのルールで以後の処理を実行してください」
と伝えてから、命令を投げてください。
 
NVidia NIMのAPIキーは.envファイルに必ず入力しておいてください。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?