<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Lucas Hayes</title>
    <description>The latest articles on DEV Community by Lucas Hayes (@lucas_hayes_3546ebe6f8295).</description>
    <link>https://dev.to/lucas_hayes_3546ebe6f8295</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4211461%2Ff24a8e04-abde-43c2-bef1-064d0d34efeb.png</url>
      <title>DEV Community: Lucas Hayes</title>
      <link>https://dev.to/lucas_hayes_3546ebe6f8295</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lucas_hayes_3546ebe6f8295"/>
    <language>en</language>
    <item>
      <title>AI Credits vs API Credits: What You're Actually Paying For (and Where Free Credits Really Come From)</title>
      <dc:creator>Lucas Hayes</dc:creator>
      <pubDate>Tue, 27 Oct 2026 17:15:14 +0000</pubDate>
      <link>https://dev.to/lucas_hayes_3546ebe6f8295/ai-credits-vs-api-credits-what-youre-actually-paying-for-and-where-free-credits-really-come-from-eg9</link>
      <guid>https://dev.to/lucas_hayes_3546ebe6f8295/ai-credits-vs-api-credits-what-youre-actually-paying-for-and-where-free-credits-really-come-from-eg9</guid>
      <description>&lt;p&gt;"Credits" is one of the most overloaded words in AI pricing. The same word gets used for a ChatGPT-style app allowance, a prepaid developer balance, a cloud promotion, and a startup grant. Mixing them up is how people end up buying the wrong plan or chasing "free credit" offers that don't exist.&lt;/p&gt;

&lt;p&gt;Here is a plain breakdown of the main kinds, how they're metered, and how to find legitimate free ones.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. App credits (consumer and prosumer tools)
&lt;/h2&gt;

&lt;p&gt;Many image, video, and chat apps sell a monthly plan that includes a fixed number of credits. Each generation, upscale, or long-context request costs some of them. Key points:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;They are tied to &lt;strong&gt;one product&lt;/strong&gt; and usually can't be used anywhere else.&lt;/li&gt;
&lt;li&gt;They often &lt;strong&gt;reset monthly&lt;/strong&gt; and may not roll over.&lt;/li&gt;
&lt;li&gt;The "cost per credit" varies by action, so compare plans by what you actually do (e.g. images per month), not by raw credit count.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. API credits (developer billing)
&lt;/h2&gt;

&lt;p&gt;API credits are a prepaid or granted &lt;strong&gt;dollar balance&lt;/strong&gt; on a developer platform. Every API call is metered, usually per million input and output tokens for text models, and the cost is deducted from that balance.&lt;/p&gt;

&lt;p&gt;This is completely separate from a chat subscription. Paying for a chat app does not give you API credits, and API credits don't unlock the chat app.&lt;/p&gt;

&lt;p&gt;To estimate cost, you need two numbers per model: the input price and the output price per 1M tokens. A quick sanity check: a workload of 1M input tokens plus 250K output tokens costs &lt;code&gt;input_price + 0.25 × output_price&lt;/code&gt;. Output tokens are often several times more expensive than input, so verbose responses add up fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Official vs third-party channels
&lt;/h2&gt;

&lt;p&gt;The same model is often available both from the original provider and from third-party gateways and routers. Prices, rate limits, and terms can differ. Before you switch to a cheaper channel, check:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;whether the listed price is per token at the same unit,&lt;/li&gt;
&lt;li&gt;data handling and retention terms,&lt;/li&gt;
&lt;li&gt;whether features you rely on (tools, caching, batch) are supported.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Where real free credits come from
&lt;/h2&gt;

&lt;p&gt;Legitimate free credits generally come from a short list of sources:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Free tiers&lt;/strong&gt; on consumer apps (limited daily or monthly usage).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free or trial API usage&lt;/strong&gt; on some developer platforms, which can change or end without much notice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud promotional credits&lt;/strong&gt; for new accounts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Startup programs&lt;/strong&gt;, typically via accelerators, VCs, or cloud partner programs, with eligibility rules.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Be skeptical of anything promising a fixed signup bonus from an unofficial site. Always apply on the provider's own pages.&lt;/p&gt;

