Repository navigation
feat: add Cheaper Inference provider to catalog - #772
Open
aiapienthusiast wants to merge 1 commit into
Open
aiapienthusiast wants to merge 1 commit into
aiapienthusiast wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Cheaper Inference to the built-in provider catalog.
The change is data only, like the NVIDIA NIM entry in #314.
Cheaper Inference is an OpenAI-compatible LLM gateway.
Motivation
Users can pick it from
/logininstead of a custom provider setup.Behavior
cheaperinferenceprovider, kindopenai-compatible, APIopenai-completions.https://api.cheaperinference.com/v1.CHEAPER_INFERENCE_API_KEYor/login cheaperinference.gpt-5.4-mini(default),gpt-5.4,claude-sonnet-5,gemini-3.1-pro,deepseek-v4-flash.Notes
GET /v1/modelsresponse.reasoningflag. I did not verify effort mapping per model, so I did not guess it.costrows. Some models use tiered prices, so Tau shows no cost for this provider.compatflags. The default request shape works.Details
Files:
src/tau_coding/data/catalog.toml: new[[providers]]entry at the end.tests/test_provider_catalog.py: provider order and a golden-entry test.tests/test_provider_config.py: provider order.website/content/guides/providers-and-models.md:/loginline and built-in list.Checks:
uv run pytest tests/test_provider_catalog.py tests/test_provider_config.py -q: 116 passed.uv run pytest --ignore=tests/test_tui_app.py: 1632 passed, 1 failed (test_oauth_providers.py::test_device_poll_slow_down_and_cancel, fails onmaintoo).uv run pytest tests/test_tui_app.py -k "login or provider or catalog or model": 46 passed.uv run ruff check .,uv run ruff format --check(changed tests),uv run mypy: pass.Live check:
tau -p --provider cheaperinference -m gpt-5.4-mini "Reply with the single word: pong"returnedpong.echo tau-ci-okmade abashtool call and returnedtau-ci-ok.