Skip to main content
DeepSeek

DeepSeek V4.1 Flash Abliterated API

DeepSeek

DeepSeek V4.1 Flash 1017 (552B MoE, 16B active) with safety refusal directions removed from the weights, supporting text and image input over a 1M-token context window with no peak surcharge.

deepseek/deepseek-v4.1-flash-abliterated

Documentation

Conversation

Start a conversation

DeepSeek V4.1 Flash 1017 (552B MoE, 16B active) with safety refusal directions removed from the weights, supporting text and image input over a 1M-token context window with no peak surcharge.

Enter to send · Shift+Enter for a new line

UnificAlly doesn't store your LLM prompts and replies. We only keep token usage information for billing purposes.

Uses POST /v1/chat/completions with your UnificAlly API key. Supports system and user prompts, tools, streaming, and thinking when available.

Updated

What is the DeepSeek V4.1 Flash Abliterated API?

The DeepSeek V4.1 Flash Abliterated API is live on UnificAlly as deepseek/deepseek-v4.1-flash-abliterated, at $0.138/1M tokens of input and $0.5175/1M tokens of output. Built on DeepSeek's V4.1 Flash 1017 552B MoE architecture (16B active on generation, family released September 10, 2026), it removes safety refusal directions directly from the FP8 weights while keeping coding-agent strength, vision input, and optional thinking control. Unlike the regular DeepSeek catalog, the DeepSeek V4.1 Flash Abliterated API carries flat 24/7 token rates with no weekday peak surcharge.

DeepSeek V4.1 Flash Abliterated API specs

Model IDdeepseek/deepseek-v4.1-flash-abliterated
EndpointPOST https://direct-api.unifically.com/v1/chat/completions
Other formatsPOST /v1/responses and POST /v1/messages
Request typesChat, streaming, inline vision, tool calling, JSON mode
InputsText and inline base64 images (data:image/...;base64)
OutputText with optional reasoning_content
Context window1,048,576 tokens
Max output131,072 tokens
Reasoning effortoff, low (default), high, max
Quantization / speedFP8, ~80 tok/s
Input rate$0.138/1M tokens
Output rate$0.5175/1M tokens
Cache read rate$0.02185/1M tokens

Rates for the DeepSeek V4.1 Flash Abliterated API stay constant at all hours of the day, with automatic prefix cache discounts.

How to use the DeepSeek V4.1 Flash Abliterated API

  1. Create a bearer key on the API keys page in your UnificAlly account.
  2. Send a POST request to https://direct-api.unifically.com/v1/chat/completions with "model": "deepseek/deepseek-v4.1-flash-abliterated". Direct requests to direct-api.unifically.com avoid Cloudflare timeouts on long reasoning traces.
  3. Read choices[0].message.content (and reasoning_content when reasoning is enabled).
curl -X POST https://direct-api.unifically.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "deepseek/deepseek-v4.1-flash-abliterated",
    "reasoning_effort": "low",
    "messages": [
      { "role": "user", "content": "Write unit tests covering integer overflow edge cases in this C parser." }
    ]
  }'

The endpoint responds synchronously with the generated completion and token breakdown:

{
  "id": "f9327ba2-2d18-4176-b2b7-3e65265ba6f1",
  "object": "chat.completion",
  "created": 1795777923,
  "model": "deepseek/deepseek-v4.1-flash-abliterated",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Added boundary tests for SIZE_MAX + 1 allocation wrap and negative length headers."
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 61,
    "completion_tokens": 24,
    "total_tokens": 85,
    "prompt_tokens_details": {
      "cached_tokens": 0
    },
    "completion_tokens_details": {
      "reasoning_tokens": 9
    }
  }
}

DeepSeek V4.1 Flash Abliterated API parameters

ParameterTypeDefaultWhat it does
modelstringrequiredModel identifier, deepseek/deepseek-v4.1-flash-abliterated
messagesarrayrequiredMessage objects; vision inputs require inline data:image/...;base64 URIs
reasoning_effortstringlowThinking depth: accepts off, low, high, or max only
streambooleanfalseStreams SSE chunks with answer and reasoning_content deltas
stream_optionsobjectnonePass { "include_usage": true } to emit final stream token counts
max_tokensintegernoneMaximum completion tokens up to 131072 (alias max_completion_tokens)
temperaturenumbernoneSampling temperature between 0 and 2
top_pnumbernoneNucleus sampling cutoff
stopstring or arraynoneUp to four stop sequences
toolsarraynoneTool definitions for agentic function calling
tool_choicestring or objectnonenone, auto, required, or named tool
response_formatobjectnone{ "type": "json_object" } for JSON responses

See the DeepSeek V4.1 Flash Abliterated API documentation for /v1/responses, /v1/messages, and base64 image rules.

What DeepSeek V4.1 Flash Abliterated does well

DeepSeek's V4.1 Flash model card and release benchmarks post 74.2% on DeepSWE v1.1 and 90.6% on Terminal-Bench 2.1 on base weights, while Artificial Analysis scores it at 39 on the Intelligence Index as of September 23, 2026. Its causal encoder-decoder MoE activates only 8B parameters on prompt prefill and 16B during generation, keeping KV cache footprints compact across 1M-token agent sessions. Being able to toggle reasoning_effort: "off" also makes the DeepSeek V4.1 Flash Abliterated API fast and inexpensive for classification, extraction, and non-reasoning tasks.

DeepSeek V4.1 Flash Abliterated limitations

Like other vision endpoints on this tier, the DeepSeek V4.1 Flash Abliterated API rejects remote https:// image URLs with 400; encode screenshots as inline base64 data URIs instead. Only off, low, high, and max are accepted for reasoning_effort (medium and minimal return 400). Max output per request is capped at 128K tokens (131,072), and FP8 quantization at ~80 tok/s is noticeably slower than DeepSeek V4.1 Flash Abliterated Fast at ~250 tok/s. All usage must comply with UnificAlly Terms of Service.

When to use DeepSeek V4.1 Flash Abliterated

Use the DeepSeek V4.1 Flash Abliterated API when you want DeepSeek V4.1 Flash's coding and terminal reliability without safety refusals, need reasoning_effort: "off" support, or cache heavy multi-turn prefixes at the lowest cache read rate. When interactive speed matters, swap the model ID to DeepSeek V4.1 Flash Abliterated Fast at identical input and output rates.