API Evolution: Built-in Search, File Reading, and the Changing Cost Structure of Agent Applications
This article examines a significant shift in large language model APIs—from conversation-only services to full Agent runtimes. It breaks down the newly available built-in tools under the chat API, such as web search, deep-thinking search, file input, and link reading, as well as standalone Search, Fetch, OCR, ASR, and TTS interfaces. The piece analyzes how this evolution alters the cost structure of Agent development, shares hands-on test observations of key capabilities, and offers practical architectural and budgeting recommendations for engineering teams.
From Single Conversations to Compound Capabilities: A Major API Evolution
Over the past year, competition among large model APIs has centered on context window length, inference speed, and multimodal capabilities. As model performance converges, the real differentiator has shifted to the tool ecosystem surrounding the model—whether capabilities such as search, file parsing, and voice interaction can be seamlessly integrated into conversation flows. Recently, a major cloud vendor opened up capabilities previously confined to its client—web search, deep-thinking search, file reading, and link reading—through its chat API, accompanied by standalone Search, Fetch, OCR, speech recognition, and speech synthesis interfaces. On the surface, this appears to be a mere increase in endpoint count, but it signals a deeper paradigm shift: large model APIs are moving from “conversation as a service” to a “complete Agent runtime.”
Capability Breakdown: A Two-Layer Design of In-Conversation Tools and Independent APIs
Layer One: Built-in Tools in the Chat API
Under mainstream API protocols, developers can now enable the following capabilities on demand:
- Web search: The model automatically retrieves real-time information before generating responses, breaking through the time cutoff of training data.
- Deep-thinking search: The model autonomously decides its retrieval strategy during reasoning, executing multiple rounds of search, opening web pages, and locating content within pages—up to more than twenty tool operations in a single turn.
- File input: Supports common formats such as PDF, Word, and PowerPoint, with a single file limit of up to 100 MiB and a maximum of 1,000 pages.
- Link reading: Directly pass a URL and the model automatically fetches and understands the webpage content.
- Content safety moderation: Filters inputs and outputs for policy compliance.
The key point is that tool invocation decisions and context assembly happen server-side. Developers no longer need to maintain search API integrations, document parsers, or context management modules. The client is only responsible for conversation state and result rendering.
Layer Two: Standalone API Services
Five interfaces—Search, Fetch, OCR, Automatic Speech Recognition (ASR), and Text-to-Speech (TTS)—can be called independently as well. This design serves two use cases. First, developers building custom Agent pipelines can precisely control each step of tool invocation within their own orchestration logic. Second, for scenarios with intensive demand on a single capability—such as batch document digitization (OCR) or large-scale keyword monitoring (search)—standalone calls offer greater flexibility.
The Changing Cost Structure: From Hidden Integration Costs to Explicit Usage Fees
The “Glue Cost” of Traditional Agent Development
Before tool invoking capabilities were available in the API, building an agent application with web retrieval typically required developers to:
- Integrate a third-party search service, handling authentication, quota management, and result cleaning.
- Write custom document parsing code for PDF text extraction, table reconstruction, and image OCR.
- Develop context assembly modules to insert retrieved results into conversation history and control token budgets.
- Handle error retries and graceful degradation across multiple tools.
These efforts consume not only development time but also entail extra API fees and operational complexity. A deceptively simple “web-connected Q&A” feature could involve a layered tech stack of search, content fetching, HTML parsing, and text extraction working underneath.
The Cost Model After Server-Side Integration
With tool invocation and context assembly moved server-side, the cost structure changes fundamentally:
- Development cost: What previously required several weeks of integration now shrinks to parameter configuration.
- Usage cost: Tool operations no longer require paying for search API and model API separately. They are bundled into the token consumption of the chat API, offering finer granularity and better predictability.
- Infrastructure cost: No need to self-host parsing services or maintain scraping proxy pools, significantly lowering operational overhead.
Notably, some cloud vendors now charge per search and fetch operation server-side, rather than solely by token consumption. This pricing shift has significant implications for Agent applications with high-frequency tool calls—each search incurs a fixed operation fee even if it consumes only a small number of tokens. Developers should separate “reasoning cost” from “tool operation cost” when modeling budgets.
Hands-On Observations: Functional Boundaries and Performance of Six Capabilities
A benchmark test was run to verify the actual performance of the new interfaces. Test items included baseline conversation, web search, deep-thinking search, link reading, file input, and the standalone Search API.
Web Search: Timeliness Verification
The test queried recent IPO pricing expectations for an AI company. The model successfully retrieved the US$70–78 per-share pricing range and the intended ticker symbol, matching the company’s S-1 filing. Measured response time was approximately 3–5 seconds, with the retrieval phase accounting for about 60% of the latency.
Deep-Thinking Search: Multi-Step Reasoning and Autonomous Information Completion
When asked to compare the cumulative funding of two companies, the model first generated a reasoning trace of roughly 400+ tokens, autonomously executing several searches to supplement data before delivering the final comparison. This “think while searching” pattern is especially useful in scenarios requiring cross-validation of data from multiple sources. In traditional RAG setups, developers must predefine query strategies; deep-thinking search, in contrast, lets the model dynamically adjust its retrieval path.
File Input: Structured Document Parsing
A PDF with fictional business data—including a revenue figure of 473,000 and a fictitious client name—was constructed for the test. The model successfully extracted key metrics and understood the semantic relationships among the numbers. For multi-page documents, performance depends on layout quality; scanned files and complex tables may still require external OCR preprocessing.
Standalone Search API: Usability and Extensibility
When calling the Search API directly, results include structured fields such as title, snippet, URL, and publication time, making it directly consumable by downstream data pipelines. Measured single-request latency ranged from 800 milliseconds to 2 seconds, with manageable payload sizes.
Architectural Impact: Agent Application Development Is Being Reshaped
From Glue Integration to Configuration Orchestration
In the past, Agent developers had to be proficient in search APIs, parsing libraries, context management, and other technical details. Now, the server abstracts these capabilities as native parameters of the chat API, shifting the developer’s core task from writing glue code to designing prompts and tool invocation strategies. This lowers the barrier to entry for Agent applications and keeps application logic focused on the business itself.
Unified Context Management
Data produced by tool calls—search results, document contents—needs to be truncated appropriately and appended to the conversation context. With this handled server-side, developers no longer need to precisely track token usage, reducing invocations that fail due to context overflow.
Impact on RAG Architectures
Current mainstream RAG solutions rely on external vector databases for storing document chunks and performing similarity search at query time. With file input and link reading now available, some scenarios can be simplified—pass the original document directly and let the model extract the needed information during inference. For applications with small document volumes and low real-time latency requirements, this approach reduces architectural complexity.
Engineering Practice Recommendations
Cost Budgeting Model
For Agent applications, model the per-request cost as: model reasoning token fees + (number of tool operations × per-operation fee) + context assembly token consumption. For search-intensive scenarios, tool operation count often becomes the dominant cost driver.
Hybrid Architecture Strategy
For enterprise applications, a “pre-indexing plus real-time retrieval” hybrid strategy is recommended: pre-ingest slow-changing knowledge base content into a vector store, and use the API’s built-in search for frequently updated real-time information. This significantly reduces real-time search call frequency while maintaining information freshness.
Error Handling and Degradation
Even with server-side tool orchestration, network fluctuations and changes in target website structures can still degrade retrieval quality. Implement timeout thresholds and retry strategies at the application layer, and preserve degraded responses for critical business flows—when a tool call fails, fall back to basic conversation without tools.
Outlook: From API Feature Bundling to Agent-Native Cloud Services
Search, file reading, and voice interaction progressively entering API service catalogs points to a larger trend: competitive focus in the large model platform space is shifting from raw model parameter comparison to building “Agent-native” service ecosystems. Vendors that offer a more complete toolchain, more flexible composition patterns, and finer-grained billing granularity will win preference among Agent application developers.
Three forward-looking expectations:
- Parallel tool execution: Multiple simultaneous searches and parallel document parsing will significantly shorten processing time for complex tasks.
- Refined billing models: Outcome-based pricing, such as paying for result quality or sharing based on business impact, may emerge.
- Cross-application tool orchestration: Search, mapping, database operations, and other capabilities may be composable across platforms, forming a broader Agent capability graph.
For developers, built-in tool capabilities are a net positive, but the complexity of Agent development does not disappear. The real challenge now is breaking down business problems into sound tool invocation strategies and designing efficient prompt flows. The maturing toolchain ultimately moves the center of gravity upward—from connecting capabilities to orchestrating logic.
