Onyx with an OpenAI-Compatible provider

Open Admin Panel, Language Models in Onyx, click Connect on the OpenAI-Compatible card, set API Base URL to https://aigrow.gg/v1 and click Refresh models.

Already have a code? Redeem it on API access, then create a key.

Admin Panel, Language Models, OpenAI-Compatible

API Base URL:   https://aigrow.gg/v1
API Key:        ag_your_key_here
Models Access:  All Users & Agents

Swap ag_your_key_here for a key from API access.

What the film says
  1. Paying list price for Claude?
  2. Claude Opus 5.5, Claude Fable 5.2, GPT-6 Astra, Gemini 4 Argon and Grok 4.7, +4 more models
  3. $1.60 instead of $4.00. Per million input tokens on Claude Opus 5.5.
  4. 9 of 9 models on sale pass the check against the same model at its maker. The results and the script are public: aigrow.gg/ai-api/genuine-models
  5. API credit$100 of API credit for $25. Start today.

Where the setting lives

Open Language Models in Admin PanelClick your profile icon in Onyx, open Admin Panel, Language Models, Self-hosted & Custom and click Connect on the OpenAI-Compatible card.
Enter API Base URL and API KeySet API Base URL to https://aigrow.gg/v1 and paste your AIGROW key into API Key.
Refresh and choose visible modelsClick Refresh models to read https://aigrow.gg/v1/models, tick claude-opus-5.5 and claude-sonnet-5.5, keep Models Access on All Users & Agents and click Connect.

Which model to use

Put the id in exactly as it is written here.

Claude Opus 5.5claude-opus-5.5
The default in every block on this page and a good main model for agent work. Context: 1,000,000 tokens.
Grok 4.7grok-4.7
For a Grok model. It costs less than Opus per token sent and per token received. Context: 500,000 tokens.
GPT-6.1 Solgpt-6.1-sol
For a GPT model. It costs less than Opus per token sent and per token received. Context: 1,050,000 tokens.
Claude Fable 5.2claude-fable-5.2
Costs more per token than Opus. Compare the two on the coding leaderboard before you switch. Context: 1,000,000 tokens.

The price list has every id and its credit rate, Claude API pricing has the list prices, and the coding leaderboard compares the models on coding prompts.

Check that it works

First the key on its own, then Onyx with it.

The key

Ask for the model list. It needs a valid key and costs nothing.

curl https://aigrow.gg/v1/models -H "Authorization: Bearer ag_your_key_here"

A working key gets the list back:

{
  "object": "list",
  "data": [
    { "id": "claude-opus-5.5", "object": "model", ... },
    { "id": "claude-fable-5.2", "object": "model", ... },
    { "id": "claude-fable-5.1", "object": "model", ... },
    { "id": "gpt-6.2-astra", "object": "model", ... },
    { "id": "gpt-6-astra", "object": "model", ... },
    { "id": "claude-sonnet-5.5", "object": "model", ... },
    { "id": "claude-haiku-5.5", "object": "model", ... },
    { "id": "gpt-6.2-sol", "object": "model", ... },
    { "id": "gpt-6.1-sol", "object": "model", ... },
    { "id": "gpt-6.1-terra", "object": "model", ... },
    { "id": "gpt-6-luna", "object": "model", ... },
    { "id": "grok-4.7", "object": "model", ... },
    { "id": "gemini-4-argon", "object": "model", ... },
    { "id": "qwen3.8-max", "object": "model", ... },
    { "id": "kimi-k3.1-pro", "object": "model", ... },
    { "id": "gemini-4-hydrogen", "object": "model", ... },
    { "id": "gemini-4-neon", "object": "model", ... },
    { "id": "gemini-3.8-flash", "object": "model", ... },
    ...
  ],
  "has_more": false
}

Onyx

When you click Connect, Onyx sends a live test request with one selected model before saving. Then open Chat, pick claude-opus-5.5 and send:

Reply with the word ready

Onyx saves the provider and replies in chat:

ready

When it fails

The Onyx errors first, then the answers the endpoint gives any tool.

