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
3 changes: 3 additions & 0 deletions core/llm/autodetect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const PROVIDER_HANDLES_TEMPLATING: string[] = [
"msty",
"anthropic",
"bedrock",
"brainiall",
"cohere",
"sagemaker",
"continue-proxy",
Expand Down Expand Up @@ -118,6 +119,7 @@ const PROVIDER_SUPPORTS_IMAGES: string[] = [
"msty",
"anthropic",
"bedrock",
"brainiall",
"sagemaker",
"continue-proxy",
"openrouter",
Expand Down Expand Up @@ -231,6 +233,7 @@ function modelSupportsReasoning(
const PARALLEL_PROVIDERS: string[] = [
"anthropic",
"bedrock",
"brainiall",
"cohere",
"sagemaker",
"deepinfra",
Expand Down
13 changes: 13 additions & 0 deletions core/llm/llms/Brainiall.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { LLMOptions } from "../..";

import OpenAI from "./OpenAI";

class Brainiall extends OpenAI {
static providerName = "brainiall";
static defaultOptions: Partial<LLMOptions> = {
apiBase: "https://apim-ai-apis.azure-api.net/v1/",
useLegacyCompletionsEndpoint: false,
};
}

export default Brainiall;
2 changes: 2 additions & 0 deletions core/llm/llms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import Asksage from "./Asksage";
import Azure from "./Azure";
import Bedrock from "./Bedrock";
import BedrockImport from "./BedrockImport";
import Brainiall from "./Brainiall";
import Cerebras from "./Cerebras";
import Cloudflare from "./Cloudflare";
import Cohere from "./Cohere";
Expand Down Expand Up @@ -94,6 +95,7 @@ export const LLMClasses = [
Mimo,
Bedrock,
BedrockImport,
Brainiall,
SageMaker,
DeepInfra,
Flowise,
Expand Down
59 changes: 59 additions & 0 deletions docs/customize/model-providers/more/brainiall.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
title: "Brainiall"
description: "Configure Brainiall with Continue to access 100+ AI models including Claude, DeepSeek, Llama, Mistral, and more through a single OpenAI-compatible endpoint"
---

Brainiall is an AI API gateway providing access to 100+ models including Claude, DeepSeek, Llama, Mistral, Nova, and more through a single OpenAI-compatible endpoint powered by AWS Bedrock.

You can get an API key at [app.brainiall.com](https://app.brainiall.com)

## Available Models

| Model | Context | Input $/M | Output $/M |
| ----- | ------- | --------- | ---------- |
| claude-opus-4-6 | 200K | $5.00 | $25.00 |
| claude-sonnet-4-6 | 200K | $3.00 | $15.00 |
| claude-haiku-4-5 | 200K | $1.00 | $5.00 |
| deepseek-r1 | 128K | $1.35 | $5.40 |
| deepseek-v3 | 128K | $0.27 | $1.10 |
| llama-3.3-70b | 128K | $0.72 | $0.72 |
| llama-4-scout | 3.5M | $0.17 | $0.66 |
| nova-pro | 300K | $0.80 | $3.20 |
| mistral-large-3 | 262K | $2.00 | $6.00 |
| qwen3-80b | 262K | $0.14 | $1.40 |
| minimax-m2 | 204K | $0.30 | $1.20 |
| kimi-k2.5 | 256K | $0.60 | $3.00 |

[View all models](https://app.brainiall.com/docs-page)

## Chat Model

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

models:
- name: Claude Sonnet 4.6
provider: brainiall
model: claude-sonnet-4-6
apiKey: <YOUR_BRAINIALL_API_KEY>
```
</Tab>
<Tab title="JSON">
```json title="config.json"
{
"models": [
{
"title": "Claude Sonnet 4.6",
"provider": "brainiall",
"model": "claude-sonnet-4-6",
"apiKey": "<YOUR_BRAINIALL_API_KEY>"
}
]
}
```
</Tab>
</Tabs>
1 change: 1 addition & 0 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@
"group": "More Providers",
"pages": [
"customize/model-providers/more/asksage",
"customize/model-providers/more/brainiall",
"customize/model-providers/more/deepseek",
"customize/model-providers/more/deepinfra",
"customize/model-providers/more/groq",
Expand Down
4 changes: 4 additions & 0 deletions extensions/vscode/config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
"cohere",
"bedrock",
"bedrockimport",
"brainiall",
"sagemaker",
"together",
"novita",
Expand Down Expand Up @@ -243,6 +244,7 @@
"### Cohere\nTo use Cohere, visit the [Cohere dashboard](https://dashboard.cohere.com/api-keys) to create an API key.\n\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/cohere)",
"### Bedrock\nTo get started with Bedrock you need to sign up on AWS [here](https://aws.amazon.com/bedrock)",
"### Bedrock Imported Models\nTo get started with Bedrock you need to sign up on AWS [here](https://aws.amazon.com/bedrock)",
"### Brainiall\nBrainiall is an AI API gateway providing access to 100+ models including Claude, DeepSeek, Llama, and more. Get an API key at [app.brainiall.com](https://app.brainiall.com).\n\n> [Reference](https://docs.continue.dev/customize/model-providers/more/brainiall)",
"### Sagemaker\nSagemaker is AWS' machine learning platform.",
"### Together\nTogether is a hosted service that provides extremely fast streaming of open-source language models. To get started with Together:\n1. Obtain an API key from [here](https://together.ai)\n2. Paste below\n3. Select a model preset\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/togetherllm)",
"### Novita AI\n[Novita AI](https://novita.ai?utm_source=github_continuedev&utm_medium=github_readme&utm_campaign=github_link) offers an affordable, reliable, and simple inference platform with scalable [LLM APIs](https://novita.ai/docs/model-api/reference/introduction.html), empowering developers to build AI applications. To get started with Novita AI:\n1. Obtain an API key from [here](https://novita.ai/settings/key-management?utm_source=github_continuedev&utm_medium=github_readme&utm_campaign=github_link)\n2. Paste below\n3. Select a model preset\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/novita)",
Expand Down Expand Up @@ -518,6 +520,7 @@
"enum": [
"openai",
"anthropic",
"brainiall",
"cohere",
"gemini",
"huggingface-inference-api",
Expand Down Expand Up @@ -2859,6 +2862,7 @@
"voyage",
"nvidia",
"bedrock",
"brainiall",
"sagemaker",
"nebius",
"vertexai",
Expand Down
Binary file added gui/public/logos/brainiall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 90 additions & 0 deletions gui/src/pages/AddNewModel/configs/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3225,4 +3225,94 @@ export const models: { [key: string]: ModelPackage } = {
icon: "mimo.png",
isOpenSource: false,
},

// Brainiall models
brainiallClaudeOpus46: {
title: "Claude Opus 4.6",
description:
"Anthropic's most capable model with 200K context, available via Brainiall gateway.",
refUrl: "https://app.brainiall.com",
params: {
title: "Claude Opus 4.6",
model: "claude-opus-4-6",
contextLength: 200_000,
apiKey: "",
},
providerOptions: ["brainiall"],
icon: "brainiall.png",
isOpenSource: false,
},
brainiallClaudeSonnet46: {
title: "Claude Sonnet 4.6",
description:
"Anthropic's balanced model with strong coding and reasoning at lower cost.",
refUrl: "https://app.brainiall.com",
params: {
title: "Claude Sonnet 4.6",
model: "claude-sonnet-4-6",
contextLength: 200_000,
apiKey: "",
},
providerOptions: ["brainiall"],
icon: "brainiall.png",
isOpenSource: false,
},
brainiallClaudeHaiku45: {
title: "Claude Haiku 4.5",
description: "Fast and affordable Claude model for lightweight tasks.",
refUrl: "https://app.brainiall.com",
params: {
title: "Claude Haiku 4.5",
model: "claude-haiku-4-5",
contextLength: 200_000,
apiKey: "",
},
providerOptions: ["brainiall"],
icon: "brainiall.png",
isOpenSource: false,
},
brainiallDeepseekR1: {
title: "DeepSeek R1",
description:
"DeepSeek's reasoning model with chain-of-thought capabilities.",
refUrl: "https://app.brainiall.com",
params: {
title: "DeepSeek R1",
model: "deepseek-r1",
contextLength: 128_000,
apiKey: "",
},
providerOptions: ["brainiall"],
icon: "brainiall.png",
isOpenSource: true,
},
brainiallDeepseekV3: {
title: "DeepSeek V3",
description: "DeepSeek's general-purpose model, fast and cost-effective.",
refUrl: "https://app.brainiall.com",
params: {
title: "DeepSeek V3",
model: "deepseek-v3",
contextLength: 128_000,
apiKey: "",
},
providerOptions: ["brainiall"],
icon: "brainiall.png",
isOpenSource: true,
},
brainiallLlama33_70b: {
title: "Llama 3.3 70B",
description:
"Meta's Llama 3.3 70B instruction-tuned model with strong general capabilities.",
refUrl: "https://app.brainiall.com",
params: {
title: "Llama 3.3 70B",
model: "llama-3.3-70b",
contextLength: 128_000,
apiKey: "",
},
providerOptions: ["brainiall"],
icon: "brainiall.png",
isOpenSource: true,
},
};
30 changes: 30 additions & 0 deletions gui/src/pages/AddNewModel/configs/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1294,4 +1294,34 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo
],
apiKeyUrl: "https://portal.nousresearch.com",
},
brainiall: {
title: "Brainiall",
provider: "brainiall",
refPage: "brainiall",
description:
"Access Claude, DeepSeek, Llama and more through a single OpenAI-compatible API gateway.",
longDescription:
"Brainiall provides 100+ AI models including Claude Opus/Sonnet/Haiku, DeepSeek, Llama, and more through a unified OpenAI-compatible endpoint. Get an API key at [app.brainiall.com](https://app.brainiall.com).",
icon: "brainiall.png",
tags: [ModelProviderTags.RequiresApiKey],
collectInputFor: [
{
inputType: "text",
key: "apiKey",
label: "API Key",
placeholder: "Enter your Brainiall API key",
required: true,
},
...completionParamsInputsConfigs,
],
packages: [
models.brainiallClaudeOpus46,
models.brainiallClaudeSonnet46,
models.brainiallClaudeHaiku45,
models.brainiallDeepseekR1,
models.brainiallDeepseekV3,
models.brainiallLlama33_70b,
],
apiKeyUrl: "https://app.brainiall.com",
},
};
Loading