Euron Open AI API Gateway

If you resell or share AI model access, Euron Open AI API Gateway turns scattered provider accounts into one key, one price list, and one prepaid balance. Point an OpenAI or Anthropic SDK at it, swap the base URL and key, and every chat model answers in either wire format, with streaming, tools, and images translated both ways. Operators connect OpenAI, Anthropic, Gemini, or hosts like Groq, OpenRouter, and a self-run vLLM, then set a margin by default, per model, account, or key; zero means at cost. Callers top up a USD balance through Stripe, or in rupees through Razorpay with UPI, cards, and netbanking at a rate locked per order. Before any provider is called, the worst-case price is reserved, so parallel requests cannot overspend. A refused request costs nothing. API keys carry a model allow-list, monthly budget, rate limits, and IP rules, and request bodies are logged only when the key's owner opts in. When a provider times out or returns a 429 or 5xx, the request moves to the next route while circuit breakers and health probes sideline the failing one. Developers get a usage log with tokens, latency, and the exact price of every request, plus a streaming playground. The admin console covers accounts, credit grants, rate-limit tiers, circuit health, revenue against provider cost, and an audit trail. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.

Euron Open AI API Gateway
Euron Open AI API Gateway
Euron Open AI API Gateway
Euron Open AI API Gateway
Euron Open AI API Gateway
Euron Open AI API Gateway
Euron Open AI API Gateway
Euron Open AI API Gateway
Euron Open AI API Gateway
Euron Open AI API Gateway
Euron Open AI API Gateway
Euron Open AI API Gateway

Benefits

  • One key for every provider
  • Point OpenAI or Anthropic SDKs, LangChain, or coding tools at one base URL and key, and every configured model answers in either wire format, so providers change without client rewrites.
  • Your prices and your margin
  • Models are priced from their primary route's cost plus the margin in force, set by default, per model, per account, or per key; zero means at cost, applied to the next request.
  • Spend never outruns the balance
  • The worst-case price is reserved atomically before any provider is called and settled in one transaction with the ledger entry, so parallel requests cannot overspend and refusals cost nothing.
  • Provider outages stay contained
  • Timeouts, 429s, and 5xx responses before the first byte move a request to the next priority route, and per-route circuit breakers keep a failing provider out of rotation.

Features

  • OpenAI and Anthropic endpoints
  • /v1/chat/completions and /v1/messages both reach every chat model through in-house SSE translation, plus embeddings, images, speech, and transcription endpoints.
  • Redis circuit breakers
  • Redis Lua scripts keep rate-limit windows and per-route circuit state shared across API instances, with health probes every five minutes and a manual force-open or force-closed override.
  • Stripe and Razorpay top-ups
  • Stripe Checkout handles dollars and Razorpay Orders handle rupees over UPI, cards, and netbanking, with webhooks verified over the raw body and fulfilled once under a row lock.
  • PostgreSQL micro-dollar ledger
  • PostgreSQL 16 stores integer micro-dollar balances, reservations, and an append-only ledger through Kysely, so every balance change is explained and parallel requests settle exactly once.
  • Next.js console and admin
  • Next.js 15 with React 19, TanStack Query, Radix UI, and Tailwind serves the developer console and the /admin control plane in front of an Express 5 API.
  • Docker Compose and Terraform
  • make up runs the stack on Docker Compose with the Floci AWS emulator, Mailpit, and deterministic stubs, while the same Terraform deploys ECS Fargate, RDS, and ElastiCache.

Apps Similar to Euron Open AI API Gateway