---
title: "Sakana AI"
description: "Use Sakana AI's Fugu multi-agent orchestration models from Autohand through an OpenAI-compatible provider configuration."
seo:
  title: "Sakana AI Integration"
  description: "Configure Autohand Code CLI with Sakana AI Fugu models through an OpenAI-compatible API."
---

## What is the Autohand Sakana AI integration? [#quick-answer]

The Autohand Sakana AI integration connects the coding agent to supported Fugu orchestration models through an OpenAI-compatible provider endpoint. It uses a Sakana API key and model identifier available to the account.

|  |  |
| --- | --- |
| Status | Available |
| Requires | A Sakana AI API key and access to the selected Fugu model. |
| Configure with | Put your key in `sakana.apiKey` in `~/.autohand/config.json` (the CLI does not read `SAKANA_API_KEY`), select the `sakana` provider, and choose a model ID shown in the Sakana AI account. |
| Best for | Coding or research sessions that use Sakana AI orchestration. |

:::warning
**Know before you start:** Model availability, regional access, data-use controls, and catalog details depend on the Sakana AI account and service terms.
:::

## Overview

Sakana AI is available as the `sakana` provider. It is useful for teams that want a learned model orchestrator: Fugu routes, delegates, and synthesizes work across a pool of frontier models behind a single OpenAI-compatible endpoint.

Fugu is the balanced, low-latency variant for everyday coding and chat. Fugu Ultra coordinates a deeper agent pool for maximum answer quality on complex, multi-step engineering and research tasks.

## Setup

Create an API key from the [Sakana AI get-started console](https://console.sakana.ai/get-started), then confirm available model IDs in the [Sakana AI models console](https://console.sakana.ai/models).

```bash
# Save the key in ~/.autohand/config.json
autohand config set sakana.apiKey "your-sakana-api-key"

autohand --provider sakana --model fugu-ultra-20260615
```

## CLI configuration [#configuration]

```json
{
  "provider": "sakana",
  "sakana": {
    "apiKey": "your-sakana-api-key",
    "baseUrl": "https://api.sakana.ai/v1",
    "model": "fugu-ultra-20260615"
  }
}
```

| Option | Description | Default |
| --- | --- | --- |
| `apiKey` | Your Sakana AI API key | \- |
| `baseUrl` | Sakana AI API endpoint | `https://api.sakana.ai/v1` |
| `model` | Fugu model ID | `fugu-ultra-20260615` |

## Models

Use `/model` to select a Fugu model or enter a custom model ID supported by your Sakana AI account. Check the [Sakana AI models console](https://console.sakana.ai/models) for the current catalog.

```bash
# Open the model picker (it takes no arguments)
/model

# Or choose a model for one run
autohand --model fugu-ultra-20260615
```

| Model | Best for | Context |
| --- | --- | --- |
| `fugu` | Balanced, low-latency coding and chat | 1M |
| `fugu-ultra-20260615` | Maximum quality multi-agent orchestration | 1M |

## Notes

- Fugu is not available in the EU/EEA at launch while Sakana AI works toward GDPR compliance.
- By default, Sakana AI may use responses to improve its models. You can opt out from the Sakana AI console.
- Fugu exposes orchestration token usage in `prompt_tokens_details` and `completion_tokens_details`, so you can see how many tokens the coordinator used behind the scenes.

**How do I configure the Autohand Sakana AI integration?**

Put your key in `sakana.apiKey` in `~/.autohand/config.json` (the CLI does not read `SAKANA_API_KEY`), select the `sakana` provider, and choose a model ID shown in the Sakana AI account.

**What does the Autohand Sakana AI integration require?**

A Sakana AI API key and access to the selected Fugu model.

**What limitations should I know about?**

Model availability, regional access, data-use controls, and catalog details depend on the Sakana AI account and service terms.
