RUNLOCALAIv38
->Will it run?Best GPUCompareTroubleshootStartLearnPulseModelsHardwareToolsBench
Run check
RUNLOCALAI

Independently operated catalog for local-AI hardware and software. Hand-written verdicts. Source-cited claims. Reproducible commands when we have them.

OP·Fredoline Eruo
DIR
  • Models
  • Hardware
  • Tools
  • Benchmarks
TOOLS
  • Will it run?
  • Compare hardware
  • Cost vs cloud
  • Choose my GPU
  • Prompting kits
  • Quick answers
REF
  • All buyer guides
  • Learn local AI
  • Methodology
  • Glossary
  • Errors KB
  • Trust
EDITOR
  • About
  • Author
  • How we make money
  • Editorial policy
  • Contact
LEGAL
  • Privacy
  • Terms
  • Sitemap
MAIL · MONTHLY DIGEST
Get monthly local AI changes
Monthly recap. No spam.
DISCLOSURE

Some links on this site are affiliate links (Amazon Associates and other first-class retailers). When you buy through them, we earn a small commission at no extra cost to you. Affiliate links do not influence our verdicts — there are cards we rate highly that we don't have affiliate relationships with, and cards that sell well that we refuse to recommend. Read more →

© 2026 runlocalai.coIndependently operated
RUNLOCALAI · v38
← Home·/apps·SDK / proxy

Ollama JS / TS SDK

Fully offline

Official Node + browser SDK for Ollama. ESM-first, typed, streaming.

Editorial verdict: “Foundational primitive for Node + browser apps against Ollama. ESM-native, typed.”

SDK / proxy
Free
MIT
★ 4.4 / 5
GitHub ★ 4,500
↗ GitHub↗ Docs

Compatibility at a glance

Which runtime + OS combos this app works against. Source of truth for "will it run on my setup?"

§ Runtimes supported
ollama
§ OS / platform
linuxmacoswindowsweb

What it is

For Node and browser developers who want a typed, streaming bridge to Ollama without reinventing HTTP calls. This is the official SDK, so it tracks Ollama’s API surface closely and ships ESM-native with full TypeScript definitions. Streaming works in the browser once you configure CORS on the Ollama server — a one-time setup that’s worth the trade-off for real-time chat UIs. It’s fully offline by design, since Ollama runs locally, and works across Linux, macOS, Windows, and the web. Just know it’s Ollama-specific: if you later switch runtimes, you’ll swap SDKs entirely.

✓ Strengths

  • +Official + maintained by Ollama team
  • +Streaming works in browser when CORS allows
  • +ESM-native, TypeScript-first

△ Caveats

  • −Browser usage requires CORS config on the server
  • −Ollama-specific

About the SDK / proxy category

Thin SDK / proxy / compatibility layer.

§ Other sdk / proxy apps
LiteLLM

Best universal LLM proxy. Foundational layer for multi-provider deployments.

Ollama Python SDK

Foundational primitive for Python scripts against Ollama. Official, maintained, typed.

Claudin.io

Cloud-only LLM router. Useful category, novel pricing. The 'unlimited' math has a known failure mode at heavy usage.

Where to go from here

Stack Builder →

Pre-filled with this app's recommended use case + budget tier. Get the full rig + runtime + model picks.

Back to /apps →

The full directory — filter by category, runtime, OS, privacy posture, or VRAM.

Runtimes (/tools) →

What this app talks to: Ollama, vLLM, llama.cpp, MLX, LM Studio. The upstream layer.

Community benchmarks →

Did this app work for you on a specific rig? Submit the benchmark — it powers the model + hardware pages.