<?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: udjin310183-svg</title>
    <description>The latest articles on DEV Community by udjin310183-svg (@udjin310183svg).</description>
    <link>https://dev.to/udjin310183svg</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3824902%2Fc8afefd5-b4f7-48c5-9a74-9b3d22016992.png</url>
      <title>DEV Community: udjin310183-svg</title>
      <link>https://dev.to/udjin310183svg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/udjin310183svg"/>
    <language>en</language>
    <item>
      <title>How I reduced AI coding costs by 94% — and built a CLI to do it automatically</title>
      <dc:creator>udjin310183-svg</dc:creator>
      <pubDate>Sun, 15 Mar 2026 05:32:28 +0000</pubDate>
      <link>https://dev.to/udjin310183svg/how-i-reduced-ai-coding-costs-by-94-and-built-a-cli-to-do-it-automatically-ckm</link>
      <guid>https://dev.to/udjin310183svg/how-i-reduced-ai-coding-costs-by-94-and-built-a-cli-to-do-it-automatically-ckm</guid>
      <description>&lt;p&gt;Every time you ask Claude or ChatGPT about your code, it reads everything. Your entire codebase. Every single query.&lt;br&gt;
On a 44-file Python project that's 41,160 tokens per query. At GPT-4o prices ($2.50/1M tokens) — $0.10 every time you ask a question. At 50 queries a day,that's $147/month. Per developer.I got tired of this and built &lt;a href="https://getkodara.dev" rel="noopener noreferrer"&gt;https://getkodara.dev&lt;/a&gt;.&lt;br&gt;
What it does&lt;br&gt;
Kodara scans your repo once, builds a dependency graph and architectural memory, then returns only the 2–8 files actually relevant to your question.&lt;/p&gt;

&lt;p&gt;pip install kodara&lt;br&gt;
  cd your-project&lt;br&gt;
  kodara init&lt;br&gt;
  kodara ask "How does authentication work?"&lt;/p&gt;

&lt;p&gt;Output:&lt;br&gt;
  ## auth/middleware.py&lt;br&gt;
  Defines AuthMiddleware. Exports: verify_token, require_auth.&lt;br&gt;
  Depends on: jwt_service.py, models/user.py&lt;/p&gt;

&lt;p&gt;## auth/jwt_service.py&lt;br&gt;
  Defines JWTService. Exports: encode, decode, refresh.&lt;/p&gt;

&lt;p&gt;[3/44 modules · 1,840 tokens · 94% reduction]&lt;/p&gt;

&lt;p&gt;Paste that into Claude, ChatGPT, Cursor — whatever you use. Your AI now has surgical context instead of reading everything blindly.&lt;br&gt;
Real numbers&lt;br&gt;
Tested on Flask (83 files), FastAPI (1,122 files), Pydantic (532 files):&lt;/p&gt;

&lt;p&gt;┌─────────────────────────┬────────────────┬─────────────┐&lt;br&gt;
  │                         │ Without Kodara │ With Kodara │&lt;br&gt;
  ├─────────────────────────┼────────────────┼─────────────┤&lt;br&gt;
  │ Tokens per query        │ 41,160         │ 1,840       │&lt;br&gt;
  ├─────────────────────────┼────────────────┼─────────────┤&lt;br&gt;
  │ Cost per query (GPT-4o) │ $0.103         │ $0.005      │&lt;br&gt;
  ├─────────────────────────┼────────────────┼─────────────┤&lt;br&gt;
  │ Monthly (50 q/day)      │ $154           │ $7          │&lt;br&gt;
  ├─────────────────────────┼────────────────┼─────────────┤&lt;br&gt;
  │ Savings                 │                │ $147/month  │&lt;br&gt;
  └─────────────────────────┴────────────────┴─────────────┘&lt;/p&gt;

&lt;p&gt;The interesting part&lt;/p&gt;

&lt;p&gt;I ran an experiment. Scanned Flask, Starlette and Bottle repos with Kodara, fed the .kodara/ context to a free LLM (Kimi K2), and asked it to build a web framework from scratch.&lt;br&gt;
Result: production-ready code with correct Request/Response classes, middleware chain, decorator routing, template engine — all from patterns extracted by Kodara. No source code. No documentation.&lt;br&gt;
The quality isn't in the model. It's in the context.&lt;br&gt;
Other commands&lt;/p&gt;

&lt;p&gt;kodara impact auth/middleware.py  # What breaks if I change this?&lt;br&gt;
  kodara onboard                    # Reading guide for new devs&lt;br&gt;
  kodara history                    # Most active files by git commits&lt;br&gt;
  kodara snapshot                   # Save project state before refactor&lt;/p&gt;

&lt;p&gt;Try it&lt;br&gt;
  pip install kodara&lt;br&gt;
  Free tier: up to 200 files, no API keys, works with any AI tool.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://getkodara.dev" rel="noopener noreferrer"&gt;https://getkodara.dev&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>ai</category>
      <category>productivity</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
