Models & Providers

Testy Claw supports any model that can call tools via a function-calling API. Configure the provider and model in your config file.

Supported providers

ProviderKeyEnv varNotes
OpenAI"openai"OPENAI_API_KEYDefault provider
Anthropic"anthropic"ANTHROPIC_API_KEYClaude 3+ required
Mistral"mistral"MISTRAL_API_KEYmistral-large recommended
Groq"groq"GROQ_API_KEYFast inference
Custom"custom"Any OpenAI-compatible API
ModelProviderBest for
gpt-4oopenaiBest overall quality and speed
gpt-4o-miniopenaiFast, cheap, good for simple tasks
claude-3-5-sonnetanthropicExcellent at code and long context
mistral-large-latestmistralStrong European data residency option
llama-3.1-70bgroqFast open-source option

Custom / self-hosted provider

Any OpenAI-compatible API (Ollama, LM Studio, vLLM, etc.) works by setting provider: "custom" and baseUrl.

claw.config.ts
export default defineConfig({
  provider: "custom",
  baseUrl: "http://localhost:11434/v1",  // Ollama
  model: "llama3.1",
  apiKey: "ollama",  // Ollama ignores this but the field is required
});
NoteSelf-hosted models must support OpenAI-compatible tool/function calling. Not all local models do — check your model's documentation.