Skip to content
/ K1 Public

K1, an infrastructure layer for Kardashev Type 1 workloads, helps you choose your cloud services either on earth or space comparing with factors like cost, carbon and latency.

Notifications You must be signed in to change notification settings

samartho4/K1

Repository files navigation

K1 🌍→🛰️

Route AI workloads to wherever and whenever they're cleanest and cheapest.

Live Demo MIT License


The Problem

AI training burns through data centers that evaporate 1.8 liters of water per kWh. Grid carbon intensity varies 24x globally (13-320 gCO₂/kWh). Same GPU-hour costs 10x more in the wrong location. Meanwhile, Starcloud-1 launched Nov 3, 2025—first H100 GPU in orbit. Orbital compute is operational hardware.


What K1 Does

  • Live routing: Calls real APIs for carbon (Electricity Maps, UK National Grid) and cost (Azure) to route workloads across Earth + orbital data centers
  • Smart scheduling: "Wait 4 hours for solar peak → Save 156kg more CO₂"
  • Results: 41% less carbon, 53% less water, 47% cheaper

Try it: k1-phi.vercel.app

K1 Architecture Live carbon intensity and cost data routing workloads across Earth and orbital data centers


Quick Start

git clone https://github.com/yourusername/K1.git
cd K1
npm install
npm run dev

Visit http://localhost:3000

Optional: Add Electricity Maps API

  1. Sign up (free): https://api.electricitymaps.com/free-tier-api
  2. Add to .env.local: NEXT_PUBLIC_ELECTRICITY_MAPS_KEY=your_key
  3. Restart dev server

UK Carbon API works out of the box (no auth).


Architecture

Stack: Next.js 14, TypeScript, react-globe.gl (Three.js), Tailwind
APIs: UK National Grid (free), Electricity Maps (200+ zones), Azure Retail Prices
Algorithm: Weighted scoring (40% carbon, 30% cost, 30% latency) → 70/30 split between top 2 regions

Data Centers:

Region Carbon Cost Water Source
UK LIVE API $0.25/kWh 0.8 L/kWh Updates every 30min
California LIVE API $0.18/kWh 1.2 L/kWh Electricity Maps
Germany LIVE API $0.20/kWh 1.5 L/kWh Coal-heavy grid
Sweden LIVE API $0.08/kWh 0.3 L/kWh Hydro paradise
Orbital LEO-1 8 gCO₂/kWh $0.002/kWh 0 L/kWh Starcloud-1 specs

Why This Matters

Water crisis: Data centers in California drought zones use 1.2-2.4 L/kWh
Carbon chaos: Same job produces 24x more emissions in Germany vs Sweden
Orbital economics: Solar energy 22x cheaper in space ($0.002 vs $0.045/kWh)

Starcloud-1: Launched Nov 3, 2025. 60kg satellite, 325km orbit, running NVIDIA H100 + Google Gemini in space.


Data Sources


License

MIT - see LICENSE


K1: Kardashev Type I infrastructure for AI. 🌍→🛰️

About

K1, an infrastructure layer for Kardashev Type 1 workloads, helps you choose your cloud services either on earth or space comparing with factors like cost, carbon and latency.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published