<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aljay Miskino</title>
    <description>The latest articles on DEV Community by Aljay Miskino (@commentllm).</description>
    <link>https://dev.to/commentllm</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4261263%2Fe1b37f1e-36ea-4a0a-8ae2-056cd7458239.png</url>
      <title>DEV Community: Aljay Miskino</title>
      <link>https://dev.to/commentllm</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/commentllm"/>
    <language>en</language>
    <item>
      <title>Abliterated vs Uncensored vs Jailbroken: What Security Teams Actually Need</title>
      <dc:creator>Aljay Miskino</dc:creator>
      <pubDate>Mon, 23 Nov 2026 22:17:25 +0000</pubDate>
      <link>https://dev.to/commentllm/abliterated-vs-uncensored-vs-jailbroken-what-security-teams-actually-need-jm7</link>
      <guid>https://dev.to/commentllm/abliterated-vs-uncensored-vs-jailbroken-what-security-teams-actually-need-jm7</guid>
      <description>&lt;p&gt;Security reviews and vendor calls often use "uncensored," "jailbroken," and "abliterated" as if they named the same product. They do not. One is usually a prompt. One is a loosely applied training label. One is a change to the model weights. Those differences affect reliability, reviewability, and what you can tell a client or a CISO.&lt;/p&gt;

&lt;p&gt;This is a taxonomy, not a setup guide. Examples stay inside ordinary authorized work, such as discussing findings or drafting a test-plan outline. I will not walk through jailbreak prompts or attack procedures.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the labels get mixed up
&lt;/h2&gt;

&lt;p&gt;The buying problem is real. Many generally available models will decline a prompt that a penetration tester or detection engineer considers routine, such as structuring findings or drafting a test plan inside a written scope. Teams then look for a model that refuses less, and search results collapse several techniques into one marketing term, often "uncensored LLM."&lt;/p&gt;

&lt;p&gt;Search also mixes spellings. "Abliterated" is the usual name for a weight-level refusal edit. "Obliterated AI" and "obliterated" checkpoints show up as an alternate spelling in some model names. People use both to mean "a model that is less likely to decline this class of question." That is a starting description, not a specification.&lt;/p&gt;

&lt;p&gt;The specification question is: what actually changed, and what still sits in front of the model when you call it?&lt;/p&gt;

&lt;h2&gt;
  
  
  Jailbroken: a bypass at request time
&lt;/h2&gt;

&lt;p&gt;A jailbroken setup leaves the underlying model alone. The original refusal behavior is still in the weights. What changes is the request: a crafted user prompt, a system prompt, or a wrapper that tries to get the same model to ignore its refusals.&lt;/p&gt;

&lt;p&gt;The bypass is brittle. A model update, a tighter system prompt, or a slightly different task can bring the refusals back. You are not evaluating a stable artifact; you are evaluating a trick that may work on Tuesday.&lt;/p&gt;

&lt;p&gt;It is also the wrong control point. A jailbreak wrapper does not record an engagement's authorized hosts, apply a client's rules, or give you an audit trail of policy decisions. If the wrapper is pasted into a consumer chat product, you may also be outside that product's terms and sending engagement text to a system you have not reviewed.&lt;/p&gt;

&lt;p&gt;Treat "jailbroken" as a request-time workaround, not as a model you can put on an approved tool list.&lt;/p&gt;

&lt;h2&gt;
  
  
  Uncensored: a label that needs a follow-up question
&lt;/h2&gt;

&lt;p&gt;"Uncensored" is used for many different artifacts. Sometimes it means a fine-tune: the base model was trained further on data that omits refusals, or that includes answers to questions the base model would have declined. Sometimes it is only a marketing word for any model that answers more freely, including abliterated builds or jailbreak wrappers.&lt;/p&gt;

&lt;p&gt;Because the word does not say what changed, it does not tell you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;whether the weights were fine-tuned, edited, or left intact&lt;/li&gt;
&lt;li&gt;how much ordinary capability (coding, reasoning, instruction following) was preserved&lt;/li&gt;
&lt;li&gt;whether refusals were actually reduced, on which tasks, and how that was measured&lt;/li&gt;
&lt;li&gt;what logging, retention, or acceptable-use policy the host applies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If a vendor or a model card says "uncensored," start with the questions above. "Uncensored LLM API" is a reasonable search, not a complete requirements list.&lt;/p&gt;

&lt;h2&gt;
  
  
  Abliterated: a change in the weights
