# Model provider

> The company or service hosting the language model an agent calls: Anthropic, OpenAI, Google, xAI, Mistral, Moonshot and others.

_Updated November 23, 2026_

Some agents are tied to one provider (Claude Code to Anthropic, Codex to OpenAI). Others, such as OpenCode, Goose and Pi, can drive models from many providers, including local ones.

Separating the agent from the provider gives you choices: keep your favorite harness and change models, or keep your model and try another harness.

## Keep reading

- [Agent harness](https://envhaven.com/glossary/agent-harness)
- [OpenAI-compatible API](https://envhaven.com/glossary/openai-compatible-api)
- [Bring your own key (BYOK)](https://envhaven.com/glossary/byok)

Source: https://envhaven.com/glossary/model-provider
