Use GhidraGPT with a private, uncensored API

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

Give GhidraGPT 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 GhidraGPT 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 GhidraGPT's configuration panel. It saves it in ~/.ghidragpt/config.properties.

Set up GhidraGPT

  1. Install GhidraGPT

    Build and install GhidraGPT in Ghidra 12 as its README says, then enable it under File > Configure.

  2. Choose the OpenAI-compatible provider

    Open GhidraGPT's Configuration tab. Choose the provider first, because choosing it clears the other settings. Then set:

    SettingValue
    API ProviderOPENAI_COMPATIBLE
    API KeyYour Morse key
    Custom API URLhttps://inference.trymorse.ai/v1, with nothing after /v1
    Modeldeepseek/deepseek-v4.1-flash-1017-abliterated
    Max Tokens16000

    To pick from Morse's models instead, choose Fetch beside Model, then pick an id from the list. Then choose Save Configuration.

Which model to pick

ModelContextInput / outputWhy
deepseek/deepseek-v4.1-flash-1017-abliterated1M$0.50 / $1.50Uncensored, so it explains what a sample does instead of refusing, with a long context for big functions.
moonshotai/kimi-k3.1-pro-uncensored1M$5 / $18.75Uncensored, and the strongest reasoner here for tangled control flow.
qwen/qwen3.8-27b-uncensored256K$0.35 / $1.75Uncensored, cheap, and runs only in attested enclaves.

Prices are in dollars per million tokens, on each model's default endpoint. Every model is on the models page.

Check it works

Choose Test Connection. Connection successful, or Connection established but unexpected response, shows that Morse answered. Then right-click a function in the decompiler and choose GhidraGPT > Explain. The response streams into the Console tab.

Keep it private

Set a privacy floor on GhidraGPT'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
Streaming request failed: 401 UnauthorizedCheck the key you gave GhidraGPT in full, and that it isn't revoked.
The response stops partwayRaise Max Tokens, up to 32000: a reasoning model spends part of it before it writes.
Connection test failed with timeoutRaise Timeout (seconds). It's the longest wait between two parts of the response.
400 setting_not_forwardedGhidraGPT sends temperature. 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 GhidraGPT 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.