MDX Limo
Consul Agent - Development Cost Estimate

Consul Agent - Development Cost Estimate

Analysis Date: March 5, 2026 Project Duration: 108 calendar days (November 17, 2025 - March 5, 2026)


Codebase Metrics

Lines of Code

ComponentLinesFiles
apps/web (Next.js Frontend)76,034458
apps/agents (Mastra AI)69,484214
apps/messaging (Bun/Hono Gateway)10,037~25
packages/ui (Shared Components)3,81883
packages/shared (Types/Utils)6736
supabase (Edge Functions)2,2478
scripts (Dev/Ops Tools)9,10946
SQL Migrations4,05823
Tests4,99118
Total175,460896

Complexity Indicators

MetricCount
AI Tools (createTool)137
Workflows (createWorkflow)12
API Endpoints116
Async Functions893
Error Handlers (try/catch)267
Zod Validation Schemas477
Database Tables56

External Integrations (High Complexity)

  • Supabase - PostgreSQL with RLS, Auth, Edge Functions
  • OpenAI - GPT-4.1 for AI agents, embeddings
  • Google APIs - Gmail, Calendar, Drive, Docs, Contacts (5 OAuth flows)
  • Slack - OAuth integration, messaging
  • Inngest - Background job orchestration
  • Turso/LibSQL - Mastra memory storage
  • Stripe - Subscription billing
  • Photon/iMessage - Native messaging bridge
  • Upstash - Redis caching

Development Time Estimate

Base Development Hours by Complexity

CategoryLinesRate (lines/hr)Hours
Simple UI/CRUD (components, basic pages)13,81840345
Standard Business Logic (routes, lib, pages)69,782252,791
Complex AI/LLM Logic (agents, tools, workflows)60,000154,000
Integration Code (OAuth, webhooks, messaging)18,037151,202
Database/SQL (migrations, schemas, RLS)6,30520315
Tests4,99132156
Base Coding Hours175,4608,809

Overhead Multipliers

ActivityPercentageHours
Architecture & Design+18%1,586
Debugging & Troubleshooting+28%2,467
Code Review & Refactoring+12%1,057
Documentation+12%1,057
Integration & Testing+22%1,938
Learning Curve (Mastra, AI frameworks)+18%1,586
Total Overhead+110%9,691

Total Estimated Development Hours

18,500 hours (8,809 base + 9,691 overhead)


Market Rate Research (2025-2026)

Senior Full-Stack Developer Rates (US)

Market SegmentHourly RateAnnual Equivalent
Remote / Mid-Market$60-80/hr$120-160K
Standard US Market$90-120/hr$180-240K
SF Bay Area / NYC$130-175/hr$260-350K
AI/LLM Specialist$125-200/hr$250-400K

Rationale: This project requires specialized skills across multiple premium domains:

  • Next.js 16 + TypeScript (frontend)
  • Mastra AI framework (novel, cutting-edge)
  • LLM orchestration (OpenAI integration)
  • OAuth complexity (5+ Google scopes)
  • Real-time messaging (iMessage bridge)
  • Production infrastructure (Inngest, Turso, Supabase)

Sources:


Total Engineering Cost Estimate

ScenarioHourly RateTotal HoursTotal Cost
Low-end$7518,500$1,387,500
Average$12518,500$2,312,500
High-end (SF/Specialist)$17518,500$3,237,500

Recommended Estimate (Engineering Only): 1.4M1.4M - 3.2M


Realistic Calendar Time (Organizational Overhead)

Real companies don't have developers coding 40 hours/week. Weekly coding time varies by company stage:

Company TypeEfficiencyCoding Hrs/WeekCalendar Time (1 dev)3-Person Team
Solo/Startup (lean)65%26 hrs13.7 years4.6 years
Growth Company55%22 hrs16.2 years5.4 years
Enterprise45%18 hrs19.8 years6.6 years

