Skip to content

feat(cerebras): sync current model metadata - #38675

Closed
ryanl-cerebras wants to merge 1 commit into
BerriAI:litellm_internal_stagingfrom
ryanl-cerebras:agent/cerebras-model-metadata-followup
Closed

ryanl-cerebras wants to merge 1 commit into
BerriAI:litellm_internal_stagingfrom
ryanl-cerebras:agent/cerebras-model-metadata-followup

Conversation

@ryanl-cerebras

Copy link
Copy Markdown

Summary

  • add the current cerebras/gemma-4-31b registry entry using the public Cerebras model endpoint
  • mark the retained cerebras/zai-glm-4.7 entry deprecated as of August 17, 2026
  • keep the root and packaged registry copies synchronized

Context

This replaces #35007. That PR was closed as absorbed by #37902, but #37902 was later declined and closed without merging, so the Cerebras metadata never reached litellm_internal_staging.

Closes #37184

Validation

  • queried https://api.cerebras.ai/public/v1/models/gemma-4-31b on August 28, 2026 and matched its pricing, limits, and capabilities exactly
  • both JSON files parse successfully
  • python3 ci_cd/check_files_match.py passes
  • tests/test_litellm/test_model_prices_schema.py: 21 passed
  • git diff --check passes

@greptile-apps

greptile-apps Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Adds the current Cerebras Gemma 4 31B pricing, token limits, and capability metadata while marking ZAI GLM 4.7 as deprecated.

  • Keeps the root and packaged model registries synchronized.
  • Adds Gemma 4 31B chat capabilities, including tools, reasoning, structured responses, and vision.
  • Records the August 17, 2026 deprecation date for ZAI GLM 4.7.

Confidence Score: 5/5

The PR appears safe to merge, with both registry copies synchronized and no concrete metadata-consumption failure identified.

The new entry conforms to the registry shape, both runtime copies match, and the deprecation field affects informational reporting without disabling the retained model.

Important Files Changed

Filename Overview
model_prices_and_context_window.json Adds the Cerebras Gemma 4 31B catalog entry and marks ZAI GLM 4.7 deprecated; no actionable inconsistency was identified.
litellm/model_prices_and_context_window_backup.json Mirrors the root registry changes exactly for packaged runtime metadata.

Reviews (1): Last reviewed commit: "feat(cerebras): sync current model metad..." | Re-trigger Greptile

@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@codspeed

codspeed Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing ryanl-cerebras:agent/cerebras-model-metadata-followup (a5fad66) with litellm_internal_staging (ca0b951)

Open in CodSpeed

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Superseded by the rolling registry PR #38990, which absorbs this change (values re-verified against the official provider docs). Closing per the one-rolling-registry-PR policy.

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.

Sync current Cerebras model metadata

1 participant