What do you want to do?
5 use cases
-
Send every app's LLM calls through one endpoint
Run one gateway that forwards OpenAI-style requests to your provider keys.
- REPO
eliasbiondo/antirion - Software and DevOps
- Intermediate
View prompt
Using the eliasbiondo/antirion README, configure the OpenAI SDK in <project path> to use base URL http://localhost:8080/v1 and the gateway key in ANTIRION_API_KEY, then send a chat request with model chat. Expected output: a chat completion JSON response. Verify that the request appears in the Request log in the console.
- REPO
-
Cap LLM spend per team, project or key
Set dollar or token budgets and get alerts before a budget runs out.
- REPO
eliasbiondo/antirion - Software and DevOps
- Intermediate
View prompt
Using the eliasbiondo/antirion README, create one gateway key per project and set a dollar budget on each key in the console. Expected output: a list of keys with their budgets. Verify that a test request from one key shows its cost in the cost ledger.
- REPO
-
Find out why an LLM call failed or cost too much
Read the route, status, tokens and cost of any request in the request log.
View prompt
Using the eliasbiondo/antirion README, find the request in the Request log that matches <request description> and report its status, Model, key, tokens, latency and cost. Expected output: a short summary of that request. Verify that the reported values match the request details in the console.
-
Screen prompts for PII and prompt injection
Add guardrails that check requests, responses and streams before models see them.
- REPO
eliasbiondo/antirion - Software and DevOps
- Intermediate
View prompt
Using the eliasbiondo/antirion README, enable the PII guardrail for the key <key name> in the console and send a test request containing a fake email address. Expected output: the request is redacted or blocked as configured. Verify the result in the Request log.
- REPO
-
Rerun the gateway benchmark on your own AWS account
Use the bench harness to measure Antirion overhead against your own setup.
View prompt
Using the eliasbiondo/antirion README and docs/benchmarks.md, prepare the bench/ harness for <AWS region> following the reproduction steps. Expected output: a results summary with overhead p50 and p99 and error rate. Verify that the load generator and upstream run on separate machines as the method requires.
Quick start with Antirion
- Check you have what it needs: Docker installed on the machine that will run the gateway; An API key from OpenAI or Anthropic; A web browser to open the console at http://localhost:8081/ui/.
- Open eliasbiondo/antirion on GitHub and read the README and license.
- Run
docker run -p 8080:8080 -p 8081:8081 -v antirion-data:/var/lib/antirion eliasbiondo/antirionand copy the admin token printed on the first start. - In the console at http://localhost:8081/ui/, open Providers, choose Add provider, paste your API key, run Test, then Add provider.
- Open Models, choose Add model, pick a model from the provider's list, name it chat, and click Add model.
- Open API keys, choose Create key, name it for your app, and copy the key, which is shown only once.
These steps come from our top use case, Send every app's LLM calls through one endpoint, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for eliasbiondo/antirion
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forBuilt for developers and platform teams who run apps that call several LLM providers and want one endpoint, spend limits and request visibility.
- Why it is hot539 stars, launched 23 days ago, picked up by one AI source we track
- LanguageRust
- Sourcegithub.com/eliasbiondo/antirion · Back to Hot repos
Requirements
- Docker installed on the machine that will run the gateway
- An API key from OpenAI or Anthropic
- A web browser to open the console at http://localhost:8081/ui/
Add this badge to your README
Maintain Antirion? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/eliasbiondo-antirion/?utm_source=github&utm_medium=badge&utm_campaign=eliasbiondo-antirion)
HTML
<a href="https://dedupedai.com/use-cases/eliasbiondo-antirion/?utm_source=github&utm_medium=badge&utm_campaign=eliasbiondo-antirion"><img src="https://dedupedai.com/badge/eliasbiondo/antirion.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Antirion
What is Antirion?
Antirion is an open-source AI gateway written in Rust, shipped as one binary with a built-in web console, that routes, secures, budgets and observes LLM calls across many model providers. It is an open-source project on GitHub: https://github.com/eliasbiondo/antirion.
How do I use Antirion?
Run docker run -p 8080:8080 -p 8081:8081 -v antirion-data:/var/lib/antirion eliasbiondo/antirion and copy the admin token printed on the first start; then in the console at http://localhost:8081/ui/, open Providers, choose Add provider, paste your API key, run Test, then Add provider; open Models, choose Add model, pick a model from the provider's list, name it chat, and click Add model. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Antirion for?
Built for developers and platform teams who run apps that call several LLM providers and want one endpoint, spend limits and request visibility.
What can I do with Antirion?
5 use cases so far, for example: Send every app's LLM calls through one endpoint; Cap LLM spend per team, project or key; Find out why an LLM call failed or cost too much. Each has steps and a copy-paste agent prompt.
What do I need to run Antirion?
Docker installed on the machine that will run the gateway; An API key from OpenAI or Anthropic; A web browser to open the console at http://localhost:8081/ui/.
What are alternatives to Antirion?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is Antirion safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.