openclaw z Claude, GPT i Gemini

Dodaj dostawcę OpenAI-compatible do openclaw.json wskazującego na avots, a openclaw uruchomi dowolny model na jednym saldzie.

Pobierz klucz API ✦ Zobacz cennik Docs on GitHub

Connect in three fields

openclaw obsługuje dostawców zgodnych z OpenAI. Dodaj avots w openclaw.json i ustaw go jako model domyślny.

FieldValue
Base URLhttps://api.avots.ai/openai/v1
API keyav_mcp_… · get your key
Modelanthropic/claude-sonnet-4.6 or any id from the table below

Setup

1. Edytuj openclaw.json

Otwórz ~/.openclaw/openclaw.json i dodaj dostawcę pod models.providers z bazowym adresem URL avots.

2. Ustaw klucz

export AVOTS_API_KEY=av_mcp_YOUR_KEY i odwołuj się do niego jako ${AVOTS_API_KEY} w konfiguracji.

3. Wybierz model domyślny

Ustaw agents.defaults.model.primary na avots/claude-sonnet-4.6 (providerKey/model id).

~/.openclaw/openclaw.json
{
  agents: { defaults: { model: { primary: "avots/claude-sonnet-4.6" } } },
  models: {
    providers: {
      avots: {
        baseUrl: "https://api.avots.ai/openai/v1",
        apiKey: "${AVOTS_API_KEY}",
        api: "openai-completions",
        models: [ { id: "anthropic/claude-sonnet-4.6", name: "Claude Sonnet 4.6" } ]
      }
    }
  }
}

Możesz też ponownie wykorzystać wbudowanego dostawcę openai, ustawiając jego baseUrl i apiKey, lub OPENAI_BASE_URL / OPENAI_API_KEY. openclaw szybko się zmienia, więc sprawdź docs.openclaw.ai, jeśli nazwa klucza się zmieniła.

Example request

curl
curl https://api.avots.ai/openai/v1/chat/completions \
  -H "Authorization: Bearer av_mcp_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-4.6",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Model and MCP tools in one config

openclaw keeps the chat provider and MCP servers in the same file, so you paste both at once and get Claude, GPT and Gemini plus the avots creative tools (image, video, audio, talking avatars) on one av_mcp_ key. You save it yourself, nothing is added automatically.

~/.openclaw/openclaw.json, model + MCP tools
{
  agents: { defaults: { model: { primary: "avots/claude-sonnet-4.6" } } },
  models: {
    providers: {
      avots: {
        baseUrl: "https://api.avots.ai/openai/v1",
        apiKey: "${AVOTS_API_KEY}",
        api: "openai-completions",
        models: [ { id: "anthropic/claude-sonnet-4.6", name: "Claude Sonnet 4.6" } ]
      }
    }
  },
  mcp: {
    servers: {
      avots: {
        url: "https://mcp.avots.ai/",
        transport: "streamable-http",
        headers: { Authorization: "Bearer ${AVOTS_API_KEY}" }
      }
    }
  }
}

MCP setup guide →

Models and prices

Set the model field to any id below, or a lazy name like claude / gpt / gemini that maps to a sensible default.

ModelBest for⚡ / 1M tokens (in / out)
openai/gpt-5.5-proMax intelligence, hardest tasks60 000 / 360 000
anthropic/claude-opus-5Top Claude, long reasoning10 000 / 50 000
anthropic/claude-sonnet-4.6Balanced (default)6 000 / 30 000
google/gemini-3.1-pro-previewFresh Gemini Pro4 000 / 24 000
google/gemini-2.5-proStable Gemini Pro2 500 / 20 000
anthropic/claude-haiku-4.5Fast Claude2 000 / 10 000
deepseek/deepseek-r1Cheap reasoning1 400 / 5 000
google/gemini-2.5-flashFast and cheap600 / 5 000
openai/gpt-5-miniCheap OpenAI500 / 4 000
openai/gpt-oss-120b:freeFree (OpenAI open model, needs a positive balance)Free

* Price in ⚡ per 1,000,000 tokens, input / output (1000⚡ ≈ $1). Free models need a positive balance. Full list via GET /openai/v1/models.

openclaw z Claude, GPT i Gemini

Generate an av_mcp_ key in Settings, paste three fields, and reach 40+ models on one balance. The same key works for MCP.

Pobierz klucz API ✦
FAQ

Pytania

Gdzie umieścić dostawcę?
Pod models.providers w ~/.openclaw/openclaw.json. Model domyślny to agents.defaults.model.primary.
Jakiej wartości api użyć?
Użyj "openai-completions" dla endpointu zgodnego z OpenAI, takiego jak avots.
Czy mogę użyć zmiennych środowiskowych?
Tak, wbudowany dostawca openai odczytuje OPENAI_BASE_URL i OPENAI_API_KEY.
Jak naliczane są opłaty?
Za żądanie z Twojego salda avots.
Does it support function calling and tools?
Yes. The endpoint forwards the standard OpenAI tools, tool_choice and parallel_tool_calls fields (and the legacy functions/function_call), in both streaming and non-streaming mode, so agent frameworks like LangChain, LlamaIndex, Langflow and n8n get real tool_calls back. Whether a given request uses tools depends on the model you pick: Claude, GPT and Gemini all support function calling.

Inne klienty

OpenAI-compatible API

avots speaks the OpenAI API. Any app that talks to ChatGPT through base URL, key and model…

Open WebUI with Claude, GPT and Gemini

Add avots under Connections as an OpenAI API provider, and every avots model shows up in y…

LibreChat with Claude, GPT and Gemini

Add one custom endpoint block to librechat.yaml and avots appears as a provider with every…

Cursor with Claude, GPT and Gemini

Override the OpenAI base URL in Cursor Settings, Models, paste your av_mcp_ key, add a mod…

Python openai SDK with avots

Pass base_url and your av_mcp_ key to the official openai Python client, then call any mod…

Hermes with Claude, GPT and Gemini

Set the OpenAI base URL and your av_mcp_ key in Hermes, pick a model, and it runs on avots…

Cline with Claude, GPT and Gemini

Pick OpenAI Compatible in Cline settings, paste the avots base URL and your av_mcp_ key, t…

Continue.dev with Claude, GPT and Gemini

Add one models entry to Continue config.yaml with provider openai and the avots base URL, …

Aider with Claude, GPT and Gemini

Export two environment variables and launch Aider with an openai/ model prefix, and the CL…

SillyTavern with Claude, GPT and Gemini

Choose Custom (OpenAI-compatible) as the Chat Completion source in SillyTavern, paste the …

AnythingLLM with Claude, GPT and Gemini

Choose Generic OpenAI as the LLM provider in AnythingLLM, fill the avots base URL, key, mo…

Node.js openai SDK with avots

Pass baseURL and your av_mcp_ key to the official openai client, then call any model by id…

Chatbox with Claude, GPT and Gemini

Add a custom OpenAI API compatible provider in Chatbox, paste the avots host and your av_m…

Pobierz klucz