Manage LLM Token Usage with Apigee

In this lab, you develop an Apigee API proxy to manage and monitor token usage for Large Language Models (LLMs) like Gemini.

Who this is for

  • Cloud engineers

    Walks through building an Apigee API proxy with rate limiting and quotas to control access to Gemini APIs.

  • AI & ML engineers

    Shows how to monitor and cap LLM token usage and manage API costs through Apigee quotas.

  • Software engineers

    Covers configuring an Apigee proxy to enforce rate limits and track token consumption across LLM endpoints.

What you get out of it

Build an Apigee API proxy to track and cap token consumption across large language models such as Gemini. By the end of this 60-minute intermediate lab, you can configure quotas and rate limits to control API access and manage model spending. It suits engineers responsible for API governance and LLM cost control.

What it covers

You will set up rate limiting and quotas to control access to the LLM APIs, ensuring efficient usage and cost management.

Details

Details
SourceFormatDurationLevel
Google SkillsLab60 minIntermediate