&lt;p&gt;If you'd rather not track all of this yourself, directories such as &lt;a href="https://ai-credits.ai/" rel="noopener noreferrer"&gt;AI Credits&lt;/a&gt; collect free tiers, startup credit programs, and official-versus-third-party API prices in one place and link out to the official pages.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. A simple decision checklist
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Are you using a &lt;strong&gt;product&lt;/strong&gt; (chat, image, video app) or &lt;strong&gt;building&lt;/strong&gt; with an API? That decides app credits vs API credits.&lt;/li&gt;
&lt;li&gt;Estimate monthly usage in the unit that's actually billed (images, seconds, or tokens).&lt;/li&gt;
&lt;li&gt;Compare at least the official price and one alternative channel.&lt;/li&gt;
&lt;li&gt;Check free tiers and startup programs before paying, but verify every offer at the source.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Understanding which kind of credit you're dealing with usually saves more money than any discount code.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>llm</category>
      <category>startup</category>
    </item>
    <item>
      <title>How to Get a Table Out of a Photo or PDF and Into Excel Without Retyping It</title>
      <dc:creator>Lucas Hayes</dc:creator>
      <pubDate>Tue, 27 Oct 2026 17:08:06 +0000</pubDate>
      <link>https://dev.to/lucas_hayes_3546ebe6f8295/how-to-get-a-table-out-of-a-photo-or-pdf-and-into-excel-without-retyping-it-1jgd</link>
      <guid>https://dev.to/lucas_hayes_3546ebe6f8295/how-to-get-a-table-out-of-a-photo-or-pdf-and-into-excel-without-retyping-it-1jgd</guid>
      <description>&lt;p&gt;If you have ever stared at a photo of a printed price list, a scanned bank statement, or a dashboard screenshot and thought "I just need this in a spreadsheet," you know the usual options are bad. You either retype it cell by cell, or you run it through an OCR tool that hands back one long block of text, and then you spend twenty minutes splitting it into columns.&lt;/p&gt;

&lt;p&gt;This post walks through a workflow that actually saves time, and, just as important, how to check the result so a misread number doesn't end up in a report.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Start with the best source you can get
&lt;/h2&gt;

&lt;p&gt;OCR quality is decided before you upload anything. A few habits make a big difference:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Prefer the original file.&lt;/strong&gt; If the table came from a PDF that has selectable text, use the PDF, not a screenshot of it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shoot straight on.&lt;/strong&gt; When photographing paper, hold the phone parallel to the page and avoid shadows across the table. Skewed photos are the most common cause of columns drifting into each other.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crop to the table.&lt;/strong&gt; Headers, logos, and handwritten notes around the table can confuse table detection. Crop tightly if you can.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep the resolution.&lt;/strong&gt; Messaging apps often compress images. Send the file to yourself as a document instead of a photo.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Use a tool that rebuilds the table, not just the text
&lt;/h2&gt;

&lt;p&gt;Plain OCR answers "what characters are on this page?" What you need is "which characters belong to which row and column?" That second step, table structure detection, is what turns a picture into something you can sort and filter.&lt;/p&gt;

&lt;p&gt;Tools built for this, such as &lt;a href="https://imagetoexcel.io/" rel="noopener noreferrer"&gt;ImageToExcel&lt;/a&gt;, detect the grid, keep rows and columns together, and export straight to an .xlsx file. They usually accept JPG, PNG, WEBP and PDF input, including multi-page scans, so the same flow works for a phone photo and a 12-page statement.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Review before you export
&lt;/h2&gt;

&lt;p&gt;Never trust OCR output blindly, especially with financial data. A quick review routine:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Check the totals.&lt;/strong&gt; If the source has a total row, add the extracted column yourself with &lt;code&gt;=SUM()&lt;/code&gt; and compare. A mismatch tells you immediately that something was misread.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Look for classic swaps.&lt;/strong&gt; &lt;code&gt;0&lt;/code&gt; and &lt;code&gt;O&lt;/code&gt;, &lt;code&gt;1&lt;/code&gt; and &lt;code&gt;l&lt;/code&gt;, &lt;code&gt;5&lt;/code&gt; and &lt;code&gt;S&lt;/code&gt;, and &lt;code&gt;,&lt;/code&gt; versus &lt;code&gt;.&lt;/code&gt; as decimal separators are the usual suspects.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Count the rows.&lt;/strong&gt; Compare the row count against the source. Merged or dropped rows are easier to spot by count than by eye.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watch merged cells.&lt;/strong&gt; Headers that span several columns in the original often get flattened. Fix those by hand before you build formulas on top of them.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  4. Clean up in Excel
&lt;/h2&gt;

&lt;p&gt;Once the data is in a sheet, a few built-in features finish the job:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Text to Columns&lt;/strong&gt; (Data tab) to split anything that landed in one cell.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TRIM and CLEAN&lt;/strong&gt; to remove stray spaces and non-printing characters that break lookups.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Format as Table&lt;/strong&gt; (Ctrl+T) so filters and structured references work right away.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VALUE()&lt;/strong&gt; to turn numbers that were read as text back into numbers.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. Specific cases worth knowing
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Bank statements and credit card statements:&lt;/strong&gt; dates and amounts matter most. Sort by date after export to catch rows that were read out of order.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Invoices and receipts:&lt;/strong&gt; you usually only need a handful of fields (date, vendor, line items, total). Extract those into a consistent layout so you can stack many documents into one sheet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Screenshots of web dashboards:&lt;/strong&gt; these are usually clean, but check that negative numbers kept their minus sign or parentheses.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;Getting a table from an image into Excel is a two-part job: good extraction, then a fast, deliberate check. Spend thirty seconds on the source, let a table-aware converter do the heavy lifting, and always reconcile at least one total before you rely on the numbers.&lt;/p&gt;

</description>
      <category>excel</category>
      <category>ocr</category>
      <category>productivity</category>
      <category>data</category>
    </item>
  </channel>
</rss>
