Skip to content

feat(cheaperinference): add Cheaper Inference provider - #1142

Merged
mikehostetler merged 5 commits into
agentjido:mainfrom
aiapienthusiast:cheaperinference-provider
Oct 26, 2026
Merged

mikehostetler merged 5 commits into
agentjido:mainfrom
aiapienthusiast:cheaperinference-provider

Conversation

@aiapienthusiast

@aiapienthusiast aiapienthusiast commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

Add Cheaper Inference as an OpenAI-compatible text provider.

  • use https://api.cheaperinference.com/v1
  • use bearer authentication from CHEAPERINFERENCE_API_KEY
  • support chat, streaming, and structured object generation
  • reject all other operations with an accurate provider error
  • add the provider to the README table with an official documentation link

Hardening

  • use an explicit :chat and :object operation allowlist
  • add a structured object request test
  • test all public unsupported operation classes
  • test the exact authorization header with an explicit test key
  • merge the current main branch before validation

Testing

  • focused provider tests: 12 passed
  • full test run: 5,428 passed, 11 skipped, and 240 excluded; the release fixture had only a worktree dependency-path failure and passed after the normal local deps path was present
  • mix quality: passed
  • pre-push format hook: passed

Related work

Checklist

  • Code follows the project style
  • Documentation is updated
  • Tests cover the new behavior
  • Commits use Conventional Commits
  • CHANGELOG.md is not changed

@mikehostetler

Copy link
Copy Markdown
Contributor

Thanks for adding Cheaper Inference. Before this can merge, please open a matching PR in agentjido/llmdb that adds the Cheaper Inference provider and model catalog entries, then link that PR here. ReqLLM can use fallback model IDs without catalog data, but the LLMDB entries are needed for verified model metadata, pricing, token limits, and capabilities.

@mikehostetler mikehostetler added the needs_work Changes requested before merge label Oct 23, 2026
@mikehostetler

Copy link
Copy Markdown
Contributor

Matching LLMDB catalog PR: https://github.com/agentjido/llmdb/pull/370\n\nIt adds the Cheaper Inference runtime contract and the gpt-5.4-mini and claude-sonnet-5 catalog records with gateway-specific limits and prices.

@mikehostetler mikehostetler added ready_to_merge needs_work Changes requested before merge and removed needs_work Changes requested before merge ready_to_merge labels Oct 26, 2026
@mikehostetler mikehostetler added ready_to_merge and removed needs_work Changes requested before merge labels Oct 26, 2026
@mikehostetler
mikehostetler merged commit a67c460 into agentjido:main Oct 26, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants