Gemini API Docs Move Into AI Studio: Our Test of What Agents Now Receive

Google moved the Gemini API docs into AI Studio and now serves Markdown to coding agents automatically. We fetched the busiest pages with seven different clients: the savings range from 25 to 74 percent, and one bundle file is far too big for any model's context window.

Christopher Ort
By i10X News Desk · Reviewed by Christopher Ort · Updated · 5 min read
Share
A laptop next to a thick stack of printed documentation and a single thin sheet on a desk.
Image: AI-generated, i10X
On this page
  1. What Google changed
  2. Our test: who gets Markdown, and how much smaller it is
  3. The file you should not give an agent
  4. One line in llms.txt that can change your code
  5. What to do now
  6. What developers on X are saying
  7. i10x Perspective
  8. What is still open

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.

PageHTML to a browserMarkdown to agentsMarkdown as share of HTMLApprox. tokens (Markdown)
Pricing157 KB118 KB75%~29,600
Models64 KB26 KB40%~6,400
Rate limits49 KB13 KB26%~3,200
Function calling193 KB136 KB71%~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

Google AI Studio @GoogleAIStudio

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.

Christopher Ort

Christopher Ort

Christopher Ort is the editor of i10X News at i10x.ai. He has worked hands-on with AI tools, models and agent workflows for years and leads i10X’s coverage of AI launches, funding and research. He is the author of “The Style Penalty”, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.

Timeline

What happened before

  1. Release

    Gemini 4 Argon

    1.05M context · $2 / $10 per 1M tokens

    Google's most capable model for complex coding, agentic, math and science tasks.

    ai.google.dev (source, opens in a new tab)
  2. Release

    Gemini 3.8 Flash

    1.05M context · $0.75 / $3.75 per 1M tokens

    ai.google.dev (source, opens in a new tab)
  3. Release

    Gemini 3.7 Flash

    1.05M context · $0.75 / $3.75 per 1M tokens · Deprecated 8 Oct 2026 (API routes to Gemini 3.8 Flash)

    ai.google.dev (source, opens in a new tab)
  4. Release

    Gemini 3.6 Flash & 3.5 Flash-Lite

    1.05M context · $0.75 / $3.75 per 1M tokens

    ai.google.dev (source, opens in a new tab)
  5. Release

    Gemini 3.5 Flash

    1.05M context · $1.5 / $9 per 1M tokens · Deprecated 8 Oct 2026 (API routes to Gemini 3.6 Flash)

    Launched at I/O 2026 as the first Gemini 3.5 model; Google later dropped the planned 3.5 Pro.

    blog.google (source, opens in a new tab)
Full Gemini timeline ›

Editor's picks

  1. Analysis: Nvidia and Cerebras Split AI Inference, and Decode Is the Prize
  2. Baidu ERNIE Unlimited SVG Tested: Open Model Turns Images Into Vector Files
  3. StepFun Step 5 Is HungerG: Price, Benchmarks and Cost per Task Compared
  4. Codex Cloud Can Now Use a Browser and Desktop: What Teams Should Check
  5. Embo’s Cortex Runs a Humanoid From the Cloud at 30 Hz: What the Demo Leaves Out