Pricing

MuAPI uses a flexible, pay-as-you-go credit system. You only pay for what you generate — no monthly subscription fees for API access.

How Credits Work

Every API call deducts credits from your wallet based on the model used and the complexity of the generation. Credits never expire.

Purchasing Credits

Top up your wallet at any time from the Dashboard:

  1. Click Add Credits in the billing section.
  2. Choose your desired amount.
  3. Complete checkout via Stripe — credits are added instantly.

Model Costs

Each model has a per-generation cost shown on its playground page. Costs vary by:

  • Model tier — flagship models (Veo 3, Midjourney, Kling Master) cost more than fast/lite variants.
  • Output duration — video generations scale with length (e.g. 5s vs 10s).
  • Resolution — higher resolution outputs consume more credits.

Cost Per Request

Every API response includes the actual charge for that request, so you don't have to compute it from a pricing table:

{
  "request_id": "abc123",
  "status": "processing",
  "cost": {
    "amount_usd": 0.0042,
    "amount_credits": 1,
    "bonus_credits_used": 0,
    "refunded": false
  }
}

The same values are also returned as response headers (X-MuAPI-Cost-USD, X-MuAPI-Cost-Credits) for agents that read headers instead of parsing the body. See API Reference for details.

Programmatic Pricing API

If you're building on top of MuAPI (resellers, agents, custom dashboards), you can fetch the live pricing catalog programmatically. No API key required — these endpoints are public so you can quote prices to your own users at boot.

List every model with pricing

curl https://api.muapi.ai/api/v1/models

Response:

{
  "models": [
    {
      "name": "flux-dev",
      "description": "High-quality text-to-image FLUX model.",
      "category": "Text to Image",
      "family": "flux",
      "group_of": "image-generation",
      "cost": 0.025,
      "cost_currency": "USD",
      "cost_strategy": "fixed_cost",
      "dynamic_pricing": false,
      "endpoint": "/api/v1/flux-dev",
      "estimate_endpoint": null
    },
    {
      "name": "veo3-fast",
      "category": "Text to Video",
      "cost": 0.4,
      "cost_currency": "USD",
      "dynamic_pricing": true,
      "endpoint": "/api/v1/veo3-fast",
      "estimate_endpoint": "/api/v1/models/veo3-fast/estimate-cost"
    }
  ],
  "total": 142,
  "currency": "USD"
}

Optional query filters: ?category=Text+to+Video, ?family=flux, ?group_of=image-generation.

For fixed-price models, cost is exactly what you'll be charged per call. For models where dynamic_pricing is true (most video and audio models, where duration or resolution affect the price), use the estimate endpoint below to get the exact price for a specific request.

Single-model lookup

curl https://api.muapi.ai/api/v1/models/flux-dev

Same payload as the list response, plus the full input_schema and output_schema for the model.

Estimate the cost of a specific request

For models with dynamic pricing, send the same request body you'd submit to the generation endpoint and you'll get back the exact USD cost:

curl -X POST https://api.muapi.ai/api/v1/models/veo3-fast/estimate-cost \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A drone flyover of a snowy mountain",
    "duration": 8,
    "resolution": "720p"
  }'

Response:

{
  "model": "veo3-fast",
  "cost": 0.64,
  "currency": "USD",
  "dynamic_pricing": true,
  "cost_strategy": "veo3-fast-t2v"
}

The cost returned here is what will be deducted from your wallet when you actually submit the request. Safe to use as the basis for your own pricing markup — fetch it server-side before showing the user a "this will cost $X" confirmation.

Tip: Cache the /api/v1/models response for ~1 hour on your side. The catalog changes infrequently. The estimate-cost endpoint is cheap to call per-request because it just runs the cost formula — no model inference happens.

Enterprise

High-volume customers can contact us for custom credit packages, private deployment pricing, and volume discounts.

See Also

  • Credits — wallet balance, top-ups, and per-request cost tracking
  • Authentication — API key management