Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>LLM Commit MessageNew to Visual Studio Code? Get it now.
LLM Commit Message

LLM Commit Message

Sangrak

|
11 installs
| (1) | Free
AI-powered git commit messages via OpenRouter: GPT, Claude, Gemini & more. Rich context with diffs, tree, tabs, terminal logs. One-click Conventional Commits.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LLM Commit Message

VS Marketplace Blog

AI-powered git commit message generator for VS Code. One click, perfect Conventional Commits.

🌏 한국어 | 简体中文 | 繁體中文-台灣 | 繁體中文-香港 | 日本語

How It Works

  1. Stage your changes
  2. Click ✨ in the Source Control panel
  3. Done — commit message generated

What Makes It Good

Deep context — not just the diff. Collects project tree, recent commits per file, open tabs, terminal output, and full file snapshots for complex changes.

Any model — GPT, Claude, Gemini, Llama, Mistral via OpenRouter. Default: google/gemini-2.5-flash-lite.

Multi-repo — handles workspaces with multiple git repos.

Transparent — every API request logged. Show Last Payload command to see exactly what was sent.

Setup

  1. Install from Marketplace
  2. Get an API key from OpenRouter
  3. Set kargnas.aiCommit.apiKey in VS Code settings

Key Settings

Setting Default Description
kargnas.aiCommit.apiKey — OpenRouter API key
kargnas.aiCommit.model google/gemini-2.5-flash-lite Model ID
kargnas.aiCommit.commitLanguage auto Output language (ko, ja, etc.)
kargnas.aiCommit.maxPatchBytes 50000 Max total diff size
kargnas.aiCommit.previousCommitLimit 10 Recent commits for context
kargnas.aiCommit.transport fetch HTTP transport (fetch or curl)

All settings →

Commands

  • AI Commit — Generate commit message from staged changes
  • Ping OpenRouter — Test API connection
  • Show Last Payload — Debug prompt/context
  • Open in GitHub — Open current file on GitHub

License

MIT © Sangrak Choi


GitHub · Marketplace · OpenRouter

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft