Connect to any model in the world that never says no.

Ghost API: connect to any open model in the world that never says no, with one API key. Uncensored and abliterated models (no refusals) for coding, writing and research, priced per million tokens. Works with Claude Code, Codex and any OpenAI-compatible or Anthropic-compatible client. Pay as you go from $5, or use a Pro plan ($20 a month). The only things blocked are child sexual abuse material and chemical, biological, radiological and nuclear weapons.

Install

Claude Code: ANTHROPIC_BASE_URL=https://api.thesapientdirective.com ANTHROPIC_AUTH_TOKEN=<key> ANTHROPIC_MODEL=ghost-x2 claude

OpenAI-compatible base URL: https://api.thesapientdirective.com/v1. Reload from $5, no plan needed. Markdown version: /ghost/api/index.md

Models and prices (USD per 1M tokens)

ModelidSizeContextBest forInputOutput
Ghost X2ghost-x2125B256KCoding, Text, Research$0.20$0.80
Ghost X1ghost-x1125B256KCoding, Text$0.20$0.80
GLM 5.3 Uncensoredglm-5-3-uncensored753B1MResearch, Coding, Text$3$5
GLM 5.3 Flash Uncensoredglm-5-3-flash-uncensoredFlash1MText, Research$0.20$0.80
DeepSeek V4.1 Flash Uncensoreddeepseek-v4-1-flash-uncensoredFlash256KCoding, Research$0.60$2.25
Kimi K3.1 Pro Uncensoredkimi-k3-1-pro-uncensored2.8T256KResearch, Coding$7.50$22.50
Hy4 Uncensoredhy4-uncensored770B256KResearch, Coding$2.50$5
MiMo V2.6 Flash Uncensoredmimo-v2-6-flash-uncensoredFlash256KText, Research$0.70$2.25
MiMo V2.6 Flash Abliteratedmimo-v2-6-flash-abliteratedFlash256KText, Research, Coding$0.80$2.25
Qwen 3.8 27B Obliteratedqwen3-8-27b-obliterated27B256KCoding, Text$0.40$2.25
Qwen 3.8 27B Queenqwen3-8-27b-queen27B256KText$0.20$1
Qwen 3.8 27B Uncensoredqwen3-8-27b-uncensored27B256KText, Coding$0.80$3.50
Qwen 3.8 27B Uncensored Fastqwen3-8-27b-uncensored-fast27B256KText$1.25$4
CyberHeabsycyberheabsyHosted256KCoding$2.25$6.75
Qwen 3.8 Abliteratedqwen3.8-abliterated27B256KCoding, Text$0.20$0.80
Gemma 4 Uncensoredgemma4-26b26B32KText, Images$0.60$1.25
Gemma 4 31B Hereticgemma4-31b-heretic31B32KText, Images$0.80$2.25
Qwen 3 VL Abliteratedqwen3-vl-32b32B32KText, Research, Images$0.70$2.50
MedGemma 1.5medgemma-1-5-4b4B32KResearch, Images$0.30$0.60