#588·leon

50/50 RevShare Integration: Leon & AIML API

Author: hugoaimlapiCreated Sep 14, 2026Updated Sep 14, 2026
Labelsfeature request

Hi! I'm Hugo from aimlapi.com — an AI aggregator that gives access to 1000+ models in one API, trusted by 400k+ users.

We'd love to be available as a provider option inside Leon — so we went ahead and did all the technical work on our side.

To build our partnership, we offer a 50/50 revenue share on all traffic from this integration. (P.S.: tracking starts as soon as this release goes live, so no earnings will be lost during setup)

My contacts: [email protected] (email / Slack), Telegram: @hug0the

Feature Use Case

Leon already reaches one aggregator (OpenRouter) and several direct vendors. aimlapi.com is a second aggregator: a single OpenAI-compatible Chat Completions endpoint in front of many upstream vendors, so one key covers the OpenAI, Anthropic, Google, DeepSeek and Moonshot families a user would otherwise configure separately, each with its own account, key and .env entry.

Feature Proposal

Add aimlapi as an LLM provider, shaped exactly like the existing Celeris and MiniMax providers: a thin subclass of AISDKRemoteLLMProvider with flavor: 'openai-compatible', a default Base URL of https://api.aimlapi.com/v1 overridable through llm.providers.aimlapi.base_url, the key read from LEON_AIMLAPI_API_KEY, and a small curated set of catalog entries. No base-class change is needed.

The work is done on our side and a pull request against develop follows this issue. Happy to adjust anything — naming, the curated model list, placement — to whatever you prefer.