AI Proxy
⚠️
Coming Soon — AI Proxy is under active development. The features described below are planned for an upcoming release.
The Aerostack AI Proxy is a smart gateway for publishing, managing, and monetizing AI-powered APIs. It goes beyond traditional API gateways — with built-in consumer authentication, per-consumer billing, rate limiting, a knowledge base (RAG), content moderation, and auto-generated documentation.
What It Will Do
Planned Features
- Consumer Key Management — SHA-256 hashed, edge-cached, scoped to plans and rate limits
- Per-Consumer Billing — Free, pay-per-call, subscription, tiered, usage-based via Stripe Connect
- Rate Limiting — Per consumer, per plan, per endpoint with burst protection
- AI Pipeline — RAG (knowledge base injection), content moderation, pre/post-request hooks
- Auto-Generated Docs — OpenAPI Specification with interactive explorer
- Analytics — Per-consumer usage, latency percentiles, geographic distribution
How It Differs from Workspaces
| MCP Workspaces | AI Proxy | |
|---|---|---|
| Protocol | JSON-RPC 2.0 (MCP) | REST HTTP |
| For | AI tool orchestration | API publishing & monetization |
| Auth | Workspace tokens | Consumer API keys |
| Billing | Team-based | Per-consumer metered |
| Best for | Internal tool access | Public API products |
Both share the same Aerostack infrastructure and edge runtime.
AI Proxy is powered by Aerostack Functions under the hood — the same fullstack edge runtime with native bindings to Database, Cache, Queue, AI, Vector Search, and Storage.