Set up Claude Code, OpenCode or any SDK on AIGROW credit

A short, plain setup for the AIGROW endpoint. Redeem your code, create a key, point any OpenAI- or Anthropic-compatible tool at the base URL, and send a request. No SDK of ours to install.

Works with Claude Code, Cline, Aider, OpenCode, Zed, the OpenAI and Anthropic SDKs, and curl.

The AIGROW API endpoint is a drop-in replacement for the OpenAI and Anthropic APIs. Use https://aigrow.gg as the Anthropic base URL or https://aigrow.gg/v1 as the OpenAI base URL, authenticate with your ag_ key, and send the exact model id from the catalogue. Credit arrives by redeeming the code from your receipt on the dashboard.

Setting it up with an AI agent

Most people hand this to a coding agent. Paste the block into Claude Code, Cursor, Cline or any agent and it configures itself, then replace the key with one of yours.

AIGROW API gateway: an OpenAI- and Anthropic-compatible endpoint.
Configure a client with ONE of these two wires. The key starts with ag_.

Anthropic wire
  base URL   https://aigrow.gg            (the SDK appends /v1/messages)
  header     x-api-key: ag_your_key_here  (or Authorization: Bearer ag_your_key_here)
  header     anthropic-version: 2023-06-01
  body       max_tokens is required on every request

OpenAI wire
  base URL   https://aigrow.gg/v1         (POST /chat/completions)
  header     Authorization: Bearer ag_your_key_here

Model ids: claude-opus-5.5, claude-fable-5.2, claude-fable-5.1, gpt-6.2-astra, gpt-6-astra, claude-sonnet-5.5, claude-haiku-5.5, gpt-6.2-sol, gpt-6.1-sol, gpt-6.1-terra, gpt-6-luna, grok-4.7, gemini-4-argon, qwen3.8-max, kimi-k3.1-pro, gemini-4-hydrogen, gemini-4-neon, gemini-3.8-flash
OpenAI wire only: grok-4.7, gemini-4-argon, qwen3.8-max, kimi-k3.1-pro, gemini-4-hydrogen, gemini-3.8-flash, gemini-4-neon
The provider's own spellings work too (claude-opus-5-5, anthropic/claude-opus-5.5).
A date suffix or any other model is rejected with 404 "Unknown model" before
the request is forwarded, and nothing is billed.
Claude Code: also set ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-sonnet-5.5, since its
background calls default to a Haiku model the endpoint may not serve.
Call GET /v1/models with the key for the live list of ids.

Endpoints: POST /v1/messages (Anthropic), POST /v1/chat/completions (OpenAI),
GET /v1/models. Streaming is supported on both wires.
POST /v1/responses (OpenAI Responses) serves the GPT models only, for Codex
CLI: send the whole conversation with store false; previous_response_id and
hosted tools such as web search are refused with 400.
Images: POST /v1/images/generations (JSON) and POST /v1/images/edits
(multipart) take gpt-image-2.6-flare, one image per request.
Videos: POST /v1/videos (JSON) takes grok-imagine-video-1.5; read
GET /v1/videos/{id} until status is completed, then download
GET /v1/videos/{id}/content within the hour.
A request the endpoint cannot take right now gets 429 with a retry-after
header; wait that long and send it again.
Full guide: https://aigrow.gg/ai-api/guide

It carries both wires, the header names, the exact-id rule and the limits, which is everything an agent gets wrong on the first try.

Redeem your code

This is the only step unique to AIGROW. It takes under a minute.

Sign in to the dashboardOpen aigrow.gg/dashboard and sign in, or create an account with any email address. The code is not tied to the address you paid with.1 minute
Paste your codeGo to API access, paste the code from your redemption email into Redeem a code, and your balance updates at once.Instant
Create a keyStill on API access, create a key. It starts with ag_ and is shown once, so copy it straight into your tool.Shown once

The two things every tool needs