&lt;/h2&gt;

&lt;p&gt;Abliteration is a weight-level edit. Refusal-related directions in the model are edited so the model is less likely to decline ordinary questions, including ordinary security questions. The change lives in the checkpoint, not in a prompt you attach every time.&lt;/p&gt;

&lt;p&gt;Two limits matter more than the name.&lt;/p&gt;

&lt;p&gt;First, abliteration reduces refusal behavior; it does not guarantee that every request will be followed. You should still expect some declines, and you should not treat a preview checkpoint as a finished evaluation.&lt;/p&gt;

&lt;p&gt;Second, editing refusals in the weights is not the same as putting organizational rules around the model. A local checkpoint and a hosted API can serve the same family of weights and still differ in scope checks, logging, and who is allowed to call them.&lt;/p&gt;

&lt;p&gt;When you see "obliterated" in a checkpoint name, treat it as an alternate spelling in the same neighborhood, then read the card: what was edited, which base model it started from, and whether anyone published an evaluation you can repeat. The label is not the requirement. The requirement is a described method, a test you can understand, and the controls around use.&lt;/p&gt;

&lt;h2&gt;
  
  
  A practitioner's comparison
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Jailbroken&lt;/th&gt;
&lt;th&gt;"Uncensored" (as commonly used)&lt;/th&gt;
&lt;th&gt;Abliterated&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;What changed&lt;/td&gt;
&lt;td&gt;The prompt or wrapper&lt;/td&gt;
&lt;td&gt;Often a fine-tune; sometimes only the marketing&lt;/td&gt;
&lt;td&gt;The model weights&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Is the original refusal still in the checkpoint?&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;It depends; the name does not say&lt;/td&gt;
&lt;td&gt;Refusal directions have been edited&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stability across prompts&lt;/td&gt;
&lt;td&gt;Low; the bypass can fail&lt;/td&gt;
&lt;td&gt;Varies with the method&lt;/td&gt;
&lt;td&gt;The edit travels with the model; refusals are reduced, not gone&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What you can tell a reviewer&lt;/td&gt;
&lt;td&gt;We used a prompt to get around refusals&lt;/td&gt;
&lt;td&gt;Only after you define the method&lt;/td&gt;
&lt;td&gt;We selected a checkpoint with edited refusal directions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Organizational control&lt;/td&gt;
&lt;td&gt;Not provided by the jailbreak&lt;/td&gt;
&lt;td&gt;Not provided by the label&lt;/td&gt;
&lt;td&gt;Not provided by abliteration; add it around the model&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The last row is the one I see teams skip. They find a model that will discuss a scoped test plan, then realize they still need scope enforcement, redaction, and an audit trail that does not store prompt text.&lt;/p&gt;

&lt;h2&gt;
  
  
  What security teams actually need
&lt;/h2&gt;

&lt;p&gt;A useful setup for authorized work has two parts, and they are not substitutes.&lt;/p&gt;

&lt;p&gt;You need a model that will spend tokens on the work you are already cleared to do. Red teams, penetration testers writing up findings, detection engineers working from samples they already have, and AI red teams generating evaluation inputs under policy all run into unhelpful refusals on ordinary prompts. An abliterated model is one way to reduce those refusals. It is not a license to go outside a written scope, and it is not a consumer "uncensored chat" product.&lt;/p&gt;

&lt;p&gt;You also need controls that survive a client review: a defined engagement (who authorized the work, for which targets, and for which dates), policies that can block or redact before a response is returned, and logs a security lead can export without storing prompt and response text.&lt;/p&gt;

&lt;p&gt;Those controls do not come for free with a jailbreak prompt, an "uncensored" download, or an abliterated checkpoint. They sit in front of the model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where a hosted API fits
&lt;/h2&gt;

&lt;p&gt;This is the problem we built &lt;a href="https://commentllm.com" rel="noopener noreferrer"&gt;CommentLLM&lt;/a&gt; around. It hosts abliterated models for authorized security work and serves them through OpenAI- and Anthropic-compatible APIs. As of 23 November 2026, the public preview catalog is Qwen 3.8 27B Abliterated and DeepSeek V4.1 Flash 1017 Abliterated. A policy gateway applies each organization's engagement scope and rules before a request is served. Blocked requests are not billed. Logs keep request metadata; prompts, responses, and the text a policy matched are not stored, and that content is not used to train models.&lt;/p&gt;

