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
2 changes: 2 additions & 0 deletions core/llm/autodetect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const PROVIDER_HANDLES_TEMPLATING: string[] = [
"relace",
"openrouter",
"clawrouter",
"crowllm",
"deepseek",
"xAI",
"minimax",
Expand Down Expand Up @@ -123,6 +124,7 @@ const PROVIDER_SUPPORTS_IMAGES: string[] = [
"sagemaker",
"openrouter",
"clawrouter",
"crowllm",
"venice",
"sambanova",
"vertexai",
Expand Down
26 changes: 26 additions & 0 deletions core/llm/llms/CrowLLM.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { LLMOptions } from "../../index.js";

import OpenAI from "./OpenAI.js";

/**
* CrowLLM LLM Provider
*
* OpenAI-compatible gateway: one endpoint and one key for every model,
* with a zero-rated `:free` shelf next to the paid ids.
*
* @see https://crowllm.com/docs
*/
class CrowLLM extends OpenAI {
static providerName = "crowllm";

// The gateway relays reasoning models, so reasoning fields stay on the wire
protected supportsReasoningField = true;

static defaultOptions: Partial<LLMOptions> = {
apiBase: "https://crowllm.com/v1/",
model: "deepseek-v4-flash",
useLegacyCompletionsEndpoint: false,
};
}

export default CrowLLM;
23 changes: 23 additions & 0 deletions core/llm/llms/CrowLLM.vitest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { describe, expect, it } from "vitest";

import CrowLLM from "./CrowLLM";

describe("CrowLLM", () => {
it("should have correct provider name", () => {
expect(CrowLLM.providerName).toBe("crowllm");
});

it("should have correct default options", () => {
expect(CrowLLM.defaultOptions.apiBase).toBe("https://crowllm.com/v1/");
expect(CrowLLM.defaultOptions.model).toBe("deepseek-v4-flash");
expect(CrowLLM.defaultOptions.useLegacyCompletionsEndpoint).toBe(false);
});

it("should keep reasoning fields on the wire", () => {
const crowllm = new CrowLLM({
model: "glm-5.3",
});

expect(crowllm["supportsReasoningField"]).toBe(true);
});
});
2 changes: 2 additions & 0 deletions core/llm/llms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import Cerebras from "./Cerebras";
import Cloudflare from "./Cloudflare";
import Cohere from "./Cohere";
import CometAPI from "./CometAPI";
import CrowLLM from "./CrowLLM";
import DeepInfra from "./DeepInfra";
import Deepseek from "./Deepseek";
import Docker from "./Docker";
Expand Down Expand Up @@ -74,6 +75,7 @@ export const LLMClasses = [
Anthropic,
Cohere,
CometAPI,
CrowLLM,
FunctionNetwork,
Gemini,
Llamafile,
Expand Down
69 changes: 69 additions & 0 deletions docs/customize/model-providers/more/crowllm.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
title: "How to Configure CrowLLM with Continue"
sidebarTitle: "CrowLLM"
---

<Info>
CrowLLM is an OpenAI-compatible gateway: one endpoint and one key for every model, with a zero-rated `:free` shelf next to the paid ids.
</Info>

<Tip>
Create an API key at [crowllm.com](https://crowllm.com) and browse the served catalog at [crowllm.com/docs](https://crowllm.com/docs).
</Tip>

## Configuration

<Tabs>
<Tab title="YAML">
```yaml title="config.yaml"
name: My Config
version: 0.0.1
schema: v1

models:
- name: CrowLLM DeepSeek V4 Flash
provider: crowllm
model: deepseek-v4-flash
apiKey: ${{ secrets.CROWLLM_API_KEY }}
```
</Tab>
<Tab title="JSON (Deprecated)">
```json title="config.json"
{
"models": [
{
"title": "CrowLLM DeepSeek V4 Flash",
"provider": "crowllm",
"model": "deepseek-v4-flash",
"apiKey": "<YOUR_CROWLLM_API_KEY>"
}
]
}
```
</Tab>
</Tabs>

The `provider: crowllm` defaults to `https://crowllm.com/v1/`; set `apiBase` only when you route through a different host.

## Available Models

Any id served by the gateway works; pass it as `model`. A few commonly used ids:

| Model | Id | Notes |
|-------|-----|-------|
| DeepSeek V4 Flash | `deepseek-v4-flash` | Default, fast and cheap |
| GLM 5.3 | `glm-5.3` | Reasoning effort via `reasoning_effort` |
| Kimi K3 | `kimi-k3` | Long-context coding |
| GPT 5.6 Sol | `gpt-5.6-sol` | Frontier general model |
| Claude Opus 4.7 | `claude-opus-4-7` | Frontier reasoning |
| Qwen 3.8 27B (free) | `qwen-3.8-27b:free` | Zero-rated shelf |

Query the full list with:

```bash
curl https://crowllm.com/v1/models
```

## Free Models

Ids ending in `:free` bill at zero and need no credit. They are rate-limited, so use them for exploration rather than long agent loops.
1 change: 1 addition & 0 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
"pages": [
"customize/model-providers/more/asksage",
"customize/model-providers/more/clawrouter",
"customize/model-providers/more/crowllm",
"customize/model-providers/more/deepseek",
"customize/model-providers/more/deepinfra",
"customize/model-providers/more/groq",
Expand Down
7 changes: 7 additions & 0 deletions gui/public/logos/crowllm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions gui/src/pages/AddNewModel/configs/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1314,6 +1314,47 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo
],
apiKeyUrl: "https://api.router.tetrate.ai/",
},
crowllm: {
title: "CrowLLM",
provider: "crowllm",
refPage: "crowllm",
description:
"OpenAI-compatible gateway with one key for every model and a zero-rated free shelf",
longDescription: `[CrowLLM](https://crowllm.com) is an OpenAI-compatible gateway: one endpoint (\`https://crowllm.com/v1\`) and one key for every model, with a \`:free\` shelf next to the paid ids.

To get started:
1. Create an API key at [crowllm.com](https://crowllm.com)
2. Paste it below
3. Pick a model id, or use autodetect to list what the gateway serves

Ids ending in \`:free\` bill at zero and need no credit.`,
icon: "crowllm.svg",
tags: [ModelProviderTags.RequiresApiKey],
packages: [
{
...models.AUTODETECT,
params: {
...models.AUTODETECT.params,
title: "CrowLLM",
},
},
],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your CrowLLM API key",
required: true,
},
{
...apiBaseInput,
defaultValue: "https://crowllm.com/v1/",
},
...completionParamsInputsConfigs,
],
apiKeyUrl: "https://crowllm.com",
},
clawrouter: {
title: "ClawRouter",
provider: "clawrouter",
Expand Down
Loading