A base URL and your key. Pick the base URL that matches the tool.

Anthropic base URL

For Claude Code, Claude Desktop and the Anthropic SDK.

https://aigrow.gg
OpenAI base URL

For Cline, Aider, OpenCode, the OpenAI SDK and most other tools.

https://aigrow.gg/v1

Send the model id exactly as the catalogue lists it, for example claude-opus-5.5. The price list has every id and what it costs, or request GET /v1/models with your key for the live list.

Connect your tool

Each tool has its own page: the exact block, where it goes, which model id to send and what each error means.

Coding agents and editors

  • 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.

  • Jupyter AIAnthropic and OpenAI protocols

    api_base, Model ID (LiteLLM) and OPENAI_API_KEY in Jupyternaut settings, .env or config.json.

  • 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.

  • ChatGPT.nvimOpenAI protocol

    api_host_cmd, api_key_cmd and openai_params.model in require("chatgpt").setup.

  • Claude Code RouterAnthropic and OpenAI protocols

    A custom provider in CCR with your AIGROW key, then Claude Code launched from an Agent Config profile.

  • CopilotChat.nvimOpenAI protocol

    A custom provider with get_url, get_headers, get_models and Copilot's prepare_input in setup().

  • gp.nvimAnthropic and OpenAI protocols

    providers.anthropic.endpoint, secret and an agent with your model in require("gp").setup().

  • Grok CLIOpenAI protocol

    GROK_BASE_URL, GROK_API_KEY and GROK_MODEL in the shell that starts grok.

  • Kimi Code CLIAnthropic and OpenAI protocols

    Providers in ~/.kimi-code/config.toml: anthropic on the bare base, openai on /v1, key via api_key_env.

  • mini-swe-agentOpenAI protocol

    A YAML merged over mini.yaml: custom_llm_provider openai, api_base with /v1, cost errors ignored.

  • minuet-ai.nvimAnthropic and OpenAI protocols

    The claude provider with end_point on {anthropic}/v1/messages and api_key set to an environment variable name.

  • parrot.nvimAnthropic and OpenAI protocols

    providers.anthropic with endpoint, model_endpoint, api_key and models in require("parrot").setup.

  • OpenAI completion for Sublime TextAnthropic and OpenAI protocols

    An assistant with url, token, chat_model and api_type "open_ai" in openAI.sublime-settings.

  • tgptOpenAI protocol

    The openai provider with OPENAI_URL set to the full /chat/completions address, your key and a model.

  • twinnyOpenAI protocol

    A Chat provider on the OpenAI-compatible server preset: Hostname, https, API path /v1, Model name, API key.

  • vim-aiOpenAI protocol

    A role in roles.ini with options.endpoint_url on /chat/completions, options.model and a token file.

  • Xcode IntelligenceOpenAI protocol

    An Internet Hosted chat provider: URL without /v1, API Key, empty API Key Header, Description.

Chat apps

  • 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.

  • OnyxOpenAI protocol

    OpenAI-Compatible card under Admin Panel, Language Models, Self-hosted & Custom.

  • 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.

