💻 Quotio: Unified AI API Dashboard Code
Track all your AI subscriptions in one macOS menu bar app
import SwiftUI
import Combine
// Main Quotio Dashboard View
struct QuotioDashboardView: View {
@StateObject private var apiManager = APIManager()
var body: some View {
VStack(alignment: .leading, spacing: 12) {
// Service Status Header
Text("AI Services Dashboard")
.font(.headline)
// API Service Rows
ForEach(apiManager.services) { service in
ServiceRowView(service: service)
}
// Usage Summary
VStack(alignment: .leading, spacing: 8) {
Text("Monthly Usage")
.font(.subheadline)
ProgressView(value: apiManager.totalUsage, total: apiManager.totalQuota)
Text("Used: \(apiManager.totalUsage)/\(apiManager.totalQuota) tokens")
.font(.caption)
}
.padding(.top, 8)
// Smart Failover Toggle
Toggle("Enable Smart Failover", isOn: $apiManager.failoverEnabled)
.padding(.top, 8)
}
.padding()
.frame(width: 300)
}
}
// Service Model
struct AIService: Identifiable {
let id = UUID()
let name: String
let provider: String
var usage: Int
let quota: Int
let apiKey: String
var isActive: Bool
}
// Service Row Component
struct ServiceRowView: View {
let service: AIService
var body: some View {
HStack {
VStack(alignment: .leading) {
Text(service.name)
.fontWeight(.medium)
Text(service.provider)
.font(.caption)
.foregroundColor(.secondary)
}
Spacer()
VStack(alignment: .trailing) {
Text("\(service.usage)/\(service.quota)")
Circle()
.fill(service.isActive ? Color.green : Color.gray)
.frame(width: 8, height: 8)
}
}
.padding(.vertical, 4)
}
}
The Subscription Sprawl Problem
For developers and power users, the modern AI stack is a fragmented mess. You might use OpenAI's GPT-4 for creative tasks, Claude for complex reasoning, Gemini for multimodal analysis, and specialized coding tools like Claude Code or Cline. Each service has its own dashboard, billing cycle, and usage quota. The result? Constant tab-switching, surprise overage charges, and workflow interruptions when you hit a limit mid-task. This administrative overhead is the hidden tax on AI productivity.
Quotio: A Unified Command Center
Enter Quotio, an open-source Swift application created by developer nguyenphutrong that's currently trending on GitHub. It installs as a discreet menu bar icon on macOS, providing a live, unified view of your AI service ecosystem. The app currently supports integrations with Anthropic's Claude, Google's Gemini, OpenAI, Alibaba's Qwen, and the Antigravity platform. For each connected service, Quotio displays real-time quota usage, remaining credits or tokens, and reset timelines.
The core value isn't just visibility—it's automation. Quotio's "smart auto-failover" feature is designed specifically for AI-powered coding assistants. If you're using a tool like Claude Code, OpenCode, or Droid and hit your API limit on one service, Quotio can automatically reroute requests to your next available provider with available quota. This prevents workflow dead-ends and ensures your AI pair-programmer remains active.
Why This Matters Now
As AI models become more specialized, relying on a single provider is increasingly impractical. Different models excel at different tasks, leading professionals to maintain multiple paid accounts. Quotio addresses the resulting operational complexity at a time when AI is moving from experimentation to core infrastructure. By managing the logistics, it lets users focus on outcomes rather than API logistics.
The app's native macOS design and menu bar placement follow the principle of calm technology—providing crucial information without demanding constant attention. With over 1,400 GitHub stars in a short period, it clearly resonates with a real pain point in the developer community.
The Bottom Line
Quotio doesn't introduce a new AI model; it solves the mundane but critical problem of managing the AI models you already use. It represents a maturation in the AI tooling space—a shift from raw capability to usability and integration. For developers tired of subscription juggling, it's a practical step toward a more seamless, multi-model future. The project is available now on GitHub for those ready to consolidate their AI dashboard sprawl into a single, intelligent menu bar.
💬 Discussion
Add a Comment