{
  "id": 14480867,
  "title": "Should this prompt leave your laptop? Building a local-first AI router and doing the honest math",
  "url": "https://urgent.news/2026/10/14/should-this-prompt-leave-your-laptop-building-a-local-first-ai-router",
  "topic": "ai",
  "section": "AI",
  "published": "2026-10-14T15:58:47.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/ironman2cool/should-this-prompt-leave-your-laptop-building-a-local-first-ai-router-and-doing-the-honest-math-1iim"
  },
  "original_language": "en",
  "account": "GreenRoute is a Python service designed to determine whether an AI request should be handled locally on a user's device or sent to a cloud-based service. The tool aims to minimize energy consumption and carbon emissions associated with AI processing. Built by the author using an AI coding assistant, the system classifies requests into types such as Q&A, summary, rewrite, translation, code, analysis, long-form writing, and image generation. Each type has a base complexity score that adjusts based on factors like input length and desired output length. The router then routes requests to either local models like Ollama or cloud services like Google Gemini, explaining the decision process. GreenRoute estimates energy usage based on Google's published figures for cloud processing and calculates potential savings by comparing local and cloud-based processing. The tool's design prioritizes transparency, providing a \"Why?\" panel for each answer detailing the checks that led to the decision. Tests on 60 everyday prompts showed that 58% were kept on the device, with results that matched the author's labels and safe options sent to the cloud.",
  "summary": "Building a local-first AI router, and doing the honest math on what it saves. AI disclosure: I built this project with an AI coding assistant (Claude), which also helped draft this article. The benchmark ran on my own laptop, and I have checked every number, source and claim below against the code and the raw results, which are all public. Every AI feature you use, a chatbot, a writing assistant,…",
  "key_points": [
    "GreenRoute determines if AI requests should run locally or in the cloud.",
    "The tool classifies requests into 8 types with complexity scores.",
    "58% of 60 tested prompts processed locally, with accurate results."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}