     [Blog](https://scrapfly.io/blog)   /  [ai](https://scrapfly.io/blog/tag/ai)   /  [How to Run a Local LLM with Ollama](https://scrapfly.io/blog/posts/guide-to-local-llm)   

# How to Run a Local LLM with Ollama

 by [Ziad Shamndy](https://scrapfly.io/blog/author/ziad) Nov 26, 2026 19 min read [\#ai](https://scrapfly.io/blog/tag/ai) 

 [  ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fscrapfly.io%2Fblog%2Fposts%2Fguide-to-local-llm "Share on LinkedIn") [  ](https://x.com/intent/tweet?url=https%3A%2F%2Fscrapfly.io%2Fblog%2Fposts%2Fguide-to-local-llm&text=How%20to%20Run%20a%20Local%20LLM%20with%20Ollama "Share on X") [  ](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fscrapfly.io%2Fblog%2Fposts%2Fguide-to-local-llm "Share on Facebook")    

 

 

Summarize this article with

 [  ](https://chat.openai.com/?q=Summarize%20this%20article%20and%20explain%20how%20Scrapfly%20helps%20me%20scrape%20any%20website%20at%20scale%20and%20bypass%20anti-bot%20systems%20for%20my%20use%20case%3A%20https%3A%2F%2Fscrapfly.io%2Fblog%2Fposts%2Fguide-to-local-llm) [  ](https://claude.ai/new?q=Summarize%20this%20article%20and%20explain%20how%20Scrapfly%20helps%20me%20scrape%20any%20website%20at%20scale%20and%20bypass%20anti-bot%20systems%20for%20my%20use%20case%3A%20https%3A%2F%2Fscrapfly.io%2Fblog%2Fposts%2Fguide-to-local-llm) [  ](https://x.com/i/grok?text=Summarize%20this%20article%20and%20explain%20how%20Scrapfly%20helps%20me%20scrape%20any%20website%20at%20scale%20and%20bypass%20anti-bot%20systems%20for%20my%20use%20case%3A%20https%3A%2F%2Fscrapfly.io%2Fblog%2Fposts%2Fguide-to-local-llm) [  ](https://www.perplexity.ai/search/new?q=Summarize%20this%20article%20and%20explain%20how%20Scrapfly%20helps%20me%20scrape%20any%20website%20at%20scale%20and%20bypass%20anti-bot%20systems%20for%20my%20use%20case%3A%20https%3A%2F%2Fscrapfly.io%2Fblog%2Fposts%2Fguide-to-local-llm) [  ](https://www.google.com/search?udm=50&aep=11&q=Summarize%20this%20article%20and%20explain%20how%20Scrapfly%20helps%20me%20scrape%20any%20website%20at%20scale%20and%20bypass%20anti-bot%20systems%20for%20my%20use%20case%3A%20https%3A%2F%2Fscrapfly.io%2Fblog%2Fposts%2Fguide-to-local-llm) 



      

With the recent development in open-source models, it became easy to download an LLM and run it on your own machine using tools like Ollama. But what about the hardware, can your laptop handle a 6.6 GB model like `qwen3.5:9b`?

In this article, we'll explain what local LLMs are and why to run them. We'll also go over the available tools and how to pick a model that fits your memory.

Then, we'll go through a step-by-step tutorial on running one with Ollama for web data extraction. Let's get started!



## Key Takeaways

In this article, we've taken a look at a few different ways to run an LLM on your own machine. Here's what we learned:

- Local LLMs are the easiest way to keep prompts on your own machine. Using cloud LLMs requires having a subscription to the selected provider, hence using local models like Ollama can be a great alternative.
- Model names don't tell you much about the size though. The `qwen3.5:9b` model we pulled was a 6.6 GB download at Q4\_K\_M and we ran it with an 8,192-token context.
- A large context makes fitting the model into memory harder, so it's better to only give it what the task needs.
- Ollama, LM Studio and llama.cpp can all run local models. We used Ollama as it has a LangChain integration, a popular framework for communicating with LLMs.
- A GPU isn't required, just don't forget to check `ollama ps` as it shows how the model is split between the CPU and GPU.
- To keep raw HTML tags out of the prompt, we used Scrapfly's [Web Scraping API](https://scrapfly.io/products/web-scraping-api) to scrape the page as Markdown. The scraping happens in the cloud but the local model did the extraction on our machine.

**Get web scraping tips in your inbox**Trusted by 100K+ developers and 30K+ enterprises. Unsubscribe anytime.







## What Is a Local LLM, and What Actually Stays Local?

Large Language Models (LLMs) are machine learning models specialized in human text. A local LLM is one that's downloaded and run on your own machine, instead of a cloud provider's servers.

LLMs are able to reply to a given prompt input by processing the text and evaluating it using their trained data. After receiving input, it's processed in two major steps:

- **Tokenization**The prompt text input gets broken into smaller units called tokens. These tokens can be words, characters, or even whole phrases.
- **Generation**After the input is processed, the response is generated based on trained data context through sequence generation, which represents creating one token at a time.

So, with a local LLM both of these steps happen on your machine. Ollama for example runs a [local server](https://docs.ollama.com/quickstart.md) on `http://localhost:11434`, and that's where all of our prompts went in this guide.

As for cloud LLMs, the prompt is sent to the provider's servers over the internet. This means that they can see it, and they'll also charge you for every request by the tokens used.



Using LLM for web scraping enables various use cases due to its capabilities in text understanding, such as sentiment analysis, answering questions, summarizing text, or assisting in code generation.

However, the scraping part isn't local, and neither is a cloud model or telemetry. We'll get back to this when we add Scrapfly.

An LLM can be trained with terabytes of data and billions of parameters. However, it may lack understanding of a specific, niche, or private business domain.

The RAG technique allows for extending a pre-trained LLM model with additional datasets, and we've covered it in a separate guide.

[How to Power-Up LLMs with Web Scraping and RAGIn depth look at how to use LLM and web scraping for RAG applications using either LlamaIndex or LangChain.](https://scrapfly.io/blog/posts/how-to-use-web-scaping-for-rag-applications)

Now that we have an overview of local LLMs, let's see why you'd want to run one.



## Why Run an LLM Locally?

Using cloud LLMs requires having a subscription to the selected provider. Hence, using local models like Ollama can be a great alternative. Cost isn't the only reason though.

Let's take a look at the pros and cons of running LLMs locally.

#### Pros

- Prompts and files stay on your machine during inference.
- Free to use with no per-token billing, once you have the hardware.
- Can work offline once the model is downloaded, unless something else in your workflow needs the internet.
- Highly customizable for specific model tags, quantization and context sizes.
- Updates happen only when you decide to.

#### Cons

- It can be expensive, especially with high-end GPUs.
- The available memory limits the size of the model you can load.
- Slow generation on the CPU or when part of the model is offloaded to system RAM.
- Smaller models compared to the frontier ones offered by cloud providers.
- Maintaining it is up to you, from model updates to disk space.

Now that we have an overview of why to run LLMs locally, let's explore the tools for running them.



## Which Tools Can Run a Local LLM?

Currently, there are three popular tools for running LLMs on your own machine. Let's take a quick look at each of them.

[Ollama](https://ollama.com/download) is an open-source tool that runs LLMs directly on a local machine. It runs in the background as a server with a CLI and its own model library, and its API listens on `localhost:11434`.

[LM Studio](https://lmstudio.ai/) is a desktop app for the people who'd rather not touch a terminal.

According to [its docs](https://lmstudio.ai/docs/app), you can "Download and run local LLMs like gpt-oss or Llama, Qwen" through a chat interface, and serve them on a local server too.

[llama.cpp](https://github.com/ggml-org/llama.cpp) is the C/C++ engine behind the GGUF format. Its main goal, as the README puts it, "is to enable LLM (and MLLM) inference with minimal setup and state-of-the-art performance on a wide range of hardware".

You can download its pre-built binaries from the releases page or build it from source.

In essence, all of them run quantized model files (e.g., GGUF), so the memory part later in this guide applies to all three.

In this guide, we'll use Ollama as it has a LangChain integration through the `langchain-ollama` package. LangChain is another popular framework for communicating with LLMs, and we'll use it for the extraction example later on.

Now that we're familiar with the available tools, let's take a look at the models.



## Which Local LLM Should You Start With?

There are lots of open models in the Ollama library and most of them come in several sizes. So, it's better to start from how much memory you can give the model and pick the size tag that fits it.

For instance, here are the tags we'd try first for each memory tier from the [Qwen 3.5](https://ollama.com/library/qwen3.5), [Gemma 4](https://ollama.com/library/gemma4), [Llama 3.2](https://ollama.com/library/llama3.2) and [Mistral](https://ollama.com/library/mistral) families:

| Memory you can give the model | Size tags to try first |
|---|---|
| 4 to 8 GiB | `qwen3.5:0.8b`, `qwen3.5:2b`, `qwen3.5:4b`, `llama3.2:1b`, `llama3.2:3b` |
| 8 to 16 GiB | `qwen3.5:9b`, `mistral:7b`, `gemma4:e2b`, `gemma4:e4b` |
| 16 to 32 GiB | `gemma4:12b` |
| 32 GiB or more | `qwen3.5:27b`, `gemma4:26b`, `gemma4:31b` |

These tiers assume Q4 builds with some room left for the context.

The Gemma tags might look out of place here. As the Gemma 4 page on Ollama puts it, 'The "E" in E2B and E4B stands for "effective" parameters, and are made for edge device deployments.'

With the embeddings, `gemma4:e4b` actually has 8B parameters and its Q4 build is a 6.6 GB download, or 9.5 GB for the MLX build. The `gemma4:e2b` downloads range from 4.6 GB to 7.5 GB.

So, make sure to check **the download size of the exact tag you pull**, as the Q4 and MLX builds of the same model aren't the same size.

The task matters too. For data extraction, all we need is a short page and a narrow enough prompt that the model can focus on the task at hand.

Chatting over a long document needs a lot more context, and context takes memory.

We've only tested `qwen3.5:9b` in this guide, the rest are listed by their size and not by quality. Now that we're familiar with the models, let's explore how much memory they need.



## How Much Memory Does an Ollama Local LLM Need?

One of the major challenges in running LLMs locally is memory, as both the model file and its context have to fit in it.

To find out how much they take, we ran `qwen3.5:9b` with Ollama 0.32.5 on a laptop with an Intel Core i7-13620H CPU, 37.6 GiB of RAM and no dedicated GPU.

### How Do Model Weights and Q4\_K\_M Quantization Affect Memory?

Let's start by checking the model details using the `ollama show` command. Here is what we got:

```
$ ollama show qwen3.5:9b
  Model
    architecture        qwen35
    parameters          9.0B
    context length      262144
    embedding length    4096
    quantization        Q4_K_M
    requires            0.30.0

  Projector
    architecture        clip
    parameters          456.01M
```



So, it's a 9.0B model at Q4\_K\_M with a 456M vision projector, and the download was 6.6 GB.

In simple terms, quantization is storing each of these weights with less precision so the model takes less space. For example, 10 billion weights at 4 bits each are about 5 GB.

That being said, Q4\_K\_M isn't exactly 4 bits per weight, which is why the actual file is bigger than the math and it's better to go by the download size Ollama reports.

### How Does Ollama Context Length Affect Memory?

[Ollama's docs](https://docs.ollama.com/context-length.md) define context length as "the maximum number of tokens that the model has access to in memory".

This means that the context takes its own memory on top of the model. When we started the Ollama server, it picked a 4K context by default since there was no VRAM to work with:

```
msg="vram-based default context" total_vram="0 B" default_num_ctx=4096
```



Next, on November 15, 2026, we loaded the same model with three different context sizes on that laptop and checked `ollama ps` each time. Here is what we got:

```
NAME          ID              SIZE      PROCESSOR    CONTEXT    UNTIL
qwen3.5:9b    56671c2ab938    6.2 GB    100% CPU     4096       9 minutes from now
qwen3.5:9b    56671c2ab938    6.4 GB    100% CPU     8192       9 minutes from now
qwen3.5:9b    56671c2ab938    7.3 GB    100% CPU     32768      9 minutes from now
```



We can see that the model size went up from 6.2 GB to 7.3 GB just by increasing the context from 4K to 32K! For our product page, we used 8,192 and that was enough.

The same goes for parallel requests. For instance, the [Ollama FAQ](https://docs.ollama.com/faq) mentions that "a 2K context with 4 parallel requests will result in an 8K context and additional memory allocation".

### What Does `ollama ps` Show About Context and Offload?

Another useful detail in the `ollama ps` output is the `PROCESSOR` column. It says `100% CPU` here, as our machine doesn't have a GPU, and the model was loaded entirely in system memory.

On machines with a GPU that can't fit the whole model, Ollama splits it between the GPU and the CPU, and the column shows something like `48%/52% CPU/GPU`.

This allows running bigger models but it comes at a cost, as the CPU part is slower.

So, if you're running on CPU only like us, leave some room in your RAM for the operating system and the Python process running LangChain.

Now that we know how much memory a model needs, let's install Ollama and run it.



Scrapfly

#### Scale your web scraping effortlessly

Scrapfly handles proxies, browsers, and anti-bot bypass — so you can focus on data.

[Try Free →](https://scrapfly.io/register)

## How Do You Install Ollama and Run `qwen3.5:9b`?

Ollama can be installed using the installers on its [official download page](https://ollama.com/download), which cover Linux, macOS and Windows. In this article, we'll use Ollama 0.32.5, newer versions might work the same way but that's for you to verify.

The first step is ensuring that Ollama is installed:

bash

```bash
$ ollama --version
ollama version is 0.32.5
```



To verify the server is running as well, head over to the Ollama port at `127.0.0.1:11434` and you will get a response similar to this:

```
Ollama is running
```



On Linux, the Ollama server might not be running after the installation. If it's not, use the following command to start it:

bash

```bash
ollama serve
```



Now that our installation is complete, let's pull the exact model tag used in this guide:

bash

```bash
$ ollama pull qwen3.5:9b
pulling manifest
pulling f836f08f9211: 100% ▕██████████████████▏ 921 MB
pulling 02d45dc1cf45: 100% ▕██████████████████▏ 5.6 GB
pulling b507b9c2f6ca: 100% ▕██████████████████▏   13 B
pulling 50cbab8a892c: 100% ▕██████████████████▏  11 KB
pulling 9371364b27a5: 100% ▕██████████████████▏   65 B
pulling 08f9698c1116: 100% ▕██████████████████▏  177 B
verifying sha256 digest
writing manifest
success
```



The two big layers are the 5.6 GB model weights and the 921 MB vision projector. Our first pull got stuck at 83% though, running the same command again resumed it from where it stopped.

Now we have pulled the model, let's use it! The default usage of Ollama is through the command line interface:

bash

```bash
$ ollama run qwen3.5:9b
>>> Send a message (/? for help)
```



This opens an interactive chat with the model. Next, open a second terminal and check the running model using the `ollama ps` command:

bash

```bash
$ ollama ps
NAME          ID              SIZE      PROCESSOR    CONTEXT    UNTIL
qwen3.5:9b    56671c2ab938    6.2 GB    100% CPU     4096       4 minutes from now
```



We can see that the model was loaded with a 4,096-token context, which is the default on our machine. We'll set 8,192 tokens ourselves in the extraction script later.

The `ollama show qwen3.5:9b` command from the memory section works here as well, if you want to confirm the parameter count and quantization.

Now that we have Ollama running, let's use it to extract data from a web page.



## How Do Scrapfly and Ollama Split Cloud Collection and Local Inference?

It's common for web scraping tools to send HTTP requests to web pages in order to retrieve their data as HTML.

This example sends Markdown to Ollama so the prompt contains page text without the HTML tags.

We'll use **Scrapfly for web page scraping as markdown**. As for LLM communication, we'll use LangChain with our local Ollama model, and Scrapfly has a [LangChain integration](https://scrapfly.io/docs/integration/langchain) as well.



Ollama's server log shows the inference part stays local, as every request it got came from `127.0.0.1`:

```
[GIN] 2026/11/15 - 16:30:39 | 200 |    1.491101ms |       127.0.0.1 | POST     "/api/show"
[GIN] 2026/11/15 - 16:30:39 | 200 |     926.647µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2026/11/15 - 16:30:39 | 200 |  305.562294ms |       127.0.0.1 | POST     "/api/generate"
```



Keep in mind that only the model runs locally here, the scraping doesn't. Scrapfly fetches the page in its cloud, and only the Markdown result reaches our local model.

Next, let's put it all together and extract data from a product page!



## How Do You Extract Web Data with Scrapfly, LangChain, and Ollama?

Let's start with the installation process. We'll install the LangChain Ollama integration along with the Scrapfly SDK:

- [langchain-ollama](https://pypi.org/project/langchain-ollama/): The package behind the [`ChatOllama` integration](https://docs.langchain.com/oss/python/integrations/chat/ollama.md), which we'll use to communicate with the local model.
- [scrapfly-sdk](https://pypi.org/project/scrapfly-sdk/): Scrapfly Python SDK. We'll use it to scrape the web page as markdown.

Both can be installed using the below `pip` command. We'll install them in a Python 3.13 virtual environment with the exact versions used in this guide:

bash

```bash
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install langchain-ollama==1.1.0 scrapfly-sdk==1.0.0
```



The next step is getting the Scrapfly API key, which can be found on your Scrapfly dashboard. We'll pass it to the script as an environment variable:

bash

```bash
export SCRAPFLY_API_KEY="your-scrapfly-key"
```



For this example, we'll use the product on [web-scraping.dev/product/1](https://web-scraping.dev/product/1) as our scraping target and extract its title and price:

python

```python
import os
from scrapfly import ScrapeConfig, ScrapflyClient, ScrapeApiResponse
from langchain_core.output_parsers import JsonOutputParser
from langchain_core.prompts import ChatPromptTemplate
from langchain_ollama import ChatOllama

scrapfly = ScrapflyClient(key=os.environ["SCRAPFLY_API_KEY"])

api_response: ScrapeApiResponse = scrapfly.scrape(
    ScrapeConfig(
        # target website URL
        url="https://web-scraping.dev/product/1",
        # specify the web scraping format
        format="markdown"
    )
)

# 1. load the qwen3.5 model using Ollama
llm = ChatOllama(
    model="qwen3.5:9b",
    temperature=0,
    reasoning=False,
    format="json",
    num_ctx=8192,
)
# 2. prompt design
prompt = "Extract the product title and price from the provided markdown. \
Return JSON with exactly two string fields: title and price."
prompt_template = ChatPromptTemplate.from_messages(
    [("system", prompt), ("user", "{markdown}")]
)
# 3. put together in a chain: form prompt -> Qwen -> result parser
chain = (
    prompt_template
    | llm
    | JsonOutputParser()
)

# 4. execute the chain with the scraped markdown
print(chain.invoke({"markdown": api_response.content}))
```



The above code is fairly straightforward. Let's break down its workflow:

- The `ScrapflyClient` gets initialized using the Scrapfly API key, and the product page gets scraped as markdown. We call [Scrapfly's SDK directly](https://scrapfly.io/docs/scrape-api/getting-started) here instead of a LangChain document loader.
- The `qwen3.5:9b` model gets loaded through `ChatOllama`, with JSON as the output format and an 8,192 context size.
- A `ChatPromptTemplate` is created. It asks the model for the product title and price only.
- The prompt, the model and a `JsonOutputParser` are put together in a chain, which turns the model's reply into a Python dictionary.

Here is what it printed when we ran it on November 24, 2026:

```
{'title': 'Box of Chocolate Candy', 'price': '$9.99'}
```



We asked for two fields from the scraped data and got the correct result! That being said, every web page is different and your results can vary.

This example is in Python as the LangChain integration we used is Python, but Scrapfly also has official SDKs for TypeScript, Go and Rust.

For more on using LangChain for web scraping, refer to our dedicated guide.

[LangChain Web Scraping: Build AI Agents &amp; RAG ApplicationsLearn to integrate LangChain with Scrapfly for web scraping. Build AI agents and RAG applications that extract, process, and understand web data at scale.](https://scrapfly.io/blog/posts/langchain-web-scraping-complete-guide-scrapfly)

Now that we have extracted data with a local model, let's see how it compares to the other options.



## When Should You Use Ollama, Hosted Inference, or Scrapfly Extraction API?

Running a sophisticated LLM locally to extract data from unstructured data can be a very resource intensive task. We've already covered the pros and cons of Ollama, so let's see how the other two options compare.

Hosted LLMs are models running on a provider's servers, which we send our prompts to over an API. Let's take a look at the pros and cons of using them for extraction.

#### Pros

- Easy to configure and use.
- Lower hardware requirements compared to running models locally.
- Access to bigger models than most machines can handle.

#### Cons

- It can be expensive, especially with large models and high request volumes.
- Limited amount of concurrent requests, depending on the provider's rate limits.
- The prompt and the scraped data get sent to the provider's servers.

Scrapfly's [Extraction API](https://scrapfly.io/docs/extraction-api/automatic-ai) handles both the scraping and the extraction in the cloud. It includes a number of predefined models that can automatically extract common objects like products, reviews, articles etc.

Note that we can mix these options too. In this guide, we scraped the page with Scrapfly and ran the inference locally with Ollama.

For further details on building agents on top of local models, refer to our previous guide on LLM agents.

[Guide to Understanding and Developing LLM AgentsExplore how LLM agents transform AI, from text generators into dynamic decision-makers with tools like LangChain for automation, analysis &amp; more!](https://scrapfly.io/blog/posts/practical-guide-to-llm-agents)



### Extraction API

Extract structured data from any web page with AI-powered extraction. No selectors needed.



[Try Extraction API](https://scrapfly.io/docs/extraction-api/getting-started)



## FAQ

Do Ollama local models need an API key?

No, Ollama runs a local server at `http://localhost:11434` and the requests sent to it don't need any authentication.

However, the Scrapfly part in this guide is a cloud service, so it requires a Scrapfly API key, which we passed through the `SCRAPFLY_API_KEY` environment variable.







 Is LangChain required to run Ollama locally?

No, LangChain is just an interface for communicating with LLMs, and Ollama already provides its own command line and HTTP API.

That being said, LangChain makes it easier to put the prompt, the model and the output parser together in one chain, which is why we used it in this guide.







Can I run a local LLM without a GPU?

Yes, you can run local LLMs without a GPU using Ollama. However, the model will be loaded entirely in the system RAM and the responses will be slower.









## Which Local LLM Setup Should You Use?

In this article, we've taken an in-depth look at running LLMs locally on your own machine.

We started by explaining what a local LLM is and why to run one, as well as its pros and cons compared to cloud LLMs.

Then, we went over the tools for running them, Ollama, LM Studio and llama.cpp, so refer back to the tools section if you're still picking one. We also matched model tags from the Ollama library to different memory tiers.

To solidify our knowledge, we ran `qwen3.5:9b` with Ollama on a machine without a GPU and saw how the model size went from 6.2 GB to 7.3 GB just by increasing the context from 4K to 32K.

Finally, we've used it alongside with LangChain to extract a product title and price from a page we scraped as markdown with [Scrapfly's Web Scraping API](https://scrapfly.io/products/web-scraping-api).



 

   [  Add as a preferred source ](https://google.com/preferences/source?q=scrapfly.io) Table of Contents















 

  Table of Contents

- [Key Takeaways](#key-takeaways)
- [What Is a Local LLM, and What Actually Stays Local?](#what-is-a-local-llm-and-what-actually-stays-local)
- [Why Run an LLM Locally?](#why-run-an-llm-locally)
- [Which Tools Can Run a Local LLM?](#which-tools-can-run-a-local-llm)
- [Which Local LLM Should You Start With?](#which-local-llm-should-you-start-with)
- [How Much Memory Does an Ollama Local LLM Need?](#how-much-memory-does-an-ollama-local-llm-need)
- [How Do Model Weights and Q4\_K\_M Quantization Affect Memory?](#how-do-model-weights-and-q4-k-m-quantization-affect-memory)
- [How Does Ollama Context Length Affect Memory?](#how-does-ollama-context-length-affect-memory)
- [What Does ollama ps Show About Context and Offload?](#what-does-ollama-ps-show-about-context-and-offload)
- [How Do You Install Ollama and Run qwen3.5:9b?](#how-do-you-install-ollama-and-run-qwen3-5-9b)
- [How Do Scrapfly and Ollama Split Cloud Collection and Local Inference?](#how-do-scrapfly-and-ollama-split-cloud-collection-and-local-inference)
- [How Do You Extract Web Data with Scrapfly, LangChain, and Ollama?](#how-do-you-extract-web-data-with-scrapfly-langchain-and-ollama)
- [When Should You Use Ollama, Hosted Inference, or Scrapfly Extraction API?](#when-should-you-use-ollama-hosted-inference-or-scrapfly-extraction-api)
- [FAQ](#faq)
- [Which Local LLM Setup Should You Use?](#which-local-llm-setup-should-you-use)
 
    Join the Newsletter  Get monthly web scraping insights 

 

  



Scale Your Web Scraping

Anti-bot bypass, browser rendering, and rotating proxies, all in one API. Start with 1,000 free credits.

  No credit card required  1,000 free API credits  Anti-bot bypass included 

 [Start Free](https://scrapfly.io/register) [View Docs](https://scrapfly.io/docs/onboarding) 

 Not ready? [Get our newsletter](#newsletter-modal) instead. 

 

 

## Related Articles

 [     

 ai 

### 6 Best LangChain Alternatives in 2026: Which One Should You Choose?

Explore the best LangChain alternatives in 2026 for building powerful AI applications. Compare features, performance, an...

 

 ](https://scrapfly.io/blog/posts/top-langchain-alternatives) [     

 ai 

### Guide to Understanding and Developing LLM Agents

Explore how LLM agents transform AI, from text generators into dynamic decision-makers with tools like LangChain for aut...

 

 ](https://scrapfly.io/blog/posts/practical-guide-to-llm-agents) [     

 ai 

### What Is MCP? Understanding the Model Context Protocol

What is MCP? Learn how the Model Context Protocol powers tools like Copilot Studio by giving AI models access to real-ti...

 

 ](https://scrapfly.io/blog/posts/what-is-mcp-understanding-the-model-context-protocol) 

  

## Related Questions

- [ Q How to select any element using wildcard in XPath? ](https://scrapfly.io/blog/answers/how-to-select-elements-of-any-name-using-wildcards-in-xpath)
- [ Q How to use cURL in Python? ](https://scrapfly.io/blog/answers/how-to-use-curl-in-python)
 
  



   



 Scale your web scraping effortlessly, **1,000 free credits** [Start Free](https://scrapfly.io/register)