Skip to content

Simplify LiteLLM cost routing tiers#112

Closed
Tibo2403 wants to merge 6 commits into
mainfrom
simplify-litellm-routing
Closed

Simplify LiteLLM cost routing tiers#112
Tibo2403 wants to merge 6 commits into
mainfrom
simplify-litellm-routing

Conversation

@Tibo2403

Copy link
Copy Markdown
Owner

Summary

  • Remove the redundant codex-auto alias from the LiteLLM cost-routing config.
  • Route simple tasks to codex-cheap and medium/complex/default tasks to codex-strong.
  • Document why the middle tier was removed and when to reintroduce it.

Validation

  • python -m py_compile /mnt/data/codex_cost_router.py
  • python /mnt/data/codex_cost_router.py run --dry-run 'correction mineure readme' -> codex-cheap
  • python /mnt/data/codex_cost_router.py run --dry-run 'Refactor this Python API and add tests' -> codex-strong
  • python /mnt/data/codex_cost_router.py run --dry-run 'Review this production migration for security issues' -> codex-strong

Note: runtime validation with a live Windows Codex/LiteLLM/OpenAI setup was not executed in this environment.

@Tibo2403 Tibo2403 closed this Jun 26, 2026
@Tibo2403 Tibo2403 deleted the simplify-litellm-routing branch June 26, 2026 16:51
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