VidMage API credits pay for the images and videos you generate through code, and MCP credits pay for the same work when you ask an AI assistant to do it for you. In both cases, VidMage works out the price from the model and settings you pick, takes the credits from your account balance, and records what each task used.

To use either one, you need an active VidMage subscription and enough credits for the task you want to run.

How VidMage API Credits Work

When you send a generation request to the API, VidMage checks two things before it starts:

  • It first confirms that your subscription is active
  • It checks whether your balance covers the cost of the settings you chose.

If either check fails, VidMage rejects the request, and the error code tells you which one needs attention.

Once VidMage accepts the request, it creates a task and starts generating. The credits for that task come out of your balance, and the task keeps its own usage record, which you can check later to see exactly what you paid.

Your balance fills up from your subscription.

On the Monthly plan, you currently get 400 credits at the start of each billing period, and anything you haven't used by the end of that period expires. The Yearly plan gives you all 4,800 credits at once, and they stay valid for one year from the day VidMage adds them. If you run low before your plan renews, you can buy an extra credit pack while your subscription is active, and those purchased credits never expire. You can see current prices and pack sizes on the VidMage pricing page.

How MCP Credits Work

MCP lets an AI assistant, such as Claude or Codex, use VidMage on your behalf. You describe what you want in a normal sentence, and the assistant calls VidMage's tools to look up models, check prices, and submit the task. When the assistant submits a generation, VidMage charges your account the same way it would for an API request with the same settings.

Many of the things an assistant does along the way don't use any credits. For instance, looking up which models are available, reading a model's options, and asking for a price estimate are all free on the VidMage side. Downloading a file from a task that has already finished is free too.

While a task is still running, the assistant checks on it until the result is ready. Those checks can complete billing that VidMage approved when the task was first submitted, but they don't start a new charge.

NOTE: Your AI assistant is a separate product with its own pricing. Even when VidMage charges nothing for a lookup or an estimate, the company behind your assistant may still count that conversation toward your plan or usage with them.

What Affects the Generation Cost of a Task

Every model and tool on VidMage has its own rate, and the settings you choose can raise or lower the total. Video models usually charge for each second of output, so a longer clip costs more. Some models also charge more for higher resolution, and requesting several images in one request multiplies the price.

A few video models add a charge when you turn on audio.

For example, Kling 3.0 currently adds 10 credits per second for audio. Some tools also set a minimum charge, so a very short job still costs a set amount. Voice Clone, for instance, charges 0.1 credits per character with a minimum of 5 credits.

The table below shows how a few settings change the price on two Grok models.

Model

Settings

Estimated credits

Grok AI Image Generator

Text prompt, 1 image, 1k

10

Grok AI Image Generator

Text prompt, 1 image, 2k

15

Grok AI Image Generator

Text prompt, 4 images, 1k

40

Grok Video Generator

Text prompt, 6 seconds, 720p

60

Grok Video Generator

Text prompt, 10 seconds, 720p

100

The image model charges a set price per image, while the video model charges 10 credits per second, so a six-second clip costs 60 credits. The jump from 1k to 2k adds 5 credits rather than doubling the price, so it's safer to get an estimate for a new setting than to guess.

You can use these rates to plan a small project, too. If you want three 1k images and two six-second videos at 720p, you'd need (3 × 10) + (2 × 60) = 150 credits.

How to Get Generation Cost Estimates Before You Submit

Since the price depends on your exact settings, it's worth checking it before you generate anything.

If you are working with the API, open the model's page in the VidMage developer docs to see its credit rates, or set up the same request in the Playground to see the estimate for your inputs. VidMage calculates these numbers with the same pricing logic the API uses when it charges a real task.

If you are using MCP, you can ask your assistant for an estimate in plain words. It uses VidMage's estimate_model_credits tool for models and estimate_capability_credits for features such as face swap, and it can call list_models first if you are not sure of the model's name. None of these tools start a generation or use credits. For example, you could ask:

Estimate the VidMage credits for one Grok image at 1k and one six-second Grok video at 720p, both from a text prompt. Confirm these settings are supported, show each cost and the total, and don't generate anything.

At the current rates, the assistant should come back with 10 credits for the image and 60 for the video, for a total of 70.

If you change the model, input type, duration, resolution, or number of outputs, ask for a new estimate. The estimate tells you what a planned request should cost, while the task's usage record shows what you actually paid.

How API Billing Shows What a Task Actually Cost

When you submit a task, VidMage's response can include up to three usage fields. These fields give you the clearest picture of a single task's cost, so it helps to save them with the task.

Field

What it tells you

creditsRequired

How many credits the task needs, if the response includes it

creditsConsumed

How many credits VidMage has recorded as used so far

usageDeferred

VidMage will settle the final usage later, so the current number may change

It's common to see creditsConsumed: 0 next to usageDeferred: true right after you submit. That zero does not mean the task is free. It means VidMage has not finished recording the charge yet, so keep checking the task until the final usage appears. If a field doesn't show up at all, the response simply did not report it, which is not the same as a cost of zero.

Watching your overall balance won't tell you what one task costs, because other tasks and website activity can change it at the same time. The task's own usage fields are the reliable source.

For your records, save the capability name, task ID, idempotency key, request ID, and usage fields for each task. With those details, you or VidMage support can answer almost any billing question later.

What to Do When Credits Run Low, or a Task Fails

A rejected or failed task does not always mean your balance is empty, so match the message to the right fix before you try again.

What you see

What it means and what to do

403 NEED_SUBSCRIBE

Your subscription is not active. Activate or renew it, since your credit balance isn't the problem.

402 NEED_PURCHASE_CREDITS

Your balance does not cover the task. Add credits, or choose a cheaper setting such as a shorter duration or lower resolution.

The task failed

VidMage refunds a confirmed failure automatically once the refund outcome is certain. Note the failure and refund status before you submit a corrected task.

The request timed out

A timeout does not prove the task failed. Find it in your recent tasks and check its status instead of submitting a new one.

BILLING_OUTCOME_UNKNOWN

VidMage could not confirm the charge yet. Follow the recovery step in the response, and don't resubmit or create a new idempotency key.

REFUND_OUTCOME_UNKNOWN

VidMage could not confirm the refund yet. Don't ask for a second refund, and keep the task's details in case you contact support.

BILLING_INVARIANT_FAILED

Stop retrying and contact support with the original task details. Never share your API key.

An idempotency key is a unique label you attach to a request so that, if your connection drops and you retry, VidMage knows it's the same request and doesn't start or charge for a second task. It isn't a password, and it doesn't make every retry free.

If you get an estimate before you generate, save each task's usage details, and check for an existing task before resubmitting after an error, your credit spending will stay easy to predict.

PUT IT INTO PRACTICE

Try it in VidMage

Open the tool and follow the steps above.

Open Developer resources ↗