&lt;p&gt;For the SDK setup, I published a separate walkthrough: &lt;a href="https://dev.to/commentllm/call-a-hosted-abliterated-model-with-the-openai-python-and-node-sdks-4lcf"&gt;Call a Hosted Abliterated Model with the OpenAI Python and Node SDKs&lt;/a&gt;. This article is the decision frame that walkthrough assumes: pick the artifact on purpose, then put your rules around it.&lt;/p&gt;

&lt;h2&gt;
  
  
  A short test you can take to a vendor review
&lt;/h2&gt;

&lt;p&gt;When someone proposes an "uncensored" or "jailbroken" option, these questions usually separate a real artifact from a slogan:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What changed: a prompt, a fine-tune, or the weights?&lt;/li&gt;
&lt;li&gt;Where is that described, and dated?&lt;/li&gt;
&lt;li&gt;Are refusals claimed to be gone, or reduced? Who measured that, on what tasks?&lt;/li&gt;
&lt;li&gt;What happens when the prompt contains a hostname or address that is not in scope?&lt;/li&gt;
&lt;li&gt;What is logged, and are prompts and responses stored?&lt;/li&gt;
&lt;li&gt;Who is allowed to use it, and under what acceptable-use policy?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If the answers to (4) and (5) are "nothing" and "we are not sure," you do not yet have a setup you can defend. You have a model, or a prompt, that refuses less.&lt;/p&gt;

&lt;p&gt;Abliteration can be the right choice for the model layer. It is still only the model layer.&lt;/p&gt;

&lt;p&gt;Aljay Miskino is VP of Partnerships at CommentLLM.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>llm</category>
      <category>cybersecurity</category>
    </item>
    <item>
      <title>Call a Hosted Abliterated Model with the OpenAI Python and Node SDKs</title>
      <dc:creator>Aljay Miskino</dc:creator>
      <pubDate>Mon, 23 Nov 2026 22:07:21 +0000</pubDate>
      <link>https://dev.to/commentllm/call-a-hosted-abliterated-model-with-the-openai-python-and-node-sdks-4lcf</link>
      <guid>https://dev.to/commentllm/call-a-hosted-abliterated-model-with-the-openai-python-and-node-sdks-4lcf</guid>
      <description>&lt;p&gt;Most teams I talk to already have an OpenAI or Anthropic client in their tooling. They do not want to self-host a 27B checkpoint just to discuss a detection rule or a scoped test plan. You can keep the SDK you already use and change the base URL.&lt;/p&gt;

&lt;p&gt;This walkthrough uses &lt;a href="https://commentllm.com" rel="noopener noreferrer"&gt;CommentLLM&lt;/a&gt;, a hosted API for abliterated models aimed at authorized security work. The examples cover Python, Node, and curl against &lt;code&gt;https://api.commentllm.com/v1&lt;/code&gt;, the two current preview model IDs, and the Anthropic-compatible option, which uses a slightly different base URL. The prompts are ordinary on purpose: explain a public detection pattern, or draft a test-plan outline. Nothing here is an attack procedure.&lt;/p&gt;

&lt;p&gt;Model IDs, context windows, and token rates below were checked on the public catalog on 23 November 2026 (America/New_York). Re-check that catalog before you quote them; both models are still in preview.&lt;/p&gt;

&lt;h2&gt;
  
  
  What "abliterated" means here
&lt;/h2&gt;

&lt;p&gt;An abliterated model is not a jailbreak wrapper. Abliteration edits refusal-related directions in the model weights, so the model is less likely to decline ordinary security questions. It does not guarantee that every request will be followed, and it does not remove your responsibility to stay inside a written engagement. In this API, a policy gateway still applies your organization's engagement scope and rules before a response is returned.&lt;/p&gt;

&lt;p&gt;If you have been searching for an uncensored LLM API for red-team or detection-engineering work, that distinction matters: fewer unhelpful refusals, plus controls you can explain to a client or a CISO.&lt;/p&gt;

&lt;h2&gt;
  
  
  Set up a key
&lt;/h2&gt;

&lt;p&gt;Create an account, then create a project key in the console. Keys start with &lt;code&gt;cllm_&lt;/code&gt; and are shown once. Send the key as &lt;code&gt;Authorization: Bearer cllm_...&lt;/code&gt;. The &lt;code&gt;x-api-key&lt;/code&gt; header also works.&lt;/p&gt;

