Skip to content

Rename free_models.{json,py} → providers.{json,py}; fix stale GitHub base_url in README#31

Merged
BillJr99 merged 1 commit into
claude/free-models-comparison-7vI4Rfrom
claude/rename-free-models-to-providers
May 29, 2026
Merged

Rename free_models.{json,py} → providers.{json,py}; fix stale GitHub base_url in README#31
BillJr99 merged 1 commit into
claude/free-models-comparison-7vI4Rfrom
claude/rename-free-models-to-providers

Conversation

@BillJr99
Copy link
Copy Markdown
Owner

Summary

The sidecar describes every supported provider — not just free ones. The believed_free / model_reasoning / free_limits fields are merely the free-tier metadata for providers that offer it. The free_models name was misleading, so this renames the data file and its loader, and cleans up the last stale GitHub Models endpoint reference.

Renames (history preserved via git mv)

  • llmproxy/free_models.jsonllmproxy/providers.json
  • llmproxy/free_models.pyllmproxy/providers.py
  • tests/test_free_models_data.pytests/test_providers_data.py

Reference updates

  • All imports: from llmproxy.free_models / from .free_models…providers (setup_wizard, scraper, scripts/sources/api_models.py, and tests).
  • DATA_PATHproviders.json; setup.py package_dataproviders.json.
  • CI drift-guard message → providers.json.
  • README: file-overview tree + every free_models.json reference → providers.json, with wording clarifying it holds all provider templates.
  • Fixed the last stale GitHub Models base_url in the README provider table: https://models.inference.ai.azure.comhttps://models.github.ai/inference (the Azure endpoint was deprecated 2025-07-17 and stopped responding after 2025-10-17).

Intentionally not renamed

scripts/update_free_models.py keeps its name — it specifically updates the free-tier fields within providers.json, so the name is still accurate.

Notes

Test plan

  • ruff clean across llmproxy/, scripts/, tests/.
  • Full suite green (239 passed).
  • python -c "from llmproxy.providers import load_data, DATA_PATH" loads 25 providers from providers.json.
  • Repo-wide grep confirms no remaining free_models.json / free_models.py references or models.inference.ai.azure.com occurrences.

https://claude.ai/code/session_01Ey3m4qS4tWxG6kT5fF7YrA


Generated by Claude Code

The sidecar holds templates for every supported provider, not only free
ones — the believed_free / model_reasoning / free_limits fields are just the
free-tier metadata for providers that offer it. Rename to reflect that:

- llmproxy/free_models.json -> llmproxy/providers.json
- llmproxy/free_models.py   -> llmproxy/providers.py
- tests/test_free_models_data.py -> tests/test_providers_data.py

Update all imports (setup_wizard, scraper, sources, tests), DATA_PATH,
setup.py package_data, the CI drift-guard message, and the README (file
tree + all references). Also fix the one remaining stale GitHub Models
base_url in the README provider table (Azure -> models.github.ai/inference).

The update_free_models.py scraper keeps its name — it still updates the
free-tier fields within providers.json. No behavior change; config.example
regen is byte-identical.
@BillJr99 BillJr99 merged commit 32f62ee into claude/free-models-comparison-7vI4R May 29, 2026
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.

2 participants