[Feature]: Add Cheaper Inference as a proxy preset
Problem / pain point
Users of Cheaper Inference must select "Custom..." and type the base URL by hand.
Cheaper Inference is an OpenAI-compatible LLM gateway.
Its base URL is https://api.cheaperinference.com/v1.
Cheaper Inference is one of the fastest-growing AI routers. Each model costs 15–60% less than the list price of its lab.
Proposed solution
Add one entry to PROXY_PRESETS in packages/shared/src/proxy-presets.ts.
Use id cheaperinference, provider openai and base URL https://api.cheaperinference.com/v1.
Add one test assertion and one changeset.
This follows the pattern of #397.
Alternatives considered
A full built-in provider touches about 16 files. A preset is smaller and needs no new code paths.
Scope
Provider / model
Hard-constraints check
- [x] I have read the hard constraints in CLAUDE.md and this proposal does not conflict with any of them.
Thanks for the well-scoped proposal — the explicit reference to #397 and the file you want touched make this easy to evaluate.
This looks like a good fit for the existing preset path rather than a full built-in provider. The repo already carries the same shape of change: .changeset/requesty-proxy-preset.md:5 records "Add Requesty as an OpenAI-compatible proxy preset in provider settings," so adding an OpenAI-compatible gateway as a preset entry is an established, accepted pattern. Keeping it to a preset also stays clear of the BYOK hard constraint — a preset only prefills the base URL, it does not proxy calls — so it doesn't conflict with anything in CLAUDE.md.
On the delivery shape, what you described matches project conventions: one entry in the preset list, at least one Vitest assertion (new features require a test), and one changeset via pnpm changeset. A full built-in provider needing ~16 files is real, so the smaller preset route is the leaner choice.
Need more info:
- Does Cheaper Inference expose an OpenAI-compatible
/v1/modelsendpoint that preset model discovery can use, or should the preset rely on a manually entered model ID? - Is
https://api.cheaperinference.com/v1the exact OpenAI-compatible base (i.e. the client appends/chat/completions), or does the endpoint expect a different suffix? - Do you want to open the PR yourself, or would you prefer a maintainer to pick this up once the two points above are settled?
Open-CoDesign Bot