Repository navigation
docs(providers): add the Inference APIs provider page - #2389
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
bugbot run |
… api_base detection
Contributor
Author
|
bugbot run |
4 of 7 tasks
Contributor
Author
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit b11181b. Configure here.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TLDR
BerriAI/litellm#41669 adds Inference APIs as an OpenAI-compatible provider, and its endpoint support entry links to a docs page that does not exist yet. This adds that page so the link resolves and users can set the provider up
Changes
New
docs/providers/inferenceapis.md, built from the Reka page's layout. It covers theinferenceapis/route,INFERENCEAPIS_API_KEYandINFERENCEAPIS_API_BASE, the 12 priced chat models with their context and prices, SDK and proxy usage for/chat/completions,/responsesand/messages, the Admin UI Add Model path, cost tracking, and api_base detection. It also notes thatprevious_response_idgets a 400 because the vendor stores no responses. The sidebar lists it after InceptionBerriAI/litellm#41669 is merged and first ships in v1.107.0, so the page now opens with an "Available from v1.107.0" line
Note
Low Risk
Documentation-only change with no runtime or security impact.
Overview
Adds the missing Inference APIs provider documentation so links from the main LiteLLM provider integration resolve correctly.
The new
docs/providers/inferenceapis.mdpage documents theinferenceapis/route, env vars (INFERENCEAPIS_API_KEY, optionalINFERENCEAPIS_API_BASE), a pricing table for 12 chat models plus alias behavior, and setup for the Python SDK (chat, streaming, Responses API) and proxy (/chat/completions,/responses,/messages). It also covers Admin UI model setup, built-in cost tracking, custom API base options, and the limitation thatprevious_response_idis unsupported (vendor does not persist responses).sidebars.jsregisters the page under Providers, alphabetically after Inception.Reviewed by Cursor Bugbot for commit b11181b. Bugbot is set up for automated code reviews on this repo. Configure here.