Skip to content

chore: add Novita provider - #376

Open
rpx99 wants to merge 1 commit into
charmbracelet:mainfrom
rpx99:chore/novita-provider
Open

chore: add Novita provider#376
rpx99 wants to merge 1 commit into
charmbracelet:mainfrom
rpx99:chore/novita-provider

Conversation

@rpx99

@rpx99 rpx99 commented Jun 19, 2026

Copy link
Copy Markdown

Add Novita.ai as a provider, closing #26.

The generator fetches models from the OpenAI-compatible API at https://api.novita.ai/openai/v1/models. Unlike most providers, the Novita API returns pricing directly in the response (input_token_price_per_m, output_token_price_per_m), so no knownModels map is needed for pricing. Context window is sourced from the API too.

The generator filters out non-text-chat models (embeddings, rerankers, OCR, vision-language, omni) and infers reasoning capability from model family. Seed config includes 20 popular text models from DeepSeek, Qwen, GLM, Kimi, MiniMax, Llama, and GPT-OSS.

💘 Generated with Crush

Assisted-by: Crush:mimo-v2.5

Add Novita.ai as a provider, closing charmbracelet#26.

The generator fetches models from the OpenAI-compatible API at
https://api.novita.ai/openai/v1/models. Unlike most providers, the
Novita API returns pricing directly in the response
(input_token_price_per_m, output_token_price_per_m), so no knownModels
map is needed for pricing. Context window is sourced from the API too.

The generator filters out non-text-chat models (embeddings, rerankers,
OCR, vision-language, omni) and infers reasoning capability from model
family. Seed config includes 20 popular text models from DeepSeek,
Qwen, GLM, Kimi, MiniMax, Llama, and GPT-OSS.

💘 Generated with Crush

Assisted-by: Crush:mimo-v2.5
@rpx99
rpx99 requested a review from andreynering as a code owner June 19, 2026 13:08
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.

1 participant