Connect GhidraGPT 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/ghidragpt

# Use GhidraGPT with a private, uncensored API

Give [GhidraGPT](https://github.com/weirdmachine64/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](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 GhidraGPT 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 GhidraGPT's configuration panel. It saves it in `~/.ghidragpt/config.properties`.

## Set up GhidraGPT

1. Install GhidraGPTBuild and install GhidraGPT in Ghidra 12 as its README says, then enable it under **File > Configure**.
2. Choose the OpenAI-compatible providerOpen GhidraGPT's **Configuration** tab. Choose the provider first, because choosing it clears the other settings. Then set:Setting Value **API Provider** **OPENAI_COMPATIBLE** **API Key** Your Morse key **Custom API URL**`https://inference.trymorse.ai/v1`, with nothing after `/v1`**Model**`deepseek/deepseek-v4.1-flash-1017-abliterated`**Max Tokens** 16000 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

| Model | Context | Input / output | Why |
| --- | --- | --- | --- |
| `deepseek/deepseek-v4.1-flash-1017-abliterated` | 1M | $0.50 / $1.50 | Uncensored, so it explains what a sample does instead of refusing, with a long context for big functions. |
| `moonshotai/kimi-k3.1-pro-uncensored` | 1M | $5 / $18.75 | Uncensored, and the strongest reasoner here for tangled control flow. |
| `qwen/qwen3.8-27b-uncensored` | 256K | $0.35 / $1.75 | Uncensored, 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](https://trymorse.ai/inference/models).

## 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](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 |
| --- | --- |
| `Streaming request failed: 401 Unauthorized` | Check the key you gave GhidraGPT in full, and that it isn't revoked. |
| The response stops partway | Raise **Max Tokens**, up to 32000: a reasoning model spends part of it before it writes. |
| `Connection test failed` with `timeout` | Raise **Timeout (seconds)**. It's the longest wait between two parts of the response. |
| `400 setting_not_forwarded` | GhidraGPT sends `temperature`. 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 GhidraGPT 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).
