Skip to content

Document is_free field in router /v1/models API response#2567

Merged
SBrandeis merged 1 commit into
mainfrom
auto-docs/moon-landing-pr-18641
Jun 17, 2026
Merged

Document is_free field in router /v1/models API response#2567
SBrandeis merged 1 commit into
mainfrom
auto-docs/moon-landing-pr-18641

Conversation

@SBrandeis

@SBrandeis SBrandeis commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Note

Low Risk
Documentation-only change with no runtime or API behavior impact.

Overview
Documents the optional is_free boolean on each provider object returned by the router’s OpenAI-compatible GET /v1/models listing (and single-model lookup).

The field indicates when a model is temporarily free on that provider (e.g. promos), and is added to the provider fields table in hub-api.md alongside pricing and other routing metadata.

Reviewed by Cursor Bugbot for commit fb55893. Bugbot is set up for automated code reviews on this repo. Configure here.

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@julien-c julien-c left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

(for moon-landing) maybe only output it when it's true?

@SBrandeis
SBrandeis merged commit 18e36a3 into main Jun 17, 2026
3 checks passed
@SBrandeis
SBrandeis deleted the auto-docs/moon-landing-pr-18641 branch June 17, 2026 10:12
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.

5 participants