Litellm
LiteLLM provider plugin for opencode: model discovery, readable model names, and per-session upstream routing
0
412
88 in 7 days
35.5
Multi-signal model
17 days ago
2026-09-17
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@flexapp/opencode-plugin-litellm@0.8.0"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@flexapp/opencode-plugin-litellm@0.8.0"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D @flexapp/opencode-plugin-litellmOpenCode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
No README provided
Missing documentation usually means the project is still early. Check the source repository for details.
Similar plugins
Litellm
@finger_xie/opencode-plugin-litellm
OpenCode plugin for connecting to LiteLLM through an OpenAI-compatible provider.
Litellm Pricing
opencode-plugin-litellm-pricing
OpenCode plugin: dynamic LiteLLM model discovery with real per-model pricing, read from the proxy's own /v1/model/info
Cache Compact
opencode-cache-compact
Cache-friendly context compaction for OpenCode (V1 and V2): append a summary in place, then cut what the model sees down to it.