OpenRouter is the closest neighbour. Same OpenAI-compatible schema, same multi-model routing concept. The swap is one env var.
2
The actual swap
If your code reads OPENAI_API_BASE and OPENAI_API_KEY from env (or the OpenRouter equivalents), edit your .env:
.env
- OPENAI_API_BASE=https://openrouter.ai/api/v1
- OPENAI_API_KEY=sk-or-v1-xxxxxxxxxxxxxxxxxxxxxxxx
+ OPENAI_API_BASE=https://api.llmdeal.me/v1
+ OPENAI_API_KEY=lld_xxxxxxxxxxxxxxxx
# If your library reads OPENROUTER_API_KEY specifically,
# also set it to the same lld_ value, or rename to OPENAI_API_KEY.
No SDK changes. The official OpenAI SDK, LangChain, LlamaIndex, Aider, and Continue.dev all pick up the new base URL on next launch.
3
Test it
shell
curl https://api.llmdeal.me/v1/models \
-H "Authorization: Bearer $OPENAI_API_KEY"
You should see a JSON list including smart-route, claude-sonnet-4-6-frontier, gpt-5.5-frontier, and the open-weight aliases. Full catalog at /models.html.