Automation and no-code

  • DifyOpenAI protocol

    The OpenAI-API-compatible Marketplace plugin with Type LLM and Chat mode.

  • FlowiseOpenAI protocol

    ChatOpenAI Custom with an OpenAI API credential and Base Path under Additional Parameters.

  • LangflowOpenAI protocol

    OpenAI Compatible in Settings > Model Providers, or OPENAI_COMPATIBLE_* env vars.

  • ActivepiecesOpenAI protocol

    Other (OpenAI Compatible) in Platform Admin, AI, Providers, with Bearer in API key.

  • n8nAnthropic and OpenAI protocols

    OpenAI credential Base URL with Use Responses API off, or Anthropic credential Base URL.

  • WindmillOpenAI protocol

    Custom AI (customai) resource with base_url and api_key in Windmill AI workspace settings.

  • Node-RED OpenAI APIOpenAI protocol

    @inductiv/node-red-openai-api Service Host with API Base and create chat completion.

  • Coze StudioOpenAI protocol

    Add Model on the OpenAI provider card, with your key and a Base URL that ends in /v1.

  • FastGPTOpenAI protocol

    An OpenAI protocol channel with a Base url ending in /v1, plus each AIGROW id added as a model.

  • MaxKBOpenAI protocol

    An OpenAI provider model with API URL ending in /v1, your key and the model id typed as Base Model.

  • PipedreamOpenAI protocol

    A Node.js code step with the openai package, baseURL set to AIGROW and the key in a secret variable.

  • RivetOpenAI protocol

    The OpenAI Endpoint setting takes the full address ending in /chat/completions; Custom Model takes the id.

  • TypebotOpenAI protocol

    An OpenAI account credential with your key and a Base URL ending in /v1, used by Create chat completion.

  • VoiceflowOpenAI protocol

    An API tool that posts JSON to the chat completions address, with your key kept as a Restricted secret.

  • AI Engine for WordPressOpenAI protocol

    A Custom (OpenAI-Compatible) environment with your key and an Endpoint that ends in /v1.

  • ZapierOpenAI protocol

    A Webhooks by Zapier Custom Request that posts JSON to the chat completions address with your key as a header.

