@grammeaway/pi-provider-sakana-fugu
v1.0.2
Published
Sakana Fugu provider extension for the Pi agentic harness (OpenAI-compatible, /login support)
Maintainers
Readme
pi-provider-sakana-fugu
Disclaimer: Extension written fully by Pi itself.
Adds Sakana Fugu (fugu, fugu-ultra) to the
pi coding agent.
Fugu exposes an OpenAI-compatible API, so this points pi's built-in
openai-responses streamer at https://api.sakana.ai/v1 (the Responses API
is Sakana's recommended path for tooling/agents; Chat Completions also works).
Install
pi install npm:@grammeaway/pi-provider-sakana-fuguTo try it without permanently installing:
pi -e npm:@grammeaway/pi-provider-sakana-fuguLogin
Run /login, choose Use an API key, then Sakana Fugu, and paste the
key from console.sakana.ai. Fugu has no OAuth
flow — the same API key covers both the subscription and pay-as-you-go plans.
The key is stored in ~/.pi/agent/auth.json. Alternatively set SAKANA_API_KEY
in your environment.
Notes
- Reasoning effort: Fugu only accepts
highandxhigh(max); any other value is rejected by the API. Lower levels are hidden, so set the model to high or xhigh —medium/loware not available. - Context window: 1M tokens. Pricing has a higher tier above 272K tokens.
- Costs reflect the published
fugu-ultra-20260615rates; plainfuguuses a blended, unpublished rate, so the same numbers are used as an upper bound. - Long turns: complex
fugu-ultrarequests can run for minutes. If you see dropped streams on long turns, that's a client idle-timeout, not an extension bug (Sakana's own Codex config raises the stream idle timeout to 2h). - EU/EEA access is currently unavailable per Sakana's terms.
