<?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: Jacob Irwin-Cline</title>
    <description>The latest articles on DEV Community by Jacob Irwin-Cline (@jirwincline).</description>
    <link>https://dev.to/jirwincline</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%2F486489%2F93dc5dc7-41a7-4474-9752-56596633a1d5.jpg</url>
      <title>DEV Community: Jacob Irwin-Cline</title>
      <link>https://dev.to/jirwincline</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jirwincline"/>
    <language>en</language>
    <item>
      <title>Qwen4-35B-A3B Abliterated as OpenCode's background model: setup, cost per turn, and the catch</title>
      <dc:creator>Jacob Irwin-Cline</dc:creator>
      <pubDate>Sat, 05 Dec 2026 11:00:00 +0000</pubDate>
      <link>https://dev.to/jirwincline/qwen4-35b-a3b-abliterated-as-opencodes-background-model-setup-cost-per-turn-and-the-catch-1aid</link>
      <guid>https://dev.to/jirwincline/qwen4-35b-a3b-abliterated-as-opencodes-background-model-setup-cost-per-turn-and-the-catch-1aid</guid>
      <description>&lt;p&gt;Disclosure up front: I run &lt;a href="https://oathbreaker.ai/models/qwen4-35b-a3b-abliterated?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=qwen4-opencode" rel="noopener noreferrer"&gt;Oathbreaker&lt;/a&gt;, which hosts abliterated models behind an OpenAI-compatible API. This walkthrough uses it, but the OpenCode part (a small model for background jobs and a cheap read-only subagent) works the same with any provider.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a background model
&lt;/h2&gt;

&lt;p&gt;Alibaba's Qwen team released the open weights of Qwen4-35B-A3B on December 4. It's a mixture of experts with about 3B parameters active per token, which is what makes it cheap to serve. It's also why I wouldn't hand it a long refactor: models with few active parameters lose the thread of long multi-step tasks sooner than big ones.&lt;/p&gt;

&lt;p&gt;But most of what a coding agent sends isn't the hard part. Session titles, "where is this configured", "what does this module do": that work can go to a cheap model while a bigger one plans and edits. So that's the setup here: GLM-5.3 Abliterated as the main model, and Qwen4-35B-A3B Abliterated for titles and a read-only subagent.&lt;/p&gt;

