Use Gepetto with a private, uncensored API

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

Give 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.

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. Then one tool can't spend all your credits. See Limit a key.

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

Set up Gepetto

  1. Install Gepetto

    Install Gepetto in IDA Pro 7.6 or later, with the Hex-Rays decompiler, as its README says.

  2. Add Morse to config.ini

    Open 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

ModelContextInput / outputWhy
z-ai/glm-5.3-uncensored1M$1.75 / $5Uncensored, so it explains what a sample does instead of refusing, in an attested enclave.
qwen/qwen3.8-27b-uncensored256K$0.35 / $1.75Uncensored, cheaper, and runs only in attested enclaves.
google/gemma-4-26b-a4b-uncensored256K$0.175 / $0.85Uncensored, 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.

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 and 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.

If something goes wrong

What you seeWhat to do
Morse is missing from the model menuCheck 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 nothingSet 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_forwardedGepetto 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.
401 invalid_api_keyCheck the key you gave Gepetto in full, and that it isn't revoked.
402 insufficient_balance or key_spend_limit_reachedAdd credits, or raise the key's spend limit. A request holds credit for its output limit before it starts: see Holds.
404 model_not_foundUse a model's id exactly as the table above writes it, with the part before the slash.

Every code is in Error codes. For other tools, see Tools and coding agents.