Pricing

How TokenRoc pricing works.

Requests are charged to your prepaid TokenRoc balance. What you pay depends on the model and its billing unit: tokens for text, images for image generation, and seconds, videos, or output video tokens for video, depending on the model.

Current rates in Model Square

The basics

Three things to know.

Text

Text models are billed per token.

Input tokens (the prompt and any conversation history you send) and output tokens (the model's reply) are counted separately. Each has its own rate, quoted per 1 million tokens. The counts are the ones reported in the response's usage field.

Chargeinput tokens ÷ 1M × input rate
+ output tokens ÷ 1M × output rate

Tiered models. Some models, such as glm-5.1, have tiered rates. The input length of a request decides which tier applies, and that tier's input and output rates are used for the whole request. Model Square lists the tiers for these models.

Example with illustrative rates, not current prices. 12,000 input tokens at $1.00 per 1M, and 800 output tokens at $4.00 per 1M:

12,000 ÷ 1M × $1.00 + 800 ÷ 1M × $4.00 = $0.012 + $0.0032 = $0.0152

Selected text models

Image

Image models are billed per generated image.

You pay for each image returned. The response's usage.image_count is the number of images charged, and it always equals the number of entries in data. Reference images you send are not charged.

Chargeimages returned × price at the requested resolution

kling/kling-v3-omni-image-generation: 1K (default) and 2K cost $0.026866 per image; 4K costs $0.053731 per image. No extra resolution multiplier is added to these prices.

Your balance must cover the request before it starts. If the request fails, nothing is charged for it.

Example with an illustrative rate, not a current price. Three images ("n": 3) at $0.03 per image: 3 × $0.03 = $0.09.

The same three images at 4K on a model with a 2× factor: 3 × $0.03 × 2 = $0.18.

Selected image models

Video

Video pricing depends on the model.

Charges are calculated per generated second, per generated video, or per output video token. Check Model Square for each model's billing unit, current rate, and any pricing tiers.

  • When you submit, TokenRoc reserves the expected cost from your balance. If your balance cannot cover it, the task is not created.
  • If the task fails, the reserved amount is returned to your balance.

Per generated second

Wan and Kling models, the MiniMax H3 models, and the Seedance models with a resolution in their ID, such as seedance-2.0-720p, have a per-second rate for their base setting. For Wan and Kling models, resolution, audio and reference video select the unit price in the table below. The Seedance and MiniMax H3 per-second models have no such factor.

Chargebilled seconds × price for the requested tier

  • When you submit, TokenRoc reserves the cost of the duration you asked for, at the resolution and audio setting you chose.
  • For Wan and Kling models, billed seconds are the duration of the completed video as reported by the provider. When the task completes, the charge is settled to that duration, and any difference from the reservation is returned to your balance or charged.
  • For the seven Seedance models with a resolution in their ID and the three MiniMax H3 models, billed seconds are the duration you asked for. The charge is not adjusted when the task completes.

Wan models also accept "duration": -1, which lets the provider choose the length. TokenRoc then reserves the maximum of 30 seconds and settles to the length generated.

Example with an illustrative rate, not a current price. 5 seconds at 720P on a model whose 480P base rate is $0.05 per second and whose 720P factor is 2×:

5 × $0.05 × 2 = $0.50

Wan and Kling resolution prices

USD per generated second, 16 October 2026. The configured price for the selected tier is used at submission and completion; failure returns the reserved amount. Wan and Kling default to 1080P when no resolution is supplied.

USD per generated second by model, input mode and resolution
Mode480P720P1080P4K
wan3.0-video
All requests$0.044807$0.089553$0.179105Not offered
wan3.0-video-prime
All requests$0.06721$0.134329$0.268657Not offered
kling/kling-v3-video-generation
SilentNot offered$0.080597$0.107463$0.402985
With audioNot offered$0.120896$0.161194$0.402985
kling/kling-v3-omni-video-generation
SilentNot offered$0.080597$0.107463$0.402985
With audioNot offered$0.107463$0.134328$0.402985
With reference videoNot offered$0.120896$0.161194Not offered
kling/kling-v3-turbo-video-generation
Always with audioNot offered$0.107463$0.134328Not offered

Per generated video

For models listed under Per Request, each completed generation uses the fixed price shown in Model Square. The active Seedance IDs currently use per-second or output-video-token billing.

Per output video token

The official Seedance models, whose IDs start with doubao-seedance-, are billed by the output video tokens the provider reports for the finished video. Output video tokens are counted by the video provider and are separate from the output tokens of text models. Model Square lists their rates per 1M output video tokens. Some of these models have tiers that depend on the resolution and on whether the request includes an input video.

When you submit, TokenRoc reserves an estimate of the cost. When the video completes, the charge is settled to the output video tokens the provider reports. If the provider does not report a valid output video token count for a finished video, the estimated amount reserved at submission remains the charge.

Selected video models

Questions

Pricing questions.

Still have a question? Contact us.

Where can I see the current price of a model?

In Model Square. It lists every model you can call, with its exact ID, billing unit, and current rate. This page explains how those rates become a charge and does not repeat them.

Can I use an existing SDK?

For text models, yes. Point an OpenAI-compatible client at https://api.tokenroc.com/v1 and use your TokenRoc key. The quickstart has a complete example.

Image and video models use their own routes, POST /v1/images/generations and POST /v1/videos. See the image guide and the video guide.

Am I charged when an image or video request fails?

If an image request fails, nothing is charged for it. The image guide's error table lists each case.

If a video task ends with the status failed, the amount reserved for it is returned to your balance. If only your script stopped waiting, the task is still running and has not failed. See stopped waiting, or failed.

Where can I check what I was charged?

Your usage logs show each request and its charge. The dashboard summarizes activity across your account, and the Wallet page shows your balance and top-ups.

What happens to an unused balance?

It stays in your account. Credits do not expire. Top-ups are non-refundable except in the special circumstances listed in the Refund Policy.

Who can help with a billing question?

Check your usage logs and the status page first. For anything else, contact us with the time of the request and the model involved. Never include your API key.