Use Obscurify.ai with the pi coding agent

pi is an open-source coding agent for the terminal. With @obscurify/pi, pi runs on DeepSeek, GLM, Qwen, Kimi, Claude, GPT, Gemini, Grok, and over 300 other models through your Obscurify.ai account, so your identity is stripped before requests reach model providers and prompts are not stored on our servers in a readable form.

You need an Obscurify.ai account (a random 20-character code, no email) with a positive balance: create an account, add credit on your account page, and click Show API Key (sk-obs1_...).

Connect with the package

  1. Install the Obscurify.ai provider package:

    pi install npm:@obscurify/pi
    
  2. Start pi, run /login, choose Sign in with an API key, then Obscurify.ai, and paste your sk-obs1_... key. Setting OBSCURIFY_API_KEY in your shell environment also works.

  3. Run /model, search for Obscurify, and pick a tool-capable model such as DeepSeek V4.1 Flash (deepseek/deepseek-v4-flash) or GLM 5.3 Flash (z-ai/glm-5.3-flash).

Or pass a model and reasoning effort directly on launch:

pi --model obscurify/deepseek/deepseek-v4-flash
pi --model obscurify/z-ai/glm-5.3:high

What works

  • Live tool-calling catalog: Lists every model from /v1/models with tool calling enabled, along with current price and context window.
  • File and shell tools: pi’s read, write, edit, and bash tools work across listed models.
  • Thinking levels: pi’s reasoning setting maps to reasoning_effort on DeepSeek, GLM, MiniMax, Qwen3.8, Claude, GPT, Gemini, and Grok models, showing reasoning output directly in pi.
  • Image input: Vision models such as Claude, GPT, Gemini, and Grok accept image attachments.
  • Per-request cost: pi reads and displays returned request costs.

Good starting choices: deepseek/deepseek-v4-flash (low cost, 1M context), z-ai/glm-5.3, and qwen/qwen3-coder. For security tasks where mainstream models refuse, z-ai/glm-5.3-flash-uncensored and deepseek/deepseek-v4.1-flash-1017-uncensored:thinking work on Pro, Dev, or Max plan (and heabsy/cyberheabsy or orca/orcacyber-minimax-m3.1-flash work on any funded account).

Configure without installing the package

Add an obscurify provider block to ~/.pi/agent/models.json:

{
  "providers": {
    "obscurify": {
      "name": "Obscurify.ai",
      "baseUrl": "https://obscurify.ai/v1",
      "api": "openai-completions",
      "apiKey": "$OBSCURIFY_API_KEY",
      "compat": {
        "supportsStore": false,
        "supportsDeveloperRole": false,
        "supportsReasoningEffort": true,
        "thinkingFormat": "openai",
        "maxTokensField": "max_tokens"
      },
      "models": [
        { "id": "deepseek/deepseek-v4-flash", "reasoning": true, "contextWindow": 1048576, "maxTokens": 32768 },
        { "id": "qwen/qwen3-coder", "contextWindow": 262000, "maxTokens": 32768 }
      ]
    }
  }
}

Plans and token usage

Coding agents resend the conversation, system prompt, and tool schemas on every turn, so a short task averages around 20,000 tokens. Paid models have no monthly token limit on any plan; free models are capped at 1M tokens/month on Pay As You Go and 10M on Basic (unlimited on Pro and higher). Frontier models unlock on Basic, Pro, Dev, or Max plan, and uncensored models unlock on Pro, Dev, or Max plan. Compare options on pricing and models.

Common questions

How do I make pi requests unlinkable to my account?

Run the local unlinkable-inference proxy from the private sessions tutorial and point baseUrl at http://127.0.0.1:8899/v1, keeping the same OBSCURIFY_API_KEY.

Can pi run uncensored models for authorized pentests or reverse engineering?

Yes. Pick a tool-capable uncensored or security model from uncensored coding AI or cybersecurity LLMs. Check pricing for the plan required by the model you choose.

Where is the package source code?

The MIT-licensed extension lives at github.com/Obscurify-ai/pi-obscurify. Questions or issues can go through contact.

Create a 20-character account code with no email or phone, copy your API key, and run 300+ models through https://obscurify.ai/v1 and /v1/messages.

Get an API key, no email See pricing
Sign up