High Performance Local AI Gateway and API Key Wallet
Spora is a local-first, AI gateway and API key wallet designed for developers who demand the highest performance and absolute privacy. Built from the ground up in Rust (Axum) and Tauri v2, Spora eliminates the latency bottlenecks of Python-based gateways while keeping your data strictly on your machine.
The performance of an enterprise gateway with the privacy of a local wallet.
Your prompts and secrets never leave your infrastructure. Spora employs a local first architecture where all provider keys and usage logs are stored in a hardened SQLite vault on your machine. This zero trust approach ensures that sensitive intellectual property remains private even when using public LLM providers.
While Python based gateways often introduce significant latency overhead, Spora is engineered in Rust to handle high frequency requests from autonomous agents and real time IDE integrations. It is optimized for the sub second responsiveness required by modern agentic frameworks.
Integrate Spora once and access over 100 models from OpenAI, Anthropic, Gemini, and OpenRouter. It serves as a drop in replacement for standard SDK compatible tools. Simply point your base URL to the local proxy and manage all model routing through a single Sk-Spora token.
Monitor your AI infrastructure with a high fidelity observability suite designed for transparency.
- Real Time Cost Tracking: Granular accounting for every token and request to prevent unforeseen expenses.
- Dynamic Interaction: Interactive metric cards that update instantly on hover to show specific model performance.
- Long Term Insight: Integrated 365 day activity heatmap for visualizing usage patterns over time.
- Multi Dimensional Filters: Analyze data by model, provider, or specific Spora keys across 17 timeframe ranges.
Gain full visibility into how your agents interact with LLMs.
- Payload Inspection: View formatted request and response JSON for every generation to debug agent behavior.
- Session Tracking: Group related requests into logical sessions to follow complex multi step conversations.
- Performance Benchmarking: Track tokens per second and latency for every individual provider interaction.
- Frontend: React and TypeScript with TailwindCSS for a responsive, prosumer grade UI.
- Backend: High performance Axum server implemented in Rust for reliable request routing.
- Storage: Local SQLite persistence for secure, offline first state management.
- Rust 1.77+
- Node.js 18+
- Xcode CLI (for macOS users)
# Clone the repository and install dependencies
npm install
# Run in development mode
npx tauri dev
# Build for production
npx tauri build- Launch Spora and initialize the local gateway.
- Add your provider keys in the Settings panel.
- Generate a Sk-Spora token in the Keys Wallet.
- Configure your application or IDE (such as Cursor or Claude Code):
- Base URL:
http://localhost:4141/v1 - API Key:
sk-spora-your-token
- Base URL:
The gateway automatically handles protocol translation between various API formats and your selected provider backend.
All cryptographic material and usage logs are stored in ~/.spora/spora.db. Spora contains no telemetry and establishes no external network connections except those explicitly directed to your configured AI providers.
Published under the MIT License. Created by Fisarum.
