Add Cheaper Inference as a built-in AI provider

Open
#11,070 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@kirangadhave is already working on this.

Since Oct 2, 2026.

Assessment

This issue has not been assessed yet.

Description

Description

I want to use Cheaper Inference as a built-in AI provider in marimo.
Cheaper Inference is an OpenAI-compatible LLM gateway.
One API key gives access to models from several labs.

The change follows the OpenRouter and OpenCode Go pattern:

  • [ai.cheaperinference] config with api_key and base_url.
  • Default base URL https://api.cheaperinference.com/v1/.
  • Env fallback CHEAPER_INFERENCE_API_KEY.
  • Model prefix cheaperinference/, for example cheaperinference/gpt-5.4-mini.
  • A settings panel entry, an icon, docs, and tests.

Requests go through the marimo server, like other OpenAI-compatible providers.

Are you willing to submit a PR? (You must receive approval from the team before submitting a PR.)
  • Yes
Alternatives

Users can add it under custom_providers with the base URL and key.

Additional context

Docs: https://cheaperinference.com/docs
Models: https://cheaperinference.com/markets

Dominant language
Python
Stars
22.9k
Forks
1.3k
Avg merge
1d 10h
Merged PRs (30d)
380

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from marimo-team/marimo

All issues in marimo-team/marimo

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.