Update together.md

This commit is contained in:
Riccardo Giorato 2026-01-28 17:51:25 +01:00
parent 6ccdc4c023
commit 5fbbc006ad
2 changed files with 8 additions and 4 deletions

View File

@ -7,7 +7,7 @@ read_when:
# Together AI
The [Together AI](https://together.ai) provides access to leading open-source models including Llama, DeepSeek, Qwen, and more through a unified API.
The [Together AI](https://together.ai) provides access to leading open-source models including Llama, DeepSeek, Kimi, and more through a unified API.
- Provider: `together`
- Auth: `TOGETHER_API_KEY`
@ -60,6 +60,6 @@ Together AI provides access to many popular open-source models:
- **Llama 4 Maverick** - Advanced vision and reasoning
- **DeepSeek V3.1** - Powerful coding and reasoning model
- **DeepSeek R1** - Advanced reasoning model
- **Qwen 2.5 72B** - Multilingual capabilities
- **Kimi K2 Instruct** - High-performance model with 262K context window
All models support standard chat completions and are OpenAI API compatible.

View File

@ -13,7 +13,11 @@ import {
SYNTHETIC_MODEL_CATALOG,
} from "./synthetic-models.js";
import { discoverVeniceModels, VENICE_BASE_URL } from "./venice-models.js";
import { TOGETHER_BASE_URL, TOGETHER_MODEL_CATALOG } from "./together-models.js";
import {
TOGETHER_BASE_URL,
TOGETHER_MODEL_CATALOG,
buildTogetherModelDefinition,
} from "./together-models.js";
type ModelsConfig = NonNullable<MoltbotConfig["models"]>;
export type ProviderConfig = NonNullable<ModelsConfig["providers"]>[string];
@ -364,7 +368,7 @@ function buildTogetherProvider(): ProviderConfig {
return {
baseUrl: TOGETHER_BASE_URL,
api: "openai-completions",
models: TOGETHER_MODEL_CATALOG,
models: TOGETHER_MODEL_CATALOG.map(buildTogetherModelDefinition),
};
}