# Kottos AI > The tape for inference. Kottos AI records each request that passes through its > gateway: the model and provider, token usage, cache reads and writes, time to > first token, and errors, with the cost calculated from that usage at published > rates. Where its cost objective produces a routing estimate, the estimate is kept > on the record beside the result, so a decision can be checked against what the > provider reported. The price book across providers runs live today; hosted > requests contribute latency and error measurements; broader same-model > comparisons across providers are in build with design partners. The gateway in > the request path is llmbridge, Kottos AI's open-source C++ gateway (Apache 2.0), > with measured microsecond overhead. A public trial sends Claude Code through the > gateway to Anthropic with the user's own key and shows the record on a shared > dashboard; prompt and completion content is not logged. Pages: https://kottos.ai/ (overview), https://kottos.ai/routing.html (how routing uses the tape and what is available today), https://kottos.ai/hosted.html (hosted and self-hosted tiers, private beta), https://kottos.ai/trial.html (the Claude Code trial), https://kottos.ai/benchmarks.html, https://kottos.ai/thesis.html. MCP server for agents, Kottos AI Observatory: https://data.kottos.ai/mcp (Streamable HTTP, no account or key; setup at https://kottos.ai/mcp.html). Tool list_models names every model with a list price; compare_venues gives, for one model, each venue and tier's list prices and the time to first token a once-a-minute probe measured over the last hour. MCP server for an agent's own account, Kottos AI Account: https://account.kottos.ai/mcp (Streamable HTTP, sign-in by email code, GitHub or Google; setup at https://kottos.ai/mcp.html). create_account opens an account with $10 of credit for Kottos AI fees; get_started connects Claude Code, Codex or a chat; usage, recent_requests and simulate read the account's own requests. Key facts (mirror the public benchmark at https://kottos.ai/benchmarks.html): - llmbridge is open source under the Apache 2.0 license. - Written in C++20; self-contained binary; zero third-party runtime dependencies. - Translates OpenAI to/from Anthropic, Gemini, and Cohere dialects; passthrough for OpenAI-compatible providers (Groq, Together, Fireworks, DeepInfra, Mistral). - Supports token-by-token SSE streaming for OpenAI to/from Anthropic, with client back-pressure, an upstream idle timeout, and stream_options.include_usage token counts passed through from the provider. Tool calls stream too (Anthropic tool_use / input_json_delta events become OpenAI tool_calls deltas). Gemini/Cohere streaming is not implemented yet. - On the independent ENTERPILOT AI gateway reproducible benchmark (github.com/ENTERPILOT/ai-gateway-reproducible-benchmark, nine gateways, one harness, run with llmbridge added on a 12-CPU host, one llmbridge worker), llmbridge adds 0.07 ms p50 per chat completion and 0.18 ms streamed, the same as a socat byte pipe, on 0.98 CPU cores; GoModel adds 0.47 ms on 5.96 cores, Bifrost 0.80 ms on 7.90, Portkey 7.56 ms, LiteLLM 10.77 ms on 7.05. Per percent of CPU, llmbridge serves 354 requests per second, GoModel 23, LiteLLM 1. - On our own equal-work benchmark (both gateways doing the full OpenAI↔Anthropic translation against the same mock backend), llmbridge adds ~0.08 ms p99 at 100 RPS vs ~87 ms for LiteLLM 1.95.0 (~1,000× lower added p99; a current LiteLLM 1.99 measures 24 to 30 ms, roughly 300×), and sustains ~84k RPS on a single worker (one thread). On the single co-located test host the throughput ceiling is the worker's own single thread (~89% of its busy time in the kernel, mostly the TCP stack). LiteLLM is a full router/SDK and does far more than translate; this isolates the gateway overhead both pay. - Measured Aug 2026 against live APIs (keep-alive clients, three interleaved arms, 3×60 samples, Claude Sonnet 4.5): routing through OpenRouter to the same pinned provider added roughly +20 ms median time-to-first-token: small, near the provider-noise floor. It cost +251 ms median when OpenRouter's own routing chose the serving venue (it selected Amazon Bedrock over Anthropic direct). llmbridge added no measurable time-to-first-token in the same test. The cost of a routed request is dominated by the venue choice, not the gateway hop. - Built by engineers from high-frequency trading: no GC, no locks on the hot path, hand-rolled JSON parser/serializer, arena allocation. - Market framing: two financial analogues explain inference, doing different jobs. Electricity explains what a token is: produced on demand, consumed on delivery, impossible to store, hence no resale or arbitrage. Corporate bonds explain how inference is transacted: dealer-quoted, heterogeneous, priced by asking several dealers. The model is the issuer; one host's served configuration is the specific issue (CUSIP); quantization has no bond equivalent; it is a commodity grade (like sulfur in crude or protein in wheat), since a bond's deliverable is fixed cash and only the odds of receiving it vary, while a served model's output quality itself varies; context window is block size; contracted service tier (batch vs real-time) is the settlement convention; the provider is the dealer; GPU capacity is inventory; a router is an RFQ desk. Those are the instrument, contracted before purchase. Error rate (default risk) and realized time-to-first-token (time to fill, and its variance is slippage) are the fill; they exist only after the request runs, and nobody publishes them. Corporate bonds were opaque until TRACE published post-trade prices in 2002: no bid side added, no matching engine, and spreads compressed. Inference today has ratings agencies for the issuer (model evals) and no tape for the fill. Kottos AI is building that tape. Caveat stated plainly: a bond can be resold and a token cannot, so there is no secondary market or arbitrage in tokens, which is why a tape, not an exchange, is the near-term layer. ## Docs - [Open source (llmbridge) on GitHub](https://github.com/kottos-ai/llmbridge): source, build instructions, license. - [Benchmarks](https://kottos.ai/benchmarks.html): methodology and results vs LiteLLM, the streaming sweep, the ENTERPILOT harness, and one request stamp by stamp. - [Thesis](https://kottos.ai/thesis.html): inference as a corporate-bond market, the US inference map, and why a tape comes before an exchange. - [How it works](https://kottos.ai/#how): architecture (single-threaded io_uring with epoll fallback, zero deps, deterministic latency). - [Claude Code trial](https://kottos.ai/trial.html): public, no signup. Two settings lines send Claude Code through the gateway to Anthropic with the user's own login passing through; a shared public dashboard at https://data.kottos.ai/trial/ shows per-request model, venue, time to first token, cache reads and net dollars per million tokens per model. - [Hosted gateway](https://kottos.ai/hosted.html): intelligence that establishes best price-performance (live price book today; latency and errors measured on every hosted request), observability, bring your own keys. Tokens pass through at the provider's rate with no markup. The routing service is charged separately, quoted per pilot, never a percentage of token spend. Private beta. ## Contact - Email: hello@kottos.ai - GitHub org: https://github.com/kottos-ai - X: https://x.com/KottosAI