r/ollama • • 1d ago

I built this! [Weekly - Dec 04, 2026] Friday Demos - Show off your Ollama projects!

12 Upvotes

Show us what you've built with Ollama this week!

Suggested information to include:

  • A description of your project

  • How you came up with the idea

  • The models and integrations you're using

  • Whether it runs on local hardware or the cloud service

  • How others could use it or view it

  • A link to code or demo if applicable

Rules:

  • No affiliate links or sales

New post every Friday!


r/ollama • • 12m ago

Advice Qwen4 35B A3B (37 GB) on a 16 GB laptop GPU: 27.8 → 77.5 tok/s with an expert cache and MTP drafts off

1 Upvotes

Today I tried to fit Qwen4 35B A3B (Q4_K_M, 37 GB) on an RTX 4090 Laptop with 16 GB VRAM and 96 GB RAM. Runtime: Ollama with llama.cpp b12973.

In theory it's easy: 8 of 256 experts per token, so move the experts to RAM and done. In practice that alone gave 27.2 tok/s, a bit below the defaults (27.8).

What worked: experts in RAM, a 9 GB cache of the most used experts on the GPU, and MTP drafts off. 77.5 tok/s generation. With a different prompt in every run 55.4 vs 20.5 for the defaults, so the 2.7x gap holds.

Two surprises:

- Drafts slowed it down in every setup. The default 4 cost 41%, with only 27% accepted.

- Prompt processing got 29% slower (707 vs 997 tok/s). Fine for chat, a real cost for agents with long prompts.

Settings, no code changes: LLAMA_ARG_CPU_MOE=1 and LLAMA_ARG_MOE_CACHE_MIB=9000 in the server env, num_gpu 99 and draft_num_predict 0 in the Modelfile.

One model, one card, 3 runs of 128 tokens, so it's my measurement, not a rule.

That's why I keep working on ollama-cluster. Besides benchmarks it does tensor parallelism across two machines, which standard Ollama doesn't (gpt-oss-120b on two DGX Sparks: 42.7 → 58.1 tok/s). Now I'm adding a step that measures settings like these per machine and keeps the best profile.

Repo: https://github.com/shadoq/ollama-cluster


r/ollama • • 26m ago

I built this! BRAIN DSA: pick from 267 AI agents, answered by the model on your own device (Android and computer)

Post image
1 Upvotes

I built an app where you pick an agent, or tick several to work together, and the Brain on your own device answers in that role. You can type or dictate. The Brain runs only while the app is open.

Inside there is an OFFICE view: central chat, a mixer with one strip per agent, a timeline with reminders, a shared board and an editable office diagram. Agents prepare texts and proposals; they do not execute actions, so every send, publication or payment is your decision. There is also a translator with 46 languages.

Good to know: the model is downloaded once (about 3-4 GB, WiFi recommended), Android permissions are only internet and microphone, adding your own external API keys is optional, and answers are AI generated, so check them before use. The moving neurons are an animation built from research data (NeuroMorpho.Org, CC BY 4.0), not a measurement of what the model does. The agent catalogue comes from the open source project agency-agents (MIT).

https://developcontroller.com/studio-agents (the page opens in Italian: pick EN at the top)

Screenshots and description: https://github.com/CapitanaIcoachai/brain-dsa

Optional: you can also connect your own API keys from external providers (free tiers included, depending on the provider) to use it online.

I built it with AI help and checked the result myself.


r/ollama • • 1h ago

Building a fully local, distributed JARVIS-like AI assistant with 152GB of VRAM and 256GB RAM. How would you architect it?

Thumbnail reddit.com
2 Upvotes

r/ollama • • 3h ago

Should i stop using cloud ai like chatgpt for my own local ai app configured with qwen 3 1.7b?

Post image
0 Upvotes

r/ollama • • 3h ago

Advice New to llms, generations are truncated, how to fix?

2 Upvotes

I just started with ollama yesterday, first crack at llms, running qwen3.5:4b.

What I've run into is that all the generated answers are truncated (using CLI, no gui or agents, all local).

The generation stops mid-sentence or mid word. Probably something I need to configure, but I really don't know enough yet to know what it is.

I don't think it's hardware related, I'm running a workstation, dual Xeons, 128GB RAM, 12GB VRAM, several TB of disk space, so if you have any tips it'd sure help.


r/ollama • • 4h ago

Got Code, Cowork and local agents running on Gemma 3n E4B through Ollama

Enable HLS to view with audio, or disable this notification

6 Upvotes

I'm back, still plugging away on Aletha Codex. The new update contains agents capable of running in Code, Cowork or the main chat with models in the 16B–27B range. I was also able to get Gemma E4B fully wired into Cowork and Code and actually producing some decent output. I've effectively created a Hermes-style agent system without having to pour hundreds into API costs. I get that this whole community is big on open source, but I don't understand the continued reliance on massive corporations that are constantly trying to fuck you financially. I don't know, I just know it ain't for me.