Frameworks and SDKs

  • Vercel AI SDKAnthropic and OpenAI protocols

    The OpenAI Compatible provider for every model, or the Anthropic provider for Claude.

  • OpenAI Agents SDKOpenAI protocol

    Your own AsyncOpenAI client, switched to chat completions, with tracing off.

  • LangChainAnthropic and OpenAI protocols

    ChatOpenAI with base_url for every model, or ChatAnthropic for Claude.

  • LlamaIndexOpenAI protocol

    OpenAILike from llama-index-llms-openai-like with is_chat_model=True.

  • CrewAIAnthropic and OpenAI protocols

    LLM(custom_openai=True, base_url=...) for every model, or native anthropic/.

  • AutoGen (AG2)OpenAI protocol

    LLMConfig with api_type "openai" and base_url in ag2[openai].

  • Pydantic AIAnthropic and OpenAI protocols

    OpenAIChatModel with OpenAICompatibleProvider, or AnthropicProvider with AsyncAnthropic.

  • DSPyOpenAI protocol

    dspy.LM("openai/<model>", api_base=..., api_key=...) with dspy.configure.

  • MastraAnthropic and OpenAI protocols

    A model config object with id, url and apiKey on Mastra’s Agent.

  • HaystackOpenAI protocol

    OpenAIChatGenerator with api_base_url and Secret.from_env_var.

  • Semantic KernelOpenAI protocol

    AddOpenAIChatCompletion with endpoint: new Uri(...) and SKEXP0010 in .NET.

  • LiteLLMOpenAI protocol

    model="openai/<id>" with api_base and api_key in the Python SDK or Proxy config.yaml.

  • smolagentsOpenAI protocol

    OpenAIModel(model_id, api_base, api_key) for CodeAgent and ToolCallingAgent.

  • AgnoAnthropic and OpenAI protocols

    OpenAILike(id, base_url, api_key) for every model, or Claude with client_params.

  • Google ADKAnthropic and OpenAI protocols

    LiteLlm(model="openai/<id>", api_base=...) or AnthropicLlm in Python, openaimodel in Go.

  • Claude Agent SDKAnthropic protocol

    ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN in ClaudeAgentOptions.env (Python & TS).

  • Anthropic SDKAnthropic protocol

    base_url in Python (anthropic) and baseURL in TypeScript (@anthropic-ai/sdk).

  • OpenAI SDKOpenAI protocol

    Chat Completions in the official Python, Node, Go, Java and .NET OpenAI SDKs.

  • Spring AIAnthropic and OpenAI protocols

    spring.ai.openai.base-url (with /v1 in 2.x, without /v1 in 1.x) or spring.ai.anthropic.base-url.

  • GenkitOpenAI protocol

    openAICompatible with name, baseURL and apiKey from @genkit-ai/compat-oai.

  • Strands AgentsAnthropic and OpenAI protocols

    OpenAIModel or AnthropicModel with base_url and api_key in client_args.

  • MirascopeAnthropic and OpenAI protocols

    llm.register_provider("openai:completions", base_url=...) or "anthropic" in Python.

  • TanStack AIOpenAI protocol

    openaiCompatible with baseURL, apiKey and models from @tanstack/ai-openai/compatible.

  • RubyLLMAnthropic and OpenAI protocols

    config.openai_api_base with protocol: :chat_completions, or config.anthropic_api_base.

  • ruby-openaiOpenAI protocol

    OpenAI::Client.new(access_token: ..., uri_base: ...) with client.chat.

  • openai-php/clientOpenAI protocol

    OpenAI::factory()->withApiKey(...)->withBaseUri(...)->make() in PHP.

  • ReqLLMAnthropic and OpenAI protocols

    ReqLLM.model! with provider, id and base_url in Elixir.

  • MacPaw OpenAIOpenAI protocol

    OpenAI.Configuration(token: ..., host: ..., basePath: "/v1", parsingOptions: .relaxed) in Swift.

  • dart_openaiOpenAI protocol

    OpenAIClient(apiKey: ..., baseUrl: ...) with client.chat.create in Dart or Flutter.

  • InstructorAnthropic and OpenAI protocols

    instructor.from_provider("openai/...", base_url=...) or instructor.from_anthropic(Anthropic(...)).

  • LangChain4jAnthropic and OpenAI protocols

    OpenAiChatModel.builder().baseUrl(...) or AnthropicChatModel.builder().baseUrl(...).

  • LlamaIndex.TSAnthropic and OpenAI protocols

    new OpenAI with baseURL, apiKey and model from @llamaindex/openai, or AnthropicSession.

  • Microsoft Agent FrameworkOpenAI protocol

    OpenAIChatCompletionClient(base_url=..., api_key=..., model=...) in Python.

  • Atomic AgentsAnthropic and OpenAI protocols

    instructor.from_openai(OpenAI(base_url=...)) or from_anthropic passed to AgentConfig.

  • BAMLAnthropic and OpenAI protocols

    provider "openai-generic" with base_url, or provider anthropic in clients.baml.

  • OutlinesAnthropic and OpenAI protocols

    outlines.from_openai(openai.OpenAI(base_url=...)) or outlines.from_anthropic.

  • RigAnthropic and OpenAI protocols

    OpenAIConfig::new(key).with_base_url(...).client().chat(id) or AnthropicConfig in Rust.

  • async-openaiOpenAI protocol

    OpenAIConfig::new().with_api_base(...).with_api_key(...) with Client::with_config in Rust.

  • go-openaiOpenAI protocol

    openai.DefaultConfig(key) with config.BaseURL and openai.NewClientWithConfig in Go.

  • Laravel PrismAnthropic and OpenAI protocols

    Provider::Anthropic with ANTHROPIC_URL or Provider::OpenRouter with OPENROUTER_URL.

  • Symfony AIOpenAI protocol

    Symfony\AI\Platform\Bridge\Generic\Factory::createPlatform(baseUrl, apiKey).

  • openai-kotlinOpenAI protocol

    OpenAIConfig(token = ..., host = OpenAIHost(baseUrl = ".../v1/")) with trailing slash.

  • KoogAnthropic and OpenAI protocols

    OpenAILLMClient with OpenAIClientSettings(baseUrl) or AnthropicLLMClient in Kotlin.

  • ellmerAnthropic and OpenAI protocols

    chat_openai_compatible(base_url = ..., model = ...) or chat_anthropic in R.

  • Semantic Kernel for PythonAnthropic and OpenAI protocols

    OpenAIChatCompletion(ai_model_id=..., async_client=AsyncOpenAI(base_url=...)) or AnthropicChatCompletion.

  • Anthropic Go SDKAnthropic protocol

    option.WithBaseURL and option.WithAPIKey on anthropic.NewClient, or ANTHROPIC_BASE_URL, in Go.

  • EinoOpenAI protocol

    BaseURL, APIKey and Model in openai.ChatModelConfig for Eino's OpenAI chat model in Go.

  • Instructor for ElixirOpenAI protocol

    openai api_url and api_key in the instructor config, with mode :json, for Elixir structured output.

  • LangChain for ElixirOpenAI protocol

    ChatOpenAICompatible endpoint, api_key and model in an Elixir LLMChain.

  • LangChainGoOpenAI protocol

    openai.WithBaseURL, openai.WithToken and openai.WithModel on openai.New in Go.

  • Langchain.rbOpenAI protocol

    llm_options uri_base and default_options chat_model on Langchain::LLM::OpenAI.new in Ruby.

  • LLPhantOpenAI protocol

    OpenAIConfig url, apiKey and model passed to new OpenAIChat in PHP.

  • Microsoft.Extensions.AIOpenAI protocol

    IChatClient from an OpenAI ChatClient with OpenAIClientOptions Endpoint and AsIChatClient in .NET.

  • Neuron AIOpenAI protocol

    OpenAILike provider with baseUri, key and model in a Neuron AI agent for PHP.

  • OpenAI .NET libraryOpenAI protocol

    OpenAIClientOptions Endpoint and ApiKeyCredential on a ChatClient in C#.

  • genai (Rust)OpenAI protocol

    GENAI_1_ENDPOINT and GENAI_1_API_KEY with the genai_1:: model namespace in the Rust genai crate.

  • SwiftAnthropicAnthropic protocol

    basePath, apiKey and betaHeaders on AnthropicServiceFactory.service in Swift.

  • VoltAgentOpenAI protocol

    createOpenAICompatible with baseURL and apiKey as the model of a VoltAgent Agent in TypeScript.

