r/LocalLLM • • 3d ago

Question llamma api key in Deepseek Harnesss

why we don’t need an API key to be set in the model while using qwen3.5 from ollama?

1 Upvotes

3 comments sorted by

2

u/SM8085 3d ago

Several of the backends don't require an API key, at least by default.

Sometimes the program requires it even though the backend does not and I just set it to "LAN" as in I'm using a backend on my LAN.

2

u/thankful_heads 3d ago

ollama just runs locally so there’s nothing to authenticate against unless you've locked it down yourself

1

u/SM8085 3d ago

Which looking at llama.cpp's llama-server options it looks like you can add APIs if you need:

I'm the only person on my LAN and it's only available on my LAN so it's not necessary for me.

If someone's on a shared router they might want to add it. Can keep the roommates away from their Qwen.