> For the complete documentation index, see [llms.txt](https://docs.dapta.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dapta.ai/flow-studio/ai-nodes/credits.md). Agents can also search and read this documentation through its [MCP server](https://docs.dapta.ai/~gitbook/mcp).

# AI Node Credits

How an AI node run is priced in Dapta credits from November 10, 2026: tokens, each model's rate in credits, worked examples and what is not charged.

From **Tuesday, November 10, 2026**, every AI node that runs on **Dapta AI** uses your Dapta credits, and since **Friday, November 13, 2026** also on flows that run on engine **v2** (BETA). This includes the older **Google Gemini** and **Claude** nodes marked **(Deprecated)**. A node that runs on **your own credential** never uses Dapta credits: Google, OpenAI or Anthropic bills that usage to your own account.

**1,000 credits = US$1.** The credits of a run depend on two things: how much text the model reads and writes, and the price of the model you pick.

***

## How a run is calculated

Models measure text in **tokens**; a token is roughly a short word. Each run has up to three kinds, and a token counts in only one of them:

* **Input tokens**: what the model reads at the regular price: your prompt, the system instruction, example messages and attached files, except the part served from cache.
* **Cached input tokens**: the part of what the model reads that the provider reused from a recent run, at a much lower price. See [Caching and savings](https://docs.dapta.ai/flow-studio/ai-nodes/caching-and-savings.md).
* **Answer tokens**: everything the model writes. When **Thinking**, **Reasoning effort** or **Extended thinking** is on, the thinking counts as answer tokens too.

Each kind has its own rate in credits per million tokens, which depends on the model (see the table below). Dapta adds them up:

```
credits = (input tokens × input rate + cached tokens × cached rate + answer tokens × answer rate) ÷ 1,000,000
```

The result is rounded up to a whole credit, with a minimum of 1 credit per run.

Credits are always measured on the model that actually answered. With **Authorize fallback** on, if the backup model answers, the run is priced at the backup model's rate, and the failed attempt is not charged.

The AI node is charged on top of the **1 credit** every flow run costs.

**On engine v2 flows**, the price is the same. The designer shows each flow's engine at the top (**Engine:** then **v1** or **v2**). One difference: on engine v2, a node that runs several times inside one flow run, for example in a loop, is charged once for all its passes together.

***

## Credits per million tokens

Rates as of November 2026. Rates can change over time; the **price** meter in the node always shows the current rate of the model.

| Model                                  |  Input | Cached input |  Answer |
| -------------------------------------- | -----: | -----------: | ------: |
| Gemini 3.5 Flash-Lite (Gemini default) |    600 |           60 |   5,000 |
| Gemini 3.8 Flash                       |  1,500 |          150 |   7,500 |
| Gemini 4 Argon                         |  8,000 |          400 |  40,000 |
| Gemini 2.5 Flash-Lite                  |    200 |           20 |     800 |
| GPT-6.1 Sol                            |  4,000 |          200 |  20,000 |
| GPT-6.1 Terra                          |  2,000 |          100 |  10,000 |
| GPT-5.6 Terra (OpenAI default)         |  4,000 |          400 |  24,000 |
| GPT-6 Luna                             |    200 |           20 |   1,000 |
| GPT-5.6 Luna                           |    400 |           40 |   2,400 |
| GPT-OSS 120B                           |    300 |          150 |   1,200 |
| GPT-OSS 20B                            |    150 |           75 |     600 |
| Claude Sonnet 5.5 (Claude default)     |  4,000 |          200 |  20,000 |
| Claude Opus 5.5                        |  8,000 |          400 |  40,000 |
| Claude Fable 5.1                       | 20,000 |          500 | 100,000 |
| Claude Haiku 5.5                       |  1,000 |          100 |   5,000 |

A node saved on a model that is no longer in the menu is charged at that model's own rate.

***

## Worked examples

The same task in every example: a prompt of **4,000 input tokens** (instructions plus a call transcript) and an answer of **500 tokens**.

| Model                                     | Calculation                                       | Credits per run | 10,000 runs a month |
| ----------------------------------------- | ------------------------------------------------- | --------------: | ------------------: |
| Gemini 3.5 Flash-Lite                     | (4,000 × 600 + 500 × 5,000) ÷ 1,000,000 = 4.9     |           **5** |      50,000 (US$50) |
| GPT-5.6 Terra                             | (4,000 × 4,000 + 500 × 24,000) ÷ 1,000,000 = 28   |          **28** |    280,000 (US$280) |
| GPT-5.6 Terra, with 1,500 thinking tokens | (4,000 × 4,000 + 2,000 × 24,000) ÷ 1,000,000 = 64 |          **64** |    640,000 (US$640) |
| Claude Sonnet 5.5                         | (4,000 × 4,000 + 500 × 20,000) ÷ 1,000,000 = 26   |          **26** |    260,000 (US$260) |
| Gemini 2.5 Flash-Lite                     | (4,000 × 200 + 500 × 800) ÷ 1,000,000 = 1.2       |           **2** |      20,000 (US$20) |

The rates in the calculation are the credits per million tokens from the table above.

A very short run still costs the minimum. For example, 300 input tokens and 50 answer tokens on Gemini 2.5 Flash-Lite come to 0.1 credits, so the run costs **1 credit**.

{% hint style="info" %}
The model is the biggest lever on cost. The same task costs 2 credits on Gemini 2.5 Flash-Lite and 28 on GPT-5.6 Terra. Try the lighter models first and move up only if the answers need it. More ideas in [Caching and savings](https://docs.dapta.ai/flow-studio/ai-nodes/caching-and-savings.md).
{% endhint %}

***

## What is not charged in credits

* **Nodes on your own credential.** The provider bills your own account. Dapta doesn't add anything.
* **The older OpenAI node.** It runs on your own OpenAI key, so OpenAI bills it.
* **A model attempt that fails.** Only an answer is charged. If the backup model answers instead, you pay the backup model's rate.
* **Runs before November 10, 2026**, or before November 13, 2026 on engine v2 flows.

***

## Where to see the credits of a run

* In the node, after a run: **Last run** shows the model that answered, the tokens in, out and cached, and the **Credits** of the run.
* In the flow: with **Response detail** set to **Answer + details**, the node returns `costs.credits` and `usage` for every run, so you can log them in a sheet or a CRM.
* In your account: the total is in your balance under **Billing**.

The older Gemini and Claude nodes are charged the same way, but they don't show the credits of each run; the new AI nodes do. To get that on an older node, [upgrade it](https://docs.dapta.ai/flow-studio/ai-nodes/upgrade-an-older-ai-node.md).

On flows that run on engine **v1**, a node inside a loop is charged on each pass, and each pass has its own 1-credit minimum.

{% hint style="warning" %}
When your balance reaches 0, your flows pause until credits are added. Check that your plan covers your AI usage, or turn on **auto-recharge** under **Billing**. See [How credits work in Dapta](https://docs.dapta.ai/my-account/how-credits-work-in-dapta.md).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dapta.ai/flow-studio/ai-nodes/credits.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
