Skip to content

AI Proxy

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.

Consumer Request

Edge Auth
(consumer key validation)

Rate Limit Check

Pre-Request Hooks
(moderation, validation)

Knowledge Base
(RAG injection)

Your API

Post-Response Hooks
(filtering, enrichment)

Billing Event
(async queue)

Response

  • 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 billing
  • 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
MCP WorkspacesAI Proxy
ProtocolJSON-RPC 2.0 (MCP)REST HTTP
ForAI tool orchestrationAPI publishing & monetization
AuthWorkspace tokensConsumer API keys
BillingTeam-basedPer-consumer metered
Best forInternal tool accessPublic 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.