Note: These estimates assume traditional human development without AI assistance.


Full Team Cost (All Roles)

Engineering doesn't ship products alone. Here's the fully-loaded team cost:

Company StageTeam MultiplierEngineering CostFull Team Cost
Solo/Founder1.0×$2,312,500$2,312,500
Lean Startup1.45×$2,312,500$3,353,125
Growth Company2.2×$2,312,500$5,087,500
Enterprise2.65×$2,312,500$6,128,125

Role Breakdown (Growth Company)

RoleHoursRateCost
Engineering18,500 hrs$125/hr$2,312,500
Product Management5,550 hrs$150/hr$832,500
UX/UI Design4,625 hrs$125/hr$578,125
Engineering Management2,775 hrs$175/hr$485,625
QA/Testing3,700 hrs$100/hr$370,000
Project Management1,850 hrs$125/hr$231,250
Technical Writing925 hrs$100/hr$92,500
DevOps/Platform2,775 hrs$150/hr$416,250
TOTAL40,700 hrs$5,318,750

Claude ROI Analysis

Project Timeline

MetricValue
First commitNovember 17, 2025
Latest commitMarch 5, 2026
Total calendar time108 days (15.4 weeks)
Total commits752
Unique days with commits70

Claude Active Hours Estimate

Based on commit clustering analysis:

Session TypeCountHours/SessionTotal Hours
Heavy sessions (30+ commits/day)157 hrs105
Medium sessions (15-30 commits)254 hrs100
Light sessions (1-15 commits)302 hrs60
Total Estimated Claude Hours70265 hours

Value per Claude Hour

Value BasisTotal ValueClaude Hours$/Claude Hour
Engineering only (avg)$2,312,500265 hrs$8,726/hr
Full team (Lean Startup)$3,353,125265 hrs$12,654/hr
Full team (Growth Co)$5,087,500265 hrs$19,198/hr

Speed vs. Human Developer

MetricValue
Estimated human hours for same work18,500 hours
Claude active hours265 hours
Speed multiplier70× (Claude was 70× faster)

Cost Comparison

ItemCost
Human developer cost (traditional)2,312,500(at2,312,500 (at 125/hr × 18,500 hrs)
Estimated Claude cost (Pro subscription + API)~3,000(108days× 3,000 (108 days × ~28/day avg)
Net savings$2,309,500
ROI770× (every 1spentonClaudeproduced1 spent on Claude produced 770 of value)

Grand Total Summary

MetricSoloLean StartupGrowth CoEnterprise
Calendar Time (traditional)13.7 yrs4.6 yrs (3 devs)2.7 yrs (5 devs)1.6 yrs (10 devs)
Actual Time (with Claude)3.5 months3.5 months3.5 months3.5 months
Total Human Hours Equivalent18,50040,70040,70048,900
Total Cost (traditional)$2.3M$3.4M$5.1M$6.1M

Key Findings

The Headline Numbers

Claude worked for approximately 265 hours and produced the equivalent of 2.3Minprofessionalengineeringvalueroughly2.3M in professional engineering value — roughly 8,700 per Claude hour.

At Growth Company scale (including PM, Design, QA), the value produced was 5.1Mapproximately5.1M — approximately 19,200 per Claude hour.

Assumptions

  1. Rates based on US market averages (2025-2026)
  2. Full-time equivalent allocation for all roles
  3. Includes complete implementation of production features
  4. Does not include:
    • Marketing & sales
    • Legal & compliance
    • Office/equipment
    • Hosting/infrastructure costs
    • Ongoing maintenance post-launch

Time Savings with AI-Assisted Development

MetricTraditionalWith ClaudeImprovement
Development time13.7 years (solo)3.5 months47× faster
Cost efficiency$125/hr (human)$11/hr effective11× cheaper
Features shippedSequentialParallelQualitative leap

Report generated March 5, 2026

Consul Agent - Development Cost Estimate | MDX Limo