&lt;p&gt;"Abliterated" means the learned refusal behavior was reduced by editing the model, not the prompt. It doesn't make the model smarter. For background jobs it mostly means fewer runs stalled by a refusal on something ordinary that looks sensitive, like a pentest fixture in your own test suite.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you need
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;OpenCode 1.x (&lt;code&gt;opencode --version&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;An Oathbreaker account with at least $5 of prepaid credit and an API key&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  1. Put the key in your environment
&lt;/h2&gt;

&lt;p&gt;Every block below reads the key from &lt;code&gt;OATHBREAKER_API_KEY&lt;/code&gt;. Set it at a hidden prompt so it stays out of your shell history:&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="nb"&gt;printf&lt;/span&gt; &lt;span class="s1"&gt;'Oathbreaker API key: '&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="nb"&gt;read&lt;/span&gt; -rs OATHBREAKER_API_KEY&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="kd"&gt;export&lt;/span&gt; OATHBREAKER_API_KEY&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s1"&gt;'\n'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Start OpenCode from that terminal afterwards.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Add the provider, the main model and the small model
&lt;/h2&gt;

&lt;p&gt;Merge this into &lt;code&gt;~/.config/opencode/opencode.json&lt;/code&gt; or a project's &lt;code&gt;opencode.json&lt;/code&gt;. Don't replace an existing file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"$schema"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://opencode.ai/config.json"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"provider"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"oathbreaker"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Oathbreaker"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"npm"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"@ai-sdk/openai-compatible"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"options"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"baseURL"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://oathbreaker.ai/v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"apiKey"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"{env:OATHBREAKER_API_KEY}"&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"models"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"oathbreaker-glm-5.3"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
          &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"oathbreaker-glm-5.3"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"tool_call"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"limit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"context"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;131072&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"output"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;32768&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="nl"&gt;"oathbreaker-qwen4-35b-a3b"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
          &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"oathbreaker-qwen4-35b-a3b"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"tool_call"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"limit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"context"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;65536&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"output"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;24576&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="nl"&gt;"model"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"oathbreaker/oathbreaker-glm-5.3"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"small_model"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"oathbreaker/oathbreaker-qwen4-35b-a3b"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"permission"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"bash"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"*"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"ask"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"git status *"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"allow"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"git diff *"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"allow"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"git log *"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"allow"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"git push *"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"deny"&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"webfetch"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"ask"&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;p&gt;&lt;code&gt;model&lt;/code&gt; is what OpenCode starts with. &lt;code&gt;small_model&lt;/code&gt; takes OpenCode's small background jobs, like titling a session. The &lt;code&gt;limit&lt;/code&gt; values tell OpenCode when to compact: Qwen4 plans with 65,536 tokens of context, half of GLM-5.3's. The &lt;code&gt;permission&lt;/code&gt; block makes every shell command ask unless it's on the short allow list; my &lt;a href="https://dev.to/jirwincline/running-glm-53-abliterated-in-opencode-setup-cost-and-the-guardrails-i-set-first-2b7l"&gt;GLM-5.3 post&lt;/a&gt; explains why that matters more with an abliterated model.&lt;/p&gt;

&lt;p&gt;On OpenCode 2.x the provider fields were renamed (&lt;code&gt;providers&lt;/code&gt;, &lt;code&gt;package&lt;/code&gt;, &lt;code&gt;settings&lt;/code&gt;, &lt;code&gt;capabilities&lt;/code&gt;). The 2.x block is on the &lt;a href="https://oathbreaker.ai/agents/opencode?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=qwen4-opencode" rel="noopener noreferrer"&gt;OpenCode setup page&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. A read-only subagent on the cheap model
&lt;/h2&gt;

&lt;p&gt;Add an agent to the same file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"agent"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"scout"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Finds files and explains code. Read-only, runs on the cheap model."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"subagent"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"model"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"oathbreaker/oathbreaker-qwen4-35b-a3b"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"tools"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"write"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"edit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"bash"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;opencode agent list&lt;/code&gt; should now show &lt;code&gt;scout (subagent)&lt;/code&gt;. Type &lt;code&gt;@scout&lt;/code&gt; in a message to hand it a job, or let the main agent delegate to it. It can't write, edit or run shell commands, so the cheap model never gets a shell, and the searching and reading it does costs Qwen4 prices instead of GLM-5.3 prices.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Check it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;opencode run --model oathbreaker/oathbreaker-qwen4-35b-a3b &lt;span class="s2"&gt;"Reply with OK"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If it answers, start a session with &lt;code&gt;opencode&lt;/code&gt;. If not:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Provide a valid Oathbreaker API key&lt;/code&gt;: the key isn't in this terminal's environment. Set it again and restart OpenCode.&lt;/li&gt;
&lt;li&gt;HTTP 402 &lt;code&gt;insufficient_credit&lt;/code&gt;: the balance can't cover the request. Nothing was charged.&lt;/li&gt;
&lt;li&gt;A context error: the conversation outgrew the window. Let OpenCode compact, or start a new session.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. What a turn costs
&lt;/h2&gt;

&lt;p&gt;Per million tokens, Qwen4-35B-A3B Abliterated is $0.16 input, $0.02 cached input and $0.48 output. GLM-5.3 Abliterated is $3.00, $0.30 and $4.00.&lt;/p&gt;

&lt;p&gt;As a token-cost illustration, not a benchmark: a turn of 20,000 input tokens, 80% of them cached, plus 500 output tokens costs about $0.0012 on Qwen4 and about $0.019 on GLM-5.3, roughly 16 times as much. Agents resend the conversation every turn, so the turns a subagent takes add up. Your console's Usage tab shows what each request actually cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. The catch
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context.&lt;/strong&gt; Qwen4 plans with a 65,536-token window. That's plenty for a scout job; a long session run entirely on Qwen4 will compact more often than on GLM-5.3.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Narrow jobs.&lt;/strong&gt; About 3B active parameters means it's good at "find it, read it, summarize it" and weaker at long chains of edits. Keep planning and real coding on the bigger model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Text only.&lt;/strong&gt; The base model also takes images and video; this API doesn't.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reasoning is always on&lt;/strong&gt;, at &lt;code&gt;low&lt;/code&gt; by default.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  7. The files
&lt;/h2&gt;

&lt;p&gt;The setup files from this post, plus Codex, Claude Code and Hermes versions and a check that compares them with the live model list every week, are in &lt;a href="https://github.com/Oathbreaker-AI/qwen4-35b-a3b-abliterated" rel="noopener noreferrer"&gt;Oathbreaker-AI/qwen4-35b-a3b-abliterated&lt;/a&gt; on GitHub.&lt;/p&gt;

&lt;p&gt;Which jobs would you move to a cheap model first?&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Drafted by an AI assistant and reviewed by me before publishing.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>opencode</category>
      <category>ai</category>
      <category>llm</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Running GLM-5.3 Abliterated in OpenCode: setup, cost and the guardrails I set first</title>
      <dc:creator>Jacob Irwin-Cline</dc:creator>
      <pubDate>Thu, 03 Dec 2026 06:57:00 +0000</pubDate>
      <link>https://dev.to/jirwincline/running-glm-53-abliterated-in-opencode-setup-cost-and-the-guardrails-i-set-first-2b7l</link>
      <guid>https://dev.to/jirwincline/running-glm-53-abliterated-in-opencode-setup-cost-and-the-guardrails-i-set-first-2b7l</guid>
      <description>&lt;p&gt;Disclosure up front: I run &lt;a href="https://oathbreaker.ai/models/glm-5-3-abliterated?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=glm-opencode" rel="noopener noreferrer"&gt;Oathbreaker&lt;/a&gt;, which hosts abliterated GLM, DeepSeek and Kimi models behind an OpenAI-compatible API. This walkthrough uses it, but the guardrails section works the same with any provider or a local model.&lt;/p&gt;

&lt;h2&gt;
  
  
  What "abliterated" changes, and why it matters in an agent
&lt;/h2&gt;

&lt;p&gt;An abliterated model has had its learned refusal behavior reduced by editing the model itself, not the prompt. You send ordinary requests: no jailbreak prompt to write or keep up to date. It doesn't make the model smarter or more accurate, and it doesn't guarantee an answer.&lt;/p&gt;

&lt;p&gt;In a coding agent, that has a side effect worth planning for. A stock model often hesitates before something destructive, or balks at an instruction hidden in a README or a web page. That hesitation is a second guardrail you got for free. An abliterated model gives you less of it, so the agent's settings have to do the job. Setup first, then the settings.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you need
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;OpenCode (&lt;code&gt;opencode --version&lt;/code&gt;; this covers 1.x, with notes for 2.x)&lt;/li&gt;
&lt;li&gt;An Oathbreaker account with at least $5 of prepaid credit and an API key&lt;/li&gt;
&lt;li&gt;About ten minutes&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  1. Put the key in your environment
&lt;/h2&gt;

&lt;p&gt;Every file below reads the key from &lt;code&gt;OATHBREAKER_API_KEY&lt;/code&gt;. Set it at a hidden prompt so it stays out of your shell history:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;printf 'Oathbreaker API key: '; read -rs OATHBREAKER_API_KEY; export OATHBREAKER_API_KEY; printf '\n'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;OpenCode only sees the key if you start it from that terminal afterwards.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Add the provider
&lt;/h2&gt;

&lt;p&gt;Merge this into &lt;code&gt;~/.config/opencode/opencode.json&lt;/code&gt; (or a project's &lt;code&gt;opencode.json&lt;/code&gt;). Don't replace an existing file.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "oathbreaker": {
      "name": "Oathbreaker",
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "baseURL": "https://oathbreaker.ai/v1",
        "apiKey": "{env:OATHBREAKER_API_KEY}"
      },
      "models": {
        "oathbreaker-glm-5.3": {
          "name": "oathbreaker-glm-5.3",
          "tool_call": true,
          "limit": { "context": 131072, "output": 32768 }
        },
        "oathbreaker-glm-5.3-flash": {
          "name": "oathbreaker-glm-5.3-flash",
          "tool_call": true,
          "limit": { "context": 131072, "output": 32768 }
        }
      }
    }
  },
  "model": "oathbreaker/oathbreaker-glm-5.3",
  "small_model": "oathbreaker/oathbreaker-glm-5.3-flash"
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;code&gt;model&lt;/code&gt; is what OpenCode starts with. &lt;code&gt;small_model&lt;/code&gt; handles the small background jobs, like titling a session, on the cheaper Flash model. The &lt;code&gt;limit&lt;/code&gt; values tell OpenCode when to compact: 131,072 tokens of context and 32,768 of output per request.&lt;/p&gt;

