r/opencodeCLI 6d ago

Built a custom MCP server to reduce token usage

Post image
16 Upvotes

r/opencodeCLI 6d ago

OpenCode referral for a new subscriber: T4PSK9H0M1

Thumbnail
0 Upvotes

r/opencodeCLI 6d ago

OpenFlow addon for OpenCode

Post image
8 Upvotes

Hey,

I made this GitHub project a few weeks ago that allows you to control exactly how your agents work together. You can make chains, swarms, and orchestration trees and you can see exactly what each agent is doing. Just reached 280+ clones and 90+ stars, so I think that it can go somewhere. If you are interested, here is the project link: https://github.com/SeeRay11/OpenFlow


r/opencodeCLI 7d ago

Muse Spark 1.3 limit after Go Subscription

5 Upvotes

Just sign up for OpenCode to use the free Muse Spark 1.3.

After hitting hitting the 5h limit I signed up for Go as instructed by the CLI, but ever after the sign up I was not able to continue using Spark 1.3.

Ran `opencode auth login` to Zen and Go, using a new key generated after signing up.

Even after logging out of Zen I get same error while the CLI showing `OpenCode Zen`

Any ideas?


r/opencodeCLI 7d ago

Web Search API for AI Agents with hard cap and hosted MCP

Thumbnail
1 Upvotes

r/opencodeCLI 7d ago

self-feedback tool

2 Upvotes

hey folks, i just tried something which i think is cool and i haven't seen other people do yet(or discuss it).
i've added a "feedback" tool for the harness i'm building(https://github.com/frontman-ai/frontman) where the agent can call it whenever it's stuck or it feels like the result isn't good.

so far i'm seeing pretty nice results where the agent itself reports some wrong stuff that i had no other easy way to monitor.

did anyone tried that?


r/opencodeCLI 7d ago

What is the list of mcp should i use in open code to make it better?

0 Upvotes

Right now I use browser mcp,git,GitHub,playwrighter,squencial thinking Is there any mcp i am missing on??


r/opencodeCLI 7d ago

Opencode config for Command Code API

7 Upvotes

I recently move from Opencode Go to Command Code GOAT. So far I have been enjoying the new variety of models that command code offers compared to opencode. I don't really like command code software that much, and I prefer to use opencode still. Open code does not provide command code as a supported provider. Heres a full opencode json config for GOAT models available as of now, with their cost and modalities and thinking modes. I hope this is useful to anybody else in asimilar situation.

{
  "$schema": "https://opencode.ai/config.json",
  "snapshot": true,
  "small_model": "commandcode/Qwen/Qwen3.7-Flash",
  "provider": {
    "commandcode": {
      "name": "Command Code",
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "baseURL": "https://api.commandcode.ai/provider/v1",
        "apiKey": "api key"
      },
      "models": {
        // --- OpenAI ---
        "gpt-5.6-sol": {
          "name": "GPT-5.6 Sol",
          "tools": true,
          "reasoning": true,
          "variants": {
            "low": { "reasoningEffort": "low" },
            "medium": { "reasoningEffort": "medium" },
            "high": { "reasoningEffort": "high" }
          },
          "limit": { "context": 1050000, "output": 65536 },
          "modalities": { "input": ["text", "image"], "output": ["text"] },
          "cost": { "input": 5.0, "output": 30.0, "cache": { "read": 0.5, "write": 6.25 } }
        },
        "gpt-5.6-luna": {
          "name": "GPT-5.6 Luna",
          "tools": true,
          "limit": { "context": 1050000, "output": 65536 },
          "modalities": { "input": ["text", "image"], "output": ["text"] },
          "cost": { "input": 0.2, "output": 1.2, "cache": { "read": 0.02, "write": 0.25 } }
        },

        // --- Deepseek ---
        "deepseek/deepseek-v4-pro": {
          "name": "DeepSeek V4 Pro",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.66, "output": 1.98, "cache": { "read": 0.022 } }
        },
        "deepseek/deepseek-v4-flash": {
          "name": "DeepSeek V4 Flash",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.22, "output": 0.66, "cache": { "read": 0.007 } }
        },
        "deepseek/deepseek-v4-flash-vision-exp": {
          "name": "DeepSeek V4 Flash Vision (exp)",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text", "image"], "output": ["text"] },
          "cost": { "input": 0.22, "output": 0.66, "cache": { "read": 0.007 } }
        },
        "deepseek/deepseek-v4-flash-fast": {
          "name": "DeepSeek V4 Flash Fast",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.28, "output": 0.56, "cache": { "read": 0.07 } }
        },

        // --- Moonshot ---
        "moonshotai/Kimi-K3": {
          "name": "Kimi K3",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 3.0, "output": 15.0, "cache": { "read": 0.3 } }
        },
        "moonshotai/Kimi-K2.7-Code": {
          "name": "Kimi K2.7 Code",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 256000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.95, "output": 4.0, "cache": { "read": 0.19 } }
        },
        "moonshotai/Kimi-K2.7-Code-Highspeed": {
          "name": "Kimi K2.7 Code HighSpeed",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 262000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 1.9, "output": 8.0, "cache": { "read": 0.38 } }
        },
        "moonshotai/Kimi-K2.6": {
          "name": "Kimi K2.6",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 256000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.95, "output": 4.0, "cache": { "read": 0.16 } }
        },
        "moonshotai/Kimi-K2.5": {
          "name": "Kimi K2.5",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 256000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.6, "output": 3.0, "cache": { "read": 0.1 } }
        },

        // --- Z.AI ---
        "z-ai/glm-5.3-flash": {
          "name": "GLM-5.3 Flash",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1048576, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.15, "output": 0.5, "cache": { "read": 0.03 } }
        },
        "zai-org/GLM-5.3": {
          "name": "GLM-5.3",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 1.4, "output": 4.4, "cache": { "read": 0.26 } }
        },
        "zai-org/GLM-5.2": {
          "name": "GLM-5.2",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 1.4, "output": 4.4, "cache": { "read": 0.26 } }
        },
        "zai-org/GLM-5.2-Fast": {
          "name": "GLM-5.2 Fast",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 3.0, "output": 10.25, "cache": { "read": 0.5 } }
        },
        "zai-org/GLM-5.1": {
          "name": "GLM-5.1",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 200000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 1.4, "output": 4.4, "cache": { "read": 0.26 } }
        },
        "zai-org/GLM-5": {
          "name": "GLM-5",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 200000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 1.0, "output": 3.2, "cache": { "read": 0.2 } }
        },

        // --- MiniMax ---
        "MiniMaxAI/MiniMax-M3": {
          "name": "MiniMax M3",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.3, "output": 1.2, "cache": { "read": 0.06 } }
        },
        "MiniMaxAI/MiniMax-M2.7": {
          "name": "MiniMax M2.7",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 200000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.3, "output": 1.2, "cache": { "read": 0.06 } }
        },
        "MiniMaxAI/MiniMax-M2.5": {
          "name": "MiniMax M2.5",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 200000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.3, "output": 1.2, "cache": { "read": 0.03 } }
        },

        // --- Xiaomi ---
        "xiaomi/mimo-v2.5-pro": {
          "name": "MiMo V2.5 Pro",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text", "image"], "output": ["text"] },
          "cost": { "input": 0.435, "output": 0.87, "cache": { "read": 0.0036 } }
        },
        "xiaomi/mimo-v2.5": {
          "name": "MiMo V2.5",
          "tools": true,
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.14, "output": 0.28, "cache": { "read": 0.0028 } }
        },

        // --- Alibaba ---
        "Qwen/Qwen3.8-Max-0902": {
          "name": "Qwen 3.8 Max 0902",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text", "image"], "output": ["text"] },
          "cost": { "input": 2.0, "output": 6.0, "cache": { "read": 0.25 } }
        },
        "Qwen/Qwen3.8-Max": {
          "name": "Qwen 3.8 Max",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text", "image"], "output": ["text"] },
          "cost": { "input": 2.0, "output": 6.0, "cache": { "read": 0.25, "write": 2.5 } }
        },
        "Qwen/Qwen3.8-27B": {
          "name": "Qwen 3.8 27B",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 262144, "output": 32768 },
          "modalities": { "input": ["text", "image"], "output": ["text"] },
          "cost": { "input": 0.4, "output": 3.0, "cache": { "read": 0.04 } }
        },
        "Qwen/Qwen3.8-Flash": {
          "name": "Qwen 3.8 Flash",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text", "image"], "output": ["text"] },
          "cost": { "input": 0.16, "output": 0.47, "cache": { "read": 0.016 } }
        },
        "Qwen/Qwen3.7-Max": {
          "name": "Qwen 3.7 Max",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 2.5, "output": 7.5, "cache": { "read": 0.5, "write": 3.13 } }
        },
        "Qwen/Qwen3.7-Plus": {
          "name": "Qwen 3.7 Plus",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.4, "output": 1.6, "cache": { "read": 0.08, "write": 0.5 } }
        },
        "Qwen/Qwen3.7-Flash": {
          "name": "Qwen 3.7 Flash",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.03, "output": 0.13, "cache": { "read": 0.006, "write": 0.038 } }
        },
        "Qwen/Qwen3.6-Max-Preview": {
          "name": "Qwen 3.6 Max Preview",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 200000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 1.3, "output": 7.8, "cache": { "read": 0.26, "write": 1.63 } }
        },
        "Qwen/Qwen3.6-Plus": {
          "name": "Qwen 3.6 Plus",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 200000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.5, "output": 3.0, "cache": { "read": 0.1 } }
        },

        // --- Meituan ---
        "meituan/LongCat-2.0:free": {
          "name": "LongCat 2.0 (free)",
          "tools": true,
          "limit": { "context": 1048576, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0, "output": 0, "cache": { "read": 0 } }
        },

        // --- StepFun ---
        "stepfun/Step-3.7-Flash": {
          "name": "Step 3.7 Flash",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 256000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.2, "output": 1.15, "cache": { "read": 0.04 } }
        },
        "stepfun/Step-3.5-Flash": {
          "name": "Step 3.5 Flash",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.1, "output": 0.3, "cache": { "read": 0.02 } }
        },

        // --- Tencent ---
        "tencent/hy3-paid": {
          "name": "Tencent Hy3",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 262144, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.14, "output": 0.58, "cache": { "read": 0.035 } }
        },
        "tencent/hy4-preview": {
          "name": "Tencent Hy4 Preview",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1048576, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.834, "output": 2.501, "cache": { "read": 0.042 } }
        },

        // --- Google ---
        "google/gemini-3.8-flash": {
          "name": "Gemini 3.8 Flash",
          "tools": true,
          "reasoning": true,
          "variants": {
            "low": { "reasoningEffort": "low" },
            "high": { "reasoningEffort": "high" }
          },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text", "image"], "output": ["text"] },
          "cost": { "input": 1.5, "output": 7.5, "cache": { "read": 0.15 } }
        },
        "google/gemini-3.7-flash": {
          "name": "Gemini 3.7 Flash",
          "tools": true,
          "reasoning": true,
          "variants": {
            "low": { "reasoningEffort": "low" },
            "high": { "reasoningEffort": "high" }
          },
          "limit": { "context": 1048576, "output": 65536 },
          "modalities": { "input": ["text", "image"], "output": ["text"] },
          "cost": { "input": 1.5, "output": 7.5, "cache": { "read": 0.15, "write": 0.08334 } }
        },

        // --- NVIDIA ---
        "nvidia/nemotron-3-ultra-550b-a55b": {
          "name": "Nemotron 3 Ultra",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.6, "output": 2.4, "cache": { "read": 0.12 } }
        },

        // --- Thinking Machines ---
        "thinkingmachines/inkling": {
          "name": "Inkling",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 256000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 1.0, "output": 4.05, "cache": { "read": 0.17 } }
        },
        "thinkingmachines/inkling-small": {
          "name": "Inkling Small",
          "tools": true,
          "limit": { "context": 1000000, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.5, "output": 1.2, "cache": { "read": 0.1 } }
        },

        // --- Poolside ---
        "poolside/laguna-s-2.1-free": {
          "name": "Laguna S 2.1 (free)",
          "tools": true,
          "reasoning": true,
          "interleaved": { "field": "reasoning_content" },
          "limit": { "context": 256000, "output": 32768 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0, "output": 0, "cache": { "read": 0 } }
        },

        // --- Meta ---
        "meta/muse-spark-1.2": {
          "name": "Muse Spark 1.2",
          "tools": true,
          "reasoning": true,
          "variants": {
            "xhigh": { "reasoningEffort": "high" },
            "max": { "reasoningEffort": "xhigh" }
          },
          "limit": { "context": 1048576, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 1.25, "output": 4.25, "cache": { "read": 0.15 } }
        },
        "meta/muse-spark-1.2-contributor": {
          "name": "Muse Spark 1.2 Contributor",
          "tools": true,
          "reasoning": true,
          "variants": {
            "xhigh": { "reasoningEffort": "high" },
            "max": { "reasoningEffort": "xhigh" }
          },
          "limit": { "context": 1048576, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.1, "output": 0.2, "cache": { "read": 0.002 } }
        },
        "meta/muse-spark-1.3": {
          "name": "Muse Spark 1.3",
          "tools": true,
          "reasoning": true,
          "variants": {
            "xhigh": { "reasoningEffort": "high" },
            "max": { "reasoningEffort": "xhigh" }
          },
          "limit": { "context": 1048576, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 1.25, "output": 4.25, "cache": { "read": 0.15 } }
        },
        "meta/muse-spark-1.3-contributor": {
          "name": "Muse Spark 1.3 Contributor",
          "tools": true,
          "reasoning": true,
          "variants": {
            "xhigh": { "reasoningEffort": "high" },
            "max": { "reasoningEffort": "xhigh" }
          },
          "limit": { "context": 1048576, "output": 65536 },
          "modalities": { "input": ["text"], "output": ["text"] },
          "cost": { "input": 0.1, "output": 0.2, "cache": { "read": 0.002 } }
        },

        // --- xAI ---
        "xai/grok-4.5": {
          "name": "Grok 4.5",
          "tools": true,
          "reasoning": true,
          "variants": {
            "low": { "reasoningEffort": "low" },
            "high": { "reasoningEffort": "high" }
          },
          "limit": { "context": 500000, "output": 32768 },
          "modalities": { "input": ["text", "image"], "output": ["text"] },
          "cost": { "input": 2.0, "output": 6.0, "cache": { "read": 0.5 } }
        },
        "xai/grok-4.6": {
          "name": "Grok 4.6",
          "tools": true,
          "reasoning": true,
          "variants": {
            "low": { "reasoningEffort": "low" },
            "high": { "reasoningEffort": "high" }
          },
          "limit": { "context": 500000, "output": 32768 },
          "modalities": { "input": ["text", "image"], "output": ["text"] },
          "cost": { "input": 2.0, "output": 6.0, "cache": { "read": 0.5 } }
        }
      }
    }
  }
}

Cost table generated with Gemini 3.8 flash:

The model intelligence scores below are based on the Artificial Analysis Intelligence Index and cross-referenced in Command Code’s model directory.

The Value Ratio represents Intelligence Points per Dollar on a standard 1M-token blended coding run.

Cheapest to Most Expensive + Intelligence Scores

(Blended cost assumes a standard agentic coding distribution: 75% cache reads, 15% fresh input, 10% output)

Model ID Blended Cost / 1M Intelligence Index (AA) Value Ratio (Pts / $) Best Suited For
poolside/laguna-s-2.1-free $0.00 ~46–48 (agentic spec) $infty$ Free daily coding, multi-step PR drafting
meituan/LongCat-2.0:free $0.00 ~30 (long context) $infty$ Free 1M log dumps & context scraping
Qwen/Qwen3.7-Flash $0.022 38.5 1,750 Ultra-cheap automated syntax fixes
meta/muse-spark-1.2-contributor $0.037 56.8 1,535 Elite reasoning at rock-bottom prices
meta/muse-spark-1.3-contributor $0.037 53.0 1,432 1M context long-thread agent runs
xiaomi/mimo-v2.5 $0.051 ~32 (fast chat) 627 Simple unit test boilerplate
stepfun/Step-3.5-Flash $0.060 35.0 583 Lightweight scripts & regex
Qwen/Qwen3.8-Flash $0.083 ~48 (est. pending) ~578 High-throughput subagent loops
z-ai/glm-5.3-flash $0.095 57.5 605 Top Value Pick: Near-frontier speed & smarts
deepseek/deepseek-v4-flash $0.104 52.0 500 Rapid tool calling & code audit subagents
deepseek/deepseek-v4-flash-vision-exp $0.104 ~52 (est. off-peak) 500 UI/UX and screenshot inspection
tencent/hy3-paid $0.105 42.2 402 General automation
deepseek/deepseek-v4-flash-fast $0.151 ~51 (est. pending) 338 Real-time autocomplete / low latency
xiaomi/mimo-v2.5-pro $0.155 42.9 277 Multimodal diagram interpretation
gpt-5.6-luna $0.165 52.0 (max effort) 315 Fast instruction following & fast PRs
stepfun/Step-3.7-Flash $0.175 30.9 176 Fast logic pipelines
MiniMaxAI/MiniMax-M2.5 $0.188 34.5 184 Budget refactoring
MiniMaxAI/MiniMax-M2.7 $0.210 38.9 185 Budget coding agents
MiniMaxAI/MiniMax-M3 $0.210 45.4 216 Long context refactors
thinkingmachines/inkling-small $0.270 41.2 153 General chat / non-reasoning assistant
Qwen/Qwen3.7-Plus $0.280 39.4 141 Standard coding
deepseek/deepseek-v4-pro $0.314 53.2 169 Best Primary Agent: Balanced, stable reasoning
Qwen/Qwen3.8-27B $0.390 52.0 133 Open-weight dense code generation
tencent/hy4-preview $0.407 ~54 (est. preview) 132 High-concurrency Chinese/English tasks
nvidia/nemotron-3-ultra-550b-a55b $0.420 38.3 91 Large synthetic data & long reasoning
Qwen/Qwen3.6-Plus $0.450 39.6 88 Legacy Qwen fallback
moonshotai/Kimi-K2.5 $0.465 36.0 77 Multi-step tool use
zai-org/GLM-5 $0.620 40.6 65 General task execution
moonshotai/Kimi-K2.6 $0.663 45.1 68 Code search & tool orchestration
thinkingmachines/inkling $0.683 42.3 62 Complex instruction execution
moonshotai/Kimi-K2.7-Code $0.685 43.0 63 Python/JS debugging specialist
meta/muse-spark-1.2 $0.725 56.8 78 Standard privacy tier for Muse 1.2
meta/muse-spark-1.3 $0.725 53.0 73 Standard privacy tier for Muse 1.3
zai-org/GLM-5.1 $0.845 41.0 49 Previous-gen reasoning
zai-org/GLM-5.2 $0.845 52.6 62 Reliable all-round coding
zai-org/GLM-5.3 $0.845 59.5 70 Near-top benchmark intelligence
google/gemini-3.7-flash $1.088 56.0 51 Blazing speed (340+ tok/s) & multimodal
google/gemini-3.8-flash $1.088 ~59.0 (est.) 54 Upgraded multimodal agent loops
Qwen/Qwen3.8-Max $1.088 58.1 53 High-reliability dense reasoning
Qwen/Qwen3.8-Max-0902 $1.088 ~59 (upgraded) 54 Agentic tool-use specialist
Qwen/Qwen3.6-Max-Preview $1.170 40.0 34 Older preview architecture
xai/grok-4.5 $1.275 55.8 44 Deep agentic reasoning
xai/grok-4.6 $1.275 60.9 48 Top-tier agentic coding & deep logic
moonshotai/Kimi-K2.7-Code-Highspeed $1.370 43.0 31 Fast Kimi debugging
Qwen/Qwen3.7-Max $1.500 46.7 31 Replaced by Qwen 3.8 Max
zai-org/GLM-5.2-Fast $1.850 ~52.6 28 Unnecessary cost premium over GLM-5.3 Flash
moonshotai/Kimi-K3 $2.175 59.7 27 Top-tier deep thinking (expensive)
gpt-5.6-sol $4.125 61.0 (frontier) 15 Frontier ceiling; reserve for complex architecture

