Skip to main content
All CollectionsUsage information
What Does the API Plan Include?
What Does the API Plan Include?
Updated over 3 weeks ago

We currently offer the API Plan, which is perfect for developing on our agents using API access or making the agents available to many users. The plan costs $20 for every 1,000 interactions, with a minimum charge of $50 per month, plus any additional token consumption. If you wish to subscribe to the API Plan, please send a confirmation through this medium, and we will send you the payment link.

Unlike other plans that have limits on interactions, consumption, or both, the API Plan has no such limits.

Example:

1. Credits in OpenAI API

If you use GPT-4 through the OpenAI API, the credits or costs depend on:

  • The specific model you are using: GPT-4 has variants like gpt-4-turbo, which is more economical than the standard version.

  • The number of tokens used:

    • Tokens include both the input (prompt) and the generated output.

    • 1 token is approximately equivalent to 4 characters in English or 1 short word.

General Formula:

Total Cost = (Input Tokens + Output Tokens) × Price per 1,000 tokens.

For example:

  • Standard GPT-4:

    • Input: $0.03 per 1,000 tokens.

    • Output: $0.06 per 1,000 tokens.

  • GPT-4 Turbo (more economical):

    • Input: $0.0015 per 1,000 tokens.

    • Output: $0.002 per 1,000 tokens.

Calculation Example:

If the prompt has 500 tokens and the generated response has 700 tokens:

  • Total Tokens = 500 + 700 = 1,200.

  • Cost using GPT-4o mini:

    • Input: 500 × 0.15 / 1,000 = 0.075 USD

    • Output: 700 × 0.60 / 1,000 = 0.42 USD

    • Total = 0.075 + 0.42 = $0.495 USD.

With a credit of $50 USD, you could use approximately 333,333 tokens with GPT-4o mini.

Calculation:

  • Cost per 1,000 input tokens: $0.15

  • Cost per 1,000 output tokens: $0.60

Input Tokens:

  • $50 ÷ $0.15 per 1,000 tokens = 333,333.33 blocks of 1,000 tokens

  • 333,333.33 blocks × 1,000 tokens = 333,333 input tokens

Output Tokens:

  • $50 ÷ $0.60 per 1,000 tokens = 83,333.33 blocks of 1,000 tokens

  • 83,333.33 blocks × 1,000 tokens = 83,333 output tokens

Total Tokens:

  • 333,333 input tokens + 83,333 output tokens = 416,666 tokens in total

Therefore, with $50 USD, you could use approximately 416,666 tokens with GPT-4o mini.

OpenAI presents GPT-4o mini, its AI model.

Did this answer your question?