Google has moved the complete Gemini API documentation into Google AI Studio and now treats coding agents as first-class readers. In a post on the AI Studio blog published on November 30, the docs team says more than half of all HTTP requests to its docs already come from agents, CLIs and other automated tools, so every page is now served as Markdown to those clients automatically. The old ai.google.dev addresses redirect to aistudio.google.com/docs. We fetched the busiest pages the way different agents do and measured what they actually receive, because the savings are uneven, and one file in the new setup is far too large to hand to any model.
What Google changed
- Guides, the full API reference and the OpenAPI spec now sit next to the model playground, API keys and billing in AI Studio.
- Every page has a .md twin, plus an index at /llms.txt and a single-file bundle at /llms-full.txt.
- A normal docs URL returns Markdown to curl, agent CLIs and code libraries, while browsers and Googlebot keep getting HTML.
- For agents there are extras: a Gemini Docs MCP server for search, open-source skills in the gemini-skills repository and a plugin for Antigravity.
Google’s own traffic data explains the priorities. Over one week, 39% of coding agent page fetches went to five reference pages (pricing alone took 23%), while intro pages such as Get Started drew less than 0.5%. In the first full week on the new site, 57% of all responses went out as Markdown or llms.txt, and Google puts the average size reduction at roughly 70%.
Our test: who gets Markdown, and how much smaller it is
On December 1 we requested four heavy reference pages with seven client identities: a desktop Chrome browser, curl, Python requests, Python urllib, Node, Go’s HTTP client and a Claude Code style agent string. Every non-browser client received text/markdown from the plain URL, without adding .md and without an Accept header. Only the browser identity and Googlebot got HTML. The HTML responses also carry a Link header pointing to /llms.txt and /llms-full.txt.
| Page | HTML to a browser | Markdown to agents | Markdown as share of HTML | Approx. tokens (Markdown) |
|---|---|---|---|---|
| Pricing | 157 KB | 118 KB | 75% | ~29,600 |
| Models | 64 KB | 26 KB | 40% | ~6,400 |
| Rate limits | 49 KB | 13 KB | 26% | ~3,200 |
| Function calling | 193 KB | 136 KB | 71% | ~34,000 |
Source: i10x fetch test of aistudio.google.com/docs pages on December 1, 2026 (desktop Chrome identity vs curl, Python, Node, Go and agent clients, which all received identical Markdown). Tokens estimated at four characters per token.
The picture is more mixed than the 70% average suggests. Short reference pages shrink a lot: the rate limits page arrives at about a quarter of its HTML size. But the two pages agents need most when they write billing or tool code, pricing and function calling, are mostly content, so the Markdown is only 25 to 29% smaller. The pricing page still costs an agent roughly 30,000 tokens per read. At the $3 per million input tokens that Google lists for Gemini 4 Neon, that is about 9 cents every time an agent rereads it, which adds up in a team where every session starts with a pricing lookup.
The file you should not give an agent
The single-file bundle llms-full.txt was 10.76 MB in our download. At the usual rule of thumb of four characters per token, that is about 2.7 million tokens, close to three times the 1 million token context window of Gemini 4 Neon. Pasted into a chat or fetched by an agent, it will be truncated or rejected. The index file llms.txt, at 74 KB or about 18,000 tokens, is the one meant for agents to read; the full bundle is better suited to local search or a retrieval index.
One line in llms.txt that can change your code
The index does more than list pages. Its instructions tell agents to use the google-genai SDK and to treat the Interactions API as the default “across all workflows”, calling generateContent a legacy API. That is sensible for new projects. In an existing codebase built on generateContent, an agent that reads these docs may start rewriting working calls to the new API without being asked. If you want to stay on generateContent for now, say so in your agent’s rules file, the same way we recommended for the layers of a Claude Code setup.
What to do now
- Paste plain docs links into your agent; the .md suffix is no longer needed for CLI tools.
- Browser-driven agents send a browser identity and still get full HTML, so give them the .md URL explicitly.
- For pricing and model IDs, prefer the Docs MCP server, which returns only the matching passages instead of a 30,000 token page.
- Keep llms-full.txt out of model context; use it for grep or a local index.
- If you run your own docs site, measure page by page: content-heavy pages gain little from Markdown alone, and splitting them helps more.
What developers on X are saying
ai studio is now home to all Gemini API docs
here’s what’s new:
– full API reference + OpenAPI spec alongside the guides
– llms.txt and .md for every page
– built for your agents, with automatic markdown delivery to keep those token costs down
Ammaar Reshi, who leads product and design for AI Studio, framed the move as part of keeping everything in one place: “From day 1 we wanted to be the easiest place to build with Gemini.” Developers mostly welcomed Markdown without scraping. A common follow-up question was which harness to use with Gemini 4 Neon at all; Google’s own answer for agents outside Antigravity is the Gemini API CLI, which comes with its own caveats.
i10x Perspective
Documentation has quietly become an API, and Google is the first big model vendor to run it like one: same URL, different format depending on who asks. That will push OpenAI, Anthropic and others to follow, because on launch day the vendor whose docs an agent reads cleanly gets the working code. The less discussed side is that docs are now also a steering channel. Whoever writes the llms.txt instructions decides which SDK and which API style millions of agent sessions will use, and developers should read that file as carefully as a dependency’s changelog.
What is still open
Google has not said how it identifies agents in detail, only that browsers and Googlebot get HTML. It also has not published token counts per page or usage limits for the Docs MCP server. We will update this article if either appears.