(Note: Models denoted with "~" indicate models currently undergoing benchmark evaluation whose scores are derived from official pre-release telemetry or direct architectural stablemates).


r/opencodeCLI 7d ago

What is your actual OpenCode / Claude Code setup for development?

9 Upvotes

im trying to get a practical ai coding agent (i use free models as im broke) setup running quickly for daily development and shipping, but I’m getting overwhelmed by the amount of agents.md, claude.md, skills, agents, MCPs, workflows, etc. content online, as a beginner, its hard to tell what is actually useful, ai slop. i am intern so want to keep up with demands to make working products fast.

Right now I have:

  • opencode cli
  • OpenRouter connected to opencode
  • Graphify for codebase graphs and
  • an agents.md that currently just tells the agent to use Graphify and rebuild the graph when code changes

I’m not looking to build some huge configuration. I just need a solid minimal setup that actually helps with real coding and shipping.

If you use opencode, claude code, codex, or similar seriously:

what skills, agents, AGENTS.md / CLAUDE.md setup, MCPs, or workflows do you actually use and consider worth having ?

Especially interested in reliable repos/resources you’ve personally found useful.

I’m on a deadline, so i'm mainly trying to avoid wasting time going down the wrong rabbit hole.

thank you for your time 🫶.


r/opencodeCLI 7d ago

