# AI Basic 2 / 8: Model providers and how they differ

> Who builds the model, who runs it, and who bills you? Compare AI providers, from a Codex subscription to local Ollama models, then combine them in iolys.

- Author: Jérôme Giacomini
- Language: en
- Canonical URL: [AI Basic 2 / 8: Model providers and how they differ](https://jeromegiacomini.net/articles/2026/11/30/ai-basic-2-model-providers)
- Published: 2026-11-30
- Last modified: 2026-11-30
- Topics: AI Basic, Artificial intelligence, Visual Studio, iolys

![The iolys logo surrounded by the logos of Claude, OpenAI, Grok, DeepSeek, Ollama, OpenCode, Kiro and OpenRouter.](/media/2026/ai-basic-02-model-providers/images/iolys-fournisseurs-couverture.png)

You pick a model in your IDE. Who built it? Who runs it? And who sends you the bill? Sometimes three different companies are involved.

## Who builds the model, who runs it, and who controls the agent?

Every answer involves three roles. Each one matters for a different reason.

- **The creator trains the model.** Its choices shape what the model can do.
- **The host runs the model.** This is *inference*. Your request goes through the host’s machines, and the host helps determine the price.
- **The harness runs the agent.** This software sends your question to the model. It reads your files and runs your tests within the permissions you give it.

![The creator trains the model. The host runs it. The harness talks to the model and uses the tools in your project.](/media/2026/ai-basic-02-model-providers/images/three-roles-en.svg)

One company can fill all three roles, or several can share them. Here are three setups. The last two use iolys, our Visual Studio extension.

| Your setup | Creator | Host | Harness |
| --- | --- | --- | --- |
| 🟢 Claude Code with a Claude subscription | Anthropic | Anthropic | Claude Code |
| 🟠 DeepSeek through OpenRouter | DeepSeek | Selected by OpenRouter | iolys |
| 🔵 Qwen running locally with Ollama | Alibaba | Your PC | iolys |

*🟢 One company. 🟠 Several companies. 🔵 The model runs on your machine.*

**What does that tell you?** If you’re asking whether a model can do the job, look at the creator. If the code must stay on your machine, look at the host. If you want the agent to work inside your IDE, look at the harness. [How OpenRouter selects a host](https://openrouter.ai/docs/guides/routing/provider-selection)

## What does each provider sell?

| Provider | What you pay for | What to keep in mind |
| --- | --- | --- |
| ![OpenAI](/media/2026/ai-basic-02-model-providers/images/logo-openai.png){.provider-logo aria-hidden=true} OpenAI, ![Claude](/media/2026/ai-basic-02-model-providers/images/logo-claude.png){.provider-logo aria-hidden=true} Anthropic, ![Grok](/media/2026/ai-basic-02-model-providers/images/logo-grok.png){.provider-logo aria-hidden=true} xAI | API usage or a subscription | 🟠 Switching APIs takes work |
| ![Kiro](/media/2026/ai-basic-02-model-providers/images/logo-kiro.png){.provider-logo aria-hidden=true} Kiro, ![GitHub Copilot](/media/2026/ai-basic-02-model-providers/images/logo-copilot.png){.provider-logo aria-hidden=true} Copilot | A subscription | 🟠 Limited credits |
| ![OpenRouter](/media/2026/ai-basic-02-model-providers/images/logo-openrouter.png){.provider-logo aria-hidden=true} OpenRouter | Prepaid credits | 🟠 Fee when you buy credits |
| ![OpenCode](/media/2026/ai-basic-02-model-providers/images/logo-opencode.png){.provider-logo aria-hidden=true} OpenCode | Usage or a subscription | 🟢 You can bring your own key |
| ![Ollama](/media/2026/ai-basic-02-model-providers/images/logo-ollama.png){.provider-logo aria-hidden=true} Ollama | Free to run locally | 🟠 Cloud usage costs extra |
| ![llama.app](/media/2026/ai-basic-02-model-providers/images/logo-llama-app.png){.provider-logo aria-hidden=true} llama.app | Free | 🟢 The model runs on your machine |

The business model shapes the service you get.

- **OpenAI, Anthropic and xAI want you to stay.** They sell access to their models and coding tools, including Codex, Claude Code and Grok Build. The more you rely on features unique to one API, the harder it is to switch.
- **Kiro and Copilot sell a place to work.** You can switch models and keep your workflow. That’s a reason to stay, even if another provider offers the same model for less. [Kiro plans](https://kiro.dev/pricing/) · [Copilot model pricing](https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing)
- **OpenRouter sells choice.** One API key gives you access to multiple providers. When you buy credits by card, the fee is 5.5%, with a minimum of \$0.80. That makes small top-ups proportionally more expensive. [OpenRouter fees](https://openrouter.ai/docs/faq)
- **OpenCode lets you choose how to pay.** Bring your own key, pay as you go with Zen, or use the allowance included in a Go subscription. [Zen](https://opencode.ai/docs/console/models/) · [Go](https://opencode.ai/docs/console/go/)
- **Ollama is free to run locally.** You supply the machine and the electricity. If you select a cloud model, your requests leave your machine even when the IDE connects to `localhost`. [Ollama plans](https://ollama.com/pricing)
- **llama.app is free and open source.** Hugging Face develops it with the `llama.cpp` team. The app helps people discover models in the Hugging Face catalog. [llama.app](https://llama.app/)

## Subscription or API?

With an API, you pay for the tokens you use. With a subscription, you pay a fixed price for a usage allowance.

If you use enough of that allowance, the same tokens can cost more at API rates. The subscription can give you more compute than the monthly fee would buy on the API.

### A Codex example

ChatGPT Plus includes Codex for **\$20 a month**. Suppose one day of coding would cost **\$4** on the API.

| Coding days per month | API | Plus | Cheaper option |
| --- | --- | --- | --- |
| 1 day | \$4 | \$20 | 🟠 API |
| 5 days | \$20 | \$20 | → Tie |
| 20 days | \$80 | \$20 | 🟢 Plus saves \$60 |

**That \$60 difference is the saving at API list prices.** It gives a heavy user a reason to subscribe and stay.

**The catch?** Your workload has to fit within the allowance, and the provider can change the rules. That’s [one reason we built iolys](/articles/2026/11/25/why-we-built-iolys). [Codex limits and credits](https://developers.openai.com/codex/pricing)

*Example using GPT-6.2 Sol at November 30, 2026 prices. Daily usage is 600,000 ordinary input tokens, 200,000 written to cache, 3 million read from cache and 200,000 output tokens.* [Model pricing](https://developers.openai.com/api/docs/models/gpt-6.2-sol)

## Combining providers in Visual Studio

With iolys, I spend more on difficult decisions and less on writing the code.

1. ![OpenAI](/media/2026/ai-basic-02-model-providers/images/logo-openai.png){.provider-logo aria-hidden=true} **Astra, an OpenAI model, draws up the plan.** It compares approaches and identifies the tests we’ll need. A mistake here can mean rewriting the whole implementation.
2. ![DeepSeek](/media/2026/ai-basic-02-model-providers/images/logo-deepseek.png){.provider-logo aria-hidden=true} **DeepSeek writes the code and tests.** It follows the approved plan at a lower cost.
3. **Astra or Claude Opus reviews the changes.** I ask it to look for regressions and missed cases.
4. **A local model creates the commit and opens the pull request.** It runs through Ollama and uses the Git and GitHub tools you authorize. This step uses no inference credits. [Git and GitHub tools in iolys](https://docs.getiolys.com/customization/tools.html)

![Astra plans the work. DeepSeek writes the code and tests. Astra or Claude Opus reviews the changes. After review, a local model running through Ollama uses Git and GitHub to create the commit and open the pull request.](/media/2026/ai-basic-02-model-providers/images/plan-code-review-pr-en.svg)

For a sense of the cost, 100,000 uncached input tokens and 10,000 output tokens on DeepSeek Flash cost about **4 US cents** at peak rates on November 30, 2026. [DeepSeek pricing](https://api-docs.deepseek.com/quick_start/pricing/)

### Connect your providers

Open **Manage Models → Add Provider** in iolys chat and choose a connection.

- **An account** with Claude Code, Codex, Kiro, Kimi Code or Grok Build. iolys launches the provider’s tool.
- **An API key** for OpenAI, Anthropic, Gemini, DeepSeek, Groq, NVIDIA NIM, OpenRouter, OpenCode Zen or OpenCode Go.
- **A team server** through Databricks Model Serving with Unity Catalog or a compatible service.
- **A local model** through Ollama, or llama.app if your version supports it. To read project files, choose a model marked **Tools**.

[Provider connections supported by iolys](https://getiolys.com/providers)

## In short

Check who built the model, who runs it and who bills you. Then spend more on the stages where it makes a difference.

Happy Coding :)

## Further reading

- For a closer look at the cost of reasoning, read [AI Basic 1 / 8 on reasoning effort](/articles/2026/11/25/ai-basic-1-reasoning-effort-levels).
- To try these connections in Visual Studio, visit [getiolys.com](https://getiolys.com/).
