---
title: "Choose a model provider"
description: "Start with privacy, governance, and runtime constraints. Then open the canonical provider guide and select a model available to that account or local runtime."
sidebar:
  label: "Model Selection"
seo:
  title: "Model Selection Guide"
  description: "Choose the right AI model provider for your workflow. Compare OpenRouter, OpenAI, Ollama, llama.cpp, MLX, and LLM Gateway with setup instructions for each."
---

## Start with the decision you already know [#choose-provider]

Pick the operating constraint first. Choose a specific model only after the provider connection works, because model IDs, access, pricing, and limits change independently.

### Start with the broadest hosted catalog

**OpenRouter.** One account gives you room to compare supported hosted model families before standardizing.

[OpenRouter](/integrations/openrouter)

### Keep existing cloud governance

**AWS, Azure, or Google Cloud.** Use the identity, regional, networking, and billing controls your organization already operates.

[AWS Bedrock](/integrations/aws-bedrock) · [Azure AI Foundry](/integrations/azure-foundry) · [GCP Vertex AI](/integrations/gcp-vertex)

### Use a direct model-provider account

**Choose the provider your team already trusts.** Direct integrations keep credentials, quotas, and support relationships with that provider.

[OpenAI](/integrations/openai) · [DeepSeek](/integrations/deepseek) · [xAI Grok](/integrations/xai) · [Z.ai](/integrations/zai) · [Sakana AI](/integrations/sakana) · [Cerebras](/integrations/cerebras) · [NVIDIA](/integrations/nvidia)

### Keep inference on hardware you control

**Ollama, MLX, or llama.cpp.** Local runtimes avoid a hosted model credential but make your team responsible for models and capacity.

[Ollama](/integrations/ollama) · [MLX](/integrations/mlx) · [llama.cpp](/integrations/llama-cpp)

## Compare provider paths [#provider-directory]

Every row opens the canonical setup guide. No model IDs or prices are duplicated here.

### Hosted providers [#hosted-provider-heading]

Use an account, cloud identity, or gateway credential.

| Provider | Best for | Credential |
| --- | --- | --- |
| [OpenRouter](/integrations/openrouter) | Trying and switching among hosted model families through one account. | `openrouter.apiKey` in config |
| [OpenAI](/integrations/openai) | Teams that want a direct OpenAI account and billing relationship. | `OPENAI_API_KEY` |
| [AWS Bedrock](/integrations/aws-bedrock) | Organizations already governing model access through AWS. | AWS credentials or API key |
| [Azure AI Foundry](/integrations/azure-foundry) | Organizations using Azure identity, networking, and regional controls. | Azure endpoint + credentials |
| [GCP Vertex AI](/integrations/gcp-vertex) | Teams operating model access through a Google Cloud project. | Google Cloud credentials |
| [DeepSeek](/integrations/deepseek) | Direct access to DeepSeek models through a compatible hosted API. | `DEEPSEEK_API_KEY` |
| [xAI Grok](/integrations/xai) | Direct use of Grok models from an xAI account. | `XAI_API_KEY` |
| [Z.ai](/integrations/zai) | Using GLM-family models through a compatible hosted endpoint. | `ZAI_API_KEY` |
| [Sakana AI](/integrations/sakana) | Accounts using supported Sakana AI orchestration models. | `SAKANA_API_KEY` |
| [Cerebras](/integrations/cerebras) | Hosted inference through a Cerebras account. | `CEREBRAS_API_KEY` |
| [NVIDIA](/integrations/nvidia) | Hosted model inference through NVIDIA services. | `NVIDIA_API_KEY` |
| [LLMGateway](/integrations/llmgateway) | Centralized routing, policy, caching, and observability for teams. | `LLMGATEWAY_API_KEY` |

### Local runtimes [#local-provider-heading]

Keep inference on hardware you operate.

| Provider | Best for | Credential |
| --- | --- | --- |
| [Ollama](/integrations/ollama) | The quickest path to private local inference on common platforms. | Ollama host |
| [MLX](/integrations/mlx) | Private local inference optimized for Apple Silicon. | Apple Silicon |
| [llama.cpp](/integrations/llama-cpp) | Portable, configurable GGUF inference on hardware you control. | llama.cpp server |

:::note
This directory is generated from the same provider manifest as the [integrations directory](/integrations).
:::

## Switch models without rewriting setup [#switch-models]

Session

### Try a model now

Use `/model` inside an interactive session, then select a model exposed by the active provider.

Command

### Override one run

Pass `--model <model-id>` when launching Autohand so the saved default remains unchanged.

Default

### Standardize future runs

Set the provider and model in Autohand configuration only after the smallest verification prompt succeeds.

## Validate the choice against your workload [#validate-choice]

1. 01
    
    **Run a representative task**
    
    Use code from the repository and workflow you actually plan to support.
    
2. 02
    
    **Measure the constraints that matter**
    
    Record completion quality, latency, tool use, context handling, and cost or hardware load.
    
3. 03
    
    **Confirm production controls**
    
    Review credential handling, data terms, quotas, regional availability, and fallback behavior.
    

<AcademyCta course="autohand-models" title="Autohand models" blurb="Learn what each Autohand model is for and how to switch between them in the CLI." />

[Compare Autohand-hosted models](/models) [Review provider configuration patterns](/integrations/ai-model-providers) [Plan model cost controls](/guides/cost-optimization)