The SDKs and curl

Copy the block and replace the key with your own.

OpenAI SDK (Python)

Set base_url and api_key when you create the client.

from openai import OpenAI

client = OpenAI(
    base_url="https://aigrow.gg/v1",
    api_key="ag_your_key_here",
)

resp = client.chat.completions.create(
    model="claude-opus-5.5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Anthropic SDK (Python)

Set base_url and api_key when you create the client.

from anthropic import Anthropic

client = Anthropic(
    base_url="https://aigrow.gg",
    api_key="ag_your_key_here",
)

msg = client.messages.create(
    model="claude-opus-5.5",
    max_tokens=512,
    messages=[{"role": "user", "content": "Hello"}],
)
# A thinking block can come before the text, so print the text blocks.
for block in msg.content:
    if block.type == "text":
        print(block.text)

curl (OpenAI)

A first request from the command line, to confirm the key works.

curl https://aigrow.gg/v1/chat/completions \
  -H "Authorization: Bearer ag_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-5.5",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

curl (Anthropic)

The same request on the Anthropic protocol.

curl https://aigrow.gg/v1/messages \
  -H "x-api-key: ag_your_key_here" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-5.5",
    "max_tokens": 512,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

On the Vercel AI SDK, the OpenAI Agents SDK or LangChain? Each needs one more setting to stay on chat completions, and its page has the block with it.

Generate an image

gpt-image-2.6-flare makes images on the OpenAI base URL: /v1/images/generations from a prompt, and /v1/images/edits from 1 to 4 PNG, JPEG or WebP pictures you upload.

Make the image

Saves the image as image.png. The answer carries it as base64 in data[0].b64_json, which jq and base64 decode.

curl https://aigrow.gg/v1/images/generations \
  -H "Authorization: Bearer ag_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2.6-flare",
    "prompt": "A paper boat on a rain puddle, morning light",
    "size": "1024x1024",
    "quality": "low"
  }' | jq -r '.data[0].b64_json' | base64 --decode > image.png