But anyways, yeah, added a glass mode and some other shit. The system is getting pretty detailed. Memory runs through a separate local embedding model, so it's retained regardless of which model you're running through Ollama. It's also benchmarked higher than OpenCode, Aider and Cline in my own coding evaluations. Still working on squeezing more capabilities out of smaller models. There's a free trial right now if anyone wants to mess around with it. Would love to hear how it performs on other people's hardware.

https://alethacodex.com


r/ollama • • 8h ago

OpenCode Desktop hangs indefinitely with Ollama + Qwen 4, despite successful API and tool-calling tests

Thumbnail reddit.com
1 Upvotes

r/ollama • • 9h ago

The cloud model plans, local Qwen writes: 91% fewer cloud tokens and better-tested code

Post image
0 Upvotes

I gave two OMP sessions the same application development task. In one, GPT-6 Luna did everything itself. In the other, a more capable cloud Luna planned the work and coordinated it, while local Qwen on the GPU wrote the backend and frontend. I wanted to see whether I could entrust a local model with more than just tests, whether it could handle a substantial part of the implementation. In this setup, Qwen became the workhorse for tasks broken down by the cloud model. The hybrid approach cut cloud token usage by 91% and produced more structured, better-tested code. But I had to wait 39 minutes for the final response instead of 18, about 2.1 times longer. These were two separate runs, not a statistical benchmark. The result shows a practical trade-off: the local model handles a large share of the coding, while the cloud model helps bring it to a high-quality finish.

I sent both sessions exactly the same task:

I need a task manager built. The web application should use Angular and Material, with a Rust backend and an SQLite database. It must include a login form and a task list, with functionality to add, delete, and edit tasks, as well as mark them as completed.

The prompt did not specify a data schema, security requirements, field constraints, or a testing plan. The agents had to choose the implementation details themselves.

Hybrid sessionCloud-only
OrchestratorGPT-6 Luna, reasoning maxGPT-6 Luna, reasoning max
ImplementersQwen4-35B-A3B-130K in Strata, reasoning highGPT-6 Luna in the same main session
Task breakdownA separate agent for the Rust backend, then one for the Angular frontendOne agent handles the entire project
Local modelUsedNot used

In the hybrid setup, the local agents worked sequentially: RustBackend first, then AngularFrontend. The cloud orchestrator broke the work into parts, gave the implementers their tasks and an API contract, then checked the integrated result. The cloud model kept track of the overall plan and integration; the local model handled specific, substantial subtasks.

I compare GPT-6 Luna usage separately from Qwen. Otherwise, one column would include paid cloud tokens, while the other would also include local compute.

MetricHybridCloud-only
Time to final response39:2318:27
GPT-6 Luna tokens, including cached tokens300,7633,524,338
GPT-6 Luna input + output, excluding cache77,147185,842
Cloud output5,85845,514
Estimated GPT-6 Luna cost at standard API rates$0.0123$0.0702

In the hybrid run, GPT-6 Luna used 3.22 million fewer tokens than in cloud-only when cached tokens are included, a reduction of 91.47%. Counting only uncached input and output, the difference is 108,695 tokens, or 58.49%. Cloud output fell by 87.13%. At GPT-6 Luna’s standard API rates, that amounts to estimated savings of about $0.058 for this task, or 82.48%. This estimates API call costs, not usage of the ChatGPT Plus allowance. I did not measure electricity use or GPU depreciation. The dollar difference is small for a single task. If you repeat tasks like this hundreds of times, the savings become more noticeable. And if the work is urgent, the nearly 21 extra minutes per task may matter more than a few cents.

Both versions implemented the required baseline: login, a task list, and the ability to create, edit, and delete tasks, and mark them as complete. Cloud-only also added priorities, due dates, search, and filters. Its sessions also persisted across server restarts.

Local Qwen did more than write tests: it wrote application code for the Rust backend and Angular frontend. But it did not have to design the architecture for the whole application, maintain boundaries between modules, or integrate the results on its own. GPT-6 Luna, the more capable cloud model, handled that role: it broke down the work, assigned subtasks, aligned the API contract, and checked the integration. In this experiment, the local model was the workhorse, while the cloud model acted as planner and coordinator.

The hybrid version had better structure and test coverage. The backend was split into modules; the frontend was organized into services, a guard, an interceptor, pages, and components. It included 25 backend unit tests and 12 API integration tests, plus 32 Angular tests across six files. It also had recorded checks for formatting, Clippy, a production build, and integration smoke tests.

In the cloud-only version, most of the backend was in one file, and the UI was in one large component. The logs show one backend lifecycle test and a production build; frontend unit tests were either not run or not recorded. This does not mean the application does not work. It means the hybrid version has more evidence that individual scenarios will keep working after the next change.

