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
10 changes: 10 additions & 0 deletions packages/opencode/src/provider/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,16 @@ function custom(dep: CustomDep): Record<string, CustomLoader> {
},
},
}),
thetrillioniar: () =>
Effect.succeed({
autoload: false,
options: {
headers: {
"HTTP-Referer": "https://opencode.ai/",
"X-Title": "opencode",
},
},
}),
gitlab: Effect.fnUntraced(function* (input: Info) {
const {
VERSION: GITLAB_PROVIDER_VERSION,
Expand Down
43 changes: 43 additions & 0 deletions packages/web/src/content/docs/providers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2026,6 +2026,49 @@ The model catalog is provided automatically. A minimal `opencode.json` is all th

---

### Trillionir AI

[Trillionir AI](https://thetrillioniar.me) is an OpenAI-compatible inference platform
offering a pool of open-source models behind branded routing aliases. Flat $5/mo
pricing with no per-token charges.

1. Head over to [thetrillioniar.me](https://thetrillioniar.me), create an account, and generate an API key (format: `sk-tr-xxx`).

2. Run the `/connect` command and search for **Trillionir AI**.

```txt
/connect
```

3. Enter your Trillionir AI API key.

```txt
┌ API key
└ enter
```

4. Run the `/models` command to select a model like _GPT-4o (Gemma 4 31B)_ or the _Auto Router_.

```txt
/models
```

Available models:

| Model ID | Backend |
| -------------------------- | ------------------- |
| `auto` | Smart router |
| `openai/gpt-4o` | Gemma 4 31B |
| `openai/gpt-5.5` | Gemma 4 31B |
| `anthropic/claude-sonnet-4` | Devstral 24B |
| `anthropic/claude-opus-4` | Gemma 4 31B |
| `google/gemini-2.5-pro` | Gemma 4 31B |
| `google/gemini-2.0-flash` | RNJ-1 8B |

---

### Venice AI

1. Head over to the [Venice AI console](https://venice.ai), create an account, and generate an API key.
Expand Down
Loading