DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to send every app's LLM calls through one endpoint with Antirion

Run one gateway that forwards OpenAI-style requests to your provider keys.

Short answer: 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. All steps.

Who it is forA developer or small platform team whose apps call OpenAI or Anthropic directly and who wants one place to manage providers and keys.

The problemEach app holds its own provider keys and code paths, so switching models or providers means changing every app.

The outcomeApps call one base URL with a gateway key, and the model behind the name chat can be changed in the console.

What you need first

  • 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/

Steps

  1. 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.
  2. In the console at http://localhost:8081/ui/, open Providers, choose Add provider, paste your API key, run Test, then Add provider.
  3. Open Models, choose Add model, pick a model from the provider's list, name it chat, and click Add model.
  4. Open API keys, choose Create key, name it for your app, and copy the key, which is shown only once.
  5. Set your SDK base URL to http://localhost:8080/v1 and send a chat request with model chat.

Prompt for your agent

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.

Caveat. The README's getting-started path needs an OpenAI or Anthropic key, and other providers are set up the same way only where the console offers them.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for eliasbiondo/antirion and "Send every app's LLM calls through one endpoint"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer