How to get AI tools like Cursor, Windsurf, GitHub Copilot, ChatGPT, and Claude to understand APIpie’s AI routing platform, providers, models, and APIs.
LLMs.txt is a structured documentation format designed specifically for Large Language Models (LLMs).
APIpie provides LLMs.txt files that expose canonical, machine-readable context about the APIpie platform so AI tools can reason correctly about:
These files are optimized for AI consumption, not humans. They contain structured summaries, references, and links to authoritative documentation.
APIpie publishes the following LLM context files:
/llms.txt
A concise, high-signal overview of the APIpie platform (~5–10K tokens).
Intended for discovery, relevance checks, and standard context windows./llms-full.txt
A comprehensive context file including routing concepts, provider behavior, API references, and deeper platform details (large context, 100K+ tokens).Both routes are public, cacheable, and stable.
/llms.txt.
It contains everything an AI tool needs to understand APIpie at a platform level and fits within standard LLM context limits.Use /llms-full.txt only if:The APIpie LLM context files describe the platform at the system level, including:
They do not include UI details, marketing language, or tutorials.
Cursor can use APIpie’s LLMs.txt files to provide better assistance when working with AI routing, provider selection, and API integration.
@docsExample:
@docs https://apipie.ai/llms.txt
Read more about Cursor Web and Docs Search
Windsurf can load APIpie’s LLM context files to understand routing behavior and platform APIs.
@docs with the APIpie LLMs.txt URLsRead more about Windsurf Web and Docs Search
Any LLM that supports external documentation references can use APIpie’s LLM files.
Examples:
These references help the model stay aligned with current production behavior, not training-time assumptions.
LLMs.txt files and MCP serve different purposes:
| Capability | LLMs.txt | MCP |
|---|---|---|
| Purpose | Platform understanding | Live interaction |
| Access | Static, preloaded | Dynamic, tool-based |
| Cost | Zero runtime cost | Per request |
| Use case | Discovery, planning | Querying, execution |
LLMs.txt answers “what is APIpie and how does it work?”MCP answers “interact with APIpie right now.”
Both are intentionally provided.
APIpie treats its LLMs.txt files as public contracts:
If an AI tool misunderstands APIpie, this is the first place that gets fixed.