Skip to content

feat: update EmpirioLabs models in model_prices_and_context_window.json - #37972

Open
Adam-Dalloul wants to merge 1 commit into
BerriAI:litellm_oss_stagingfrom
Adam-Dalloul:empiriolabs-model-prices
Open

feat: update EmpirioLabs models in model_prices_and_context_window.json#37972
Adam-Dalloul wants to merge 1 commit into
BerriAI:litellm_oss_stagingfrom
Adam-Dalloul:empiriolabs-model-prices

Conversation

@Adam-Dalloul

Copy link
Copy Markdown
Contributor

Refreshes EmpirioLabs price and context-window metadata from the public /v1/models catalog. Scope: chat, embedding, rerank models, keyed empiriolabs/.

@Adam-Dalloul
Adam-Dalloul force-pushed the empiriolabs-model-prices branch from 7a844f4 to be68848 Compare August 22, 2026 21:11
@greptile-apps

greptile-apps Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Refreshes the EmpirioLabs model registry from its model catalog

  • Adds chat, embedding, and rerank model identifiers
  • Records pricing, context and output limits, cache pricing, and supported capabilities
  • Keeps each model keyed under the empiriolabs/ provider namespace

Confidence Score: 5/5

The PR appears safe to merge because no concrete failure was identified in the added model metadata

The new records remain valid top-level model entries, use supported registry modes, and no added price, limit, or capability value was shown to violate a reachable LiteLLM contract

Important Files Changed

Filename Overview
model_prices_and_context_window.json Adds structurally valid EmpirioLabs model metadata; no concrete changed-code defect was established

Reviews (1): Last reviewed commit: 7a844f4 | Re-trigger Greptile

@codecov

codecov Bot commented Aug 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Reviewed while consolidating registry changes into the rolling PR #37902. Not rolling this one in yet, reason in that PR description under 'Source PR disposition for this run'. Leaving it open for the author to respond.

Adds 92 empiriolabs/* entries generated from the public model list at
https://api.empiriolabs.ai/v1/models, which returns per-model pricing and
context windows without authentication.

Only models with a real per-token rate are included. Products metered per
call, per task, per message or per unit (research and search answers, the
agent runner, the text detector, image generation, and the fixed
per-message chat models) are left out rather than listed at a zero token
cost. LiteLLM's cost calculator meters per-token and per-second rates and
has no input_cost_per_request path, so publishing those at zero would make
it report paid requests as free.

supports_prompt_caching and cache_read_input_token_cost are set only where
the cached input rate is actually below the prompt rate.
@Adam-Dalloul
Adam-Dalloul force-pushed the empiriolabs-model-prices branch from af2550c to fcd737f Compare August 24, 2026 16:49
@Adam-Dalloul

Copy link
Copy Markdown
Contributor Author

Thanks for the flag in #37902. I removed the entries that were priced at zero and regenerated the rest.

The zeros were products a per-token schema cannot express: research and search answers billed per call, the agent runner billed per task, image generation billed per image, the text detector billed per 1,000 words, and a few chat models on a fixed per-message price. LiteLLM meters per-token and per-second rates and has no input_cost_per_request path, so leaving those in would have made it report paid requests as free. Better absent than wrong.

The 92 entries left all have a real per-token rate, and every price, context window and cache rate in the diff was generated from https://api.empiriolabs.ai/v1/models, which is public and needs no API key, so it should be straightforward to verify. supports_prompt_caching is set only where the cached input rate is actually below the prompt rate.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant