AI Studio Billing
Billing history and cost data for AI Studio workloads. These endpoints return hourly cost datapoints and per-resource billing records for data synthesis jobs, fine-tuning runs, image generation requests, model evaluations, and serverless inference deployments.
Data Synthesis
Get data-synthesis hourly cost datapoints
Returns hourly cost datapoints for a data synthesis job for a specified billing cycle.
List data-synthesis billing history
Returns billing history of data synthesis jobs for the specified billing cycle.
Get data-synthesis billing history for a resource
Returns detailed billing history for a specific data synthesis resource, including token usage and costs.
Fine-tuning
Get fine-tuning resource hourly cost datapoints
Returns hourly cost datapoints for a fine-tuning job for a specified billing cycle.
List fine-tuning billing history
Returns billing history of fine-tuning jobs for the specified billing cycle.
Get fine-tuning resource billing history
Returns detailed billing history for a specific fine-tuning job, including price per hour and incurred bill.
Serverless Inference
Get serverless-inference hourly cost datapoints
Returns hourly cost datapoints for a serverless inference resource for a specified billing cycle.
List serverless-inference billing history
Returns billing history of serverless inference resources for the specified billing cycle.
Get serverless-inference billing history for a resource
Returns detailed billing history for a specific serverless inference resource, including token usage and costs.
Image Generation
Get image-generation hourly cost datapoints
Returns hourly cost datapoints for an image generation resource for a specified billing cycle.
List image-generation billing history
Returns billing history of image generation resources for the specified billing cycle.
Get image-generation billing history for a resource
Returns detailed billing history for a specific image generation resource, including token usage and costs.
Model Evaluations
Get model-evaluation hourly cost datapoints
Returns hourly cost datapoints for a model evaluation for a specified billing cycle.
List model-evaluation billing history
Returns billing history of model evaluations for the specified billing cycle.
Get model-evaluation billing history for a resource
Returns detailed billing history for a specific model evaluation, including token usage and costs.