pi-sakana-provider
Sakana AI custom provider for Pi.
Package details
Install pi-sakana-provider from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-sakana-provider- Package
pi-sakana-provider- Version
0.1.2- Published
- Jun 22, 2026
- Downloads
- 643/mo · 27/wk
- Author
- jabbslad
- License
- MIT
- Types
- extension
- Size
- 263.5 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-sakana-provider
Sakana AI custom provider for Pi.
This package registers provider id sakana via pi.registerProvider() and uses Pi's built-in openai-responses API implementation against https://api.sakana.ai/v1.
Models
| Model | Reasoning | Input | Context window | Max output |
|---|---|---|---|---|
fugu |
yes | text, image | 1,000,000 | 65,536 |
fugu-ultra |
yes | text, image | 1,000,000 | 131,072 |
fugu-ultra-20260615 |
yes | text, image | 1,000,000 | 131,072 |
All Fugu models are reasoning models. Sakana only accepts reasoning efforts
high and xhigh (max is an alias of xhigh); any other value is rejected.
Pi thinking levels are mapped accordingly: minimal, low, medium, and
high all send high; xhigh sends xhigh; off sends no effort (the API
then uses its default).
Context windows match Sakana's published model catalog. Max-output values are not published in the catalog; the values above are conservative defaults.
Benchmarks
See the official benchmark comparison on Sakana's models page — Fugu and Fugu Ultra vs. other frontier models across coding, reasoning, scientific, and agentic suites.

Usage
Set your Sakana API key:
export SAKANA_API_KEY=...
Load once for testing (run from the repo root):
pi -e . --provider sakana --model fugu-ultra
Install from npm:
pi install npm:pi-sakana-provider
Or install from a local checkout (run from the repo root):
pi install .
Or add the package to ~/.pi/agent/settings.json (the npm name, or a path
relative to that file / an absolute path):
{
"packages": ["pi-sakana-provider"],
"defaultProvider": "sakana",
"defaultModel": "fugu-ultra",
"defaultThinkingLevel": "xhigh"
}
License
MIT — see LICENSE.