Skip to content

feat(providers): add Baseten to the free provider directory - #769

Closed
ahmetb wants to merge 1 commit into
lidge-jun:devfrom
ahmetb:ahmet/baseten-free-directory
Closed

feat(providers): add Baseten to the free provider directory#769
ahmetb wants to merge 1 commit into
lidge-jun:devfrom
ahmetb:ahmet/baseten-free-directory

Conversation

@ahmetb

@ahmetb ahmetb commented Jul 30, 2026

Copy link
Copy Markdown

Summary

  • Add Baseten Model APIs to the free provider directory under signup-credit
    (new accounts receive free credits per the pricing FAQ) as a connectable
    OpenAI-compatible entry: https://inference.baseten.co/v1, key auth, live
    model discovery via /v1/models.
  • Marked supported + official with lastVerified: 2026-07-30 after
    verifying both endpoints live.

Verification

  • GET /v1/models with an API key → 200, OpenAI-shaped catalog (13 models).
  • POST /v1/chat/completions (moonshotai/Kimi-K3, max_tokens: 1) → 200,
    standard chat.completion payload.
  • bun x tsc --noEmit
  • bun test tests/provider-registry-parity.test.ts (31 pass)
  • bun test tests/provider-live-models.test.ts tests/opencode-free-provider.test.ts tests/mimo-free-provider.test.ts (41 pass)

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

Summary by CodeRabbit

  • New Features
    • Expanded signup-credit access to additional providers.
    • Added Baseten as a connectable provider, including setup details and documentation links.
    • Verified Baseten connectivity and chat completion support.

Baseten Model APIs expose an OpenAI-compatible endpoint with live model
discovery, and new accounts receive free signup credits. The entry is
verified against the official docs and live calls: /v1/models returns the
current catalog and a chat completion returns a standard payload.
@github-actions github-actions Bot added the enhancement New feature or request label Jul 30, 2026
@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 99f8a96c-91d7-4fb3-890b-51fee9729cee

📥 Commits

Reviewing files that changed from the base of the PR and between be177ea and ed921f9.

📒 Files selected for processing (1)
  • src/providers/free-directory.ts

📝 Walkthrough

Walkthrough

Updates free-provider access-group membership and adds Baseten to the connectable provider map with OpenAI-compatible endpoint details, documentation links, and official verification metadata.

Changes

Provider directory configuration

Layer / File(s) Summary
Access groups and Baseten connectivity
src/providers/free-directory.ts
signup-credit now includes additional provider IDs, and CONNECTABLE includes Baseten with endpoint configuration, documentation links, and official verification dated 2026-07-30.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related issues

Possibly related PRs

Suggested reviewers: lidge-jun, ingwannu, wibias

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: adding Baseten to the free provider directory.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ed921f9ac0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

baichuan: openAi("https://api.baichuan-ai.com/v1", "https://platform.baichuan-ai.com/console/apikey", { verification: "official" }),
// Verified end-to-end 2026-07-30: /v1/models returns the OpenAI-shaped live catalog (13 models),
// and a chat completion against moonshotai/Kimi-K3 returned a standard chat.completion payload.
baseten: openAi("https://inference.baseten.co/v1", "https://app.baseten.co/settings/api_keys", { supportLevel: "supported", verification: "official", documentationUrl: "https://docs.baseten.co/inference/model-apis/overview", modelsUrl: "https://inference.baseten.co/v1/models", lastVerified: "2026-07-30" }),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add focused coverage for the Baseten directory entry

This adds Baseten metadata without a focused regression test. The existing provider-registry parity test checks only generic provenance invariants, so accidentally removing Baseten or changing its access group, endpoint, discovery mode, or verification metadata would still pass. Add a provider-specific test that asserts the new directory row and its propagated fields.

AGENTS.md reference: src/AGENTS.md:L22-L25

Useful? React with 👍 / 👎.

@lidge-jun

Copy link
Copy Markdown
Owner

Landed on codex/260731-pr-merge-round, with your authorship preserved on the commit. That branch is a staging line: it merges into dev and ships once the performance work in flight there lands.

0856b0cb7 — landed unchanged.

Placement is what made this straightforward: a signup-credit row in the free directory, not a PROVIDER_REGISTRY entry. MAINTAINERS.md sets a credential-destination evidence bar for canonical presets, and an inert directory reference is the documented placement when that evidence is not fully assembled. Submitting it there rather than arguing for promotion saved a round trip.

The dated end-to-end check recorded inline next to the entry (2026-07-30, OpenAI-shaped /v1/models plus a real chat completion) is more than most directory rows carry.

Your Baseten affiliation is disclosed, which under MAINTAINERS.md is neither disqualifying nor a reason to lower the bar. If you want the canonical preset in #653, the remaining items are ToS, operating legal entity, and a named maintenance owner.

@lidge-jun lidge-jun closed this Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants