BYOK is the recommended setup: you keep your existing provider relationship, rate limits, and billing, and you pay the provider directly at their prices. If you’d rather not manage keys at all, Pullfrog Router reaches every model through Pullfrog’s gateway at raw provider cost with no markup.
If you want to use Codex access from your ChatGPT account instead of buying OpenAI API tokens, see Codex subscription — there’s a dedicated one-command CLI for it (
npx pullfrog auth codex) that’s simpler than pasting keys. For a Claude Pro/Max subscription, see Claude subscription (npx pullfrog auth claude). For a Grok subscription, see Grok subscription (npx pullfrog auth grok). Two other subscriptions issue an ordinary key instead of a login, so they are set up like any provider below: Kimi Code under KIMI_API_KEY, and OpenCode Go under OPENCODE_API_KEY.How to provide keys
Pullfrog can pick up provider keys from two places. Use the one that fits your team, you can mix and match per provider.Pullfrog secrets (recommended)
Store your provider keys directly in the Pullfrog console. Pullfrog encrypts them at rest, injects them into the agent runtime at dispatch, and never writes them to your repository or workflow files. Nopullfrog.yml edits required.
- Open
pullfrog.com/console/<account>and find the Model usage section of the Billing card. - Switch to the BYOK tab.
- Find your provider card, click Set up, and follow its credential instructions.



GitHub Actions secrets (alternative)
If you’d rather keep keys in GitHub Actions secrets, for example, because you already have org-wide secret rotation tooling there, Pullfrog also reads keys from the workflowenv: block.
-
Add the secret in GitHub. Org-level (
github.com/organizations/<org>/settings/secrets/actions→ New organization secret) or repo-level (github.com/<org>/<repo>/settings/secrets/actions→ New repository secret). -
Map it into
pullfrog.yml:
env: and Pullfrog secrets, the workflow value wins. This lets you override Pullfrog-stored secrets per-workflow when needed.
Custom providers
The workflowenv: block isn’t limited to the providers listed in the console. Whatever you put there reaches the agent as-is, and any provider in the models.dev catalog switches on the moment its API-key variable is present — Groq, Mistral, Cerebras, Together, Fireworks, and the rest. Add the key as a GitHub Actions secret, map it into env:, and set the model input to that provider’s models.dev specifier.
There is nothing to wait on us for and nothing to enable. Full walkthrough: custom providers.
Free models
A handful of models cost nothing per token — no card, no Router balance, no provider bill:- Big Pickle (OpenCode)
- MiMo (OpenCode)
- Muse Spark Contributor (OpenCode) — Meta’s discounted tier; Meta may train on the prompts and completions
- Union Alpha (OpenCode) — a stealth preview, free for a limited time; the provider may retain prompts and completions
OPENCODE_API_KEY has to be set like any other provider key; a run without it stops at session start with No provider available. What a free model saves you is the bill, not the key.
Amazon Bedrock
If you want to route through your own AWS Bedrock account instead of going to a model vendor directly, see Amazon Bedrock for the multi-secret setup. Bedrock is BYOK only and uses pinned model IDs (no aliasing) so enterprise compliance and provisioned-throughput contracts stay predictable.Google Vertex AI
If you want to route through your own Google Cloud project, see Google Vertex AI for the service-account setup. Vertex AI is BYOK only and uses pinned model IDs throughVERTEX_MODEL_ID.
Azure OpenAI
If your organization buys models through Azure, see Azure OpenAI for the five-value setup. Azure is BYOK only and routes on your deployment name viaAZURE_DEPLOYMENT rather than a model alias, so inference bills to your Azure subscription and Azure credits apply.
OpenAI-compatible endpoints
If you route through your own gateway or run your own inference — a LiteLLM proxy, a Cloudflare AI Gateway, a self-hosted vLLM server — see OpenAI-compatible endpoints. One entry covers every such endpoint: you supply the base URL, key, model ID, and that model’s two token limits throughOPENAI_COMPATIBLE_*. BYOK only.
Gateways and proxies
Route a provider’s requests through your own host — a LiteLLM proxy, a corporate egress proxy, an AI gateway — while keeping your normal model selection. There’s no separate model entry to pick. Set it in the console under Set up a proxy or gateway on that provider’s setup card, or from your workflowenv::
Put only the host in the base URL — a credential embedded in it is not treated as one. Other providers have their own routes: Azure OpenAI builds its endpoint from
AZURE_RESOURCE_NAME, and any endpoint serving a model we don’t catalog belongs on OpenAI-compatible endpoints, which is also the right home for a gateway whose model list is its own.
Pullfrog does not check a gateway credential against the provider’s own host before a run, because your token is not valid there and asking would only ever produce a false rejection. A gateway that refuses the credential surfaces its own error from the run instead.
Anthropic
Anthropic models run through Claude Code, which honorsANTHROPIC_BASE_URL natively.
ANTHROPIC_API_KEY sends the value as x-api-key; ANTHROPIC_AUTH_TOKEN sends it as Authorization: Bearer. Both are accepted, and a gateway that reads the wrong one answers 401 — if that happens, swap the variable and re-run.
/anthropic endpoint serving their own models, but Anthropic doesn’t support routing Claude Code to non-Claude models through a gateway — and all of them expose an OpenAI-compatible API too, so use OpenAI-compatible endpoints for those.
OpenAI
OPENAI_BASE_URL re-points the OpenAI provider itself, which speaks the Responses API (POST /v1/responses). Point it at a gateway that serves that endpoint.
POST /v1/chat/completions) instead — despite the name, that is what “OpenAI-compatible” refers to almost everywhere. If yours does, use OpenAI-compatible endpoints rather than this variable.
Troubleshooting
“Missing API key” error in GitHub Actions The agent couldn’t find a valid key at runtime. Check, in order:- The selected model’s required env var is set somewhere, Pullfrog secrets (Billing → Model usage → BYOK) or a workflow
env:mapping. - The secret name matches the provider’s env var exactly (e.g.
ANTHROPIC_API_KEY, notCLAUDE_API_KEY). - If you used GitHub secrets, the secret is mapped in your
pullfrog.ymlenv:block, Actions only injects what the workflow file lists.

