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

# Ornith-1.0

> Deploy DeepReinforce Ornith-1.0 with SGLang - a self-improving agentic-coding model family with 397B, 35B, and 9B checkpoints plus FP8 and GGUF variants.

## Deployment

> [accordion] Install SGLang
>
> Ornith-1.0 model cards recommend SGLang `>=0.5.9`. The Deploy panel below emits the base serve command; the reasoning and tool-call parsers from the model-card quickstarts (`--reasoning-parser qwen3` for `<think>...</think>` traces, `--tool-call-parser qwen3_coder` for Qwen-style XML tool calls) are added on top via the [Playground](#playground).
>
> > [tab] Python (pip / uv)
> >
> > ```bash Command theme={null}
> > pip install --upgrade pip
> > pip install uv
> > uv pip install --prerelease=allow "sglang>=0.5.9"
> > ```
> >
> > Then run the **Python** output of the command panel below in that environment.
>
> > [tab] Docker
> >
> > ```bash Command theme={null}
> > docker pull lmsysorg/sglang:latest
> > ```
> >
> > For how to launch the image, see [Install -> Method 3: Using Docker](https://docs.sglang.io/docs/get-started/install.md#method-3-using-docker). Substitute the inner `sglang serve ...` with what the command generator below produces.

Pick an Ornith checkpoint to generate the launch command. The non-FP8 397B recipe requires an H200 single node in this matrix. The 397B-FP8 recipe is available on H100 and H200 with TP=8; H100 also supports the 35B and 9B checkpoints. The 35B recipes use tensor parallelism 2 in this matrix. The 9B checkpoint is dense and serves on a single GPU by default; the command panel makes that default explicit with `--tp 1`.

## Playground

The Playground layers SGLang features on top of whichever cell the Deploy panel is showing — only your overrides change, and any change flips the badge to **Not Verified** until the new configuration is run end-to-end.

For Ornith-1.0 the knobs are the reasoning and tool-call parsers:

* **Reasoning Parser** appends `--reasoning-parser qwen3`. Ornith emits `<think>...</think>` traces; with this on, SGLang surfaces them as `message.reasoning_content` instead of leaving the tags inline in `content`.
* **Tool Call Parser** appends `--tool-call-parser qwen3_coder`, so Qwen-style XML tool calls are returned as OpenAI-compatible `tool_calls`.

## 1. Model Introduction

[Ornith-1.0](https://huggingface.co/collections/deepreinforce-ai/ornith-10) is DeepReinforce's self-improving open-source model family for agentic coding. The model cards describe the family as post-trained on top of Gemma 4 and Qwen 3.5, and the collection currently includes 397B, 35B, and 9B repos plus FP8 and GGUF variants. The model cards report results on Terminal-Bench 2.1, SWE-Bench, NL2Repo, ClawEval, and SWE Atlas benchmarks.

**Key Features:**

* **Agentic coding specialization**: the model cards describe Ornith-1.0 as specialized for agentic coding and report coding-agent benchmark results.
* **Self-improving training**: the model cards state that Ornith-1.0 uses reinforcement learning to optimize both solution rollouts and the scaffold that drives those rollouts.
* **Reasoning model behavior**: assistant responses begin with a `<think>...</think>` reasoning block before the final answer; enable the `--reasoning-parser qwen3` toggle in the [Playground](#playground) to split it into `reasoning_content`.
* **Tool calling**: emits Qwen-style XML tool calls; enable the `--tool-call-parser qwen3_coder` toggle in the [Playground](#playground).
* **Long context**: model-card recipes use `--context-length 262144`.
* **MIT license**: the Hugging Face repos are released under MIT.

**Available Models:**

<table>
  <colgroup>
    <col />

    <col />

    <col />

    <col />
  </colgroup>

  <thead>
    <tr>
      <th>Model</th>
      <th>Format</th>
      <th>Deploy Panel</th>
      <th>Notes</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>[deepreinforce-ai/Ornith-1.0-397B](https://huggingface.co/deepreinforce-ai/Ornith-1.0-397B)</td>
      <td>BF16</td>
      <td>H200 only</td>
      <td>Flagship 397B MoE checkpoint; model-card baseline uses TP=8 on an H200 single node.</td>
    </tr>

    <tr>
      <td>[deepreinforce-ai/Ornith-1.0-397B-FP8](https://huggingface.co/deepreinforce-ai/Ornith-1.0-397B-FP8)</td>
      <td>FP8</td>
      <td>H100 / H200</td>
      <td>FP8 repo in the collection; the deploy command uses this repo id with TP=8.</td>
    </tr>

    <tr>
      <td>[deepreinforce-ai/Ornith-1.0-35B](https://huggingface.co/deepreinforce-ai/Ornith-1.0-35B)</td>
      <td>BF16</td>
      <td>H100 / H200</td>
      <td>35B MoE checkpoint; the deploy command uses TP=2.</td>
    </tr>

    <tr>
      <td>[deepreinforce-ai/Ornith-1.0-35B-FP8](https://huggingface.co/deepreinforce-ai/Ornith-1.0-35B-FP8)</td>
      <td>FP8</td>
      <td>H100 / H200</td>
      <td>FP8 repo in the collection; the deploy command uses this repo id with TP=2.</td>
    </tr>

    <tr>
      <td>[deepreinforce-ai/Ornith-1.0-9B](https://huggingface.co/deepreinforce-ai/Ornith-1.0-9B)</td>
      <td>BF16</td>
      <td>H100 / H200</td>
      <td>Dense 9B checkpoint; the model card describes it as designed for efficient single-GPU deployment.</td>
    </tr>

    <tr>
      <td>[deepreinforce-ai/Ornith-1.0-35B-GGUF](https://huggingface.co/deepreinforce-ai/Ornith-1.0-35B-GGUF)</td>
      <td>GGUF</td>
      <td>No</td>
      <td>Listed for completeness; GGUF targets llama.cpp-style local inference, not the SGLang server recipe here.</td>
    </tr>

    <tr>
      <td>[deepreinforce-ai/Ornith-1.0-9B-GGUF](https://huggingface.co/deepreinforce-ai/Ornith-1.0-9B-GGUF)</td>
      <td>GGUF</td>
      <td>No</td>
      <td>Listed for completeness; the model card shows llama.cpp and Ollama examples for the GGUF build.</td>
    </tr>
  </tbody>
</table>

**License:** [MIT](https://huggingface.co/deepreinforce-ai/Ornith-1.0-397B/blob/main/LICENSE)

**Resources:** [Hugging Face collection](https://huggingface.co/collections/deepreinforce-ai/ornith-10) · [Ornith blog](https://deep-reinforce.com/ornith_1_0.html)

## 2. Configuration Tips

* **Reasoning parser**: Ornith responses include `<think>...</think>`. Enable the `--reasoning-parser qwen3` toggle in the [Playground](#playground) so OpenAI-compatible responses expose the reasoning trace as `message.reasoning_content`.
* **Tool-call parser**: enable the `--tool-call-parser qwen3_coder` toggle in the [Playground](#playground) so `<tool_call>` blocks are returned as OpenAI-compatible tool calls.
* **Context length**: the model-card SGLang recipes use `--context-length 262144`. Lower it if you need more memory headroom.
* **Tensor parallelism**: the 397B model-card recipes use `--tp 8`; in this single-node matrix, non-FP8 397B is H200-only, while 397B-FP8 is available on both H100 and H200. The 35B deploy commands use `--tp 2`. The 9B model-card recipe is single-GPU by default; the command panel makes that explicit with `--tp 1`. Adjust TP to match your node and memory budget.
* **Sampling**: model cards recommend `temperature=0.6`, `top_p=0.95`, and `top_k=20` for normal use. Their reported benchmark setup may use different task-specific sampling parameters.
* **Benchmarks**: benchmark numbers in the model cards are reported by DeepReinforce. They are useful for context, but the command panel leaves recipes unverified until exact runs are signed off.

## 3. Usage Examples

### 3.1 Basic Chat Completion

`message.reasoning_content` is only populated when the server was launched with the `--reasoning-parser qwen3` toggle (see the [Playground](#playground)); otherwise the `<think>...</think>` trace stays inline in `message.content`.

> [accordion] Python client
>
> ```python Example theme={null}
> from openai import OpenAI
>
> client = OpenAI(base_url="http://localhost:30000/v1", api_key="EMPTY")
>
> response = client.chat.completions.create(
>     model="Ornith-1.0-9B",
>     messages=[
>         {"role": "user", "content": "Write a compact Python function is_prime(n)."}
>     ],
>     temperature=0.6,
>     top_p=0.95,
>     max_tokens=1024,
>     extra_body={"top_k": 20},
> )
>
> message = response.choices[0].message
> print("=============== Reasoning ===============")
> print(message.reasoning_content)
> print("=============== Answer ==================")
> print(message.content)
> ```

### 3.2 Tool Calling

Enable the `--tool-call-parser qwen3_coder` toggle in the [Playground](#playground) and launch with the resulting command. Then use the standard OpenAI-compatible `tools` field:

> [accordion] Tool-call request
>
> ```python Example theme={null}
> from openai import OpenAI
>
> client = OpenAI(base_url="http://localhost:30000/v1", api_key="EMPTY")
>
> tools = [{
>     "type": "function",
>     "function": {
>         "name": "run_tests",
>         "description": "Run the project's test suite.",
>         "parameters": {
>             "type": "object",
>             "properties": {
>                 "target": {"type": "string", "description": "Test target or command"}
>             },
>             "required": ["target"],
>         },
>     },
> }]
>
> response = client.chat.completions.create(
>     model="Ornith-1.0-9B",
>     messages=[{"role": "user", "content": "Run the unit tests for the parser module."}],
>     tools=tools,
>     tool_choice="auto",
>     temperature=0.6,
>     top_p=0.95,
>     max_tokens=2048,
> )
>
> print(response.choices[0].message.tool_calls)
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.