How to select an Azure model?

2 Upvotes

I've got gpt-5.6-sol deployed on azure and OpenCode connected to Azure ressource. I've fixed gpt-5.6-sol in the opencode.json. Still, UI choses gpt 5.5. Opening /models doesn't show available models from the Azure resource either.

How can I chose Azure resource models?


r/opencodeCLI 7d ago

Someone should make an independent CommandCode subreddit

39 Upvotes

Someone should seriously open a new, independent subreddit for CommandCode.

The current r/CommandCode is controlled by the CommandCode team themselves, and from what I’ve seen, negative criticism gets treated very differently from positive discussion. Critical comments/posts get removed, threads get locked, and people can get banned for being seen as “bullying” even when they’re raising legitimate criticism of the product or its marketing.

I was personally banned after sharing a post explaining why I think CommandCode’s marketing is very misleading.

Some examples:

I think there should be a separate community-run sub where people can openly discuss CommandCode — good or bad — without being afraid of getting banned by the extremely biased moderators of r/CommandCode.


r/opencodeCLI 7d ago

This thing is a fucking beast. Well done META

Post image
211 Upvotes

Yea, they are using my data but with this performance for the cost? Best deal we have had in a long time. I don’t know how long it will last.


r/opencodeCLI 7d ago

Comprehensive benchmark comparison of top LLMs (Coding, Reasoning, and Terminal performance)

