Billing Transparency

Get cost details and usage details in every call

Infron uses a transparent billing system to ensure every call is precisely metered and billed. Pricing differs across models, and the same model may be priced differently across providers.

Model Prices

Model prices for each provider are listed on the model detail pagearrow-up-right.

Billing Items

You can enable usage accounting in your requests by including the usage parameter:

calculatorUsage Accountingchevron-right

When usage accounting is enabled, the response will include

  • usage object with detailed token information

  • cost object with the total amount charged to your account.

  • cost_details object with the breakdown of the total cost.

usage

Item
Description

total_tokens

prompt_tokens

Total tokens of input prompts

completion_tokens

Total tokens of model-generated output

prompt_tokens_cache_read

prompt_tokens_cache_write

reasoning_tokens

Total tokens of reasoning prompts

native_web_search_requests

plugin_web_search_requests

input_images

input_videos

input_audios

output_images

output_videos

output_audio

cost_details

Item
Description

prompt_cost

Cost for processing input prompts

completion_cost

Cost for model-generated output

image_cost

Cost for image processing or generation

video_cost

Cost for video processing or generation

audio_cost

Cost for audio processing or generation

native_web_search_cost

Cost for invoking native web search functionality

plugin_web_search_cost

Cost for invoking plugin web search functionality

tools_cost

Cost for invoking tool callings

prompt_cache_read_cost

Cost for cache read operations

prompt_cache_write_cost

Cost for cache write operations

prompt_cache_write_5_min

Cost for 5-minute cache write operations

prompt_cache_write_1_h

Cost for 1-hour cache write operations

reasoning_cost

Cost for internal reasoning computations

discount_rate

Effective discount rate

is_byok

Whether is byok

byok_cost

Cost for byok

Last updated