Connect Gepetto to the private Morse API, uncensored models included: set it up, pick a model, and check it works. Updated December 5, 2026.

Page: https://trymorse.ai/inference/docs/tools/gepetto

# Use Gepetto with a private, uncensored API

Give [Gepetto](https://github.com/JusticeRage/Gepetto) the base URL `https://inference.trymorse.ai/v1` and a Morse API key. It calls the OpenAI API.

The same key also calls 17 uncensored models. [See them](https://trymorse.ai/inference/uncensored).

**Cybersecurity:** Test, monitor, and defend your systems without safety filters blocking real security work.

## Before you start

Make a key for Gepetto alone, with a spend limit, under **API keys** in the [console](https://console.trymorse.ai). Then one tool can't spend all your credits. See [Limit a key](https://trymorse.ai/inference/docs/authentication#limits).

You'll paste the key into Gepetto's `config.ini`.

## Set up Gepetto

1. Install GepettoInstall Gepetto in IDA Pro 7.6 or later, with the Hex-Rays decompiler, as its README says.
2. Add Morse to config.iniOpen `config.ini` in Gepetto's plugin folder: `~/.idapro/plugins/gepetto/config.ini`, or `%APPDATA%\Hex-Rays\IDA Pro\plugins\gepetto\config.ini` on Windows. Set these lines in the sections already there:config.ini`[Gepetto] MODEL = z-ai/glm-5.3-uncensored [OpenAICompatible] NAME = Morse API_KEY = sk_morse_... BASE_URL = https://inference.trymorse.ai/v1 MODELS = z-ai/glm-5.3-uncensored, qwen/qwen3.8-27b-uncensored, google/gemma-4-26b-a4b-uncensored``BASE_URL` keeps `/v1`.`MODELS` are the models Gepetto's menu lists under `NAME`.`MODEL` is the one it starts on.Then restart IDA: Gepetto reads the file once, as it starts. To switch models later, use **Edit > Gepetto > Select model**.

## Which model to pick

| Model | Context | Input / output | Why |
| --- | --- | --- | --- |
| `z-ai/glm-5.3-uncensored` | 1M | $1.75 / $5 | Uncensored, so it explains what a sample does instead of refusing, in an attested enclave. |
| `qwen/qwen3.8-27b-uncensored` | 256K | $0.35 / $1.75 | Uncensored, cheaper, and runs only in attested enclaves. |
| `google/gemma-4-26b-a4b-uncensored` | 256K | $0.175 / $0.85 | Uncensored, and the cheapest here, for renaming many functions. |

Prices are in dollars per million tokens, on each model's default endpoint. Every model is on the [models page](https://trymorse.ai/inference/models).

## Check it works

In a decompiled function, right-click and choose **Gepetto > Explain function**, or press **Ctrl+Alt+G**. The Output window shows `query finished`, and Gepetto adds the explanation as the function's comment. That shows that Morse took the request.

## Keep it private

Set a privacy floor on Gepetto's key to hold it to a tier, such as TEE. Without a floor, a request runs on its model's default privacy tier. The floor only decides which endpoints serve the requests. See [Privacy tiers](https://trymorse.ai/inference/docs/privacy-tiers) and [Provider routing](https://trymorse.ai/inference/docs/provider-routing).

On a plain API call, TLS ends inside Morse's door, an attested enclave, which seals the request before the relay receives it. A plain client checks the door's certificate, not its attestation. To check the attestation yourself, see [Sealed API keys](https://trymorse.ai/inference/docs/sealed-api-keys).

## If something goes wrong

| What you see | What to do |
| --- | --- |
| Morse is missing from the model menu | Check that `API_KEY` is in the `[OpenAICompatible]` section itself. Gepetto lists the provider only when the file holds a key. |
| Gepetto's LLM chat sends nothing | Set the environment variable `OPENAI_API_KEY` to any value, such as `unused`, before you start IDA. Gepetto 1.5.1's chat needs it to stream from an OpenAI-compatible provider. The right-click actions don't. |
| `400 setting_not_forwarded` | Gepetto sends `response_format` for its rename and comment actions. Turn on **Let my settings reach the model host** on the key's page in the console. See [Settings](https://trymorse.ai/inference/docs/api/parameters#settings). |
| `401 invalid_api_key` | Check the key you gave Gepetto in full, and that it isn't revoked. |
| `402 insufficient_balance` or `key_spend_limit_reached` | Add credits, or raise the key's spend limit. A request holds credit for its output limit before it starts: see [Holds](https://trymorse.ai/inference/docs/pricing#holds). |
| `404 model_not_found` | Use a model's id exactly as the table above writes it, with the part before the slash. |

Every code is in [Error codes](https://trymorse.ai/inference/docs/api/errors). For other tools, see [Tools and coding agents](https://trymorse.ai/inference/docs/tools).
