Repository navigation
feat(providers): add Inference APIs - #7346
Merged
rekram1-node merged 6 commits intoNov 14, 2026
Merged
Conversation
Contributor
Action items
|
Contributor
Author
|
Addressed all three review items in the follow-up commit, using measurements against the live API (2 to 3 runs per setting, reasoning tokens compared):
|
Contributor
|
No actionable findings. |
Contributor
Action items
|
Contributor
Action items
|
OpenAI-compatible gateway (https://api.inferenceapis.com/v1) serving nine open-weight chat models. All models reference existing lab metadata via base_model; prices checked against https://inferenceapis.com/pricing on 2026-09-17. bun validate passes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…API, Kimi attachment=false Addresses review: DeepSeek V4 Flash/Pro toggle + high|max, V4.1 Flash toggle + low|high|xhigh|max, GLM 5.3 / 5.3 Flash low|high|max, Kimi K2.7 Code attachment=false with text-only input. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…4 Pro) and add gpt-oss-20b, Qwen3.8 Flash Prices as listed on https://inferenceapis.com/pricing on 2026-09-30. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NatZMWWFejKjLafCN9N6kU
…/ 5.15 Reverts the V4 Pro part of the previous commit; the model returned to its original host on 2026-09-30. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NatZMWWFejKjLafCN9N6kU
…ns with lab/peers - Migrated with migrate-v2.ts; validate passes. - DeepSeek V4 Flash / V4.1 Flash / V4 Pro: effort = low|high|max (DeepSeek's documented levels; xhigh dropped, low restored). - Qwen3.8 Flash: toggle only, with the measurement showing effort/budget are not honoured on this path; identical [limit] removed. - Kimi K2.7 Code: toggle kept with measured on/off evidence (reasoning_effort = none returns no reasoning field). - gpt-oss-20b: identical [limit] removed. - Every toggle file names reasoning_effort = "none" as the single canonical wire path. - Rebased on dev. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NatZMWWFejKjLafCN9N6kU
TaylorHawkes
force-pushed
the
add-inferenceapis-provider
branch
from
October 21, 2026 16:09
470168c to
8478859
Compare
Contributor
Action items
|
… 3.3 70B evidence - Qwen3.8 Flash: re-measured with Alibaba's own fields (reasoning_effort low|medium|xhigh, thinking_budget), 3 runs each; none change reasoning tokens beyond noise, so the file stays toggle-only with the numbers in the header. - Kimi K2.7 Code: image input and json_object/json_schema verified working on this host; the text-only narrowing and structured_output=false override are removed. - Llama 3.3 70B: alias comment rewritten to describe this gateway (ids verified live). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NatZMWWFejKjLafCN9N6kU
Contributor
|
No actionable findings. |
Contributor
Author
|
Rebased on What changed since the last review round, with the evidence the bot asked for in each file header:
For context: Inference APIs is a built-in LiteLLM provider as of v1.107.0 (BerriAI/litellm#41669), using the same base URL and model ids as this PR. |
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.
Adds Inference APIs (
https://api.inferenceapis.com/v1), an OpenAI-compatible gateway serving open-weight chat models on pay-as-you-go prepaid credit. It implements/v1/chat/completionsand/v1/responsesfor every chat model listed.base_modelpointing at existing lab metadata, so no newmodels/files.cost(withcache_readwhere cached input is discounted),reasoning_options,interleaved, and real deltas:structured_output = falseand text-only input on this host.logo.svgis a single path usingcurrentColor.bun validatepasses.Disclosure: I run this service.
🤖 Generated with Claude Code