Skip to content

feat: add Chutes AI as a model provider#12059

Open
het4rk wants to merge 1 commit intocontinuedev:mainfrom
het4rk:feat/add-chutes-provider
Open

feat: add Chutes AI as a model provider#12059
het4rk wants to merge 1 commit intocontinuedev:mainfrom
het4rk:feat/add-chutes-provider

Conversation

@het4rk
Copy link
Copy Markdown

@het4rk het4rk commented Apr 7, 2026

Adds Chutes AI as a built-in model provider, following the same pattern as existing providers (Groq, DeepSeek, zAI, etc).

Chutes is a serverless AI inference provider with TEE (Trusted Execution Environment) models. OpenAI-compatible API at https://llm.chutes.ai/v1/.

Changes

5 files, 47 lines added (all additive, no breaking changes):

  • core/llm/llms/Chutes.ts — Provider class extending OpenAI with Chutes base URL
  • core/llm/llms/index.ts — Register Chutes in LLMClasses
  • core/llm/autodetect.ts — Add to autodetect provider list
  • packages/llm-info/src/providers/chutes.ts — Model catalog (DeepSeek-V3.2-TEE, Qwen3-32B-TEE, Kimi-K2.5-TEE)
  • packages/llm-info/src/index.ts — Register in allModelProviders

Configuration

In config.yaml:

models:

  • provider: chutes
    model: chutes/DeepSeek-V3.2-TEE
    apiKey: your-chutes-api-key

Provider Details

Provider ID: chutes
Base URL: https://llm.chutes.ai/v1/
API Type: OpenAI-compatible
Auth: API key (CHUTES_API_KEY env var or apiKey in config)


Summary by cubic

Adds Chutes AI as a built-in, OpenAI-compatible provider to enable secure TEE models out of the box.

  • New Features
    • New chutes provider with base https://llm.chutes.ai/v1/ (extends OpenAI client).
    • Registered in LLMClasses and added to provider autodetect.
    • Model catalog in packages/llm-info: chutes/DeepSeek-V3.2-TEE, chutes/Qwen3-32B-TEE, chutes/Kimi-K2.5-TEE.
    • Configure with provider: chutes, select a model above, and set CHUTES_API_KEY or an apiKey.

Written for commit 8212002. Summary will update on new commits.

Registers Chutes AI (https://chutes.ai) as a built-in provider.
Chutes offers serverless AI inference with TEE models via an
OpenAI-compatible API at https://llm.chutes.ai/v1/.

- core/llm/llms/Chutes.ts: Provider class extending OpenAI
- core/llm/llms/index.ts: Register in LLMClasses
- core/llm/autodetect.ts: Add to autodetect list
- packages/llm-info/src/providers/chutes.ts: Model info
- packages/llm-info/src/index.ts: Register provider
@het4rk het4rk requested a review from a team as a code owner April 7, 2026 02:48
@het4rk het4rk requested review from sestinj and removed request for a team April 7, 2026 02:48
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 5 files

@het4rk
Copy link
Copy Markdown
Author

het4rk commented Apr 7, 2026

I have read the CLA Document and I hereby sign the CLA

@het4rk
Copy link
Copy Markdown
Author

het4rk commented Apr 7, 2026

recheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant