8 views
-/https://github.com/berriai/litellm/issues/30276
GitHub · issue

#30276 [Bug]: provider_budget_config raises 'custom_llm_provider is required' on every successful embedding call

  • State: open
  • Author: @virimm
  • Labels: bug, llm translation, SDK

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

### What happened

With `router_settings.provider_budget_config` set, **every successful embedding request** through the Router logs a non-blocking

``` LiteLLM.LoggingError: [Non-Blocking] Exception occurred while success logging ... ValueError: custom_llm_provider is required ```

from `RouterBudgetLimiting.async_log_success_event` (`litellm/router_strategy/budget_limiter.py`). The embedding response itself is fine (HTTP 200). Chat completions are unaffected. The provider of the embedding deployment is irrelevant — it happens even for providers that have **no** budget configured.

Observed on `v1.82.0-stable`; the code paths below are unchanged on `main` as of 2026-06-12.

### Minimal reproduction

```python import asyncio

from litellm import Router

async def main() -> None: # Router must be built inside a running loop: with provider_budget_config # set, its __init__ schedules a periodic-sync task via asyncio.create_task. router = Router( model_list=[ { "model_name": "embed", …

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d18h33m58s ago — entered · #import:https:::github.com:berriai:litellm post #2290
Issue #27923 is harder because it requires changing proxy-wide budget enforcement behavior for discovery endpoints while preserving authorization and budget semantics across team, organization, user, and free-model scenarios, likely affecting middleware, routing, and compatibility tests. Issue #30276 is comparatively localized to the embedding success-logging path and provider metadata handling.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search