<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiros1192</author_name>
  <author_url>https://blog.hatena.ne.jp/hiros1192/</author_url>
  <blog_title>エンジニアの思い立ったが吉日</blog_title>
  <blog_url>https://engineer-kichizitsu.net/</blog_url>
  <categories>
    <anon>AI</anon>
    <anon>AI活用</anon>
    <anon>Claude</anon>
    <anon>生成AI</anon>
  </categories>
  <description>「見積もりよりAPIコストが大幅に高い」「トークン数が予測できない」「キャッシュを使っているのにコストが減らない」「モデル別の料金計算が間違っていた」といった問題が多く報告されています。本記事では、Claudeのトークン計算の仕組みと課金額を正確に予測するための方法を解説します。 問題の症状 問題1：想定より課金が多い 問題2：トークン数の事前見積もりができない 問題3：キャッシュ設定後もコストが変わらない 問題4：モデル変更後に予期しない料金増加 原因の解説 Claudeの課金構造 モデル別の料金（2026年3月時点） コストが高くなりやすい原因 原因1：Extended Thinkingの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineer-kichizitsu.net%2Fentry%2F20260407%2F1775559600&quot; title=&quot;Claude APIのトークン計算と実際の課金額が合わない問題と対策 - エンジニアの思い立ったが吉日&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/159598337/1752537432377033</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-04-07 20:00:00</published>
  <title>Claude APIのトークン計算と実際の課金額が合わない問題と対策</title>
  <type>rich</type>
  <url>https://engineer-kichizitsu.net/entry/20260407/1775559600</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
