Has anyone tried in organization to use self hosted llm models for agentic programming?

Im curious if it makes any sense. My organization spends fortune on tokens from us companies. I want to recommend something…

  • robertdegallan@lemmy.org
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    2 days ago

    I would recommend Qwen4-27B + CoDoc

    What is CoDoc? Have a look at the recent post I published so that you have all context (no pun intended) ;)

    IMO, massive costs savings ahead for those that adopt the set-up above.

  • eleijeep@piefed.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 months ago

    My organization spends fortune on tokens

    Perhaps recommend that they spend the money on hiring competent staff instead.

      • Noxy@pawb.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 months ago

        no, there’s no possible way that hiring professional software engineers will result in software engineering being performed.

        /s

  • nark3d@thelemmy.club
    link
    fedilink
    arrow-up
    2
    ·
    6 months ago

    There’s a useful split lurking in this. For narrow agentic work like retrieval over internal docs, structured classification, test scaffolding, deterministic refactor passes, a self-hosted 30B-class model can be fine and the inference economics work out at team scale. For multi-step planning and the harder agent loops, the frontier gap still shows up in the number of retries and the time-to-correct-answer.

    The honest test is to pick the prompt category that’s costing you the most and benchmark something like Qwen 2.5 Coder 32B or DeepSeek V3 against whatever you’re paying for now. If the gap is small you’ve found your candidate. If it isn’t, you’ve at least costed the gap accurately rather than guessing at it.

    The two costs people underestimate are the GPU box (plus a second one for the eval/staging path) and the maintenance overhead. Model picks go stale fast and someone on the team has to own that, or you end up shipping a Llama 3.1 stack into 2026 because nobody rebuilt the harness for whatever’s current.

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    6 months ago

    Qwen 3.6 and gemma4 models are the only ones usable for agentic prog sessions that I and my employer run locally. It’s less stable and slower than third-party services, even on much better hardware (as it’s with my employer). The best way is to go with a provider hosting deepseek flash/pro if your privacy policy allows though. It’s going to be hard to beat their price.

  • FishFace@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    6 months ago

    As far as I understand, the only way to get anything resembling usable output for coding is with massive, expensive, labouriously hand-tuned models, not local ones.

  • HelloRoot@lemy.lol
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    6 months ago

    GLM is pretty good in mg experience, the company I currently freelance at runs it locally (in house server room) for compliance reasons. But it needs very beefy hardware.

  • 87Six@lemmy.zip
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    6 months ago

    Models running within the constraints of a dev machine have no chance

    If you want this, you need a company AI server with enough performance to support the entire team at once, and it will probably still be worse than using a cloud one. Though it MIGHT pay for itself in… A while

    • Kkk2237pl@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      6 months ago

      How about qwen 3.6 and MacBook with 64GB ram?

      I thought about that AI server, but idk how to calculate how long it pay for itself…

      • 87Six@lemmy.zip
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        I mean… RAM? Don’t you need mass VRAM for this kind of thing? Or are they shared on Mac?

        idk how to calculate how long it pay for itself…

        You don’t… Not in this industry. You guess and hope it goes in your favor.

        No calculations matter if the market can jump or drop by 300% in a few months… And that applies to programming, hardware prices, AI subscription prices, regulations between countries when Trump is in office…

        • SeductiveTortoise@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          6 months ago

          Apple unified memory shares all over CPU, GPU and NPU, you can assign a lot of memory to run local models and there bandwidth is good, depending on the model.

          AMD has something similar with their something something AI CPUs and they go up to 128GB at the moment. Apple can be way faster though. And you were able to buy a Mac Studio with 512GB back when RAM wasn’t worth more than unicorn pee. For… I guess 10k though.

          • 87Six@lemmy.zip
            link
            fedilink
            arrow-up
            0
            ·
            6 months ago

            Apple unified memory shares

            That’s cool asf.

            Apple engineers with better leadership could change the fucking world… But instead they’re used to screw over their own user base.

            If my GPU starts falling back to RAM my game fps drops to 1 lol.

      • DaTingGoBrrr@lemmy.ml
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        6 months ago

        I am running qwen 3.5 locally using llama.cpp on 8gb of VRAM and 16 gigs of RAM. It works well enough with a 4B to 9B parameter model along with quantization and MTP. More optimizations are on the way with turboquant and possibly other tech.

        It’s just there to assist me, not do all the work, so I am happy as long as I can self host it.

        I can’t say how well my specs would work in a professional setting but for personal use a MacBook should be sufficient in my opinion.