One image per request, at 1024x1024, 1024x1536, 1536x1024 or auto, in low, medium, high or auto quality. It is billed per token at the model’s rates, the pictures an edit sends included, and the usage in the answer shows the tokens billed. The image comes back exactly as the model made it.

Generate a video

A video is a job: the request answers at once with its id, you read the job until its status is completed, then download the MP4.

Start the video

The answer is the job. Copy its id, which starts with video_.

curl https://aigrow.gg/v1/videos \
  -H "Authorization: Bearer ag_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-imagine-video-1.5",
    "prompt": "A paper boat drifting down a rain gutter, close up",
    "seconds": 5,
    "resolution": "480p"
  }'

Read its status

Every few seconds, until the status is completed or failed. Replace video_your_id_here with the id.

curl https://aigrow.gg/v1/videos/video_your_id_here \
  -H "Authorization: Bearer ag_your_key_here"

Download the file

Within an hour of completion, before the time in expires_at.

curl https://aigrow.gg/v1/videos/video_your_id_here/content \
  -H "Authorization: Bearer ag_your_key_here" \
  -o video.mp4

grok-imagine-video-1.5 makes 1 to 15 seconds of video, 8 when the request names no length, at 480p, 720p or 1080p, from a prompt or from an image sent in input_reference as an https URL or a data URL. The video is debited when the job starts. If it fails or is not made within 30 minutes, its cost is returned to the balance, at the latest about 35 minutes after the request. On the 16 videos of our check of 23 November 2026, the file was ready 10 to 67 seconds after the request.

Endpoints and errors

The same paths and the same error codes as the official APIs.

Endpoints

Send requests to these paths.

POST /v1/messages             (Anthropic)
POST /v1/chat/completions     (OpenAI)
POST /v1/responses            (OpenAI Responses, GPT models only)
POST /v1/images/generations   (make an image)
POST /v1/images/edits         (edit uploaded pictures)
POST /v1/videos               (start a video)
GET  /v1/videos/{id}          (read a video's status)
GET  /v1/videos/{id}/content  (download a video)
GET  /v1/models               (list the model ids)
Error codes

What each refusal means. None of them is billed.

401  key missing or wrong
402  credit balance empty
404  model not served
429  busy: wait the seconds in retry-after

On the Anthropic wire every request must include max_tokens. Streaming works on both wires and a streamed request costs exactly the same as a non-streamed one. Grok 4.7, Gemini 4 Argon, Qwen3.8 Max, Kimi K3.1 Pro, Gemini 4 Hydrogen, Gemini 4 Neon and Gemini 3.8 Flash take the OpenAI wire only: on the Anthropic wire they answer that the model is not available.

Watch your credit

Every request is billed at its model’s published rate and drawn from your balance.

The API access page shows your balance, your keys and an activity log with the model and cost of each request, so the balance is never a guess. When it runs low, redeem another code or buy a pack; the credit is added to the same account and every key keeps working.

If something does not work

The handful of things that trip people up, and the one-line fix for each.

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.

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.

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.

On the Anthropic protocol (/v1/messages) every request must set max_tokens. Add it, for example "max_tokens": 512, and the request goes through. The OpenAI protocol does not require it.

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.

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.

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.

Yes. Streaming responses pass straight through on both the OpenAI and the Anthropic protocol, and usage is metered from the stream, so a streamed request costs the same as a non-streamed one.

That is the whole setup.

Redeem, create a key, set the base URL, send a request. The same models, up to 75% below list price.

OpenAI- and Anthropic-compatible · usage dashboard included · no lock-in