Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core/llm/autodetect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const PROVIDER_HANDLES_TEMPLATING: string[] = [
"xAI",
"minimax",
"groq",
"chutes",
"gemini",
"docker",
"nous",
Expand Down
13 changes: 13 additions & 0 deletions core/llm/llms/Chutes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { LLMOptions } from "../../index.js";
import OpenAI from "./OpenAI.js";

class Chutes extends OpenAI {
static providerName = "chutes";

static defaultOptions: Partial<LLMOptions> = {
apiBase: "https://llm.chutes.ai/v1/",
useLegacyCompletionsEndpoint: false,
};
}

export default Chutes;
2 changes: 2 additions & 0 deletions core/llm/llms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import Azure from "./Azure";
import Bedrock from "./Bedrock";
import BedrockImport from "./BedrockImport";
import Cerebras from "./Cerebras";
import Chutes from "./Chutes";
import Cloudflare from "./Cloudflare";
import Cohere from "./Cohere";
import CometAPI from "./CometAPI";
Expand Down Expand Up @@ -119,6 +120,7 @@ export const LLMClasses = [
MockLLM,
TestLLM,
Cerebras,
Chutes,
Asksage,
Nebius,
Nous,
Expand Down
2 changes: 2 additions & 0 deletions packages/llm-info/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { OpenAi } from "./providers/openai.js";
import { Vllm } from "./providers/vllm.js";
import { Voyage } from "./providers/voyage.js";
import { xAI } from "./providers/xAI.js";
import { Chutes } from "./providers/chutes.js";
import { zAI } from "./providers/zai.js";
import { LlmInfoWithProvider, ModelProvider, UseCase } from "./types.js";

Expand All @@ -29,6 +30,7 @@ export const allModelProviders: ModelProvider[] = [
MiniMax,
xAI,
zAI,
Chutes,
];

export const allLlms: LlmInfoWithProvider[] = allModelProviders.flatMap(
Expand Down
29 changes: 29 additions & 0 deletions packages/llm-info/src/providers/chutes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { ModelProvider } from "../types.js";

export const Chutes: ModelProvider = {
models: [
{
model: "chutes/DeepSeek-V3.2-TEE",
displayName: "DeepSeek V3.2 TEE",
contextLength: 65536,
recommendedFor: ["chat"],
regex: /DeepSeek-V3\.2-TEE/,
},
{
model: "chutes/Qwen3-32B-TEE",
displayName: "Qwen3 32B TEE",
contextLength: 131072,
recommendedFor: ["chat"],
regex: /Qwen3-32B-TEE/,
},
{
model: "chutes/Kimi-K2.5-TEE",
displayName: "Kimi K2.5 TEE",
contextLength: 262144,
recommendedFor: ["chat"],
regex: /Kimi-K2\.5-TEE/,
},
],
id: "chutes",
displayName: "Chutes AI",
};
Loading