r/SideProject • • 4d ago

cli2api-llm-gate — Turn your AI subscription into an OpenAI-compatible API

Enable HLS to view with audio, or disable this notification

Already paying for an AI subscription like Antigravity or GitHub Copilot, but wish you could use it beyond its official CLI or IDE?

cli2api-llm-gate bridges subscription-based AI tools to an OpenAI-compatible API, letting you use your existing AI subscriptions across different applications, agents and development workflows.

Works with your favourite AI tools

Because it exposes an OpenAI-compatible interface, you can integrate it with:

  • Hermes Agent
  • Pi
  • OpenCode
  • Other OpenAI-compatible clients, agents and applications

Use your subscription as an API backend

This is how I personally use it: I put the gate between my AI subscription and the applications I develop, effectively making the subscription behave like an API-based LLM service.

It allows me to:

  • Integrate LLM calls into virtually any application I build.
  • Use a familiar OpenAI-compatible API interface.
  • Connect different agents and development tools to the same gateway.
  • Build AI-powered applications using subscriptions I already pay for.
  • Avoid having to integrate a separate pay-per-token API account into every project.

In short, I can develop applications as if I had my own LLM API service, while using subscription-backed providers behind the gate.

🔗 GitHub: https://github.com/metagliatore/cli2api-llm-gate

Independent open-source project. Not affiliated with or endorsed by the providers mentioned. Use in accordance with their applicable terms and usage policies.

1 Upvotes

1 comment sorted by