&lt;p&gt;On OpenCode 2.x the provider fields were renamed (&lt;code&gt;providers&lt;/code&gt;, &lt;code&gt;package&lt;/code&gt;, &lt;code&gt;settings&lt;/code&gt;, &lt;code&gt;capabilities&lt;/code&gt;). The 2.x block is on the &lt;a href="https://oathbreaker.ai/agents/opencode?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=glm-opencode" rel="noopener noreferrer"&gt;OpenCode setup page&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Check it
&lt;/h2&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;opencode run --model oathbreaker/oathbreaker-glm-5.3 "Reply with OK"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;If it answers, start a session with &lt;code&gt;opencode&lt;/code&gt;. If not:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Provide a valid Oathbreaker API key&lt;/code&gt;: the key isn't in this terminal's environment. Set it again and restart OpenCode.&lt;/li&gt;
&lt;li&gt;HTTP 402 &lt;code&gt;insufficient_credit&lt;/code&gt;: the balance can't cover the request. Nothing was charged.&lt;/li&gt;
&lt;li&gt;A context error: the conversation outgrew the window. Start a new session, or let OpenCode compact.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Add the guardrails before it gets a shell
&lt;/h2&gt;

&lt;p&gt;Out of the box, OpenCode allows almost everything, shell included. Add a &lt;code&gt;permission&lt;/code&gt; block to the same file. On 1.x:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"permission": {
  "bash": {
    "*": "ask",
    "git status *": "allow",
    "git diff *": "allow",
    "git log *": "allow",
    "git push *": "deny"
  },
  "webfetch": "ask"
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The last matching rule wins, so the catch-all &lt;code&gt;"*": "ask"&lt;/code&gt; goes first. Then allow the handful of commands you're happy to run unattended. Don't rely on deny lists: denying &lt;code&gt;rm&lt;/code&gt; does nothing about &lt;code&gt;find -delete&lt;/code&gt; or a three-line Python script.&lt;/p&gt;

&lt;p&gt;On 2.x (I loaded the 1.x block above in OpenCode 1.19.6; this one follows OpenCode's 2.x docs), permissions are an ordered list, and one default changed: 1.x asked before touching files outside the project, 2.x allows it. Turn that prompt back on:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"permissions": [
  { "action": "shell", "resource": "*", "effect": "ask" },
  { "action": "shell", "resource": "git status *", "effect": "allow" },
  { "action": "shell", "resource": "git diff *", "effect": "allow" },
  { "action": "shell", "resource": "git push *", "effect": "deny" },
  { "action": "external_directory", "resource": "*", "effect": "ask" },
  { "action": "webfetch", "resource": "*", "effect": "ask" }
]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Three more habits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Anything unattended goes in a container.&lt;/strong&gt; Permissions are prompts, not a sandbox: the shell tool runs as you. With &lt;code&gt;--auto&lt;/code&gt; on 1.x, every "ask" becomes "allow". If you leave it running, mount only the project folder, with no SSH keys, cloud CLIs or &lt;code&gt;.env&lt;/code&gt; files inside.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Commit before long runs.&lt;/strong&gt; &lt;code&gt;/undo&lt;/code&gt; restores files inside the project, in a git repo. It won't bring back a dropped table or a force push.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Give the agent its own key.&lt;/strong&gt; The balance is prepaid and doesn't refill on its own, so a loop that runs away at 3am stops when the credit does.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this is special to abliterated models. A stock model will delete the wrong folder too; it's just more likely to ask first.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. What a session costs
&lt;/h2&gt;

&lt;p&gt;GLM-5.3 Abliterated is $3.00 per million input tokens, $0.30 per million cached input tokens and $4.00 per million output tokens. Flash is $0.40, $0.05 and $1.20.&lt;/p&gt;

&lt;p&gt;As a token-cost illustration, not a benchmark: 100,000 uncached input tokens plus 10,000 output tokens is $0.34 on GLM-5.3 and $0.052 on Flash. Agent sessions resend the conversation on every turn, so cached input does a lot of the work in a long session. Your console's Usage tab shows what each request cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. The files
&lt;/h2&gt;

&lt;p&gt;The setup files from this post, plus Claude Code, Codex and Hermes versions and a check that compares them with the live model list every week, are in &lt;a href="https://github.com/Oathbreaker-AI/glm-5.3-abliterated" rel="noopener noreferrer"&gt;Oathbreaker-AI/glm-5.3-abliterated&lt;/a&gt; on GitHub.&lt;/p&gt;

&lt;p&gt;What does your permission block look like? I'm curious what people let through without asking.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Drafted by an AI assistant and reviewed by me before publishing.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>opencode</category>
      <category>ai</category>
      <category>security</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>A Survival Guide for Your Team's Newest Developer</title>
      <dc:creator>Jacob Irwin-Cline</dc:creator>
      <pubDate>Mon, 26 Oct 2020 18:07:35 +0000</pubDate>
      <link>https://dev.to/olioapps/a-survival-guide-for-your-team-s-newest-developer-4cnp</link>
      <guid>https://dev.to/olioapps/a-survival-guide-for-your-team-s-newest-developer-4cnp</guid>
      <description>&lt;p&gt;After a long-winded search for employment, including copious rejections, maybe you’ve finally landed a sustainable position at a well-grounded company, or maybe you’re still on the hunt. The job market ebbs and flows, but as long as you stay dedicated with your spirits up, you’ll likely be making this transition as well. I started my journey into tech a year ago, and I’ve now been working as a developer at my newest company, Olio Apps, for about 3 months. After a pretty great interview, I felt confident that I would be offered the position. Soon after, I had a start date to look forward to! As anyone would be, I was excited, but I couldn’t help but be nervous as well. I felt like this was a bigger opportunity than my previous positions at small start-ups.&lt;/p&gt;

&lt;p&gt;Throughout these last few months, I’ve learned some things I wish I'd known beforehand, but there have also been things I wish I hadn’t focused on as much. Pulling from my quick onboarding process and other experiences I've had joining teams, I’ve written this guide as a roadmap for new developers, aimed at showing them what to focus on in order to be a successful hire. This "survival guide" should help new developers onboard more effectively, connect with their team in a meaningful way, and focus on the things that matter while joining a new company or team.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YzXBDWnV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/zla4j0kwf7r5zp1vw8ok.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YzXBDWnV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/zla4j0kwf7r5zp1vw8ok.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  First Day
&lt;/h2&gt;

&lt;p&gt;So it’s your first day of work!&lt;/p&gt;

&lt;p&gt;You’ll likely be getting access to the company’s software and email (if not later, depending on the company). You’ll probably be introduced to team members or managers that you’ll be working closely with, then go over your first tasks. Make sure you know what to work on, who to report to, and which tools you’ll need to be an active part of the team. JIRA, Confluence, Slack, and the company Gmail were some of what I was granted access to on my first day.&lt;/p&gt;

&lt;p&gt;I expected there to be delay on some of these things, since there always seems to be… But I was lucky to have a small and lightweight team that got things done quickly, compared to a larger company that might move more slowly on getting approval for a new hire. The first day probably won’t be full of excitement, but you’ll likely learn some basic details about the company and your place in it. &lt;/p&gt;

&lt;p&gt;First day checklist:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I know my direct supervisor and who else to turn to for help.&lt;/li&gt;
&lt;li&gt;I have access to whatever I need to perform my job (at least for the next day).&lt;/li&gt;
&lt;li&gt;I understand my process for starting, working on, and completing a task (often, this could simply be moving a JIRA ticket from the to-do section to done).&lt;/li&gt;
&lt;li&gt;I am as prepared as I can be to start the next day of work.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--h6tV5Tfl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/3z8ycg689jj152cqw5ju.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h6tV5Tfl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/3z8ycg689jj152cqw5ju.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  First Week
&lt;/h2&gt;

&lt;p&gt;Your first week will be a great opportunity to reach out and connect with a few of your teammates. If there are any extracurricular activities, like happy hours or company meetups, make sure to go! If there’s a teammate around your level who’s been there a little longer than you, reach out and ask what they would recommend you focus on to succeed (after all, they’ve most recently been in your position with this team). Your first week is also a great time to get a feel for what level of communication your manager is expecting. Make sure to give updates on the tasks you’re completing, and if they’re still reaching out about your tasks, it may be a sign that you should be communicating a bit more frequently.&lt;/p&gt;

&lt;p&gt;Whatever progress is made at this point, typically you’re still catching on to company-specific conventions and processes. Try to forgive yourself for any little mistakes that are bound to happen. During your first week,  it’s okay to make mistakes, as long as you’re learning from them. Also remember that, as a new part of the team, your work speed is important but not the most important variable of your job performance. I had conversations with my supervisor about how accuracy, independence, and then speed were important, and typically in that order. So don’t sacrifice one higher priority item for another, and always be aware of where you are putting your energy.&lt;/p&gt;

&lt;p&gt;First week checklist:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I’ve tuned or optimized my dev environment for my position. Reach out to coworkers for tips on this one!&lt;/li&gt;
&lt;li&gt;I’ve gathered company resources (such as handbooks, PR guides, etc.) in case I have questions.&lt;/li&gt;
&lt;li&gt;I know who I can pair with on any problems I’m facing (you’d be surprised what experienced developers can teach you within the span of 15 minutes).&lt;/li&gt;
&lt;li&gt;I’ve reached out to coworkers for advice they wish they had when they first started here (and why not add some of them on LinkedIn?).&lt;/li&gt;
&lt;li&gt;I am periodically checking other employee’s work (i.e. pull requests) to see what coding patterns they use and what could be considered good or bad code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--TcwxcThz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/j7ikv90lwpam0segtknr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--TcwxcThz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/j7ikv90lwpam0segtknr.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  First Month
&lt;/h2&gt;

&lt;p&gt;Around the close of my first month, I started to feel like a strong part of the team, but don’t be discouraged if it takes a little longer. At this point, you’ll probably be fully onboarded and set up for success. And really, the best thing about the first month is that it’s when you start to see growth. You’ve learned company processes, and now dividends are paying off for having a growth mindset and learning from setbacks. &lt;/p&gt;

&lt;p&gt;Even though you seem to be establishing yourself within the team, don’t forget to focus on basics such as testing the functionality of your work and communicating effectively with your teammates. During my first month, I started to focus more on speed of development rather than accuracy and ultimately paid for it with pull request rejections. I then had to dig through non-working code to fix the issues, which can be a difficult process, especially compared to creating something correctly the first time. &lt;/p&gt;

&lt;p&gt;First month checklist:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I’m starting to feel confident that I’m a valuable part of the team.&lt;/li&gt;
&lt;li&gt;I’m asking for feedback on work when I’m not getting a clear understanding of what’s going on with my code.&lt;/li&gt;
&lt;li&gt;I’ve started picking up smaller tickets of my own accord (as long as they’re within your scope of work).&lt;/li&gt;
&lt;li&gt;I’m starting to feel comfortable in areas of the codebase where I previously may have felt confused or lost on what was going on.&lt;/li&gt;
&lt;li&gt;I’m still welcoming code reviews and working on not repeating mistakes that have been commented on previously. (Your managers will notice this!)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WSp4rG_v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/3k4gcws3uid8b2pbe316.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WSp4rG_v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/3k4gcws3uid8b2pbe316.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Onward and Upward
&lt;/h2&gt;

&lt;p&gt;By now, you will certainly know if you’re excelling or still need to make minor adjustments. Take the time to revel in the fact that you’re doing exactly what you want to do and getting compensated to do it! It’s a long road to get where you are, and it shouldn’t be taken lightly. Continuing to grow and develop your skill set will be important moving forward, but if you’re providing value by this point, you’re on a good path.&lt;/p&gt;

&lt;p&gt;Remember to focus on the things you can control and that no hire is perfect. If you follow some of the core principles of this guide, you’ll have plenty of resources to work with on your journey, and your journey certainly doesn’t end here. Everyone on a team was the new hire at some point, and as time goes on, you’ll probably laugh at the nervous thoughts you had leading up to your first few days. Just know that no one here wants you to fail, and your coworkers want to enjoy working with you. Keep improving, don’t listen to thoughts that make you feel like you don’t belong, and you will certainly be just fine.&lt;/p&gt;

</description>
      <category>onboarding</category>
      <category>jobs</category>
      <category>junior</category>
      <category>developer</category>
    </item>
  </channel>
</rss>
