google · Google AI Docs
Gemini API Long context
Explains how to leverage the large context window capabilities of Gemini models to process extensive datasets, long documents, or complex multi-turn conversations.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Gemini API Long context
Explains how to leverage the large context window capabilities of Gemini models to process extensive datasets, long documents, or complex multi-turn conversations.
When To Use
Use when you need to process massive amounts of information such as entire codebases, long video files, or extensive document sets within a single prompt.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/gemini-api-long-context-workflow-guide.md | An overview of Gemini API long context capabilities, including context window sizes and use cases for processing large amounts of text. | Questions about an overview of Gemini API long context capabilities, including context window sizes and use cases for processing larg... |
What This Skill Covers
- Many Gemini models come with large context windows of 1 million or more tokens. Historically, large language models (LLMs) were significantly limited by the...
- Main sections:
What is a context window?,Getting started with long context,Long context use cases,Long form text,Long form video.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://ai.google.dev/gemini-api/docs/long-context
