Skip to content

[Feature]: Multiple providers using the same model, create a combo to handle load balancing. #133

Closed

Description

@guigeng

Problem to solve

Multiple providers offering the same model can create aliases or combos that point to multiple backend providers.

Proposed solution

--

Alternatives considered

No response

Additional context

No response

Activity

  1. added
    enhancement
    on Jul 15, 2026
  2. Wibias commented on Jul 15, 2026

    @Wibias
    Contributor

    Yea, i know what ur talking about. I am doing two other things atm at this project, but thats something I also wanted to implement very soon.

  3. Wibias commented on Jul 15, 2026

    @Wibias
    Contributor

    @guigeng Since I already had a concept for this in mind, can you please also give me some type of concept for what u wish for?

  4. guigeng commented on Jul 16, 2026

    @guigeng
    Author

    Create a group, for example, named "free". When creating the group, you need to specify the backend model, such as Claude, GPT, or Deepseek. Client requests are sent to the model named "free" within this group. When the OCX receives the request, it forwards it to the backend model using load balancing strategies such as round-robin or weighted selection.

  5. Wibias commented on Jul 17, 2026

    @Wibias
    Contributor

    @guigeng Alright. Will be the next one after i finish another little branch. Any Free Tier Providers u wish for to be implemented next?

  6. guigeng commented on Jul 17, 2026

    @guigeng
    Author

    APIs for adding custom anthropic messages and responses are needed.

  7. Wibias commented on Jul 18, 2026

    @Wibias
    Contributor

    @guigeng Alright. Please create a separate Issue for that so I can keep track of pr to issue.

  8. lidge-jun commented on Jul 18, 2026

    @lidge-jun
    Owner

    Status: slice 1 of the combo stack is on dev (validated CRUD + deterministic weighted round-robin/sticky selection + fail-closed member handling, commits f48a5c7…68cda367, based on @Wibias's PR #147 with authorship preserved). Failover engine and catalog/usage slices are in progress; this issue stays open until the full stack lands.

  9. lidge-jun commented on Jul 18, 2026

    @lidge-jun
    Owner

    The full combo stack has landed on dev — all three slices complete:

    • Slice 1 (domain): validated CRUD, reserved combo/ namespace with backward compat, deterministic smooth-weighted round-robin + sticky semantics, fail-closed member handling (f48a5c7…68cda367, based on @Wibias's PR feat: combo virtual models for multi-provider load balancing #147).
    • Slice 2 (failover): per-attempt isolation through the full response pipeline — connection-exception failover, cross-adapter hops, per-target OAuth isolation (no token leakage), committed-stream no-replay, client-abort 499 first-wins, Retry-After-aware cooldowns (25d61f3…3174b78d).
    • Slice 3 (catalog/usage): member-intersection catalog capabilities (no fabricated defaults, stale-row lifecycle) and ordered per-attempt usage attribution with cancellation receipts (88be06f…161a9f74).

    Full suite green: 2,995 tests across 263 files. GUI/i18n surface for combos is the remaining follow-up (matching the original PR's deferral). The feature ships with the next release — closing this issue as landed. Thanks @Wibias for driving this!

  10. guigeng commented on Jul 20, 2026

    @guigeng
    Author

    The full combo stack has landed on dev — all three slices complete:

    • Slice 1 (domain): validated CRUD, reserved combo/ namespace with backward compat, deterministic smooth-weighted round-robin + sticky semantics, fail-closed member handling (f48a5c7…68cda367, based on @Wibias's PR feat: combo virtual models for multi-provider load balancing #147).
    • Slice 2 (failover): per-attempt isolation through the full response pipeline — connection-exception failover, cross-adapter hops, per-target OAuth isolation (no token leakage), committed-stream no-replay, client-abort 499 first-wins, Retry-After-aware cooldowns (25d61f3…3174b78d).
    • Slice 3 (catalog/usage): member-intersection catalog capabilities (no fabricated defaults, stale-row lifecycle) and ordered per-attempt usage attribution with cancellation receipts (88be06f…161a9f74).

    Full suite green: 2,995 tests across 263 files. GUI/i18n surface for combos is the remaining follow-up (matching the original PR's deferral). The feature ships with the next release — closing this issue as landed. Thanks @Wibias for driving this!

    Adding more strategies, such as high availability and lowest price, resulted in the inability to find combo/modelname when retrieving the model directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions