6 views
-/https://github.com/berriai/litellm/issues/34799
GitHub · issue

#34799 [Bug]: model_prices_and_context_window.json: replicate model key typo makes gpt-oss-20b unresolvable

  • State: open
  • Author: @Ub3rm3nch
  • 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?

The model key replicateopenai/gpt-oss-20b in model_prices_and_context_window.json is missing the / separator between replicate and openai. Every other Replicate model entry uses the replicate/owner/model format (e.g. replicate/openai/gpt-oss-120b, replicate/openai/gpt-4o). The malformed key is invisible to the prefix-based provider routing in get_llm_provider_logic.py, so anyone calling completion(model="replicate/openai/gpt-oss-20b") gets a model-not-found error The same typo exists in litellm/model_prices_and_context_window_backup.json

### Steps to Reproduce

## Steps to reproduce

1. Load the model cost map:

```python import litellm ```

2. Verify the malformed key exists but is unreachable:

```python print("replicateopenai/gpt-oss-20b" in litellm.model_cost) # True ```

3. Verify the correctly-formatted key does not exist:

```python print("replicate/openai/gpt-oss-20b" in litellm.model_cost) # False ```

4. Compare with a working Replicate model for reference:

```python print("replicate/openai/gpt-oss-120b" in litellm.model_cost) # Tru…

GitHub resolver

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

Refresh page
vote history (2 events)
#0 of 0 · 31d18h45m51s ago — entered · #import:https:::github.com:berriai:litellm post #2118
Diagnosing an intermittent transport failure requires reproducing timing-dependent behavior, tracing streaming and timeout handling across deployment layers, and validating a robust fix; the other requires a narrowly scoped data correction with straightforward regression coverage.
#0 of 0 · 31d17h46m24s ago — current · #import:https:::github.com:berriai:litellm post #3110
#27954 requires broad diagnosis, profiling, lifecycle analysis, reproducible testing, and production-safe validation across proxy, caching, and Kubernetes behavior; #34799 is a localized data correction with straightforward regression coverage.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search