pi-sakana-provider
v0.1.2
Published
Sakana AI custom provider for Pi.
Maintainers
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-ultraInstall from npm:
pi install npm:pi-sakana-providerOr 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.
