Talk to us

How to add an OpenAI-compatible provider in LiteLLM

Published 13 November 2026 · Updated 20 November 2026 · Aether Core Intelligence Ltd. The base URL is provided after onboarding.

AECore AI is an OpenAI-compatible endpoint for genuine official models — the full Claude range, GPT, Gemini, DeepSeek, Kimi and GLM — typically 10–25% below official list for Claude, GPT and Gemini, and up to 45% for DeepSeek, Kimi and GLM. In LiteLLM, set api_base to the base URL from your onboarding, set your key, and prefix the model as current LiteLLM docs specify. Model IDs still need configuring. Test credits after we understand your volume.

LiteLLM is a self-hosted proxy (or SDK) that you run. AECore AI is the OpenAI-compatible backend you point it at — a Cyprus reseller of genuine official tokens, not a fork of LiteLLM and not a gateway we host for you. Seedance 2.5 video generation is available on the same AECore account; this page does not claim it as a litellm.completion Chat Completions call. See the Seedance 2.5 developer guide and Seedance 2.5 API pricing for video.

Request test credits OpenAI-compatible API Public discount bands Email us

What is a LiteLLM OpenAI-compatible provider?

In LiteLLM, treat the host as an OpenAI-compatible backend: set api_base to the base URL issued at onboarding, set your API key, and prefix the model with the prefix current LiteLLM docs recommend (openai/ or custom_openai/). If a call 404s, current LiteLLM docs say to try a /v1 postfix on api_base. Model IDs still need configuring. AECore AI is one such backend for official Claude, GPT, Gemini, DeepSeek, Kimi and GLM, typically below official list.

LiteLLM talks to many backends. An OpenAI-compatible one is a Chat Completions-style api_base plus a key. We are that backend, not a fork of LiteLLM. Official documentation: LiteLLM’s OpenAI-compatible endpoints page (re-fetched 13 November 2026, 10:20 Asia/Shanghai). The providers index also lists custom_openai/. Those pages belong to LiteLLM; they are not AECore docs.

How do I call AECore from the LiteLLM SDK?

In the snippet below, replace <base URL from your onboarding> and <model id from your model list> with the values provided after onboarding. If a call returns 404, current LiteLLM docs (13 November 2026) say to try a /v1 postfix on api_base.

import litellm

# Replace the values in angle brackets with your onboarding details. The base URL is provided after onboarding.
resp = litellm.completion(
    model="openai/<model id from your model list>",  # or custom_openai/ — follow current LiteLLM docs
    api_base="<base URL from your onboarding>",       # if you get 404, current LiteLLM docs say to try a /v1 postfix
    api_key="<your API key>",
    messages=[{"role": "user", "content": "Draft a 30-second scene outline."}],
)
print(resp.choices[0].message.content)

You still set model IDs, and you should verify streaming, tools and other options on a test workload.

How do I add AECore in a LiteLLM proxy config.yaml?

One model_name (the alias your app will call on the LiteLLM proxy) maps to one AECore model ID. Prefixes and parameter names match current LiteLLM docs — official page re-fetched 13 November 2026, 10:20 Asia/Shanghai (docs.litellm.ai); drop_params still absent, so it is not in the snippet. Use the same values provided after onboarding. This is not a copy-paste-and-run config against a verified host.

# LiteLLM proxy config.yaml — prefixes and param names: check docs.litellm.ai for current values
# Replace the values in angle brackets with your onboarding details.
model_list:
  - model_name: my-claude          # the alias your app will call
    litellm_params:
      model: openai/<model id from your model list>
      api_base: "<base URL from your onboarding>"
      api_key: os.environ/AECORE_API_KEY

This page does not set drop_params: true. The official LiteLLM compatible-endpoints page, re-fetched 13 November 2026, 10:20 Asia/Shanghai, does not document that flag for compatible providers.

Which prefix do I use: openai/ or custom_openai/?

Follow today’s official LiteLLM documentation. As of 13 November 2026 both prefixes exist: openai/ is on the compatible-endpoints page, and custom_openai/ is on the providers list and in a third-party IBM Cloud example. If those sources disagree, follow the official LiteLLM docs. IBM is not an AECore partner; do not treat that example as our documentation.

Can I reach official Claude, Gemini and DeepSeek through one LiteLLM config?

