feat: add Novita AI as LLM provider

This commit is contained in:
Alex-wuhu 2026-03-22 19:25:03 +08:00
parent c9d2477144
commit b78e0edb7d
3 changed files with 40 additions and 0 deletions

View file

@ -36,6 +36,7 @@
"llm-providers/openai",
"llm-providers/anthropic",
"llm-providers/openrouter",
"llm-providers/novita",
"llm-providers/vertex",
"llm-providers/bedrock",
"llm-providers/azure",

View file

@ -0,0 +1,35 @@
---
title: "Novita AI"
description: "Configure Strix with Novita AI models"
---
[Novita AI](https://novita.ai) provides fast, cost-efficient inference for open-source models via an OpenAI-compatible API.
## Setup
```bash
export STRIX_LLM="openai/moonshotai/kimi-k2.5"
export LLM_API_KEY="your-novita-api-key"
export LLM_API_BASE="https://api.novita.ai/openai"
```
## Available Models
| Model | Configuration |
|-------|---------------|
| Kimi K2.5 (recommended) | `openai/moonshotai/kimi-k2.5` |
| GLM-5 | `openai/zai-org/glm-5` |
| MiniMax M2.5 | `openai/minimax/minimax-m2.5` |
## Get API Key
1. Sign up at [novita.ai](https://novita.ai)
2. Navigate to **API Keys** in your dashboard
3. Create a new key and copy it
## Benefits
- **Cost-efficient** — Competitive pricing with per-token billing
- **OpenAI-compatible** — Drop-in replacement using `LLM_API_BASE`
- **Large context** — Models support up to 262k token context windows
- **Function calling** — All listed models support tool/function calling

View file

@ -25,6 +25,7 @@ You can also use any LiteLLM-compatible provider with your own API keys:
| GPT-5 | OpenAI | `openai/gpt-5` |
| Claude Sonnet 4.6 | Anthropic | `anthropic/claude-sonnet-4-6` |
| Gemini 3 Pro | Google Vertex | `vertex_ai/gemini-3-pro-preview` |
| Kimi K2.5 | Novita AI | `openai/moonshotai/kimi-k2.5` |
```bash
export STRIX_LLM="openai/gpt-5"
@ -57,6 +58,9 @@ See the [Local Models guide](/llm-providers/local) for setup instructions and re
<Card title="OpenRouter" href="/llm-providers/openrouter">
Access 100+ models through a single API.
</Card>
<Card title="Novita AI" href="/llm-providers/novita">
Cost-efficient open-source model inference.
</Card>
<Card title="Google Vertex AI" href="/llm-providers/vertex">
Gemini 3 models via Google Cloud.
</Card>