<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>saitoko</author_name>
  <author_url>https://blog.hatena.ne.jp/saitoko/</author_url>
  <blog_title>コードを書かないSE日誌</blog_title>
  <blog_url>https://blog.saitoko.net/</blog_url>
  <categories>
  </categories>
  <description>この記事の実施記録（2026年5月）: Mac mini M4 24GB にOllama（v0.23.2）を導入し、git diff --staged からConventional Commits形式のコミットメッセージを自動生成するスクリプト（95行）を作成・動作確認した。モデルはqwen3:14bを採用。実測レイテンシは約59〜79秒（Claude APIは約1〜3秒）。コミットメッセージ生成1回あたりのClaudeのAPI費用は$0.002〜$0.004程度で、コスト削減の動機が成立しないことが判明した。 Mac mini M4を買って最初にやりたくなること、ありますよね。「せっかくこの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.saitoko.net%2Fentry%2F2026%2F05%2F19%2F105812&quot; title=&quot;Ollamaでコミットメッセージ生成を実装してわかったコストと速度の現実 - コードを書かないSE日誌&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-05-19 10:58:12</published>
  <title>Ollamaでコミットメッセージ生成を実装してわかったコストと速度の現実</title>
  <type>rich</type>
  <url>https://blog.saitoko.net/entry/2026/05/19/105812</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