Named Groups & Agents is unavailable
Select All Users & Agents under Models Access; Named Groups & Agents requires an Onyx Business plan or higher.
My tool says 401 or authentication error
The key is missing or mistyped. Copy it again from API access on the dashboard, and make sure it is sent as the key, not as a model name. A revoked key fails the same way: create a new one and swap it in.
I get 402 or a message about credit
Your balance is empty. Open API access on the dashboard, redeem a code or buy another pack, and the next request goes through. Nothing else needs to change.
It says 404 or Unknown model
The model has to be one the endpoint serves, for example claude-opus-5.5. The provider’s own spellings work too (claude-opus-5-5, anthropic/claude-opus-5.5), but a dated id or any model outside the catalogue is rejected before the request is forwarded, and nothing is billed. Request GET /v1/models with your key for the live list, or read the ids on the price list.
Requests are rejected with 429
The endpoint asked you to slow down. Each 429 carries a retry-after header, and the OpenAI and Anthropic SDKs wait that long and retry on their own. In a loop of your own, wait the seconds it names or send fewer requests at once. A refused request is not billed.
The model is unavailable right now
A 404 that says the model is not available right now means that model is briefly unavailable. Your key and balance are fine. Retry in a moment or send the request to another model.
I get a 503
A temporary error, and it is never charged to your balance. Retry the request; if it keeps failing, reach us through the store and we will look into it. When the error says the answer took too long to complete, the whole answer ran past the time limit: for long answers, send the request with "stream": true. On Claude in the Anthropic format, an answer still unfinished 240 seconds after the request ends with this error.

What does not work through AIGROW

  • Using AIGROW as Onyx's Search / Embedding model, because AIGROW has no /v1/embeddings route; keep Onyx's built-in local embedding model for connector indexing.

  • Live web search inside the model. On /v1/chat/completions and /v1/messages, a web search tool sent with a request is answered from what the model already knows, with no live results, and /v1/responses refuses it. A tool that fetches pages on your own machine still works.

  • Any endpoint past /v1/messages, /v1/chat/completions, /v1/responses, /v1/images, /v1/videos and /v1/models: embeddings, audio and token counting answer 404. The Responses API at /v1/responses serves the GPT models only, without hosted tools or stored conversations.

  • Images: /v1/images/generations and /v1/images/edits take gpt-image-2.6-flare only, one image per request, at 1024x1024, 1024x1536, 1536x1024 or auto, and answer with base64 in b64_json. response_format, n above 1, another size, streaming, or any field beyond model, prompt, n, size, quality, background, output_format, output_compression, moderation and user (and input_fidelity on an edit) answers 400. A client’s own image feature is untested here.

  • Router fields such as models, route, provider and plugins. They are dropped, so a request always goes to the one model it names.

What a month of Onyx costs

Onyx is billed per token at the credit rates in the price list. An agent sends the whole conversation again with each step, so a long task costs more than its last message suggests; the activity log on API access shows what each request cost.

Cap what Onyx can spend

Give Onyx its own keyOn API access, under API keys, create a key named Onyx, so the cap applies to this tool alone.
Set a monthly capEnter an amount in dollars in the monthly cap field as you create the key, or set it later on the key’s row. An empty field means no cap.
What happens at the capOnce the key has spent its cap in the calendar month (UTC), the endpoint answers its requests with a 402 error that names the cap, and Onyx shows it. A request already running finishes, so a month can end a little above the cap. Raise the cap or wait for the 1st; your other keys keep working.

Questions about Onyx and a custom API

Should I pick OpenAI-Compatible or Custom Models (LiteLLM) in Onyx?
Pick OpenAI-Compatible. Onyx's documentation recommends OpenAI-Compatible for any Chat Completions endpoint because it discovers models automatically from /v1/models.
What if /v1 is left off API Base URL?
Onyx adds /v1 when missing, though entering https://aigrow.gg/v1 directly matches the documented form.
Can I limit what Onyx spends?
Yes. Give Onyx its own key on API access and set a monthly cap on it. Once the key has spent its cap in a calendar month (UTC), its requests get a 402 error until the 1st of the next month, and your other keys keep working.

Sources: Onyx Custom Inference Provider (OpenAI-Compatible, API Base URL, API Key, Refresh models, Models Access, All Users & Agents, Connect). Read 18 November 2026.

