Back to feed
Dev.to
Dev.to
6/23/2026
Use a flat-priced, auto-routing LLM API in Aider or Cline — one npx command

Use a flat-priced, auto-routing LLM API in Aider or Cline — one npx command

Short summary

Created a lightweight local proxy that translates OpenAI Bearer authentication to RapidAPI headers, enabling alternative LLM APIs like Modelis to work seamlessly with Aider, Cline, and Continue. The proxy handles streaming, token-by-token output, and auto-model routing. It's open-source (MIT), distributed via npm, and solves integration friction for developers wanting cheaper or different model options.

  • Local proxy bridges OpenAI protocol to RapidAPI authentication
  • Compatible with Aider, Cline, Continue, and any OpenAI-compatible SDK
  • Open-source MIT licensed, installable via npx modelis-openai

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more