&lt;p&gt;You can create an account without a card. Model requests need prepaid credit (you can add credits from $10) or a monthly plan, which starts at $20 and includes usage credit plus a discount on the listed rates. There is no review step after sign-up.&lt;/p&gt;

&lt;p&gt;Export the key and keep it out of source control:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;COMMENTLLM_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"cllm_..."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Install the official clients if you do not already have them:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install openai
&lt;span class="c"&gt;# or&lt;/span&gt;
npm install openai
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Python: change the base URL
&lt;/h2&gt;

&lt;p&gt;The only required change from a typical OpenAI client is &lt;code&gt;base_url&lt;/code&gt; and the key.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://api.commentllm.com/v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"COMMENTLLM_API_KEY"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"""
title: Suspicious PowerShell Encoded Command
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    CommandLine|contains:
      - ' -enc '
      - ' -EncodedCommand '
  condition: selection
"""&lt;/span&gt;

&lt;span class="n"&gt;reply&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"qwen3.8-27b-abliterated"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;max_tokens&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1024&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
                &lt;span class="s2"&gt;"Explain this public, simplified Sigma-style rule in plain language. "&lt;/span&gt;
                &lt;span class="s2"&gt;"What process behavior does it look for, which Windows fields matter, "&lt;/span&gt;
                &lt;span class="s2"&gt;"and what false positives should an analyst expect?\n\n"&lt;/span&gt;
                &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;rule&lt;/span&gt;
            &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;reply&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;choices&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"request:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;reply&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Set &lt;code&gt;max_tokens&lt;/code&gt; (or &lt;code&gt;max_completion_tokens&lt;/code&gt;). If you omit an output limit on Chat Completions, the gateway reserves credit up to the model's maximum output: 65,536 tokens on the Qwen ID and 32,768 on the DeepSeek ID. Every response includes an &lt;code&gt;x-request-id&lt;/code&gt; header that matches the request in the console; the SDK also exposes &lt;code&gt;reply.id&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Node: the same call
&lt;/h2&gt;

&lt;p&gt;The Node SDK uses &lt;code&gt;baseURL&lt;/code&gt; and &lt;code&gt;apiKey&lt;/code&gt;. The request shape is otherwise unchanged.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"openai"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;baseURL&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://api.commentllm.com/v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;apiKey&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;COMMENTLLM_API_KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;reply&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"qwen3.8-27b-abliterated"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;max_tokens&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1024&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="n"&gt;role&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;"Draft a high-level test plan outline for a web application assessment "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;
        &lt;span class="s2"&gt;"we are already authorized to perform. Cover kickoff, scoping against "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;
        &lt;span class="s2"&gt;"the written rules of engagement, documentation review, and the report "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;
        &lt;span class="s2"&gt;"structure. Do not include exploit steps or payloads."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;reply&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;choices&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  curl, and listing models
&lt;/h2&gt;

&lt;p&gt;If you want to confirm which IDs the gateway currently accepts, list them with your project key:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl --fail-with-body https://api.commentllm.com/v1/models \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $COMMENTLLM_API_KEY"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A non-streaming Chat Completions call looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl https://api.commentllm.com/v1/chat/completions \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $COMMENTLLM_API_KEY"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{
    "model": "qwen3.8-27b-abliterated",
    "max_tokens": 1024,
    "messages": [
      {"role": "user", "content": "Explain this Sigma rule."}
    ]
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Streaming
&lt;/h2&gt;

&lt;p&gt;Set &lt;code&gt;stream: true&lt;/code&gt; for Chat Completions. The server sends &lt;code&gt;chat.completion.chunk&lt;/code&gt; events, then a chunk with usage, then &lt;code&gt;data: [DONE]&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;stream&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"qwen3.8-27b-abliterated"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;max_tokens&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1024&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;stream&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Draft a test plan outline for the engagement already in my scope."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;chunk&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;stream&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;delta&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;chunk&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;choices&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;delta&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;chunk&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;choices&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;delta&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;delta&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;end&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;flush&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Equivalent curl:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -N https://api.commentllm.com/v1/chat/completions \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $COMMENTLLM_API_KEY"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{
    "model": "qwen3.8-27b-abliterated",
    "stream": true,
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Draft a test plan for my scope."}]
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One behavior that surprises people coming from other hosts: if a policy is configured to check responses, the gateway checks the whole answer before any text is sent, so the stream can arrive in one piece. If a stream fails partway, look up the &lt;code&gt;x-request-id&lt;/code&gt; in Usage before retrying, because the gateway confirms the charge before it sends the final success event.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which model ID to pass
&lt;/h2&gt;

&lt;p&gt;Both public models are text-only and flagged &lt;code&gt;preview&lt;/code&gt;. The context window is shared between input and output.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model ID&lt;/th&gt;
&lt;th&gt;Context / max output&lt;/th&gt;
&lt;th&gt;Listed rate (per 1M tokens)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;qwen3.8-27b-abliterated&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;262,144 / 65,536&lt;/td&gt;
&lt;td&gt;$0.80 input, $0.08 cached input, $2.00 output&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-v4.1-flash-1017-abliterated&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;1,048,576 / 32,768&lt;/td&gt;
&lt;td&gt;$3.00 input, $0.30 cached input, $5.00 output&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I start with Qwen 3.8 27B Abliterated for everyday detection write-ups. I switch to DeepSeek V4.1 Flash 1017 Abliterated when the prompt includes a long log pack, a large ruleset, or a coding-agent thread that needs the 1M-token window. Plans discount these listed rates; cached input is billed when the backend reports a cache hit.&lt;/p&gt;

&lt;p&gt;Tool use and structured output are not currently available on either endpoint, so keep the client on plain Chat Completions or Messages until that changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Anthropic-compatible option
&lt;/h2&gt;

&lt;p&gt;If your tooling already uses the Anthropic SDK, you can call the same models through Messages. This is the important difference: the Anthropic client appends &lt;code&gt;/v1/messages&lt;/code&gt; itself, so the base URL should be &lt;code&gt;https://api.commentllm.com&lt;/code&gt; with no &lt;code&gt;/v1&lt;/code&gt; suffix. The OpenAI client needs the &lt;code&gt;/v1&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;anthropic&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;anthropic&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Anthropic&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://api.commentllm.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"COMMENTLLM_API_KEY"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;reply&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"deepseek-v4.1-flash-1017-abliterated"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;max_tokens&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1024&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Explain this Sigma rule."&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;reply&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;max_tokens&lt;/code&gt; is required on this endpoint. The same key and model IDs work on both protocols.&lt;/p&gt;

&lt;h2&gt;
  
  
  Authorized use, scope, and logging
&lt;/h2&gt;

&lt;p&gt;Use this API only for work you are authorized to do: an agreed penetration test, a red-team engagement, detection engineering on data you already have, or AI red-team evaluation under policy. Accept the Acceptable Use Policy at sign-up. Accounts that break it are suspended.&lt;/p&gt;

&lt;p&gt;The useful control is the gateway, not a promise that the model will never refuse. You can record written authorization as an engagement (client, reference, dates, and authorized hostnames or IPv4 ranges). When the scope policy is enforcing, the gateway blocks detected hostnames and IPv4 addresses that no active engagement lists. Keyword, pattern, or PII policies can also be attached. A blocked request is not billed.&lt;/p&gt;

&lt;p&gt;Gateway logs keep metadata: request ID, model, tokens, cost, latency, status, and policy outcomes. Prompts, responses, and the text a policy matched are not stored, and that content is not used to train models. If you are on the Team plan, policy decision metadata can be exported to Splunk, Datadog, Elastic, or a webhook.&lt;/p&gt;

&lt;p&gt;New organizations start at 60 requests per minute per key. An IP allowlist, if enabled, rejects other addresses with &lt;code&gt;ip_not_allowed&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  A short checklist
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Export &lt;code&gt;COMMENTLLM_API_KEY&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Point the OpenAI SDK at &lt;code&gt;https://api.commentllm.com/v1&lt;/code&gt;, or the Anthropic SDK at &lt;code&gt;https://api.commentllm.com&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Pass &lt;code&gt;qwen3.8-27b-abliterated&lt;/code&gt; or &lt;code&gt;deepseek-v4.1-flash-1017-abliterated&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;max_tokens&lt;/code&gt; to something that fits the task.&lt;/li&gt;
&lt;li&gt;Configure engagement scope before you paste customer assets into a prompt.&lt;/li&gt;
&lt;li&gt;Use a harmless first prompt, such as explaining a public detection rule, and confirm the request appears in the console.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That is the whole integration: the SDK stays the same, the base URL and model ID change, and the gateway applies your organization's rules.&lt;/p&gt;

&lt;p&gt;Aljay Miskino is VP of Partnerships at CommentLLM.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>openai</category>
      <category>llm</category>
    </item>
  </channel>
</rss>