Set up another tool

  • Open WebUIOpenAI protocol

    Add Connection under Manage OpenAI API Connections, or OPENAI_API_BASE_URL.

  • LibreChatAnthropic and OpenAI protocols

    An entry under endpoints.custom in librechat.yaml, on OpenAI or Anthropic.

  • LobeChatAnthropic and OpenAI protocols

    OPENAI_PROXY_URL and OPENAI_API_KEY (or ANTHROPIC_PROXY_URL) when self-hosting.

  • ChatboxOpenAI protocol

    Model Provider > Add in Settings, with API Host set to the root without /v1.

  • Cherry StudioAnthropic and OpenAI protocols

    + Add Provider under Model Provider, with OpenAI and Anthropic root URLs.

  • JanAnthropic and OpenAI protocols

    Add Custom Provider in Model Providers, on OpenAI-compatible or Anthropic-compatible.

  • MstyOpenAI protocol

    Add Provider in Msty Studio with /v1 endpoint, API key and Fetch Models.

  • AnythingLLMOpenAI protocol

    Generic OpenAI in Settings, with Base URL /v1, context window and Max Tokens.

  • big-AGIOpenAI protocol

    Add another OpenAI-compatible service on the OpenAI entry, then press Models.

  • TypingMindAnthropic and OpenAI protocols

    Add Custom Models with an Authorization header, or set a custom Proxy endpoint.

  • NextChatOpenAI protocol

    OPENAI_API_KEY, BASE_URL (without /v1) and CUSTOM_MODELS in the server env.

  • SillyTavernOpenAI protocol

    Chat Completion with Custom (OpenAI-compatible), /v1 URL and your AIGROW key.

  • Raycast AIOpenAI protocol

    ~/.config/raycast/ai/providers.yaml in Raycast Pro, hot-reloaded on save.

  • Obsidian CopilotOpenAI protocol

    Add a custom provider in Copilot settings, stored in Obsidian Keychain.

  • ChatWiseOpenAI protocol

    Custom OpenAI-compatible provider with API Base URL, API Key and Fetch Models.

  • HuggingChatOpenAI protocol

    OPENAI_BASE_URL, OPENAI_API_KEY and TASK_MODEL in .env.local.

  • KhojOpenAI protocol

    AI Model API with Api Base Url and Api Key, linked to an Openai Chat Model in self-hosted Khoj.

  • ollama-logseqOpenAI protocol

    Base API URL, API token and Models in the ollama-logseq plugin settings.

  • EnconvoAnthropic and OpenAI protocols

    OpenAI Compatible or Anthropic Compatible under Settings, AI Model, Add New Provider.

  • AlterOpenAI protocol

    Add Provider under Settings, API keys, Custom providers with Provider Type Custom.

  • Page AssistOpenAI protocol

    Custom under OpenAI Compatible API, then select Chat Models from /models.

  • ChainlitOpenAI protocol

    AsyncOpenAI(base_url=..., api_key=...) with cl.instrument_openai() in app.py.

  • WitsyAnthropic and OpenAI protocols

    Create Custom Engine with API Specification OpenAI, or Anthropic API Base URL.

  • GPT4AllOpenAI protocol

    Models, Add Model, Remote Providers, Custom with API Key, Base Url and Model Name.

  • PerplexicaOpenAI protocol

    OpenAI provider with Base URL and API Key in Settings, Models, plus custom Chat Models.

  • Home AssistantOpenAI protocol

    Extended OpenAI Conversation custom component with Base Url and API Key.

  • Zotero GPTOpenAI protocol

    /secretKey, /api and /model commands inside the Zotero GPT input bar.

  • JanitorAIOpenAI protocol

    A proxy configuration with the full /v1/chat/completions URL and your AIGROW key.

  • 5ireOpenAI protocol

    An OpenAI Compatible provider whose Endpoint is the /v1 base, with your AIGROW key and model ids.

  • BoltAIOpenAI protocol

    A Custom provider with Friendly Name, API Key (Optional) and a Base URL that ends in /v1.

  • ChatGPTBoxOpenAI protocol

    A Custom Model API mode with its own provider whose API Url is the full Chat Completions address.

  • DeepChatOpenAI protocol

    A Custom Provider with API Type OpenAI Completions, an API Base URL that ends in /v1 and your key.

  • HARPA AIOpenAI protocol

    A Custom API key card with the proxy URL on the bare origin and the path /v1/chat/completions.

  • Smart Composer for ObsidianAnthropic and OpenAI protocols

    An OpenAI Compatible provider with Base URL and API Key, then a custom chat model with your Model Name.

  • Text Generator for ObsidianOpenAI protocol

    Provider Profile OpenAI Chat (Langchain) with API Key, Base Path ending in /v1 and your Model.

  • Wave TerminalOpenAI protocol

    A custom mode in waveai.json with ai:apitype openai-chat, the full ai:endpoint and a secret for the key.

All 177 setup guides

The API guide has the SDKs, curl, the endpoints and the error codes.

Paste the block and Onyx runs on your credit.

Buy a credit pack, redeem the code from your email on API access, create a key and put it in place of ag_your_key_here.