Skip to main content
Yes. Use the Fireworks CLI to export a billing CSV that includes serverless usage:
# Authenticate (once)
firectl auth login

# Export billing metrics to CSV
firectl export billing-metrics
Examples Export all billing metrics for an account:
firectl export billing-metrics
Export metrics for a specific date range and filename:
firectl export billing-metrics \
  --start-time "2025-01-01" \
  --end-time "2025-01-31" \
  --filename january_metrics.csv
Output format The exported CSV includes the following columns:
  • email: Account email
  • start_time: Request start timestamp
  • end_time: Request end timestamp
  • usage_type: Type of usage (e.g., TEXT_COMPLETION_INFERENCE_USAGE)
  • accelerator_type: GPU/hardware type used
  • accelerator_seconds: Compute time in seconds
  • base_model_name: The model used
  • model_bucket: Model category
  • parameter_count: Model size
  • prompt_tokens: Input tokens
  • completion_tokens: Output tokens
Sample row:
email,start_time,end_time,usage_type,accelerator_type,accelerator_seconds,base_model_name,model_bucket,parameter_count,prompt_tokens,completion_tokens
user@example.com,2025-10-20 17:16:48 UTC,2025-10-20 17:16:48 UTC,TEXT_COMPLETION_INFERENCE_USAGE,,,accounts/fireworks/models/llama4-maverick-instruct-basic,Llama 4 Maverick Basic,401583781376,803,109
Tips:
  • Run firectl export billing-metrics --help to see available flags (e.g., time range filters).
  • You can automate exports in cron/jobs and load the CSV into your internal systems.
Important:
  • The account metrics API (/v1/accounts/<account-id>/metrics) currently returns only on-demand and reserved usage. Serverless usage is not included there. Use the CLI export above for serverless.
See also:
I