Jupyter AI (Jupyternaut) with a custom api_base
Install jupyter-ai[jupyternaut], open Jupyternaut settings, add OPENAI_API_KEY in Secrets and API keys and a model under Custom models with Model ID (LiteLLM) openai/claude-opus-5.5 and Parameter api_base set to https://aigrow.gg/v1.
Already have a code? Redeem it on API access, then create a key.
Jupyternaut settings > Custom models & Secrets and API keys
Model name: AIGROW
Model ID (LiteLLM): openai/claude-opus-5.5
Parameter: api_base
Value: https://aigrow.gg/v1
Secret name: OPENAI_API_KEY
Secret value: ag_your_key_hereSwap ag_your_key_here for a key from API access.

What the film says
- Paying list price for Claude?
- Claude Opus 5.5, Claude Fable 5.2, GPT-6 Astra, Gemini 4 Argon and Grok 4.7, +4 more models
- $1.60 instead of $4.00. Per million input tokens on Claude Opus 5.5.
- 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
- API credit$100 of API credit for $25. Start today.
Where the setting lives
- JupyterLab chat panel settings view
Jupyternaut settings- Workspace root secrets file
.env- Server data directory (jupyter_data_dir()/jupyter_ai/)
config.json
Use the Anthropic Messages API instead
Prefix Model ID (LiteLLM) with anthropic/ so LiteLLM uses the Messages API, set api_base to https://aigrow.gg without /v1, and store your AIGROW key as ANTHROPIC_API_KEY under Secrets and API keys.
Model name: AIGROW Anthropic
Model ID (LiteLLM): anthropic/claude-opus-5.5
Parameter: api_base
Value: https://aigrow.gg
Secret name: ANTHROPIC_API_KEY
Secret value: ag_your_key_herePreconfigure custom_models and api_keys in config.json
Jupyternaut reads jupyter_ai/config.json inside jupyter_data_dir() on startup. Writing custom_models and api_keys there seeds the model picker without opening the UI.
{
"custom_models": [
{
"name": "AIGROW",
"model_id": "openai/claude-opus-5.5",
"params": {
"api_base": "https://aigrow.gg/v1"
}
}
],
"api_keys": {
"OPENAI_API_KEY": "ag_your_key_here"
}
}Call AIGROW from notebook cells with %%ai magics
Install pip install 'jupyter-ai[magics]' and put OPENAI_API_KEY in .env at the workspace root. Load jupyter_ai_magic_commands, register an alias with --api-base, and invoke it with %%ai.
# Cell 1
%load_ext jupyter_ai_magic_commands
%ai alias aigrow openai/gpt-6.1-sol --api-base https://aigrow.gg/v1
# Cell 2
%%ai aigrow
Reply with the word readyWhich model to use
Put the id in exactly as it is written here.
- Claude Opus 5.5
claude-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.7
grok-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 Sol
gpt-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.2
claude-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 Jupyter AI 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"{
"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
}Jupyter AI
Open a chat in JupyterLab, select Jupyternaut and your saved AIGROW entry in the chat model picker, and send:
Reply with the word readyreadyWhen it fails
The Jupyter AI errors first, then the answers the endpoint gives any tool.
- "No chat model is configured." or Jupyternaut missing from personas
- Base jupyter-ai 3.2 only installs ACP client extensions. Install pip install 'jupyter-ai[jupyternaut]', restart jupyter lab, save an entry under Custom models, and select it in the chat model picker instead of leaving Default active.
- 404 {"error":"Not found"} or ignored base_api parameter
- Jupyter AI's vLLM page prints base_api, whereas Jupyternaut's schema and LiteLLM read api_base. Set Parameter to api_base and Value to https://aigrow.gg/v1 for openai/claude-opus-5.5 (LiteLLM appends /chat/completions) or https://aigrow.gg for anthropic/claude-opus-5.5 (LiteLLM appends /v1/messages).
- "Model ID '...' is not a known model or alias. Run '%ai list' to see available models and aliases."
- The %%ai cell magic rejects direct model IDs outside LiteLLM's static CHAT_MODELS table. Register the model first with %ai alias aigrow openai/claude-opus-5.5 --api-base https://aigrow.gg/v1, then call %%ai aigrow.
- 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
When using anthropic/claude-opus-5.5 over the Messages API, do not add a temperature other than 1, top_p or top_k with Add parameter; AIGROW refuses those sampling fields on Messages requests.
AIGROW does not serve /v1/embeddings or audio endpoints, so embeddings_provider_id cannot point at AIGROW.
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 Jupyter AI costs
Jupyter AI 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 Jupyter AI can spend
Questions about Jupyter AI and a custom API
- Why does pip install jupyter-ai not show Jupyternaut settings?
- Starting in Jupyter AI 3.x, the base jupyter-ai package installs ACP adapters for external CLI agents only. Direct LiteLLM endpoints live in the optional extra pip install 'jupyter-ai[jupyternaut]'.
- Does Jupyternaut fetch GET /v1/models from AIGROW automatically?
- No. The built-in dropdown comes from LiteLLM's static model_cost catalog. Defining an entry under Custom models places any AIGROW model id (such as openai/claude-opus-5.5) at the top of the chat model picker.
- Where does Jupyter AI store OPENAI_API_KEY and ANTHROPIC_API_KEY?
- Adding a key in Secrets and API keys writes it to the .env file in your JupyterLab workspace root. You can also export OPENAI_API_KEY or ANTHROPIC_API_KEY in the server shell environment before starting jupyter lab.
- Can I limit what Jupyter AI spends?
- Yes. Give Jupyter AI 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: Jupyter AI Jupyter AI pyproject.toml (jupyternaut and magics optional extras) · Jupyter AI Jupyter AI Getting Started at v3.2.0 (jupyter lab, Chat launcher) · Jupyter AI Jupyternaut index.ts (Jupyternaut settings command and tab label) · Jupyter AI Jupyternaut settings-button.tsx (Open Jupyternaut settings toolbar button) · Jupyter AI Jupyternaut chat-settings.tsx (Custom models and Secrets and API keys headings) · Jupyter AI Jupyternaut custom-models-input.tsx (Add a custom model, Model ID (LiteLLM), Add parameter, Parameter, Value, Save custom models) · Jupyter AI Jupyternaut E2E test-helpers.ts (Add a custom model, Model name, Model ID (LiteLLM), Add parameter, Parameter, Value) · Jupyter AI Jupyternaut secrets-section.tsx and secrets-input.tsx (Add secret, Secret name, Secret value, .env) · Jupyter AI Jupyternaut secrets-section.tsx (.env workspace root secrets) · Jupyter AI Jupyternaut config_models.py (custom_models, model_id, params, api_keys, OPENAI_API_KEY, embeddings_provider_id) · Jupyter AI Jupyternaut parameter_schemas.py (api_base, temperature, top_p, top_k) · Jupyter AI Jupyternaut config_manager.py (DEFAULT_CONFIG_PATH jupyter_ai/config.json) · Jupyter AI Jupyternaut jupyternaut.py (ChatLiteLLM, No chat model is configured.) · Jupyter AI LiteLLM Anthropic Provider Docs (anthropic/ model prefix, ANTHROPIC_API_KEY, api_base) · Jupyter AI jupyter_ai_magic_commands magics.py (%ai alias, %%ai, CHAT_MODELS lookup) · Jupyter AI jupyter_ai_magic_commands parsers.py (--api-base, --api-key-name, alias subcommand). Read 18 November 2026.
Set up another tool
- Claude CodeAnthropic protocol
Four environment variables, in the shell or in settings.json.
- Codex CLIOpenAI protocol
A model provider in ~/.codex/config.toml with wire_api "responses", for GPT models.
- ClineOpenAI protocol
The OpenAI Compatible provider, four fields in the settings screen.
- Roo CodeOpenAI protocol
The OpenAI Compatible provider, the same fields as Cline.
- Kilo CodeOpenAI protocol
A custom provider in the Providers tab; the model list fills itself.
- ContinueOpenAI protocol
A models entry in config.yaml, with provider openai and an apiBase.
- AiderOpenAI protocol
OPENAI_API_BASE and OPENAI_API_KEY, then openai/ before the model id.
- OpenCodeOpenAI protocol
A providers entry in opencode.jsonc and the key in AIGROW_API_KEY.
- ZedAnthropic and OpenAI protocols
An Anthropic compatible provider for Claude, an OpenAI compatible one for GPT and Grok.
- GooseOpenAI protocol
The OpenAI provider with OPENAI_HOST, or a custom provider file.
- OpenClawOpenAI protocol
A custom provider in openclaw.json with api set to openai-completions.
- GitHub Copilot in VS CodeAnthropic and OpenAI protocols
The Custom Endpoint provider in chatLanguageModels.json, for chat and agent mode.
- Qwen CodeOpenAI protocol
Three OPENAI_* variables in the shell, or modelProviders in ~/.qwen/settings.json.
- CrushAnthropic and OpenAI protocols
provider add and model add in ~/.config/crush/crushrc, on completions or messages.
- Factory DroidAnthropic and OpenAI protocols
customModels in ~/.factory/settings.json with generic-chat-completion-api or anthropic.
- AmpAnthropic and OpenAI protocols
A Custom URL connection in Model Routing, available on every Amp tier.
- WarpOpenAI protocol
A custom inference endpoint in Warp Settings for local Warp Agent runs.
- TraeAnthropic and OpenAI protocols
Add Model > Custom Model, on OpenAI Chat Completions or Anthropic Messages.
- OpenHandsOpenAI protocol
Advanced mode under Settings > LLM, with openai/<model> and Base URL.
- Hermes AgentOpenAI protocol
hermes model or ~/.hermes/config.yaml with provider: custom and key_env.
- PiOpenAI protocol
A provider in ~/.pi/agent/models.json with api set to openai-completions.
- TabbyOpenAI protocol
[model.chat.http] with kind = "openai/chat" in ~/.tabby/config.toml, for chat.
- JetBrains AI AssistantOpenAI protocol
OpenAI-compatible under Third-party AI providers, with URL and API Key.
- Claude DesktopAnthropic protocol
Third-party inference Gateway in Developer Mode or managed-settings.json.
- avante.nvimAnthropic and OpenAI protocols
providers.claude with endpoint and api_key_name, or an inherited openai provider.
- gptelAnthropic and OpenAI protocols
gptel-make-openai or gptel-make-anthropic with :host in init.el.
- LLMOpenAI protocol
llm keys set and llm openai endpoint add, or extra-openai-models.yaml.
- Shell GPTOpenAI protocol
API_BASE_URL, OPENAI_API_KEY and DEFAULT_MODEL in ~/.config/shell_gpt/.sgptrc.
- AIChatAnthropic and OpenAI protocols
type: openai-compatible or type: claude with api_base in config.yaml.
- gptmeOpenAI protocol
[[providers]] with name, base_url and api_key_env in config.toml.
- bolt.diyOpenAI protocol
OPENAI_LIKE_API_BASE_URL and OPENAI_LIKE_API_KEY in .env.local or OpenAILike settings.
- Refact.aiAnthropic and OpenAI protocols
Custom provider with Chat Endpoint and Wire Format in Configure Providers.
- CodeCompanion.nvimAnthropic and OpenAI protocols
extend('openai_compatible') with env.url and env.api_key in Neovim.
- FabricAnthropic and OpenAI protocols
ANTHROPIC_API_BASE_URL or OPENAI_API_BASE_URL with --disable-responses-api.
- ModsAnthropic and OpenAI protocols
apis.<name> with base-url, api-key-env and models in mods.yml.
- PlandexOpenAI protocol
plandex models custom with providers[].baseUrl and apiKeyEnvVar.
- Theia AIAnthropic and OpenAI protocols
ai-features.openAiCustom.customOpenAiModels or anthropicCustom in settings.json.
- Kilo CLIOpenAI protocol
provider.openai-compatible in ~/.config/kilo/kilo.jsonc, then kilo run.
- AI ShellOpenAI protocol
OPENAI_KEY, OPENAI_API_ENDPOINT and MODEL in ~/.ai-shell or via ai config set.
- AI CommitsOpenAI protocol
provider, OPENAI_API_KEY, OPENAI_BASE_URL and OPENAI_MODEL in ~/.aicommits.
- ChatbladeOpenAI protocol
OPENAI_API_KEY, OPENAI_API_MODEL and --openai-base-url for Chatblade on the command line.
- chatgpt-shellAnthropic and OpenAI protocols
chatgpt-shell-api-url-base, chatgpt-shell-openai-key and chatgpt-shell-models in Emacs init.el.
- EllamaOpenAI protocol
ellama-provider and make-llm-openai-compatible with :url, :key and :chat-model in Emacs.
- fish-aiOpenAI protocol
provider = self-hosted, server, model and api_key in ~/.config/fish-ai.ini.
- ForgeOpenAI protocol
OPENAI_URL, OPENAI_API_KEY and openai_compatible in .env or ~/.forge/.forge.toml.
- HolmesGPTAnthropic and OpenAI protocols
OPENAI_API_BASE, OPENAI_API_KEY, MODEL and TEMPERATURE=none, or api_base in ~/.holmes/config.yaml.
- IronClawOpenAI protocol
provider_id, base_url, model and api_key_env under [llm.default] in ~/.ironclaw/reborn/config.toml.
- iTerm2 AIAnthropic and OpenAI protocols
URL, API, API key and Supports temperature under Settings > General > AI > Manage AI Models.
- K8sGPTAnthropic and OpenAI protocols
baseurl, password and model under ai.providers in k8sgpt.yaml, or --baseurl on k8sgpt auth add.
- kubectl-aiOpenAI protocol
OPENAI_ENDPOINT and OPENAI_API_KEY in the shell, plus llmProvider and model in config.yaml.
- llm.nvimOpenAI protocol
url, model, api_type and fetch_key in require("llm").setup() for Kurama622/llm.nvim.
The API guide has the SDKs, curl, the endpoints and the error codes.
Paste the block and Jupyter AI 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.