Yes. One OpenAI-compatible base URL and one key can serve official Claude (full range), Gemini and DeepSeek; you change only the model ID, which comes from your onboarding model list. Add them as separate model_list entries (or separate SDK calls) against the same api_base and key. GPT, Kimi and GLM follow the same pattern.

AECore AI resells those genuine official tokens — typically 10–25% below official list for Claude, GPT and Gemini, and up to 45% for DeepSeek, Kimi and GLM — and refunds the affected usage if a delivered model is not the genuine official version. See the OpenAI-compatible API pillar, cheaper Claude on an OpenAI-compatible API, and the DeepSeek, Kimi and GLM comparison. Video models such as Seedance 2.5 sit on the same account but are not claimed here as Chat Completions calls.

How is this different from using LiteLLM as a self-hosted OpenRouter alternative?

Two different tools. LiteLLM is a self-hosted proxy (or SDK) you run, and you can attach many backends to it. An OpenRouter alternative in the commercial sense is a reseller or gateway you pay instead of, or as well as, OpenRouter. AECore AI is the latter: a Cyprus reseller of genuine official tokens, typically below official list, with no self-hosted proxy to operate. You can point LiteLLM at AECore as one OpenAI-compatible backend. We are not a multi-provider marketplace. For the pricing compare, see OpenRouter alternatives (2026).

How much cheaper than official list?

Public bands only — these are not a guaranteed unit discount:

Prepaid credits, no top-up fees. Official-list unit figures, when you need them, live only on the dated official list-price dataset and on Claude API pricing — cite the fetch date on those pages; do not paste a second table here. Try the cost calculator (bands only) and see all public discount bands.

How do I get test credits?

Test credits are available on request for qualified teams (manual review). Tell us which models you need, your expected monthly volume and your business. We set up test credits after we understand those needs. The base URL and model list are provided after onboarding. Prefer to talk? Contact us or email partner@aecoreai.com. Request the credits on the test-credits form. EU data residency available. AECore AI is operated from Cyprus by Aether Core Intelligence Ltd (HE 496647). We are not an official vendor partner and we did not train the models. See trust and the authenticity guarantee.

FAQ

How do I add an OpenAI-compatible provider in LiteLLM?

In LiteLLM, treat the host as an OpenAI-compatible backend: set api_base to the base URL issued at onboarding, set your API key, and prefix the model with the prefix current LiteLLM docs recommend (openai/ or custom_openai/). If a call 404s, current LiteLLM docs say to try a /v1 postfix on api_base. Model IDs still need configuring. AECore AI is one such backend for official Claude, GPT, Gemini, DeepSeek, Kimi and GLM, typically below official list.

Does AECore AI publish a public API host I can paste into LiteLLM today?

No public hostname is printed on this page. After a needs conversation and test-credit onboarding, AECore AI issues your base URL, key, and model list. In the examples, replace <base URL from your onboarding> with the base URL provided after onboarding.

Can I call official Claude, Gemini and DeepSeek through one LiteLLM config?

Yes. One OpenAI-compatible base URL and one key can serve official Claude (full range), Gemini and DeepSeek; you change only the model ID, which comes from your onboarding model list. Video models such as Seedance 2.5 sit on the same account but are not claimed here as litellm.completion Chat Completions calls.

Is AECore AI a LiteLLM fork, or a self-hosted OpenRouter alternative?

Neither. LiteLLM is a self-hosted proxy or SDK you run. AECore AI is a Cyprus reseller of genuine official tokens that you can attach as one OpenAI-compatible backend. For a commercial OpenRouter comparison, see our OpenRouter alternatives page. You still set the base URL, key and model IDs.

How much cheaper than official list?

Public bands only: Claude, GPT and Gemini typically 10–25% below official list depending on volume; Seedance 2.5 typically 10–20%; DeepSeek, Kimi and GLM up to 45%. These are bands, not a guaranteed unit discount. See pricing and the cost calculator.

How do I get test credits?

Test credits are available on request for qualified teams (manual review). Tell us which models you need, your expected monthly volume and your business. We set up test credits after we understand those needs. Use the test-credits form, or Contact us, or email partner@aecoreai.com.

Request test credits

Test credits are available on request for qualified teams (manual review). Tell us which models you need, your expected monthly volume and your business — we set up test credits after we understand those needs. For a general enquiry, contact us or email partner@aecoreai.com. AECore AI is operated from Cyprus.