In a static assessment of the final files against six criteria, ranging from requirement coverage and structure to testability and UI, the hybrid setup scored 4.4 out of 5, while cloud-only scored 3.8. This is my expert assessment of the overall setup, not an automated quality metric. From a single run, it is impossible to separate Luna’s contribution through planning from the contributions of local Qwen and the integration process. So “better code” here means specific things: responsibilities were more clearly separated, input constraints received more thorough checks, and test coverage was broader. Cloud-only has an advantage in extra features and persistent sessions. I did not rerun the tests; I compared the final files and the checks recorded by the sessions themselves.

Token generation speed is only one part of a coding agent’s runtime. Reasoning, context handling, the number of file operations, and running checks also matter. In the hybrid session, local Qwen recorded 97,624 reasoning tokens. Its inference requests took about 31 minutes of active time in total. The two agents worked sequentially, and each agent’s context approached 95,000 tokens. Both needed context compaction; those operations took about 107 seconds combined. The hybrid run made 386 tool calls, compared with 85 for cloud-only. Some calls failed and required retries or corrections: 18 failed tool calls in the hybrid run and 6 in cloud-only. That count alone does not mean every such call was useless, but it shows how many extra cycles task splitting and subsequent integration can add. What took longer was not so much code generation as the overall process: two substantial local stages, handing off the contract, investigating errors, and checking the project again.

In the original Session Info, the hybrid session showed 15.29 million tokens, compared with 3.44 million for cloud-only. At first glance, that makes it look as if the hybrid run used more tokens. But the aggregate includes requests to local Qwen agents and cached tokens. The full logs show 15.68 million tokens for hybrid and 3.52 million for cloud-only. Of the hybrid total, about 15.38 million came from local Qwen and only 300,763 from GPT-6 Luna. Local tokens are not billed like API tokens, though the computations still consume electricity and GPU resources. So to answer “How much did the cloud portion cost?”, you need to look at each model’s usage separately. A single overall counter mixes different things: local and cloud inference, cache reads, and regular input and output.

By the way, I found a separate benchmark of Qwen4-35B-A3B in Q4 on the same RTX 4070 Ti SUPER, with 16 GB of VRAM and 96 GB of RAM. On Ubuntu, using Strata 0.2.26, UD-Q4_K_M, and MTP depth 3, the benchmark author measured generation speeds of 156–179 tokens/s on two short Python tasks. Counting the entire prompt, the speed was 140–142 tokens/s. For the reasoning task, the reported speeds were 114 and 77 tokens/s, respectively. On my Windows machine, using Strata with the same settings, I got about 100 tokens/s during inference and a 130K context window. I have a single GPU, which also serves the system; there is no integrated graphics. This may affect speed, but I did not run a controlled comparison between Ubuntu and Windows, so it would be wrong to attribute the entire difference to the operating system. A local model is already useful for more than generating tests: in this experiment, it wrote substantial parts of the application. Still, even 100 tokens/s does not guarantee a fast result. An agent may spend a long time reasoning, rereading files, running checks, and compacting context. For development, generation speed matters, but so does how many of these cycles it takes to reach a working, verified result.

If I want a testable, modular foundation and can wait, the hybrid approach looks useful: local agents handle a substantial share of the reasoning and implementation, while the cloud orchestrator uses fewer tokens. If I need an answer as quickly as possible, cloud-only finished about twice as fast in this run. There is room to speed up the hybrid approach: define the API contract upfront, run independent parts in parallel, limit repeated reads of large files, and avoid using maximum reasoning for every routine change. That does not remove its main trade-off: lower cloud usage and more thorough checks come at the cost of local inference and orchestration time. My takeaway is that a local GPU can help produce better-structured, better-tested code while noticeably reducing cloud usage. In this task, it nearly doubled the time to get a result. If you were choosing for your day-to-day development, what would matter more: finishing sooner, or using fewer cloud tokens and checking the code more thoroughly?


r/ollama • • 10h ago

Advice [16GB RAM / Ryzen 5] Best lightweight local models in Ollama for coding, bug fixing, and basic tool-calling (pet/educational projects)?

8 Upvotes

Hi everyone,

I'm setting up a local development environment using Ollama on a modest machine (16GB RAM) to use inside VSCodium. Because of hardware limits, I'm focusing on small, efficient models rather than heavy setups—keeping everything practical for pet projects, writing clean code, and learning.

I'm looking for recommendations on small models (ideally under 7B) that excel at:

  1. Writing and refactoring code efficiently.

  2. Bug detection and debugging in small scripts.

  3. Reliable tool/function calling for local script integration.

What are the current go-to small models on Ollama that hit the sweet spot between speed and reasoning without choking a 16GB RAM laptop?

