Credits#

The InsightSolver API charges credits based on the size of the dataset you submit.

Credit Calculation#

The number of credits consumed per request is computed using the formula:

credits = ceil(m * n / 10000)

where m and n depend on the shape of your dataset:

  • m is the number of rows (excluding the header),

  • n is the number of feature columns (i.e. excluding the index column, the target column and other ignored columns),

  • ceil is the mathematical ceiling function, rounding up to the next integer.

For example:

Rows (m)

Columns (n)

Computation

Credits Charged

1000

10

ceil(1000*10 / 10000)

1

10000

25

ceil(10000*25 / 10000)

25

20000

100

ceil(20000*100 / 10000)

200

Example Dataset#

The Titanic training dataset from Kaggle contains 891 rows and 9 feature columns (excluding the index column PassengerId and the target column Survived). This results in the following credit usage:

ceil(891 * 9 / 10000) = 1 credit

You can think of 1 credit as roughly equivalent to “one Titanic” in size.

Usage Tips#

To reduce credit consumption:

  • Remove unused or irrelevant columns before sending data,

  • Filter your dataset (e.g., by time window or category),

  • Use a representative sample when full data isn’t necessary.

Getting Credits#

If you need additional credits or want to upgrade your plan, please contact us at support@insightsolver.com.