Skip to content

feat: add Cheaper Inference to inference providers - #1805

Open
aiapienthusiast wants to merge 1 commit into
genlayerlabs:v0.123-devfrom
aiapienthusiast:cheaperinference-provider
Open

aiapienthusiast wants to merge 1 commit into
genlayerlabs:v0.123-devfrom
aiapienthusiast:cheaperinference-provider

Conversation

@aiapienthusiast

Copy link
Copy Markdown

Closes #1804

What

  • Add cheaperinference to the provider list in both provider schemas (backend and frontend).
  • The cheaperinference provider uses the openai-compatible plugin.
  • Add three default providers: gpt-5.4-mini, claude-sonnet-5 and deepseek-v4-flash.
  • Add CHEAPERINFERENCE_API_KEY to .env.example.

Why

Testing done

  • All default provider files validate against backend/node/create_nodes/providers_schema.json with jsonschema (Draft 2020-12), the same check as get_default_providers().
  • The three new files also validate against frontend/src/assets/schemas/providers_schema.json.
  • A cheaperinference entry with a plugin other than openai-compatible is rejected.

Decisions made

  • api_url is https://api.cheaperinference.com without /v1, like the OpenRouter and LibertAI entries.
  • Model ids are bare, as the gateway expects them.
  • The env var follows CHUTESAI_API_KEY and LIBERTAI_API_KEY.

Checks

  • I have tested this code
  • I have reviewed my own PR
  • I have created an issue for this PR
  • I have set a descriptive PR title compliant with conventional commits

Reviewing tips

  • The change is data only: three JSON files, two schema blocks and one .env.example entry.

User facing release notes

  • Cheaper Inference is available as an LLM provider for validators. Set CHEAPERINFERENCE_API_KEY to use it.

@coderabbitai

coderabbitai Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d3f07dc1-2817-4eaf-ac07-c15c08e45d25

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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