Skip to main content
This guide covers how to send Google AI usage data to Fenra.

Gemini API

Context Caching

When using context caching, include cached tokens:

Multimodal Inputs

Gemini handles images, video, and audio natively. Token counts include all modalities, so no separate tracking is needed.

Thinking Tokens

For Gemini 2.5 models with thinking enabled, include thinking tokens:
When using Google Search grounding, track the tool invocations:

Supported Models

Fenra supports all Google Gemini models. Common models include:

Next Steps