---
title: "Discussion on \"The Native Client Reads the Headers: nRouter's Rust SDK, Closely\" | Hashnode"
description: "Discussion on \"The Native Client Reads the Headers: nRouter's Rust SDK, Closely\". An OpenAI-compatible gateway sends back more than the completion. nRouter's responses carry x-nr-* headers — cost, cost status, routing information — and a generic client throws them away. The interes"
url: "https://hashnode.com/posts/the-native-client-reads-the-headers-nrouter-s-rust-sdk-closely/6afff04c692157f93a967914"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Native Client Reads the Headers: nRouter's Rust SDK, Closely](https://nrouter.hashnode.dev/the-native-client-reads-the-headers-nrouter-s-rust-sdk-closely?utm_source=hashnode&utm_medium=feed)

An OpenAI-compatible gateway sends back more than the completion. nRouter's responses carry x-nr-\* headers — cost, cost status, routing information — and a generic client throws them away. The interes

Nov 20 · 2 min read · nrouter.hashnode.dev  
Read the article

-   [#rust](https://hashnode.com/tag/rust)
-   [#api](https://hashnode.com/tag/api)
-   [#llm](https://hashnode.com/tag/llm)
-   [#tokio](https://hashnode.com/tag/tokio)

## Written by

[nRouter.ai](https://hashnode.com/@nrouterai)

@nrouterai · Sunnyvale, USA

  
[View profile](https://hashnode.com/@nrouterai)

Every model. One API key. Total control.

nRouter is a managed LLM gateway: one OpenAI-compatible API key, with smart routing, automatic failover, guardrails, virtual keys, and per-key budgets enforced in the request path.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
