Skip to content

Gemini 4 Argon · Coding

Gemini 4 Argon for coding: our test runs

Gemini 4 Argon ran our 5 coding prompts in llmwise, through the same pipeline your messages take. Here's every reply as it came, whether it passed, what it cost and what it counts as on Pro, next to the other models.

Based on 5 of our test runs on , through OpenRouter with the app's own prompt and settings.

Short answer

In our test runs on November 18, 2026, Gemini 4 Argon passed 5 of 5 of our coding prompts (both hard ones): tied 1st of 27 models. Each reply counted as 1 message on Pro, where it has 62 a month, and cost $0.0026 to run on average.

Prompt by prompt

Each of the 5 coding prompts, and how Gemini 4 Argon's reply did.

Gemini 4 Argon on each coding prompt
PromptResultCostTime
Turn a title into a URL slugEverydayPassed: All 7 tests passed.$0.00126.7 s
Parse a duration like “1h 30m”EverydayPassed: All 10 tests passed.$0.00186.5 s
Merge overlapping intervalsEverydayPassed: All 7 tests passed.$0.00197.6 s
Evaluate an arithmetic expression, no evalHardPassed: All 15 tests passed.$0.005412.2 s
Parse CSV with quoted fieldsHardPassed: All 8 tests passed.$0.002710.8 s

