> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openserv.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Why SERV Reasoning

> Better results from the models you already use.

SERV Reasoning is an inference API for LLMs. Each call runs through a structured reasoning step, following a bounded graph, that improves the consistency and accuracy of outputs.

It sits between your application and the model: the same request returns **more reliable results, at lower cost**, with no change to how you build.

```mermaid theme={null}
flowchart LR
    A["Your app"] -->|same request| B["SERV Reasoning<br/><i>structured reasoning layer</i>"]
    B -->|one endpoint| C["Any model<br/><i>multi-provider catalog</i>"]
```

<CardGroup cols={3}>
  <Card title="Better outputs" icon="arrow-trend-up">
    Every request runs through a reasoning step — more accurate and consistent outputs than calling the model directly.
  </Card>

  <Card title="Lower cost" icon="coins">
    Pair a smaller model with SERV Reasoning to reach a larger model's quality. Savings scale with volume.
  </Card>

  <Card title="No code changes" icon="code">
    Change the base URL and API key in your existing OpenAI or Anthropic SDK. Nothing else changes.
  </Card>

  <Card title="One endpoint, many models" icon="diagram-project">
    A broad catalog of models behind a single endpoint and a single API key.
  </Card>

  <Card title="Try before you integrate" icon="play" href="https://console.openserv.ai/playground">
    Compare any model with and without SERV Reasoning in the Playground. No code required.
  </Card>

  <Card title="Same build. Better results." icon="sparkles">
    One layer between your app and the model. More reliable, cheaper, zero rewrite.
  </Card>
</CardGroup>

These are available as [SERV Tools](/serv-reasoning/tools): turn them on or off by adding a tool to any request, in any SDK.

<CardGroup cols={2}>
  <Card title="Prompt injection guard" icon="shield-halved" href="/serv-reasoning/tools#serv_prompt_guard" cta="Read the guide">
    Protect your system prompt from injection-based leakage. Opt in with the `serv_prompt_guard` tool.
  </Card>

  <Card title="System-prompt content filter" icon="shield-check" href="/serv-reasoning/tools#serv_disable_content_filter" cta="Read the guide">
    On by default: SERV blocks output that would reveal your system prompt. Disable it per request with the `serv_disable_content_filter` tool.
  </Card>

  <Card title="Shadow agents" icon="robot" href="/serv-reasoning/tools#serv_shadow_agent" cta="Read the guide">
    Difficult tasks reach higher accuracy through a validate-and-iterate loop. Opt in with the `serv_shadow_agent` tool.
  </Card>
</CardGroup>

Full technical diagram of SERV Reasoning engine:

<Frame>
  <img src="https://mintcdn.com/openserv/Dt_AFMyZaE1zysRx/images/SERV-Reasoning---technical-diagram-(full).png?fit=max&auto=format&n=Dt_AFMyZaE1zysRx&q=85&s=208340de675ac90f693724f5b4f5a542" alt="SERV Reasoning Technical Diagram (full)" width="3643" height="4164" data-path="images/SERV-Reasoning---technical-diagram-(full).png" />
</Frame>
