Spaces:
Runtime error
Runtime error
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,13 +1,53 @@
|
|
| 1 |
-
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Dispatch AI — AI Cost Calculator
|
| 3 |
+
emoji: 💰
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: "4.44.1"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
+
license: other
|
| 11 |
+
tags:
|
| 12 |
+
- cost-calculator
|
| 13 |
+
- on-device
|
| 14 |
+
- savings
|
| 15 |
+
- co2
|
| 16 |
+
- dispatch-ai
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Dispatch AI — AI Cost Calculator 💰
|
| 20 |
+
|
| 21 |
+
Input your cloud API usage (tokens/month) → see cost savings by switching to on-device AI inference. Shows breakeven point, 1-year savings, and CO2 reduction.
|
| 22 |
+
|
| 23 |
+
Built by **Dispatch AI (FZE)** — UAE · License 10818.
|
| 24 |
+
|
| 25 |
+
## Features
|
| 26 |
+
|
| 27 |
+
- 💵 **Total savings** — cloud vs on-device over your projection period
|
| 28 |
+
- ⏱️ **Breakeven point** — when on-device becomes cheaper than cloud
|
| 29 |
+
- 🌍 **CO2 reduction** — environmental impact of switching
|
| 30 |
+
- 📊 **Side-by-side comparison** — monthly cost, total cost, CO2 emissions
|
| 31 |
+
- 🌳 **Tree equivalent** — how many trees your CO2 savings represent
|
| 32 |
+
- ⚡ **Capacity check** — can your phone fleet handle the token volume?
|
| 33 |
+
- 📋 **8 cloud providers** — GPT-4o, GPT-4o-mini, Claude 3.5 Sonnet/Haiku, Llama, Mistral, Gemini
|
| 34 |
+
- 🌙 **Dark theme** (#0A0F1A bg, #1FE0E6 cyan accent)
|
| 35 |
+
|
| 36 |
+
## How It Works
|
| 37 |
+
|
| 38 |
+
1. Enter your monthly input/output token usage (in millions)
|
| 39 |
+
2. Pick your current cloud provider
|
| 40 |
+
3. Set how many phones you'd deploy
|
| 41 |
+
4. Choose projection period (1-36 months)
|
| 42 |
+
5. Click **Calculate Savings**
|
| 43 |
+
|
| 44 |
+
## Assumptions
|
| 45 |
+
|
| 46 |
+
- Phone: Samsung S20 FE ($400, 24-month lifespan)
|
| 47 |
+
- Inference: 16 t/s (Qwen2.5-1.5B Q4_K_M on SD865)
|
| 48 |
+
- Electricity: ~$2.50/month/phone
|
| 49 |
+
- CO2: 0.4 kg/1M tokens (cloud) vs 0.384 kg/month (phone)
|
| 50 |
+
|
| 51 |
+
## License
|
| 52 |
+
|
| 53 |
+
© 2026 Dispatch AI FZE — Sharjah, UAE · License 10818. All rights reserved.
|