Every coding reply from Gemini 4 Argon

  1. Turn a title into a URL slug

    An everyday prompt: “Turn a title into a URL slug”, in full.

    Passed: All 7 tests passed.

    ```javascript
    function slugify(title) {
      return String(title)
        .normalize('NFD')
        .replace(/[\u0300-\u036f]/g, '')
        .toLowerCase()
        .replace(/[^a-z0-9]+/g, '-')
        .replace(/^-|-$/g, '');
    }
    ```

    736 tokens in, 88 out · 6.7 s · $0.0012 · 1 message on Pro · answered by google/gemini-4-argon via Google AI Studio ·

  2. Parse a duration like “1h 30m”

    An everyday prompt: “Parse a duration like “1h 30m””, in full.

    Passed: All 10 tests passed.

    ```javascript
    function parseDuration(text) {
      if (typeof text !== "string") {
        return null;
      }
    
      const trimmed = text.trim();
      if (trimmed === "") {
        return null;
      }
    
      const match = /^\s*(?:(\d+)h)?\s*(?:(\d+)m)?\s*(?:(\d+)s)?\s*$/.exec(trimmed);
      if (!match || (match[1] === undefined && match[2] === undefined && match[3] === undefined)) {
        return null;
      }
    
      const hours = match[1] ? Number(match[1]) : 0;
      const minutes = match[2] ? Number(match[2]) : 0;
      const seconds = match[3] ? Number(match[3]) : 0;
    
      return hours * 3600 + minutes * 60 + seconds;
    }
    ```

    720 tokens in, 218 out · 6.5 s · $0.0018 · 1 message on Pro · answered by google/gemini-4-argon via Google AI Studio ·

  3. Merge overlapping intervals

    An everyday prompt: “Merge overlapping intervals”, in full.

    Passed: All 7 tests passed.

    ```javascript
    function mergeIntervals(intervals) {
      if (!intervals || intervals.length === 0) {
        return [];
      }
    
      // Create a shallow copy of the intervals and their inner pairs, then sort by start time
      const sorted = intervals
        .map(([start, end]) => [start, end])
        .sort((a, b) => a[0] - b[0] || a[1] - b[1]);
    
      const merged = [sorted[0]];
    
      for (let i = 1; i < sorted.length; i++) {
        const [currentStart, currentEnd] = sorted[i];
        const lastMerged = merged[merged.length - 1];
    
        // Overlapping or touching intervals
        if (currentStart <= lastMerged[1]) {
          lastMerged[1] = Math.max(lastMerged[1], currentEnd);
        } else {
          merged.push([currentStart, currentEnd]);
        }
      }
    
      return merged;
    }
    ```

    698 tokens in, 236 out · 7.6 s · $0.0019 · 1 message on Pro · answered by google/gemini-4-argon via Google AI Studio ·

  4. Evaluate an arithmetic expression, no eval

    A hard prompt: “Evaluate an arithmetic expression, no eval”, in full.

    Passed: All 15 tests passed.

    ```javascript
    function evaluate(expression) {
      if (typeof expression !== "string") {
        throw new Error("Invalid input");
      }
    
      // Tokenize the input
      const tokens = [];
      let i = 0;
      const n = expression.length;
    
      while (i < n) {
        const ch = expression[i];
    
        if (/\s/.test(ch)) {
          i++;
          continue;
        }
    
        if ("+-*/^()".includes(ch)) {
          tokens.push({ type: "op", value: ch });
          i++;
          continue;
        }
    
        if (/\d/.test(ch)) {
          let numStr = "";
          let dotCount = 0;
          while (i < n && (/\d/.test(expression[i]) || expression[i] === ".")) {
            if (expression[i] === ".") {
              dotCount++;
              if (dotCount > 1) {
                throw new Error("Invalid number format");
              }
            }
            numStr += expression[i];
            i++;
          }
          if (numStr.endsWith(".")) {
            throw new Error("Invalid number format");
          }
          tokens.push({ type: "num", value: parseFloat(numStr) });
          continue;
        }
    
        throw new Error(`Unexpected character: ${ch}`);
      }
    
      let pos = 0;
    
      function peek() {
        return tokens[pos] || null;
      }
    
      function consume() {
        return tokens[pos++];
      }
    
      // Grammar:
      // Expr   := Term (( '+' | '-' ) Term)*
      // Term   := Factor (( '*' | '/' ) Factor)*
      // Factor := '-' Factor | Power
      // Power  := Primary ( '^' Factor )?
      // Primary:= NUMBER | '(' Expr ')'
    
      function parseExpr() {
        let left = parseTerm();
        while (peek() && (peek().value === "+" || peek().value === "-")) {
          const op = consume().value;
          const right = parseTerm();
          left = op === "+" ? left + right : left - right;
        }
        return left;
      }
    
      function parseTerm() {
        let left = parseFactor();
        while (peek() && (peek().value === "*" || peek().value === "/")) {
          const op = consume().value;
          const right = parseFactor();
          left = op === "*" ? left * right : left / right;
        }
        return left;
      }
    
      function parseFactor() {
        if (peek() && peek().value === "-") {
          consume();
          return -parseFactor();
        }
        return parsePower();
      }
    
      function parsePower() {
        let base = parsePrimary();
        if (peek() && peek().value === "^") {
          consume();
          const exponent = parseFactor();
          return Math.pow(base, exponent);
        }
        return base;
      }
    
      function parsePrimary() {
        const token = peek();
        if (!token) {
          throw new Error("Unexpected end of expression");
        }
    
        if (token.type === "num") {
          consume();
          return token.value;
        }
    
        if (token.value === "(") {
          consume();
          const val = parseExpr();
          const close = consume();
          if (!close || close.value !== ")") {
            throw new Error("Missing closing parenthesis");
          }
          return val;
        }
    
        throw new Error(`Unexpected token: ${token.value}`);
      }
    
      if (tokens.length === 0) {
        throw new Error("Empty expression");
      }
    
      const result = parseExpr();
    
      if (pos < tokens.length) {
        throw new Error(`Unexpected token: ${tokens[pos].value}`);
      }
    
      return result;
    }
    ```

    809 tokens in, 914 out · 12.2 s · $0.0054 · 1 message on Pro · answered by google/gemini-4-argon via Google AI Studio ·

  5. Parse CSV with quoted fields

    A hard prompt: “Parse CSV with quoted fields”, in full.

    Passed: All 8 tests passed.

    ```javascript
    function parseCsv(text) {
      if (text === "") return [];
    
      const rows = [];
      let currentRow = [];
      let currentField = "";
      let inQuotes = false;
      let fieldStart = true;
    
      for (let i = 0; i < text.length; i++) {
        const char = text[i];
    
        if (inQuotes) {
          if (char === '"') {
            if (text[i + 1] === '"') {
              currentField += '"';
              i++;
            } else {
              inQuotes = false;
            }
          } else {
            currentField += char;
          }
        } else {
          if (fieldStart && char === '"') {
            inQuotes = true;
            fieldStart = false;
          } else if (char === ',') {
            currentRow.push(currentField);
            currentField = "";
            fieldStart = true;
          } else if (char === '\r' || char === '\n') {
            if (char === '\r' && text[i + 1] === '\n') {
              i++;
            }
            currentRow.push(currentField);
            rows.push(currentRow);
            currentRow = [];
            currentField = "";
            fieldStart = true;
    
            if (i === text.length - 1) {
              return rows;
            }
          } else {
            currentField += char;
            fieldStart = false;
          }
        }
      }
    
      currentRow.push(currentField);
      rows.push(currentRow);
    
      return rows;
    }
    ```

    736 tokens in, 387 out · 10.8 s · $0.0027 · 1 message on Pro · answered by google/gemini-4-argon via Google AI Studio ·

