The iolys logo surrounded by the logos of Claude, OpenAI, Grok, DeepSeek, Ollama, OpenCode, Kiro and OpenRouter.

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.

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

What does each provider sell?

Provider What you pay for What to keep in mind
OpenAI, Anthropic, xAI API usage or a subscription 🟠 Switching APIs takes work
Kiro, Copilot A subscription 🟠 Limited credits
OpenRouter Prepaid credits 🟠 Fee when you buy credits
OpenCode Usage or a subscription 🟢 You can bring your own key
Ollama Free to run locally 🟠 Cloud usage costs extra
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 · Copilot model 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
  • 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 · 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
  • 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

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. Codex limits and credits

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

Combining providers in Visual Studio

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

  1. 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 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

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.

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

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

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