# Tokens, plans and limits on VieNeu

Source: https://docs.vieneu.io/docs/guides/tokens-and-plans

Every time VieNeu generates speech, it spends **tokens**. This page explains how
tokens are counted, how many you get each day, how paid packages differ from the
free tier, and what to do when the Studio says you do not have enough tokens.

Prices and token amounts change over time, so this page gives no figures. The
exact numbers are always on the [Billing](https://vieneu.io/#/billing) page.

The screenshots show the Vietnamese interface. Button names are given in English
first, then in Vietnamese in brackets.

## How tokens are counted {#how-tokens-work}

- **By text length.** Every character you send counts, including spaces,
  punctuation and line breaks. An accented Vietnamese letter still counts as one
  character.
- **Times the voice version's rate.** The character count is multiplied by the
  rate of the voice version. V4 voices have a rate above 1, so one character costs
  more than one token.
- **Extras cost extra.** Turning on **AI polish** (AI hoàn thiện) in the Studio
  adds a small surcharge to each run. Dubbing where VieNeu translates the subtitles
  for you carries a surcharge too.
- **Each run is charged at least 50 characters**, even when the text is shorter.
- **Failures are refunded.** A run that produces no audio gives its tokens back
  automatically.

You do not have to do the maths. As you type or paste, the bar under the Studio
text box shows the character count and the tokens this run needs
(`… chars · ~… token`). The server works this number out, with every rate already
included. If you do not have enough, the Studio tells you both what the run needs
and what you have left.

![Character and token counter under the Studio text box](/img/guides/tokens-and-plans/02-phong-thu-dem-token.webp)

### Why packages mention "hours of audio" {#audio-hours}

You buy **tokens**, not time. The `≈ … hrs of audio` line on a package card is an
estimate: VieNeu converts the package's tokens into reading time at the V4 rate
(the card says "priced at the V4 rate") and at a measured average speaking speed.

Real duration varies with the text, the speed and the emotions you pick. If you
usually keep **AI polish** on, you will get fewer hours than the estimate.

### V3 or V4 {#v3-v4}

On the website [vieneu.io](https://vieneu.io) and through the API, every voice now
reads with **V4**, so there is no V3-or-V4 choice to make when you buy tokens.

The VieNeu desktop app reads with V3 voices on your own computer under the app
licence, without spending tokens. V4 voices in the app are still billed in tokens,
and the app licence includes none.

## Free daily allowance {#free-daily}

An account with no package gets a **free allowance every day**:

- It resets at **midnight** Vietnam time (UTC+7). What you do not use today does
  not carry over to tomorrow.
- It is a daily allowance, not a monthly one.
- The free allowance can use V4 voices.

While you have a package running (a purchase, the free trial or gifted tokens),
VieNeu spends from that package and **stops** using the free allowance. That is
why the "Today's free allowance" line disappears after you buy. Once every package
has expired or run out, the account goes back to the free daily allowance on its own.

## Free trial {#trial}

- The trial **does not start by itself**. Go to
  [Billing](https://vieneu.io/#/billing) and click **Activate free trial**
  (Kích hoạt dùng thử miễn phí) in the **API Token Balance** (Số dư token API)
  box. Each account can activate it once.
- Once active, the Dashboard shows a **Trial** (Dùng thử) label. If the Dashboard
  still says **Free plan** (Gói miễn phí), you have not activated it, or the trial
  has ended.
- **Buying during the trial:** your remaining trial tokens are kept and spent
  first. They still expire on the trial's own date, not the new package's.
- **When the trial ends:** you can still generate audio. The account goes back to
  the free daily allowance until you buy a package.
- **Through the API:** the trial limits how many API calls you can make per day.
  A paid package lifts that limit. See [API errors](/docs/cloud-api/errors).

## Paid packages: expiry and daily limits {#paid-packages}

Each card under **API Token Packages** (Gói token API) on the Billing page shows:

- **The tokens** in the package and the estimated hours of audio.
- **How long it lasts**, for example `Valid for … months` or `Valid for … days`.
  After that, any tokens left in the package can no longer be used.
- **A daily limit**, for example `… daily limit`, if the package has one. That is
  the most tokens the package lets you spend in one day.

**What does "No expiry" mean?** The package's tokens have no end date: you use
them until they run out. No expiry does not mean no daily limit. If the package
has a daily limit, it still applies.

The package card on the Billing page is what VieNeu uses when it credits your
tokens. If another page says something different, trust the Billing page.

**When do limits reset?** Daily limits reset at midnight Vietnam time. A package
with a weekly limit resets at midnight on Monday.

## Where to see your balance {#balance}

- **Dashboard** ([vieneu.io/#/dashboard](https://vieneu.io/#/dashboard)): the big
  box at the top shows **Tokens left**, with the package name, **Left today** (if
  the package has a daily limit) and the **Expires** date. Without a package you
  see **Today's free allowance** and when it resets.
- **Billing**: the **API Token Balance** box shows what is left, today's and this
  week's usage, and the expiry date. If you hold tokens from several sources (a
  purchase, **Trial**, **Gift**), it shows **Total left** and then lists each one.
- **Studio**: the counter under the text box tells you how many tokens the next
  run needs (see [above](#how-tokens-work)).

![Dashboard: Tokens left, package name and expiry date](/img/guides/tokens-and-plans/01-bang-dieu-khien-so-du.webp)

## Buy more of the package you have {#buy-more}

Ran out of tokens and want the same package again? Buy that package again:

1. Go to [Billing](https://vieneu.io/#/billing) and scroll to **API Token
   Packages**.
2. The package you are on has a **Current Package** (Gói hiện tại) label and a
   **Buy more** (Mua thêm) button.
3. Click **Buy more**. The **Confirm your order** (Xác nhận đơn hàng) step shows
   your **Balance after purchase** (Số dư sau khi mua): the tokens you have left
   plus the new ones, and the new expiry date.
4. Pay as usual. See [Payment and invoices](./payment).

![Current package card with the Buy more button](/img/guides/tokens-and-plans/03-nut-mua-them.webp)

The new tokens are added to **the package you are on**. No second package is
created.

![Confirm your order when buying more: Balance after purchase](/img/guides/tokens-and-plans/04-xac-nhan-mua-them.webp)

A few other cases:

- **Your package is at 0 tokens:** the card shows **Get Payment QR** (Lấy QR thanh
  toán) instead of **Buy more**. Buying that package again still adds the tokens to
  the same package.
- **Your package just expired with tokens left:** if the card shows a **Renew**
  (Gia hạn) button with a line "renew before … to keep them", renew before that
  date. Your old tokens are kept and the new ones are added.

## Upgrade to a different package {#upgrade}

To move from your current package to a different one, click **Upgrade to This**
(Nâng cấp lên gói này) on the new package's card. The **Upgrade Preview** (Xem
trước nâng cấp) box shows:

- **Prorated credit** (Hoàn tiền tỉ lệ): the unused part of your current package,
  turned into money off the new package's price.
- **You pay** (Bạn thanh toán): what is left to pay.

After the upgrade, the old package closes and you use the new one. If the credit
covers the whole price, the box shows **Apply Free Upgrade** (Áp dụng nâng cấp
miễn phí) and no payment is needed.

## Why it says "not enough tokens" {#not-enough-tokens}

You paste a long text, generate nothing yet, and the Studio already says:

> This run needs … tokens, you have …

The reason: VieNeu prices the **whole** text before generating, at the V4 rate (and
with AI polish if it is on). A long text can need more tokens than you may spend in
a day, even if you have used nothing today. The **Generate Speech** (Tạo giọng nói)
button stays locked until the run fits what you have left.

Two things worth knowing:

- "You have" is what you can **spend right now**: the tokens left in your package,
  or less if its daily limit has less room. Without a package, it is what is left
  of today's free allowance.
- Each run is paid from **one** source. Tokens from two different sources (say, a
  purchase and a gift) are not combined to pay for a single run.

What to do:

- Split the text into shorter parts and generate them one by one.
- Turn off **AI polish** if the text does not need it (no Vietnamese ALL-CAPS
  words, formulas or chemical equations).
- Wait for the daily limit to reset at midnight.
- Buy or upgrade a package: click **Upgrade** (Nâng cấp) right next to the message
  to open the Billing page.

## Troubleshooting {#troubleshooting}

| What you see | What to do |
| --- | --- |
| "This run needs … tokens, you have …" although you used nothing | The text needs more tokens than you can spend today. Split it, turn off AI polish, wait until midnight, or buy a package. See [above](#not-enough-tokens). |
| The free allowance disappeared after buying | That is by design: with a package, VieNeu spends from the package. When it runs out, the free allowance comes back. |
| You started the trial but the Dashboard says **Free plan** | You have not clicked **Activate free trial** on the Billing page, or the trial has ended. |
| The card of your current package has no way to buy it again | Look for **Buy more** on the card labelled **Current Package**. If the package is at 0 tokens, the button says **Get Payment QR**. |
| Tokens left, but you cannot generate any more today | You hit the package's daily limit. Wait until midnight, or upgrade to a package with a higher daily limit. |
| You paid but no tokens arrived | See [Payment and invoices](./payment#paid-not-activated). |
| Still stuck | Click the support icon in the bottom-right corner of the page to message the VieNeu team. |