How it compares on coding

Gemini 4 Argon beside the job's picks among every model. 25 models share the hard-problems pick, Gemini 4 Argon among them.

Gemini 4 Argon beside other models on coding
ModelPassedOn ProCost per reply
Gemini 3.8 FlashOur pick: hard problems (shared), best value5 of 5250 a month on Pro$0.0011
GPT-6 LunaOur pick: hard problems (shared), everyday5 of 560 a day on Pro$0.0001
Gemini 4 ArgonOur pick: hard problems (shared)5 of 562 a month on Pro$0.0026
On Pro: Pro's count on each model. Cost: what OpenRouter charged us per reply, on average.

Every limit is published. Paid plans also have a monthly fair-use limit on AI cost: Plus $3.75, Pro $7.50, Max $20, Ultra $42, Studio $85. Using every message on your plan at typical sizes stays under it; very large messages and heavy research use it faster. Every limit, explained.

Gemini 4 Argon next to each model on coding

Gemini 4 Argon against each model on the same 5 coding prompts. One run each, through OpenRouter: a wait depends on the provider and the load that day, so a lead under 10% counts as close.

  • Against Claude Fable 5.2: Gemini 4 Argon answered 1.8× later (7.6 s to 4.1 s), cost 9.6× less, and passed 5 of 5 to its 5.

  • Against Claude Fable 5.1: Gemini 4 Argon answered 1.7× later (7.6 s to 4.5 s), cost 12.9× less, and passed 5 of 5 to its 5.

  • Against Claude Opus 5.5: Gemini 4 Argon answered 1.3× later (7.6 s to 5.7 s), cost 6.9× less, and passed 5 of 5 to its 5.

  • Against Claude Sonnet 5.5: Gemini 4 Argon answered 3.1× later (7.6 s to 2.5 s), cost 2.0× less, and passed 5 of 5 to its 5.

  • Against Claude Sonnet 5: Gemini 4 Argon answered 2.9× later (7.6 s to 2.6 s), cost 3.9× less, and passed 5 of 5 to its 5.

  • Against Claude Haiku 5.5: Gemini 4 Argon answered 5.9× later (7.6 s to 1.3 s), cost 6.5× more, and passed 5 of 5 to its 5.

  • Against Claude Haiku 4.5: Gemini 4 Argon answered 3.5× later (7.6 s to 2.2 s), cost 1.2× less, and passed 5 of 5 to its 3. Only Gemini 4 Argon passed Evaluate an arithmetic expression, no eval; Parse CSV with quoted fields.

  • Against GPT-6.2 Astra: Gemini 4 Argon answered 2.1× later (7.6 s to 3.5 s), cost 5.1× less, and passed 5 of 5 to its 5.

  • Against GPT-6 Astra: Gemini 4 Argon answered 1.3× later (7.6 s to 5.8 s), cost 4.2× less, and passed 5 of 5 to its 5.

  • Against GPT-6.2 Sol: Gemini 4 Argon answered 2.0× later (7.6 s to 3.8 s), cost 1.4× less, and passed 5 of 5 to its 5.

  • Against GPT-6.1 Sol: Gemini 4 Argon answered within 10% of its time (7.6 s to 7.9 s), cost 1.6× less, and passed 5 of 5 to its 5.

  • Against GPT-6 Sol: Gemini 4 Argon answered 1.6× later (7.6 s to 4.8 s), cost within 10% of it, and passed 5 of 5 to its 5.

  • Against GPT-6.1 Terra: Gemini 4 Argon answered 1.1× later (7.6 s to 6.8 s), cost 1.9× more, and passed 5 of 5 to its 5.

  • Against GPT-6 Luna: Gemini 4 Argon answered within 10% of its time (7.6 s to 7.3 s), cost 18.3× more, and passed 5 of 5 to its 5.

  • Against Gemini 4 Carbon: Gemini 4 Argon answered 4.8× sooner (7.6 s to 36.4 s), cost 5.4× less, and passed 5 of 5 to its 5.

  • Against Gemini 4 Hydrogen: Gemini 4 Argon answered 1.1× later (7.6 s to 6.9 s), cost 2.4× less, and passed 5 of 5 to its 5.

  • Against Gemini 3.1 Pro (preview): Gemini 4 Argon answered 2.1× sooner (7.6 s to 15.7 s), cost 5.1× less, and passed 5 of 5 to its 5.

  • Against Gemini 3.8 Flash: Gemini 4 Argon answered 2.3× later (7.6 s to 3.3 s), cost 2.3× more, and passed 5 of 5 to its 5.

  • Against DeepSeek V4.1 Flash: Gemini 4 Argon answered 2.2× later (7.6 s to 3.5 s), cost 1.8× more, and passed 5 of 5 to its 5.

  • Against DeepSeek V4 Pro: Gemini 4 Argon answered 1.5× sooner (7.6 s to 11.3 s), cost 4.5× less, and passed 5 of 5 to its 5.

  • Against Grok 4.7: Gemini 4 Argon answered 4.1× sooner (7.6 s to 31.2 s), cost 10.5× less, and passed 5 of 5 to its 5.

  • Against Kimi K3.1 Pro: Gemini 4 Argon answered within 10% of its time (7.6 s to 7.8 s), cost 2.9× less, and passed 5 of 5 to its 5.

  • Against Kimi K3: Gemini 4 Argon answered 1.2× later (7.6 s to 6.2 s), cost 2.9× less, and passed 5 of 5 to its 5.

  • Against GLM 5.3: Gemini 4 Argon answered 5.1× later (7.6 s to 1.5 s), cost 1.1× more, and passed 5 of 5 to its 3. Only Gemini 4 Argon passed Parse a duration like “1h 30m”; Parse CSV with quoted fields.

  • Against GLM 5.3 Flash: Gemini 4 Argon answered 7.1× later (7.6 s to 1.1 s), cost 9.9× more, and passed 5 of 5 to its 5.

  • Against Mistral Large 4: Gemini 4 Argon answered 6.2× sooner (7.6 s to 46.9 s), cost 2.8× less, and passed 5 of 5 to its 5.

How these runs were done

Tests. Automatic. The function runs against the prompt's tests in a separate Node.js process with a time limit and no file, network or child-process access; it passes when every test passes.

How the runs were done, and every coding prompt.

Gemini 4 Argon, and coding, elsewhere

Questions

Is Gemini 4 Argon good for coding?

In our test runs it passed 5 of 5 coding prompts, tied 1st of the 27 models in llmwise. Every reply is on this page, so you can judge them yourself.

How many of my messages does a coding reply from Gemini 4 Argon use?

1 message each on Pro, where it has 62 a month on Pro. The price of a message is fixed and shown before you send it, however long the reply.

How were these runs done?

The same way for every model: each prompt sent through llmwise's own pipeline, each reply checked the same way. The methods page has every prompt and how each is scored.

Claude, GPT, Gemini, DeepSeek, Grok, Kimi, GLM, and Mistral, in one chat.

See what a message costs before you send it. Every plan is month to month: cancel in two clicks. Sign in with an email link, no password.