<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Hironsan</author_name>
  <author_url>https://blog.hatena.ne.jp/Hironsan/</author_url>
  <blog_title>Ahogrammer</blog_title>
  <blog_url>https://hironsan.hatenablog.com/</blog_url>
  <categories>
    <anon>自然言語処理</anon>
  </categories>
  <description>少し前に、Hacker Newsで以下の記事が話題になっていました。 www.sergey.fyi この記事では、Geminiのモデル（Gemini 2.0 Flash）を使うと、1ドルで6000ページ分のPDFをMarkdown化できるという話が書いてあります。方法的には、各ページを画像化してモデルに渡してMarkdownを出力するだけなので珍しくはないのですが、その価格でそれだけ処理できるの？という部分に興味を持ちました。そこで、価格の計算をし、実際に試してみることにしました。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhironsan.hatenablog.com%2Fentry%2Focr-with-gemini-2-flash&quot; title=&quot;Geminiを使うと本当に1ドルで6000ページ分のPDFをMarkdown化できるのか？ - Ahogrammer&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>2025-02-25 20:05:49</published>
  <title>Geminiを使うと本当に1ドルで6000ページ分のPDFをMarkdown化できるのか？</title>
  <type>rich</type>
  <url>https://hironsan.hatenablog.com/entry/ocr-with-gemini-2-flash</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
