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

# FAQ

> Common questions before and after your first call.

> [accordion] Do I need accounts or keys from DeepSeek, Sand AI, MiniMax or Alibaba?
>
> No. One RefillAPI key calls every model on the site, billed to your RefillAPI balance. Do not send a RefillAPI key to a vendor's own API.

> [accordion] Do I add /v1 to the base URL?
>
> For OpenAI SDKs and most tools, yes: `https://refillapi.com/v1`. Tools that ask for the full endpoint want `https://refillapi.com/v1/chat/completions`. Claude Code wants `https://refillapi.com` without `/v1`. See [Quickstart](https://docs.refillapi.com/quickstart.md#which-base-url-does-my-tool-want).

> [accordion] Does OpenAI-compatible mean every OpenAI feature works?
>
> No. The request and response formats match, but vision, tool calls, structured output and other features depend on the model. Start with a plain text request, then add features.

> [accordion] I have credit but calls fail with 401 or 403.
>
> The key itself may be disabled, expired, out of its own quota, or limited to other models. See [API keys](https://docs.refillapi.com/account/api-keys.md).

> [accordion] Does the API remember my conversation?
>
> No. Send the history you want the model to see in `messages` on every request. History counts as input tokens.

> [accordion] Why doesn't a video or image model work in my chat app?
>
> Video, image and audio models use their own endpoints, not `/v1/chat/completions`, so chat apps cannot call them. Use [Video generation](https://docs.refillapi.com/api/videos/overview.md), [Image generation](https://docs.refillapi.com/api/images.md) or [Text to speech](https://docs.refillapi.com/api/audio/speech.md).

> [accordion] How long are generated videos and images kept?
>
> Not long — download them right away and keep your own copy. Plan on links expiring after 24 hours.

> [accordion] Am I charged when a video fails?
>
> No. The cost is held when you submit and refunded in full when the task fails. Successful tasks are settled against the actual length. See [Pricing](https://docs.refillapi.com/pricing.md).

> [accordion] My request timed out after a few minutes.
>
> Long non-streaming text requests can time out. Use `"stream": true` for long answers or deep reasoning. For images, set a client timeout of at least 2 minutes and do not resubmit on a client-side timeout — every request is billed.

> [accordion] How do I pay?
>
> By card through Stripe, from \$5. See [Billing & top-ups](https://docs.refillapi.com/account/billing.md).

> [accordion] How do I contact support?
>
> Email [support@refillapi.com](mailto:support@refillapi.com). Include the time, model ID and the `request id` from any error message.


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