feat(inference): add Kosmik Compute provider - #2378
Open
stanislav-kosmik wants to merge 2 commits into
Open
stanislav-kosmik wants to merge 2 commits into
stanislav-kosmik wants to merge 2 commits into
Conversation
Add Kosmik Compute (kosmik) as an OpenAI-compatible inference provider. - Provider ID: kosmik - API base: https://api.koscompute.com/v1 - Supports: streaming, tools, structured output, vision, reasoning - Initial model: Qwen/Qwen3.8-27B-FP8 → qwen/qwen3.8-27b Files changed: - packages/inference/src/providers/kosmik.ts (new provider helper) - packages/inference/src/types.ts (INFERENCE_PROVIDERS + PROVIDERS_HUB_ORGS) - packages/inference/src/providers/consts.ts (HARDCODED_MODEL_INFERENCE_MAPPING) - packages/inference/src/lib/getProviderHelper.ts (provider registry) - packages/inference/README.md (provider listing)
stanislav-kosmik
requested review from
SBrandeis,
hanouticelina and
julien-c
as code owners
August 15, 2026 09:36
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 Kosmik Compute as an OpenAI-compatible conversational inference provider.
kosmik(server-side availability not yet confirmed by Hugging Face)koscomputehttps://api.koscompute.com/v1Qwen/Qwen3.8-27B-FP8qwen/qwen3.8-27bThe helper uses the current Model Mapping API architecture; no model mapping is hardcoded. Provider tests, formatting, lint, typecheck, and package build pass.