Goose is an open-source AI agent that runs on your machine. It reaches Inferbase as a custom provider over the OpenAI API, so every model your key can use, and auto, is available to it. Goose works through tool calls, and a request that carries tools is routed only to models that support them.
Add the provider file
Download the provider definition into Goose's custom providers directory:
mkdir -p ~/.config/goose/custom_providers
curl -o ~/.config/goose/custom_providers/inferbase.json https://inferbase.ai/integrations/goose/inferbase.jsonOn Windows the directory is %APPDATA%\Block\goose\config\custom_providers\.
Create a key at Gateway › API keys and set it as INFERBASE_API_KEY:
export INFERBASE_API_KEY=inf_your_api_keyThen select Inferbase in goose configure (or in the desktop app's provider settings) and pick a model.
The provider file
{
"name": "inferbase",
"engine": "openai",
"display_name": "Inferbase",
"description": "One OpenAI-compatible API; model auto picks the model for each request",
"api_key_env": "INFERBASE_API_KEY",
"base_url": "https://api.inferbase.ai/v1",
"dynamic_models": false,
"models": [
{ "name": "auto" },
{ "name": "qwen3-coder-480b-a35b-instruct" },
{ "name": "moonshot-kimi-k3" },
{ "name": "zai-glm-5-3" },
{ "name": "deepseek-v4-pro" },
{ "name": "minimax-m3" }
],
"supports_streaming": true,
"requires_auth": true,
"model_doc_link": "https://inferbase.ai/models",
"setup_steps": [
"Create an API key at Gateway > API keys in the Inferbase portal",
"Set it as INFERBASE_API_KEY"
]
}The list holds auto and a few models that do well at tool use. Add any id from GET /v1/models to models to offer it in Goose, or a configuration as config:<slug> to run Goose with that configuration's routing policy, guardrails and request settings.
Run Goose on auto
GOOSE_PROVIDER=inferbase GOOSE_MODEL=auto goose sessionWith auto, the key's routing policy picks the model for the session's first request, and the session stays on that model unless it can no longer serve a request or another model beats it by more than the switching margin; see How routing works. The served model and the decision for every request are in Observability › Logs. To fix a session on one model, name that model instead of auto.
Last updated December 1, 2026.