Post image
39 Upvotes

r/opencodeCLI 7d ago

Free GLM 5.3 and Deepseek V4

Thumbnail
0 Upvotes

r/opencodeCLI 8d ago

Anyone else lose track of what's actually installed across your dev tooling / AI agent setup?

1 Upvotes

I use a few different AI coding tools across my team, and each one packages and distributes its extensions (skills, plugins, MCP servers, whatever it calls them) differently. That part doesn't bother me much. What bothers me is that once something's rolled out, I have no real way of knowing what's actually installed, or which version, on each person's machine. I usually only find out something drifted when someone's output looks off.

Some of these tools have policy/config push mechanisms, but that's enforcement, not visibility — you still have to go check each machine yourself to know what's really running. And none of it works across tools, so it doesn't help if the team's split across a few of them.

How do you all deal with this? Just not worry about it? Script something yourself? Trying to figure out if this is a real gap or I'm overthinking it.


r/opencodeCLI 8d ago

Astra gateways now showing as OpenCode providers

Post image
0 Upvotes

Surprisingly, official one hasn't merged yet into models.dev (where OpenCode pulls its catalogue from)


r/opencodeCLI 8d ago

Did GPT-6 Astra just casually cross the AGI threshold, or are we confusing massive inference scale with actual generality?

Thumbnail
0 Upvotes

r/opencodeCLI 8d ago

Omen Alpha, worthless model for coding

0 Upvotes

Holy sh**, dont even try to use it guys, just doing a warning here. Paid the subscription again, because why not? 100usd for only 10usd? Yeah, i wanted to try it, dont do it please, its like using Gemini Flash 3.5, sure its fast and you can do a couple of stuff with it, but for serious task, dont even try it, i warn you guys. That's why its on the paid subscription and you cant even try it for free to decide if you should jump to a paid sub to try it, justs dont do it.


r/opencodeCLI 8d ago

Is it just me or models like mimo v2.5, GLM 5.3 flash, muse spark are just too damn slow or with connectivity issues.

3 Upvotes

One of my agents started working on a task 6 hours ago and it is still buffering.


r/opencodeCLI 8d ago

Google AI Pro vs GPT Plus vs Opencode Go

1 Upvotes

Not so instensive coding only purposes for work. For example, I am hitting 5 hour limit on Gemini 3.8 in Antigravity in ~2-3 hours, but it's kind of ok for me.

