Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>AI Commit Message Generator — OpenRouter, Claude, GPT, GeminiNew to Visual Studio Code? Get it now.
AI Commit Message Generator — OpenRouter, Claude, GPT, Gemini

AI Commit Message Generator — OpenRouter, Claude, GPT, Gemini

Ciro Cesar Maciel

|
20 installs
| (1) | Free
AI commit message generator for Git. Write Conventional Commits from your diff using any model on OpenRouter — GPT-5, Claude Sonnet, Gemini Flash, DeepSeek, Llama (350+ models). Pay-per-token, no subscription.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Commit Message Generator for VS Code

AI Commit Message Generator for VS Code

Generate Conventional Commits from your git diff — powered by any model on OpenRouter (GPT-5, Claude Sonnet, Gemini Flash, DeepSeek, Llama, and 350+ more).

Built by Ciro Cesar Maciel — because I got tired of writing the same commit messages over and over.

Marketplace version Installs Rating OpenRouter


I built this extension for myself. I was spending too many seconds (which add up to hours, which add up to days) staring at the commit input box trying to summarize what I just did. Existing tools either locked me into one model, one provider, or one pricing plan. So I built the one I actually wanted to use — and I'm sharing it.

One click → a clean commit message, written by the model you choose, paid by the token at OpenRouter prices.

✨ Click the comment icon in the Source Control title bar (or the Commit Msg button in the status bar) and the message lands in the input box ready to commit.


Why this one?

  • Bring your own model. Any of the 350+ models on OpenRouter — Gemini 3.5 Flash, Claude Sonnet 4.6, GPT-4o, DeepSeek V4, Qwen Coder Flash, Llama, Mistral, you name it. Switch whenever a new one drops.
  • Pay-per-token. No subscription. A typical commit message costs a fraction of a cent with Gemini Flash.
  • No vendor lock-in. Your key, your account, your bill.
  • Conventional Commits by default. Or switch to plain prose.
  • Multilingual. English, Portuguese, whatever you set.
  • Staged-first. Uses your staged diff if there is one; falls back to the working tree otherwise.

Setup

  1. Get an API key from openrouter.ai/keys.
  2. Open Settings (Cmd+,) → search Commit Generator.
  3. Paste your key into commitGenerator.openRouterApiKey.
  4. Pick a model from the dropdown in commitGenerator.model — or run Commit Generator: Select Model from the Command Palette to browse the live list with prices and context windows.
Setting What it does
commitGenerator.openRouterApiKey Your OpenRouter key (sk-or-...).
commitGenerator.model Any model slug from OpenRouter. Defaults to openai/gpt-4o-mini.
commitGenerator.style conventional (default) or plain.
commitGenerator.language english, portuguese, etc.
commitGenerator.maxDiffChars Truncate large diffs before sending (default 12000).

Use it

Two ways, pick your favorite:

  1. Comment icon in the Source Control title bar.
  2. Status bar: 💬 Commit Msg in the bottom-left.

Want a keyboard shortcut? Open the Keybindings UI, search for "Commit Generator: Generate" and bind any combo you like.

Edit files → click → review the message → commit.

About me

I'm a developer building tools I want to use. More of my stuff at ciromaciel.click.

If this saved you time, send it to a friend who still types fix stuff into the commit box.


Build from source

npm install
npm run sync-models   # refresh the model list from OpenRouter
npm run compile
npm run package       # produces a .vsix

Proprietary — see LICENSE.

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