You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[opencode-helicone-session](https://github.com/H2Shami/opencode-helicone-session)| Automatically inject Helicone session headers for request grouping |
20
21
|[opencode-skills](https://github.com/malhashemi/opencode-skills)| Manage and organize OpenCode skills and capabilities |
21
22
|[opencode-type-inject](https://github.com/nick-vi/opencode-type-inject)| Auto-inject TypeScript/Svelte types into file reads with lookup tools |
22
23
|[opencode-openai-codex-auth](https://github.com/numman-ali/opencode-openai-codex-auth)| Use your ChatGPT Plus/Pro subscription instead of API credits |
Copy file name to clipboardExpand all lines: packages/web/src/content/docs/providers.mdx
+113Lines changed: 113 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -568,6 +568,119 @@ The `global` region improves availability and reduces errors at no extra cost. U
568
568
569
569
---
570
570
571
+
### Helicone
572
+
573
+
[Helicone](https://helicone.ai) is an LLM observability platform that provides logging, monitoring, and analytics for your AI applications. The Helicone AI Gateway routes your requests to the appropriate provider automatically based on the model.
574
+
575
+
1. Head over to [Helicone](https://helicone.ai), create an account, and generate an API key from your dashboard.
576
+
577
+
2. Run the `/connect` command and search for **Helicone**.
578
+
579
+
```txt
580
+
/connect
581
+
```
582
+
583
+
3. Enter your Helicone API key.
584
+
585
+
```txt
586
+
┌ API key
587
+
│
588
+
│
589
+
└ enter
590
+
```
591
+
592
+
4. Run the `/models` command to select a model.
593
+
594
+
```txt
595
+
/models
596
+
```
597
+
598
+
For more providers and advanced features like caching and rate limiting, check the [Helicone documentation](https://docs.helicone.ai).
599
+
600
+
#### Optional Configs
601
+
602
+
In the event you see a feature or model from Helicone that isn't configured automatically through opencode, you can always configure it yourself.
603
+
604
+
Here's [Helicone's Model Directory](https://helicone.ai/models), you'll need this to grab the IDs of the models you want to add.
// Model ID (from Helicone's model directory page)
619
+
"name":"GPT-4o", // Your own custom name for the model
620
+
},
621
+
"claude-sonnet-4-20250514": {
622
+
"name":"Claude Sonnet 4",
623
+
},
624
+
},
625
+
},
626
+
},
627
+
}
628
+
```
629
+
630
+
#### Custom Headers
631
+
632
+
Helicone supports custom headers for features like caching, user tracking, and session management. Add them to your provider config using `options.headers`:
Helicone's [Sessions](https://docs.helicone.ai/features/sessions) feature lets you group related LLM requests together. Use the [opencode-helicone-session](https://github.com/H2Shami/opencode-helicone-session) plugin to automatically log each OpenCode conversation as a session in Helicone.
656
+
657
+
```bash
658
+
npm install -g opencode-helicone-session
659
+
```
660
+
661
+
Add it to your config.
662
+
663
+
```json title="opencode.json"
664
+
{
665
+
"plugin": ["opencode-helicone-session"]
666
+
}
667
+
```
668
+
669
+
The plugin injects `Helicone-Session-Id` and `Helicone-Session-Name` headers into your requests. In Helicone's Sessions page, you'll see each OpenCode conversation listed as a separate session.
0 commit comments