> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent-mintlify-f21cea86.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Local model optimization and setup

> Choose and configure a runnable local model for your hardware.

Preview a hardware-aware recommendation and setup command:

```bash theme={null}
arka model-optimizer recommend
arka model-optimizer setup --backend ollama
```

Apply the provider configuration explicitly with `--apply`:

```bash theme={null}
arka model-optimizer setup --backend ollama --apply
```

Use `vllm` for a configured GPU server or `lmstudio` for its OpenAI-compatible
desktop server. Arka does not download weights or start services implicitly.
It prints the next command so setup remains explicit and reversible.

For deployment previews, Arka supports Vercel, Netlify, Railway, Render,
Hugging Face Spaces, Cloudflare Workers, and GitHub Pages:

```bash theme={null}
arka deploy --platform huggingface --json
```


## Related topics

- [Prompt optimization](/guides/prompt-optimization.md)
- [Research optimization](/guides/optimization.md)
- [Easy AI model hosting setup](/guides/model-hosting.md)
- [Arka — AI terminal agent documentation](/index.md)
- [Configuration, env vars, and API key setup](/reference/configuration.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.