Voiceflow agents on AIGROW through an API tool

Save your AIGROW key as a secret, then create an API tool: Method POST, URL https://aigrow.gg/v1/chat/completions, an Authorization header with Bearer and the secret, and a Raw JSON Body with claude-opus-5.5.

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

Voiceflow API tool (from an API step: New API tool)

Method   POST
URL      https://aigrow.gg/v1/chat/completions
Headers  Authorization | Bearer {AIGROW_KEY}
         Content-Type  | application/json
Body     Raw
{"model": "claude-opus-5.5", "messages": [{"role": "user", "content": "{last_utterance}"}]}
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

Store the key as a secretOpen Secrets in your agent's navigation and click New secret. Name it AIGROW_KEY, paste your AIGROW key as the value and choose Restricted, so the key can never be revealed again.
Create the API toolIn a workflow, drag an API step onto the canvas, click it and choose New API tool. Set Method to POST and URL to https://aigrow.gg/v1/chat/completions.
Header and bodyUnder Headers, add Authorization with Bearer, a space and the secret: type {, switch to the Secrets tab and pick AIGROW_KEY. Add Content-Type with application/json, then choose Raw for the Body and paste the JSON with claude-opus-5.5.
Test and captureClick Run to send the request and read the JSON answer in the response panel. In the API step, use Capture response to save the answer text into a variable, with an object path down to choices, the first item, message, content.

Instructions and an answer limit

The Raw Body takes any Chat Completions field, so a system message and a reply length go in the same JSON.

{"model": "claude-opus-5.5", "max_tokens": 400, "messages": [{"role": "system", "content": "Answer as our support agent, in two sentences."}, {"role": "user", "content": "{last_utterance}"}]}

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 Voiceflow 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
}

Voiceflow

Put this message in the content value of the body and click Run:

Reply with the word ready

The response panel shows, under choices, message, content:

ready

When it fails

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

404 {"error":"Not found"}
URL is missing /chat/completions or has a typo, or Method is not POST. Set URL to https://aigrow.gg/v1/chat/completions and Method to POST.
401 Invalid or revoked API key
The Authorization header lacks the word Bearer and a space, or the secret has no value in this environment. Check the header and fill any Missing value on the Secrets page.
404 Unknown model: <id>. GET /v1/models lists the models this key can call.
The model in the Body is not an id AIGROW serves for your key. Replace it with claude-opus-5.5 exactly.
The request is rejected as invalid JSON
A variable inserted into the Body holds quotes or line breaks that break the JSON. Test with plain text first, then insert the variable inside the content string only.
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

  • The agent's own model setting lists Voiceflow's models, and bringing your own model there is an Enterprise feature. On other plans AIGROW answers where an API tool calls it, in a workflow or as a playbook tool.

  • 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 Voiceflow costs

Voiceflow 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 Voiceflow can spend

Give Voiceflow its own keyOn API access, under API keys, create a key named Voiceflow, 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 Voiceflow 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 Voiceflow and a custom API

Which key does a test send?
Each environment holds a Default value and a Draft value for every secret. Previews and tests send the Draft value when one is set; the live agent always sends the Default value.
Can the agent decide when to call AIGROW?
Yes. Add the same API tool to a playbook's tools with a clear description; the agent calls it when the conversation needs it. In a workflow, the API step calls it every time.
Can I limit what Voiceflow spends?
Yes. Give Voiceflow 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: Voiceflow Voiceflow docs, API tool (Method, URL, Headers, Body, Raw, Secrets tab, Run, input variables) · Voiceflow Voiceflow docs, API step (New API tool, Capture response, object path, Async execution) · Voiceflow Voiceflow docs, Secrets (New secret, Masked, Restricted, Default value, Draft value, Missing value) · Voiceflow Voiceflow docs, Behaviour (default model, temperature, max tokens). Read 18 November 2026.

Set up another tool

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

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

All 177 setup guides

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

Paste the block and Voiceflow 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.