# BitRouter > BitRouter is a context-aware LLM router that improves agent workflows through a routing policy you own, review, and commit. Send `bitrouter/auto` to invoke that policy, or send a logical `provider/model` id to choose a model while preserving provider fallback. A local binary or hosted endpoint gives an agent one cross-protocol routing surface for OpenAI Chat and Responses, Anthropic Messages, and Google Generative AI. The open-source binary also includes configurable guardrails, OpenTelemetry export, an MCP gateway for upstream tools, and local ACP adapters for agent sessions. Self-host the Apache-2.0 router with your own provider keys and no BitRouter inference fee, or use BitRouter Cloud as a managed endpoint. ## Key Facts * One model id can replace repeated model decisions: `bitrouter/auto` routes each call through your policy. A slash-form id such as `anthropic/claude-opus-4.8` selects a logical model and preserves eligible provider fallback; a colon-form `provider:model` selector pins one configured provider. * Two loops improve routing. Online: live traffic is classified by outcome (deterministic, no LLM judge in the path), failures escalate a route immediately, and a cheaper route must succeed repeatedly before it earns traffic. Offline: `bro optimize` runs your own workflow command twice — once as-is, once with exactly one routing change — and reports cost and quality deltas against a success contract you wrote. You publish or roll back; the policy lock is a file you commit. * Four mechanisms built into the router: Reliability (ordered retry and multi-provider fallback), Observability (request and upstream-attempt traces with cost metadata), Security (configured block/redact rules plus virtual-key policies), and Efficiency (context-aware routing by trajectory position and policy). * Runtimes that accept a custom OpenAI or Anthropic base URL can switch by changing the endpoint. The local proxy is `http://127.0.0.1:4356`; the hosted API is `https://api.bitrouter.ai/v1`. * One Rust binary; basic local routing needs no external service. Persistent identity, metering, and adaptive evidence use SQLite by default, with Postgres and MySQL also supported. * BYOK credentials can be detected from environment variables. Self-hosted BYOK traffic is billed by the upstream provider, not by BitRouter. * OSS self-hosting has no BitRouter fee; you pay infrastructure and provider costs directly. Cloud Auto Routing and Elastic Inference share one platform fee: $0.01 per million processed input + output tokens at early access pricing. Tokens are counted once per request, including when routing into Elastic Inference. Provider or supplier inference charges are separate. Elastic purchase caps include supplier charges and the platform fee; estimates use expected output while budget checks use the full output limit. There is no percentage-based transaction fee. Enterprise services and terms are custom. Third-party payment-processing fees may apply when adding funds. * Apache 2.0, open-sourced; Cloud is opt-in. * Enterprise use cases include background agents, evaluation and distillation data generation, and batch pipelines. Inference capacity reservations are in alpha testing; teams can discuss participation with their models, expected volume, and time window. No general-availability, guaranteed-capacity, or SLA claim is implied. * Permissionless participation and trustless inference. Providers join the Elastic Inference market by meeting open technical requirements, without case-by-case approval. Every inference request on the BitRouter platform is verified against its declared model version, weights, and precision, with end-to-end request and response evidence. This platform verification claim does not imply that arbitrary endpoints connected to the OSS router acquire attestation automatically. * New accounts receive a one-time $10 credit toward Cloud platform fees. Provider inference charges still apply. No credit card required. At current early access pricing, the $10 welcome credit covers platform fees for one billion processed input + output tokens. It is not a monthly allowance. ## How BitRouter Compares BitRouter, LiteLLM, and OpenRouter all route LLM traffic. BitRouter is specifically organized around an open-source router plus an operator-owned, outcome-informed policy loop. * Deployment: BitRouter — Apache 2.0 binary or managed Cloud; LiteLLM — importable Python SDK plus self-hosted proxy and commercial Enterprise offering; OpenRouter — hosted service. * OSS runtime extensibility: BitRouter's integration registry accepts changes through reviewed pull requests. This is separate from provider participation in the Elastic Inference market. * Agent surfaces: BitRouter includes an MCP gateway and local ACP adapters; Agent Skills are installed and executed by the agent host. * Routing policy: BitRouter can publish outcome-informed policy changes to a file under operator and Git control. ## Cloud API tasks * [Cloud authentication](https://bitrouter-docs-staging.up.railway.app/docs/reference/authentication.md#cloud-api-keys): Caller credentials, Cloud inference scopes, local virtual keys, and provider-key boundaries * [First Cloud request](https://bitrouter-docs-staging.up.railway.app/docs/reference.md#first-cloud-request): Call the hosted Responses API with a BitRouter Cloud key * [Python client](https://bitrouter-docs-staging.up.railway.app/docs/reference.md#python-client): OpenAI Python SDK example using the BitRouter base URL and Cloud key * [Cloud quickstart](https://bitrouter-docs-staging.up.railway.app/docs/overview/quickstart.md#authenticate-and-send-your-first-request): Install the CLI, sign in, mint a key, and send the first request ## Quickstart for Agents If you are an AI agent setting up BitRouter, follow these steps: 1. Install via Agent Skills (recommended for skill-capable runtimes — Claude Code, Cursor, Codex, Copilot): run `npx skills add bitrouter/bitrouter`, then invoke the skill ("Set up BitRouter for me"). The skill runs the wizard, defaults to BitRouter Cloud, and verifies the connection autonomously — no further input needed. 2. Or install the CLI directly (pick one): `curl --proto '=https' --tlsv1.2 -LsSf https://github.com/bitrouter/bitrouter/releases/latest/download/bitrouter-installer.sh | sh` · `npm install -g bitrouter` · `brew install bitrouter/tap/bitrouter` · `cargo install bitrouter`. Then run `bro init --after exit` for onboarding. Choose local to BYOK with your own provider keys, or Cloud for the hosted endpoint; use `bro claude` or `bro codex` for native harness interaction. 3. Route your runtime through BitRouter by changing its base URL: local proxy `http://127.0.0.1:4356/v1` (OpenAI-compatible) or `http://127.0.0.1:4356` (Anthropic-compatible); hosted Cloud `https://api.bitrouter.ai/v1`. On the local proxy, use `bitrouter/auto` with a bound routing policy, a logical `provider/model` id, or `provider:model` to pin one configured provider. On Cloud, use a catalog model ID or an enabled workspace routing preset such as `@`. 4. Verify: `curl http://127.0.0.1:4356/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"anthropic/claude-haiku-4.5","messages":[{"role":"user","content":"Hello!"}]}'` References: * Full quickstart walkthrough: [https://bitrouter-docs-staging.up.railway.app/docs/overview/quickstart](https://bitrouter-docs-staging.up.railway.app/docs/overview/quickstart.md) * Agent Skill (install/configure BitRouter from inside an agent): * BitRouter CLI (proxy, onboarding, and TUI conversation): ## Documentation tools and publications * [Docs MCP server card](https://bitrouter-docs-staging.up.railway.app/.well-known/mcp/server-card.json): Public read-only Streamable HTTP endpoint at /mcp; native Fumadocs tools list\_pages, get\_page, and search; compatibility search\_docs/get\_doc and model lookup remain available * [Blog Markdown index](https://bitrouter-docs-staging.up.railway.app/blog/llms.txt): Published articles, separate from the documentation index ## Overview * [Model markets](https://bitrouter-docs-staging.up.railway.app/models): Elastic Inference design preview with four assumed listings, illustrative bid/ask history, token volume, settled trading volume, available liquidity, weighted slippage, and platform fees; all data is demo, not live * [Quickstart](https://bitrouter-docs-staging.up.railway.app/docs/overview/quickstart.md): Install via Agent Skills or the CLI, start routing in under a minute, then optimize against your own workflow * [How BitRouter Works](https://bitrouter-docs-staging.up.railway.app/docs/overview/what-is-bitrouter.md): The one-page explanation — `bitrouter/auto`, how routing reads each call, and the two loops that improve it * [Elastic Inference](https://bitrouter-docs-staging.up.railway.app/docs/overview/elastic-inference.md): Optional cloud service for buying and selling inference across price, time, and heterogeneous models, with limit-order tables and provisional JSON examples * [Agent Skill](https://github.com/bitrouter/bitrouter/tree/main/skills/bitrouter): Versioned instructions that teach an agent to install and operate BitRouter * [BitRouter CLI](https://github.com/bitrouter/bitrouter): `cargo install bitrouter` — the Rust binary, onboarding, and TUI conversation * [Enterprise](https://bitrouter-docs-staging.up.railway.app/enterprise): Choose between self-hosted OSS, BitRouter Cloud, and a design partnership for requirements not shipped today * [Changelog](https://bitrouter-docs-staging.up.railway.app/docs/changelog.md): All release notes on one page ### Comparison * [OpenRouter](https://bitrouter-docs-staging.up.railway.app/docs/overview/comparison/openrouter.md): Hosted model access, automatic selection, and policy ownership * [Router (Ramp)](https://bitrouter-docs-staging.up.railway.app/docs/overview/comparison/router-ramp.md): Managed routing, evaluation, and deployment control * [vLLM Semantic Router](https://bitrouter-docs-staging.up.railway.app/docs/overview/comparison/vllm-semantic-router.md): Programmable signals, model paths, and context ownership * [LiteLLM](https://bitrouter-docs-staging.up.railway.app/docs/overview/comparison/litellm.md): SDK/proxy integration, gateway operations, and routing configuration ## CLI * [Getting Started](https://bitrouter-docs-staging.up.railway.app/docs/cli/getting-started.md): Install and check the CLI, select Cloud or local sources, and start the router * [Configuration](https://bitrouter-docs-staging.up.railway.app/docs/routing/configuration.md): File discovery, environment references, validation, applying changes, and generated field reference * [Run & Inspect](https://bitrouter-docs-staging.up.railway.app/docs/cli/run-inspect.md): Daemon lifecycle, route previews, request inspection, diagnostics, and scripting * [Cloud Management](https://bitrouter-docs-staging.up.railway.app/docs/cli/cloud-management.md): CLI login, namespaces, API keys, usage, balances, budgets, and account policies * [Command Reference](https://bitrouter-docs-staging.up.railway.app/docs/usage/cli.md): Complete commands and flags from the captured release binary ## API * [Getting Started](https://bitrouter-docs-staging.up.railway.app/docs/reference.md): Deployment choice, model discovery, first request, and a compatible Python client * [Authentication](https://bitrouter-docs-staging.up.railway.app/docs/reference/authentication.md): Cloud keys, local virtual keys, request headers, and permissions * [Inference APIs](https://bitrouter-docs-staging.up.railway.app/docs/usage/responses-api.md): Responses, Chat Completions, Messages, and GenerateContent with streaming, tools, and compatibility limits * [Model discovery endpoint](https://bitrouter-docs-staging.up.railway.app/docs/reference/discovery/listModels.md): GET /v1/models catalog contract and filters * [Create a response endpoint](https://bitrouter-docs-staging.up.railway.app/docs/reference/openai-responses/createResponse.md): Hosted POST /v1/responses contract, authentication, example request and errors * [OpenAPI schema](https://bitrouter-docs-staging.up.railway.app/openapi.json): Machine-readable Cloud contract used by this documentation release ## Integrations * [DeepSeek Harness](https://bitrouter-docs-staging.up.railway.app/docs/integration/deepseek-harness.md): Development bro connect setup for initialized profiles, native model selection, protocols, and restoration * [Hermes Agent](https://bitrouter-docs-staging.up.railway.app/docs/integration/hermes-agent.md): Development bro connect setup for an existing profile/backend; native chat and cron route selection, with explicit multi-selector registration * [OpenClaw](https://bitrouter-docs-staging.up.railway.app/docs/integration/openclaw.md): Development bro connect setup for a Gateway instance; native agent/automation route selection, credentials, and removal * [OpenCode](https://bitrouter-docs-staging.up.railway.app/docs/integration/opencode.md): Development bro connect setup for native CLI/TUI, Desktop, or Web backends; gateway protocols and connection checks * [Pi](https://bitrouter-docs-staging.up.railway.app/docs/integration/pi.md): Development bro connect setup for a persistent native provider, agent-directory scope, model selection, and restoration ## Market * [Price-Time Priority](https://bitrouter-docs-staging.up.railway.app/docs/market/price-time-priority.md): Purchase timing, price caps, supplier charges, Cloud platform fees, and the one-time welcome credit * [Inference Types](https://bitrouter-docs-staging.up.railway.app/docs/market/inference-types.md): On-demand and Interruptible capacity, with Reserved marked Coming soon * [Inference Tiers](https://bitrouter-docs-staging.up.railway.app/docs/market/inference-tiers.md): Market design terminology for Unverified, Verified, and Secured inference * [Buy Inference](https://bitrouter-docs-staging.up.railway.app/docs/market/buy-inference.md): Documentation placeholder for obtaining inference access through BitRouter * [Sell Inference](https://bitrouter-docs-staging.up.railway.app/docs/market/sell-inference.md): Documentation placeholder for optional marketplace supply ## Router * [Auto Router](https://bitrouter-docs-staging.up.railway.app/docs/routing/auto-router.md): Initialize bitrouter/auto, send requests, and inspect the serving route * [Workload Optimization](https://bitrouter-docs-staging.up.railway.app/docs/routing/workload-optimization.md): Planned workload learning; existing policy artifacts, evaluations, evidence snapshots, and reviewed publication tools * [State Affinity](https://bitrouter-docs-staging.up.railway.app/docs/routing/state-affinity.md): Coming soon; canonical guide for state-aware source selection * [Routing Traces](https://bitrouter-docs-staging.up.railway.app/docs/routing/routing-traces.md): Follow router decisions, serving routes, and upstream attempts across the available workflow trajectory * [Strategies](https://bitrouter-docs-staging.up.railway.app/docs/routing/strategies.md): Resolve selectors, constrain the inference pool, and reuse endpoint ordering, presets, and variants Supporting guide linked from Strategies: * [Context Routing](https://bitrouter-docs-staging.up.railway.app/docs/routing/context-routing.md): Select retained evidence for the next native model call ## Model * [Model Fallbacks](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/model-fallback.md): Define failure-driven replacement across providers, models, and accounts * [Virtual Models](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/virtual-models.md): Define named model endpoints, request selectors, and reusable presets * [Structured Output](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/structured-output.md): Coming soon * [BYOK & Subscriptions](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/byok-subscriptions.md): Connect keys, subscription logins, multiple accounts, and custom endpoints * [Local Models](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/local-models.md): Connect and verify inference servers you run yourself ## Reference * [Privacy Policy](https://bitrouter-docs-staging.up.railway.app/docs/privacy-policy.md): Data collection, storage, third-party processing, and privacy contact * [Terms of Service](https://bitrouter-docs-staging.up.railway.app/docs/terms-of-service.md): Service terms, usage policies, payments, and availability * [Troubleshooting](https://bitrouter-docs-staging.up.railway.app/docs/troubleshooting.md): Coming soon ## Optional * [Model catalog JSON](https://bitrouter-docs-staging.up.railway.app/api/bitrouter/models): Structured model catalog from the hosted API; model IDs, metadata, and available pricing. This is JSON data, separate from the documentation and the illustrative market preview. * [llms-full.txt](https://bitrouter-docs-staging.up.railway.app/llms-full.txt): Complete documentation as plain text for ingestion ## Complete documentation Every canonical documentation page, including guides omitted from the sidebar. Model detail pages are available through the separate model catalog above. ### Guides * [Changelog](https://bitrouter-docs-staging.up.railway.app/docs/changelog.md): Product updates and release notes for BitRouter, newest first. * [Agent](https://bitrouter-docs-staging.up.railway.app/docs/cli/agent.md): bitrouter-agent — a CLI wizard that reads your agentic codebase and writes an MVP bitrouter.yaml, a cost audit, and a machine-readable analysis, then upgrades the estimate to observed spend once the router has metered real traffic. * [Cloud Management](https://bitrouter-docs-staging.up.railway.app/docs/cli/cloud-management.md): Sign in, manage Cloud API keys and workspaces, and inspect usage, balances, budgets, and policies from the terminal. * [Getting Started](https://bitrouter-docs-staging.up.railway.app/docs/cli/getting-started.md): Install the CLI, connect Cloud or your own providers, and verify the local router. * [Request receipts](https://bitrouter-docs-staging.up.railway.app/docs/cli/request-receipts.md): Inspect the model, provider, usage, cost, latency, and status recorded for local and Cloud requests. * [Run & Inspect](https://bitrouter-docs-staging.up.railway.app/docs/cli/run-inspect.md): Operate the local router, preview model routes, inspect settled requests, and automate routine checks. * [bro \[harness\]](https://bitrouter-docs-staging.up.railway.app/docs/integration/bro-harness.md): Launch a supported harness with BitRouter routing configured for that process. * [Claude Code](https://bitrouter-docs-staging.up.railway.app/docs/integration/claude-code.md): Connect Claude Code to local or Cloud BitRouter, configure a Claude-only model pool, and verify the serving route. * [Codex](https://bitrouter-docs-staging.up.railway.app/docs/integration/codex.md): Connect Codex to local or Cloud BitRouter, configure a GPT-only model pool, and verify the serving route. * [DeepSeek Harness](https://bitrouter-docs-staging.up.railway.app/docs/integration/deepseek-harness.md): Add BitRouter to initialized DeepSeek Harness profiles and use its routes from the native model picker. * [Hermes Agent](https://bitrouter-docs-staging.up.railway.app/docs/integration/hermes-agent.md): Add BitRouter to an existing Hermes profile and select its gateway route in the native model picker. * [OpenClaw](https://bitrouter-docs-staging.up.railway.app/docs/integration/openclaw.md): Add BitRouter to an existing OpenClaw gateway and select its route from native agent and automation model controls. * [OpenCode](https://bitrouter-docs-staging.up.railway.app/docs/integration/opencode.md): Add a persistent BitRouter provider to OpenCode while retaining its native sessions, tools, and interface. * [Pi](https://bitrouter-docs-staging.up.railway.app/docs/integration/pi.md): Configure a persistent BitRouter provider in Pi and route native CLI or TUI requests through the gateway. * [Buy Inference](https://bitrouter-docs-staging.up.railway.app/docs/market/buy-inference.md): Access inference through BitRouter for your applications and coding agents. * [Inference Tiers](https://bitrouter-docs-staging.up.railway.app/docs/market/inference-tiers.md): Compare the evidence and security requirements for Unverified, Verified, and Secured inference. * [Inference Types](https://bitrouter-docs-staging.up.railway.app/docs/market/inference-types.md): Compare on-demand, interruptible, and reserved inference capacity. * [Price-Time Priority](https://bitrouter-docs-staging.up.railway.app/docs/market/price-time-priority.md): How price and time shape an inference purchase, including supplier charges and Cloud platform fees. * [Sell Inference](https://bitrouter-docs-staging.up.railway.app/docs/market/sell-inference.md): Offer inference through the BitRouter marketplace, with optional public listing. * [BYOK & Subscriptions](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/byok-subscriptions.md): Connect API keys, subscription logins, multiple accounts, and custom endpoints to BitRouter. * [Local Models](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/local-models.md): Connect Ollama, vLLM, Unsloth, or another OpenAI-compatible model server to BitRouter. * [Model Fallbacks](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/model-fallback.md): Define replacement routes and understand when a failed inference request advances to another provider or model. * [Structured Output](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/structured-output.md): Structured output documentation is coming soon. * [Virtual Models](https://bitrouter-docs-staging.up.railway.app/docs/models-routing/virtual-models.md): Give configured model endpoints a reusable name, then call that name from an application or harness. * [LiteLLM](https://bitrouter-docs-staging.up.railway.app/docs/overview/comparison/litellm.md): Compare BitRouter with LiteLLM's SDK and proxy across gateway operations, automatic routing, and migration. * [OpenRouter](https://bitrouter-docs-staging.up.railway.app/docs/overview/comparison/openrouter.md): Compare BitRouter and OpenRouter across model selection, policy ownership, deployment, and migration. * [Router (Ramp)](https://bitrouter-docs-staging.up.railway.app/docs/overview/comparison/router-ramp.md): Compare BitRouter with Ramp Router across managed routing, model evaluation, policy control, and integration. * [vLLM Semantic Router](https://bitrouter-docs-staging.up.railway.app/docs/overview/comparison/vllm-semantic-router.md): Compare programmable routing signals, model paths, evidence selection, and deployment responsibilities. * [Elastic Inference](https://bitrouter-docs-staging.up.railway.app/docs/overview/elastic-inference.md): Trade inference across price, time, and heterogeneous models. * [Quickstart](https://bitrouter-docs-staging.up.railway.app/docs/overview/quickstart.md): Install BitRouter and get your agent routing in under a minute — pick self-host or Cloud, then onboard via the Agent Skill, the CLI wizard, or manual env keys. * [How BitRouter Works](https://bitrouter-docs-staging.up.railway.app/docs/overview/what-is-bitrouter.md): Route model requests through an inspectable policy and use evidence to improve your agent workflows. * [Privacy Policy](https://bitrouter-docs-staging.up.railway.app/docs/privacy-policy.md): How BitRouter protects your data and privacy * [Auto Router](https://bitrouter-docs-staging.up.railway.app/docs/routing/auto-router.md): Set up bitrouter/auto, send policy-bound requests, override one call, and inspect the serving route. * [Configuration (YAML)](https://bitrouter-docs-staging.up.railway.app/docs/routing/configuration.md): Find the active BitRouter configuration, resolve secrets, validate settings, and apply changes. * [Context Routing](https://bitrouter-docs-staging.up.railway.app/docs/routing/context-routing.md): Adjust what the next model call sees while preserving the evidence collected during the same task. * [Routing Traces](https://bitrouter-docs-staging.up.railway.app/docs/routing/routing-traces.md): Trace routing decisions across your workflow, from the requested model to the serving route and its recorded outcome. * [State Affinity](https://bitrouter-docs-staging.up.railway.app/docs/routing/state-affinity.md): State Affinity documentation is coming soon. * [Strategies](https://bitrouter-docs-staging.up.railway.app/docs/routing/strategies.md): Resolve selectors, constrain eligible providers, and reuse routing rules through presets and named variants. * [Workload Optimization](https://bitrouter-docs-staging.up.railway.app/docs/routing/workload-optimization.md): Learn from recurring agentic workloads to refine routing toward your quality, cost, and latency goals. * [Self-hosting BitRouter](https://bitrouter-docs-staging.up.railway.app/docs/self-hosting.md): Install, deploy, secure, and operate the Apache-2.0 router on infrastructure you control. * [Terms of Service](https://bitrouter-docs-staging.up.railway.app/docs/terms-of-service.md): Terms and conditions for using BitRouter * [Troubleshooting](https://bitrouter-docs-staging.up.railway.app/docs/troubleshooting.md): Troubleshooting documentation is coming soon. * [Command Reference](https://bitrouter-docs-staging.up.railway.app/docs/usage/cli.md): The bro CLI — run and inspect the local router, launch coding agents, and manage your BitRouter Cloud account. * [Cloud](https://bitrouter-docs-staging.up.railway.app/docs/usage/cloud.md): Coming soon. * [Inference APIs](https://bitrouter-docs-staging.up.railway.app/docs/usage/responses-api.md): Choose Responses, Chat Completions, Messages, or GenerateContent and integrate routed inference with the matching protocol. ### API reference * [Getting Started](https://bitrouter-docs-staging.up.railway.app/docs/reference.md): Choose a BitRouter API deployment, discover a model, and send your first inference request. * [Create message](https://bitrouter-docs-staging.up.railway.app/docs/reference/anthropic-compatible/createMessage.md) * [Authentication](https://bitrouter-docs-staging.up.railway.app/docs/reference/authentication.md): Authenticate Cloud and local API requests, distinguish caller credentials from provider keys, and check required permissions. * [Get BYOK sealed-box public key](https://bitrouter-docs-staging.up.railway.app/docs/reference/byok/getEncryptionPubkey.md) * [Decisions / System One](https://bitrouter-docs-staging.up.railway.app/docs/reference/decisions.md): Evaluate evidence with typed questions and understand how System One classification supplies routing signals. * [Platform token usage statistics](https://bitrouter-docs-staging.up.railway.app/docs/reference/discovery/getUsageStats.md) * [List available models](https://bitrouter-docs-staging.up.railway.app/docs/reference/discovery/listModels.md) * [List providers](https://bitrouter-docs-staging.up.railway.app/docs/reference/discovery/listProviders.md) * [Generate content (Google)](https://bitrouter-docs-staging.up.railway.app/docs/reference/google-compatible/googleGenerateContent.md) * [Liveness check](https://bitrouter-docs-staging.up.railway.app/docs/reference/health/ping.md) * [Bind a policy to a principal](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/bindPolicy.md) * [Claim an access code](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/claimAccessCode.md) * [Create a budget policy](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/createBudget.md) * [Create a Stripe Checkout Session](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/createCheckoutSession.md) * [Create a namespace](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/createNamespace.md) * [Create a policy](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/createPolicy.md) * [Create a preset bundle](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/createPreset.md) * [Create a routing preset](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/createRoutingPreset.md) * [Delete the caller's account](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/deleteAccount.md) * [Delete a budget and its bindings](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/deleteBudget.md) * [Delete a BYOK provider key](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/deleteByokKey.md) * [Delete a namespace and cascade its resources](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/deleteNamespace.md) * [Delete an OAuth client](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/deleteOauthClient.md) * [Delete a policy and its bindings](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/deletePolicy.md) * [Delete a preset and its bindings](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/deletePreset.md) * [Delete a routing preset](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/deleteRoutingPreset.md) * [Park a policy without deleting it](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/disablePolicy.md) * [Park a routing preset without deleting it](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/disableRoutingPreset.md) * [Re-enable a previously disabled policy](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/enablePolicy.md) * [Re-enable a previously disabled routing preset](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/enableRoutingPreset.md) * [Read the caller's user profile](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/getAccount.md) * [Credit account balance](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/getBillingBalance.md) * [Read a budget by id](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/getBudget.md) * [Terminal status of a Checkout Session](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/getCheckoutSessionStatus.md) * [Get the caller's current access code](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/getCurrentAccessCode.md) * [Preview the engine's effective policy for a principal](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/getEffectivePolicy.md) * [Read a single policy by id](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/getPolicy.md) * [Read a preset by id](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/getPreset.md) * [Get settlement for one invoked request](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/getRequestSettlement.md) * [Read a routing preset by id](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/getRoutingPreset.md) * [Aggregate spend / tokens for a window](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/getUsageAggregate.md) * [List API keys for the calling account](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/listApiKeys.md) * [Paginated credit ledger history](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/listBillingTransactions.md) * [List the account's budget policies](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/listBudgets.md) * [List BYOK provider keys](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/listByokKeys.md) * [List the caller's namespaces](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/listNamespaces.md) * [List the caller's OAuth clients](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/listOauthClients.md) * [List account policies](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/listPolicies.md) * [List bindings attached to one policy](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/listPolicyBindings.md) * [List the account's preset bundles](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/listPresets.md) * [List policies bound to a principal](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/listPrincipalPolicies.md) * [Paginated request history](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/listRequests.md) * [List the namespace's routing presets](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/listRoutingPresets.md) * [Mint a new API key](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/mintApiKey.md) * [Register a new OAuth client](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/registerOauthClient.md) * [Revoke an API key](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/revokeApiKey.md) * [Remove a policy binding](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/unbindPolicy.md) * [Update the caller's profile](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/updateAccount.md) * [Update a budget's name, window, or limit](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/updateBudget.md) * [Update an OAuth client](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/updateOauthClient.md) * [Update a policy's name or spec](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/updatePolicy.md) * [Update a preset's name or clauses](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/updatePreset.md) * [Replace a routing preset's spec](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/updateRoutingPreset.md) * [Upsert a BYOK provider key](https://bitrouter-docs-staging.up.railway.app/docs/reference/management/upsertByokKey.md) * [Prometheus metrics scrape](https://bitrouter-docs-staging.up.railway.app/docs/reference/observability/getMetrics.md) * [Create chat completion](https://bitrouter-docs-staging.up.railway.app/docs/reference/openai-compatible/createChatCompletion.md) * [Create response](https://bitrouter-docs-staging.up.railway.app/docs/reference/openai-responses/createResponse.md)