This page outlines the API cost structures and billing process for our two primary service offerings: Clarity API and Portkey. For a comprehensive comparison of the features and intended use cases for each service, please visit the API page.
Understanding the Costs
Tokens and Cost Estimation
AI models process text in pieces called tokens. For English text, one token is approximately 4 characters or ¾ of a word. Your total cost is determined by two factors: the specific AI model used and the number of tokens in your input (the “prompt”) plus the number of tokens in the model’s output (the “completion”).
Examples:
- Submitting a one-sentence prompt (15 words) with a one-paragraph reply (100 words) costs approximately $0.002 using GPT-5.2 through Portkey.
- Submitting a longer document (4,000 words) with a four-paragraph summary (600 words) costs approximately $0.03 using Gemini 2.5 Pro through Clarity API.
Billing via Chart of Accounts (COA)
Our billing cycle is designed to be simple and transparent.
- Request API Access: When you submit an API Use Case Request Form, you will provide a COA for billing of your use case. The COA will be validated before granting you access to either Portkey or Clarity API.
- Usage: Usage is tracked for your API keys.
- Monthly Billing: At the end of each month, you will be charged directly to the designated COA.