> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pullfrog.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Model access

> The four ways to pay for the model tokens a Pullfrog run spends, and how to fix a run that fails on credentials or balance.

Every Pullfrog run spends model tokens. Run on a free model, fund Pullfrog Router, bring your own API key, or use a subscription you already pay for.

| Route | What you pay | Set it up |
| - | - | - |
| [Free models](#free-models) | Nothing per token | Pick the model and store an `OPENCODE_API_KEY` |
| [Pullfrog Router](#pullfrog-router) | A prepaid balance, at provider cost with no markup | Add a card in the console |
| [Your own API key](#your-own-api-key) | Your provider bills you directly | Paste the key in the console |
| [Your existing subscription](#your-existing-subscription) | Nothing extra | One CLI command, or one key |

The **Providers** section of the console's **Billing** card switches the account between **BYOK** (your own keys and subscriptions) and **Pullfrog Router**. A provider key stored with Pullfrog is used for the models it covers even on Router, and free models work under either.

Model access is separate from your [plan](/billing#plans). No plan includes model tokens, and paying for tokens does not require a plan.

## Free models

These models cost nothing per token. Pick one in the [model selector](/models#selecting-a-model).

| Model | Notes |
| - | - |
| Big Pickle | |
| LongCat Preview | Meituan's preview, free for a limited time |
| MiMo | |
| Muse Spark Contributor | Meta trains on the prompts and completions |
| Space Bunny | Stealth preview, free for a limited time |
| Step 5 Preview | StepFun's preview, free for a limited time |

All six are served by OpenCode Zen, which still authenticates each request. Store an `OPENCODE_API_KEY` the same way as [any other provider key](/keys); a run without one stops at session start with `No provider available`.

## Pullfrog Router

Pullfrog Router reaches every major provider through one billing account, at provider cost with no markup. Pullfrog mints a short-lived key for each run, so there are no provider keys to manage.

Router runs draw on a prepaid balance and stop when it reaches zero. Add a card in the **Billing** card and turn on auto-reload to keep the balance funded. See [Pullfrog Router](/billing#pullfrog-router) for balance, auto-reload and spend limits.

<Frame>
  <img src="https://mintcdn.com/pullfrog/klps40MoSQ5FJkiz/images/providers-router.png?fit=max&auto=format&n=klps40MoSQ5FJkiz&q=85&s=2b1778635cb65175075964586f1ff75a" alt="The Providers section of the Billing card on the Pullfrog Router tab" width="1648" height="1540" data-path="images/providers-router.png" />
</Frame>

## Your own API key

Bring a provider API key and the provider bills you directly, at its own prices. The key must match the repository's model: an OpenAI key cannot run an Anthropic model.

Store the key with Pullfrog, at the account or repository level, or keep it in GitHub Actions secrets. See [API keys](/keys) for both, plus [Amazon Bedrock](/bedrock), [Google Vertex AI](/vertex), [Azure OpenAI](/azure) and [OpenAI-compatible endpoints](/openai-compatible).

## Your existing subscription

Pullfrog can run on a plan you already pay for instead of API tokens. Claude, ChatGPT and Grok plans connect with one command, run from inside the repository; Kimi and OpenCode Go issue an ordinary key.

| Subscription | Connect with | Guide |
| - | - | - |
| Claude Pro or Max | `npx pullfrog auth claude` | [Claude subscription](/claude-auth) |
| ChatGPT (Codex) | `npx pullfrog auth codex` | [Codex subscription](/codex-auth) |
| SuperGrok or X Premium | `npx pullfrog auth grok` | [Grok subscription](/grok-auth) |
| Kimi membership | A `KIMI_API_KEY` | [Kimi Code](/kimi-code) |
| OpenCode Go | An `OPENCODE_API_KEY` | [OpenCode Go](/models#opencode-zen-and-opencode-go) |

<Frame>
  <img src="https://mintcdn.com/pullfrog/klps40MoSQ5FJkiz/images/subscription-cards.png?fit=max&auto=format&n=klps40MoSQ5FJkiz&q=85&s=c888cdc3e19f077e18222aeec019c367" alt="The Subscriptions row of the Providers section: Claude Pro/Max, ChatGPT (Codex) and Grok" width="1680" height="532" data-path="images/subscription-cards.png" />
</Frame>

<Warning>
  Do not put a Claude, Codex or Grok credential into GitHub Actions secrets. The Codex and Grok credentials rotate as they refresh, and a GitHub secret cannot be written at runtime, so a credential stored there stops working when its access token expires: within hours for Grok, days for Codex. The commands above store it with Pullfrog instead.
</Warning>

A subscription has usage limits, and runs on it fail until the limit resets. Connect a second account or add an API key for the same provider, and Pullfrog falls back to it. See [multiple subscriptions and fallback](/keys#multiple-subscriptions-and-fallback).

## Troubleshooting a failing run

1. **Does the repository's model match a credential you hold?** A repository set to an OpenAI model needs an OpenAI credential, whichever route you use. Check the model in the repository's console.
2. **On Router, is there a balance or a card on file?** An empty balance with no card stops every Router run.
3. **On BYOK, does the key exist?** It can live at the account, at the repository, or in GitHub Actions secrets. A secret the workflow references but nobody created resolves to an empty value, not an error.
4. **On a subscription, has it hit its usage limit?** Runs resume when the limit resets.
5. **Did GitHub refuse to start the job?** A run with no steps at all points to your GitHub Actions billing, not to Pullfrog. Check your GitHub account's billing settings.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.