LLM Application API Suite Opens: Building Conversational Apps Without Third-Party Integrations

    This article breaks down a newly opened set of LLM application APIs that bundle web search, deep reasoning search, file input, link reading, and safety checks into a single parameterized interface. It explains how moving orchestration to the server side reduces integration overhead, compares the five tool capabilities and their boundaries, shows a sample request, and outlines the two-layer cost model of model tokens plus tool usage. Readers will also find practical guidance on tiered routing, caching, observability, quotas, and compliance for shipping such applications.

    1. From Stitching Together Third-Party Services to Parameterized Calls

    Over the past two years, building an LLM chat application with a complete interactive experience usually forced developers into the role of integrator: model inference from one provider, web retrieval from a search service, document parsing from another, and separate vendors for speech recognition and synthesis. What actually consumed engineering resources was not the model call itself but the glue between these heterogeneous capabilities — inconsistent timeout and retry policies, mismatched error code systems, context assembly maintained by hand, and citation sources that are hard to align across multiple turns.

    By folding the commonly used application-layer capabilities into the LLM API, a cloud vendor has effectively pushed the application orchestration layer down to the server side. Developers no longer maintain a call chain stitched together from several third-party services. Instead, they enable tool parameters in the request, and the server handles tool selection, invocation, result trimming, and context injection. From an engineering standpoint, this yields three immediate benefits:

    • Lower integration cost: N SDKs, N authentication schemes, and N bills collapse into one interface system and one bill.
    • Better context consistency: retrieval results and conversation context are assembled server-side, avoiding the semantic drift that comes from client-side truncation, deduplication, and ranking.
    • Faster iteration: capabilities are exposed as parameter switches, so product teams can run A/B experiments without touching the underlying architecture.

    This does not remove the basic engineering constraints of LLM applications: latency, cost, and controllability still have to be designed deliberately. Pushing capabilities down solves the question of availability; experience quality still depends on orchestration strategy.

    2. Capability Matrix: Where Each of the Five Tools Fits

    Web search (non-thinking mode): once the web search tool is enabled, the model decides on its own whether to run a web or image search based on the user’s question, and attaches citation sources to the answer. It suits time-sensitive Q&A, fact-checking, and competitor monitoring. Note that “the model decides” means retrieval triggering is not fully controllable; if the business requires hard constraints, add fallbacks in the prompt and in post-processing.

    Deep reasoning search (thinking mode): the model repeatedly searches and reads links during multi-step reasoning, then uses the retrieved material as intermediate conclusions to advance the reasoning. It fits complex questions that need cross-validation, such as technology selection analysis and long causal chains. The cost is a marked increase in token consumption and response latency, so enable it per scenario tier rather than turning it on by default everywhere.

    File input: common document and image formats are supported, covering both plain text extraction and mixed text-and-image parsing, with the parsing result entering the conversation context. Typical uses include contract review, report Q&A, and close reading of papers. In practice, watch the amplifying effect of parsing quality on answer quality — if a scan with a complex layout is parsed inaccurately, no amount of downstream reasoning can recover it.

    Link reading: with the link reading tool enabled, the model automatically detects URLs in the message, fetches the body content, and answers in context. This turns “handing material to the model” from copy-paste into submitting a link directly, making it a low-cost entry point for knowledge base Q&A.

    Model safety: basic risk-control checks run in both directions on input and output, returning a refusal flag when a risk is hit. For teams serving the public, this is a compliance baseline, not an option.

    3. Parameterized Invocation Example

    Support varies slightly across interface families (message, response, and chat completion), but the calling pattern is the same: declare tools and switches in the request body.

    1. {
    2. "model": "deepseek-flash",
    3. "messages": [
    4. {"role": "user", "content": "Summarize the key changes in this quarterly report https://example.com/report"}
    5. ],
    6. "tools": [
    7. {"type": "deepseek_web_search"},
    8. {"type": "deepseek_read_url"}
    9. ],
    10. "safety_check": true
    11. }

    In the server response, matched sources and parsed file fragments are returned as structured fields. Developers should parse them explicitly and persist them, for citation display in the frontend and for later auditing.

    4. Cost Model: A Two-Layer Structure of Token and Tool Charges

    Once extended capabilities are enabled, billing shifts from a single token dimension to a two-layer structure of model tokens plus tool invocation volume, settled by the tools actually used and the volume consumed. This means the cost budget has to be established during architecture design:

    1. Tiered routing: simple Q&A uses non-thinking mode without deep retrieval; only complex questions escalate to thinking mode.
    2. Caching in front: build a semantic cache for high-frequency repeated questions and return on a hit, avoiding repeated retrieval and reasoning.
    3. Observability: track tool invocation counts, parsed page counts, and speech duration as separate metrics feeding logging and alerting, with cost attributed per business line.
    4. Quotas and degradation: set a per-user cap on tool invocations and automatically fall back to a pure model answer when exceeded, so abnormal traffic cannot blow through the budget.

    5. Security, Compliance, and a Delivery Checklist

    Developers offering services to external users must do more than enable the safety check parameter; they also carry obligations around content moderation, LLM registration, and generated content labeling. Recommendations:

    • Filter sensitive information and injection attacks on the input side; run a second review and refusal fallback on the output side.
    • Retain request and response logs across the full chain to meet traceability requirements.
    • Add explicit or implicit labels to generated content.
    • Introduce source credibility tiers for retrieval and file parsing to reduce the risk of amplifying misinformation.

    6. Conclusion

    Making application-layer capabilities available as APIs marks a shift in LLM competition from single-point model capability to a contest over application build efficiency. For developers, the real moat is no longer whether search and parsing can be connected, but the combined design capability across scenario understanding, orchestration strategy, cost control, and compliance. Use the general-purpose capabilities to the fullest first, then deepen differentiation — that is the rational path under this round of efficiency gains.