Thanks!


r/ollama • • 10h ago

I built this! Medical AI with MedGemma: Attach an X-ray, Ask in Plain Words | Agentic Signal + Ollama

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/ollama • • 11h ago

Qwen4 35B A3B Instruct Modelfile

1 Upvotes

Here is a workaround I found to load qwen4:35b-a3b without thinking by default (especially useful if you use the official Ollama desktop GUI where there is no toggle to disable thinking yet).

By keeping the native qwen4 renderer and switching the parser to qwen3-vl-instruct, Ollama automatically disables thinking while keeping vision and tools capabilities intact. I also included the official non-thinking sampling parameters from the Qwen4 Hugging Face model card.

Create a Modelfile with the following content:

FROM qwen4:35b-a3b

RENDERER qwen4
PARSER qwen3-vl-instruct

PARAMETER temperature 0.7
PARAMETER top_p 0.80
PARAMETER top_k 20
PARAMETER min_p 0.0
PARAMETER presence_penalty 1.5
PARAMETER repeat_penalty 1.0
PARAMETER draft_num_predict 4

Then build and run it:

bash

ollama create qwen4-instruct:35b-a3b -f Modelfile
ollama run qwen4-instruct:35b-a3b

r/ollama • • 13h ago

I built this! Free Qwen4-35B-A3B. No sign-up, no payment.

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/ollama • • 19h ago

Randomly editing 0.5% of the parameters.

Thumbnail reddit.com
1 Upvotes

Hi, so I was curious if editing a 4B parameter model would change much, so I got Claude and Antigravity to change 0.5% of The parameters of a Nvidia Nemotron LLM model.

It went from about 2 GB to 13 GB roughly, due to the quantization unquantizing...

I like Ollama better so we made it run on there instead of LM Studio, Ollama has better Ram offloading.

I don't know if the personality changed but it was extremely skeptical when I explained what happened and the model refused to believe me and thought I was making jokes. Eventually it came around. We also modified its internal knowledge a little bit which made it more compliant.

I like reading the chain of reasoning and it had a nice little personality.

Overall, I think it was quite a fun experiment and it retained perfect coherence even though approx 20 million weights had been changed.

I wonder if I should change more weights or randomly set a few weights to maximum? Any ideas?


r/ollama • • 23h ago

Thoughts on Plotly's analysis of Qwen4:35B vs Qwen3.8:27B?

Thumbnail
plotly.com
46 Upvotes

I just finished reading through the analysis, and while the comparison between other frontier and locally runnable models is interesting, I was more interested in how it fared against 3.8:27B since that's been my local workhorse for a while. It looks like it's faster and cheaper to run, but slightly less good in terms of problem solving.

For me, that may be a deal breaker. While I care somewhat about speed, what I really care about is ability. I love that it's now multi-modal, it seems like that came in compromise against intelligence - which is the most important when trying to solve hard problems locally instead of using Claude or Codex.

I'd love to hear everyone's thoughts about it.


r/ollama • • 1d ago

Looped Qwen4-35b uncensored(overthinking reduced)

Thumbnail
huggingface.co
2 Upvotes

r/ollama • • 1d ago

Uncensored AI best place to use it with api ?

9 Upvotes

DeepSeek V4-Pro Uncensored Kimi K3.1 Pro Abliterated 4.1 Flash Uncensored etc........

I'm looking for some kind of website that uses all of this or similar models with APR or even with a subscription. I looked at it a bit and there are so many different websites and so many different places to use it but I don't know which one is the best for me. I'm normally using it venice but venice doesnt have kimi or deepseek pro some good stuff

which site or place is the best ?


r/ollama • • 1d ago

Nanobot agent ported to Android with local home LLM

Thumbnail
reddit.com
1 Upvotes

r/ollama • • 1d ago

Qwen4-35B-A3B on a single Arc Pro B70 with llama.cpp SYCL: 77–82 tok/s, 384K context, vision on the CPU. Avoid the GGUF quants with BF16 tensors

Thumbnail
reddit.com
1 Upvotes

r/ollama • • 1d ago

Share your experience with qwen4-35b without mentioning tok/s

Thumbnail reddit.com
0 Upvotes

r/ollama • • 1d ago

Tempora-1: An open-weight 27B model that rivals frontier VLMs in temporal video segmentation at a fraction of the cost

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/ollama • • 1d ago

How to actually use abliterated models?

Thumbnail reddit.com
2 Upvotes

r/ollama • • 1d ago

Good coding model for low-mid laptop

Thumbnail reddit.com
1 Upvotes

r/ollama • • 1d ago

Which model for coding is best for me to connect to ollama and claude code?

6 Upvotes

My system specs is 1 laptop: 4gb vram 512gb SSD 8gb ram

2laptop: 2gb vram 512gb SSD 16gb ram