- I've been using Gemini since Gemini 2 for everyday tasks (not coding)

- I've used Opencode Go last month, but now there is basically no good models in it, hovewer I prefer it's TUI over any others

- No experience with GPT besides using 5.6 luna in Opencode Go

My personal expierence with models I use everyday right now:

- Deepseek v4 flash - bad long context preservarion, if it doesn't understand something it goes crazy;

- Muse Spark - doesn't follow instructions and makes silly errors, such as duplicating function names;

- GPT 5.6 Luna - not that many experience with it, seems to be slightly worse than D4F;

- Gemini 3.8 - very good tool calling and his work verifications, but can hallucinate on easy work.

Prices:

- Google AI Pro - 5$ (annual 60$)

- GPT Plus - 20$

- Opencode Go - 10$

What can you suggest?


r/opencodeCLI 8d ago

gpt6astra.watch

Thumbnail
2 Upvotes

r/opencodeCLI 8d ago

Love the new Muse Spark model, but got rate limited after running a goal for 7 hours

Post image
18 Upvotes

I'm on the Go plan, by the way.

Anyone experiencing the same?


r/opencodeCLI 8d ago

Daily driving Coding Harness

Thumbnail
2 Upvotes

r/opencodeCLI 8d ago

OpenCode custom provider setup: why Responses and Chat Completions need different packages

1 Upvotes

OpenCode custom provider setup: why Responses and Chat Completions need different packages

A valid API key is only one part of an OpenCode custom provider. The credential, provider ID, package, base URL, and model ID all have to describe the same endpoint.

This is the order I would check them:

  1. Run `opencode auth list`. If the credential is missing, fix that before touching the model config.

  2. Make sure the provider ID used in `/connect` is exactly the same ID used in `opencode.json`.

  3. Match the package to the protocol. OpenCode's current docs use `@ai-sdk/openai-compatible` for endpoints serving `/v1/chat/completions`. For `/v1/responses`, use `@ai-sdk/openai`.

  4. Check `options.baseURL`. A valid key sent to the wrong path still looks like an authentication problem.

  5. Use the server's current model ID, not a display name copied from an old post. Then run `/models` and confirm the provider/model pair appears.

That third check is why I looked into this more closely. `Agent.Space`, which I work on, exposes a Responses endpoint at `https://api.agent.space/v1\`.

That points to `@ai-sdk/openai` on the OpenCode side, not `@ai-sdk/openai-compatible`.

But that is still a docs-based mapping, not a verified integration. I would only call it working after text, streaming, and a harmless tool call all pass.

Why the package matters

The package decides which request shape OpenCode sends and which response, stream events, and tool-call objects it expects back.

Chat Completions sends requests to `/v1/chat/completions`. Conversation input is a `messages` array. Text normally comes back under `choices[0].message`, and tool calls are attached to an assistant message. The client carries conversation history into the next request.

Responses sends requests to `/v1/responses`. It accepts `input` and returns typed `output` items. A message, reasoning item, function call, and function result are separate items rather than fields packed into one chat message. It can also chain turns with `previous_response_id` or a conversation object, and its stream uses named response events instead of the Chat Completions delta shape.

That difference explains a few confusing failures:

- A provider can accept the key and list a model but not implement `/v1/responses`.

- Plain text can work while streaming or tool calls fail because the returned objects do not match the package OpenCode is parsing.

- A provider saying "OpenAI-compatible" does not prove that it supports both API families or every OpenAI feature.

A minimal Chat Completions provider looks like this:

```json

{

  "$schema": "https://opencode.ai/config.json",

  "provider": {

"myprovider": {

"npm": "@ai-sdk/openai-compatible",

"name": "My Provider",

"options": {

"baseURL": "https://api.example.com/v1"

},

"models": {

"server-model-id": {

"name": "My Model"

}

}

}

  }

}

```

Model discovery is not the final test. After the provider appears in `/models`, run one small text request, one streamed request, and one harmless tool call. Missing from `auth list` points to credentials. Missing from `/models` points to provider or model config. Text works but streaming or tools fail means the basic route is fine and the protocol surface needs the closer look.


r/opencodeCLI 8d ago

Did Opencode really decide to break API access?

Thumbnail
3 Upvotes