GOOGLEAI_PRICING
llmfy.llmfy_core.models.google.googleai_pricing_list
Google AI (Gemini) pricing per 1M tokens (USD). Reference: https://ai.google.dev/pricing
--- Pricing Structures ---
Flat pricing:
Per-type input pricing:
"model-id": {
"input": {
"default": <float>, # fallback for unspecified types
"text": <float>,
"image": <float>,
"video": <float>,
"audio": <float>,
},
"output": <float>,
}
Tiered pricing (flat input, threshold on total input tokens):
"model-id": {
"input": <float>, # price when prompt <= threshold
"input_high": <float>, # price when prompt > threshold
"output": <float>,
"output_high": <float>,
"threshold": <int>,
}
Tiered + per-type pricing:
"model-id": {
"input": {
"default": <float>,
"text": <float>,
"image": <float>,
"video": <float>,
"audio": <float>,
},
"input_high": { # high-tier prices (prompt > threshold)
"default": <float>,
"text": <float>,
"image": <float>,
"video": <float>,
"audio": <float>,
},
"output": <float>,
"output_high": <float>,
"threshold": <int>,
}