@byfungsi/opencode-sumopod-plugin
v0.1.1
Published
Unofficial Sumopod provider plugin for opencode - 45+ AI models with OpenAI-compatible API
Readme
@byfungsi/opencode-sumopod-plugin
UNOFFICIAL - This plugin is not affiliated with, endorsed by, or officially supported by Sumopod. Use at your own discretion.
Unofficial Sumopod provider plugin for opencode - 45+ AI models with OpenAI-compatible API
Features
- 45+ models from multiple providers (Anthropic, OpenAI, Google, Byteplus)
- OpenAI-compatible API - seamless integration with opencode
- Zero configuration - plugin injects provider automatically
- Environment variable support - secure credential management
- Free tier models - includes Byteplus models with $0 pricing
Quick Start
Installation
- Add plugin to opencode config:
Add @byfungsi/opencode-sumopod-plugin to your ~/.config/opencode/opencode.json:
{
"plugin": [
"@byfungsi/opencode-sumopod-plugin"
]
}The plugin will be automatically installed from npm when you start opencode.
- Set environment variable:
export SUMOPOD_API_KEY="sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Add to your shell profile (~/.zshrc or ~/.bashrc):
echo 'export SUMOPOD_API_KEY="sk-xxx..."' >> ~/.zshrc
source ~/.zshrc- Restart opencode:
opencode restartUsage
Using Command Line
opencode run "write hello world to test.txt" --model=sumopod/claude-sonnet-4Using TUI
- Launch opencode:
opencode - Press model selector keybind (default:
Ctrl+M) - Search for "sumopod" or specific model names
- Select desired model
Popular Models
| Model | Name | Context | Pricing |
|-------|------|---------|---------|
| sumopod/claude-sonnet-4-5 | Claude Sonnet 4.5 | 200K | $3/$15 per 1M tokens |
| sumopod/gpt-5 | GPT-5 | 272K | $1.25/$10 per 1M tokens |
| sumopod/gemini/gemini-2.5-pro | Gemini 2.5 Pro | 1M+ | $1.25/$10 per 1M tokens |
| sumopod/kimi-k2-250905 | Kimi K2 | 224K | FREE |
| sumopod/deepseek-v3-2-251201 | DeepSeek V3.2 | 128K | FREE |
Model Catalog
Anthropic (6 models)
| Model ID | Name | Context |
|----------|------|---------|
| claude-3-7-sonnet | Claude 3.7 Sonnet | 200K |
| claude-haiku-4-5 | Claude Haiku 4.5 | 200K |
| claude-opus-4-5 | Claude Opus 4.5 | 200K |
| claude-opus-4-6 | Claude Opus 4.6 | 1M |
| claude-sonnet-4 | Claude Sonnet 4 | 200K |
| claude-sonnet-4-5 | Claude Sonnet 4.5 | 200K |
Google (7 models)
| Model ID | Name | Context |
|----------|------|---------|
| gemini/gemini-2.0-flash | Gemini 2.0 Flash | 1M+ |
| gemini/gemini-2.0-flash-lite | Gemini 2.0 Flash Lite | 1M+ |
| gemini/gemini-2.5-flash | Gemini 2.5 Flash | 1M+ |
| gemini/gemini-2.5-flash-lite | Gemini 2.5 Flash Lite | 1M+ |
| gemini/gemini-2.5-pro | Gemini 2.5 Pro | 1M+ |
| gemini/gemini-3-flash-preview | Gemini 3 Flash Preview | 1M+ |
| gemini/gemini-3-pro-preview | Gemini 3 Pro Preview | 1M+ |
OpenAI (22 models)
| Model ID | Name | Context |
|----------|------|---------|
| gpt-4.1 | GPT-4.1 | 1M+ |
| gpt-4.1-mini | GPT-4.1 Mini | 1M+ |
| gpt-4.1-nano | GPT-4.1 Nano | 1M+ |
| gpt-4o | GPT-4o | 128K |
| gpt-4o-mini | GPT-4o Mini | 128K |
| gpt-5 | GPT-5 | 272K |
| gpt-5-mini | GPT-5 Mini | 272K |
| gpt-5-nano | GPT-5 Nano | 272K |
| gpt-5.1 | GPT-5.1 | 272K |
| gpt-5.1-codex | GPT-5.1 Codex | 272K |
| gpt-5.1-codex-max | GPT-5.1 Codex Max | 272K |
| gpt-5.1-codex-mini | GPT-5.1 Codex Mini | 272K |
| gpt-5.2 | GPT-5.2 | 272K |
| gpt-5.2-codex | GPT-5.2 Codex | 272K |
| gpt-5.2-pro | GPT-5.2 Pro | 272K |
| deepseek-r1-250528 | DeepSeek R1 | 128K |
| azure_ai/kimi-k2.5 | Kimi K2.5 (Azure) | 128K |
| seed-2-0-mini-260215 | Seed 2.0 Mini | 256K |
| gpt-image-1 | GPT Image 1 | 4K |
| text-embedding-3-large | Text Embedding 3 Large | 8K |
| text-embedding-3-small | Text Embedding 3 Small | 8K |
| whisper-1 | Whisper 1 | - |
Byteplus - FREE (5 models)
| Model ID | Name | Context |
|----------|------|---------|
| deepseek-v3-2-251201 | DeepSeek V3.2 | 128K |
| glm-4-7-251222 | GLM 4.7 | 200K |
| kimi-k2-250905 | Kimi K2 | 224K |
| kimi-k2-thinking-251104 | Kimi K2 Thinking | 224K |
| seed-1-8-251228 | Seed 1.8 | 224K |
Configuration
Environment Variables
| Variable | Required | Description |
|----------|----------|-------------|
| SUMOPOD_API_KEY | Yes | Your Sumopod API key (starts with sk-) |
Using /connect Command
You can also authenticate using the /connect command in opencode:
- Launch opencode:
opencode - Type
/connect sumopod - Enter your API key when prompted
Disclaimer
This is an unofficial community plugin. It is not affiliated with, endorsed by, or officially supported by Sumopod. The authors of this plugin are not responsible for any issues arising from its use. Please refer to Sumopod's official documentation and terms of service for authoritative information.
Development
Build Plugin
cd ~/.config/opencode/plugin/opencode-sumopod-plugin
npm install
npm run buildType Checking
npm run typecheckLicense
MIT
Author
byfungsi
