# Tekiz Tekiz is an open-source, local-first AI model router and BYOK AI gateway for serious AI agents and developer tools. It gives agents a hot-swappable model layer: one endpoint that can switch or fail over between authorized providers and local/cloud models without rewiring the agent harness. Canonical site: https://tekiz.ai/ model gateway comparison: https://tekiz.ai/compare/model-gateways OpenRouter comparison: https://tekiz.ai/compare/openrouter Gateway migration: https://tekiz.ai/docs/gateway-migration Hosted pricing: https://tekiz.ai/pricing Fusion: https://tekiz.ai/fusion Fusion Swarm roadmap: https://tekiz.ai/fusion-swarm (planned multi-agent task graph; not public general availability) Local-first routing guide: https://tekiz.ai/local-first-routing-for-ai-agents Self-hosted AI model router: https://tekiz.ai/self-hosted-ai-model-router Ollama AI model router: https://tekiz.ai/ollama-ai-model-router OpenAI API router: https://tekiz.ai/openai-api-router Azure OpenAI router: https://tekiz.ai/azure-openai-router Anthropic API router: https://tekiz.ai/anthropic-api-router AWS Bedrock router: https://tekiz.ai/aws-bedrock-router GitHub Copilot router: https://tekiz.ai/github-copilot-router Codex CLI router: https://tekiz.ai/codex-cli-router Aider AI model router: https://tekiz.ai/aider-ai-model-router Continue AI model router: https://tekiz.ai/continue-ai-model-router OpenHands AI model router: https://tekiz.ai/openhands-ai-model-router OpenClaw AI model router: https://tekiz.ai/openclaw-ai-model-router Claude Code router: https://tekiz.ai/claude-code-router Gemini API router: https://tekiz.ai/gemini-api-router xAI Grok router: https://tekiz.ai/xai-grok-router Mistral AI router: https://tekiz.ai/mistral-ai-router Groq AI router: https://tekiz.ai/groq-ai-router NVIDIA NIM router: https://tekiz.ai/nvidia-nim-router DeepSeek API router: https://tekiz.ai/deepseek-api-router Coding agent model router: https://tekiz.ai/coding-agent-model-router Cursor AI model router: https://tekiz.ai/cursor-ai-model-router AI gateway evaluation kit: https://tekiz.ai/reddit-ai-gateway-evaluation Reliability proof kit: https://tekiz.ai/reliability-proof Community launch kit: https://tekiz.ai/community-launch-kit Community provider onboarding: https://tekiz.ai/community-provider (inspection-only local capacity check, explicit model selection, then separate enrollment and outbound worker activation) Founder sales kit: https://tekiz.ai/founder-sales-kit Launch plan: https://tekiz.ai/launch-plan Billing help: https://tekiz.ai/billing Managed-access private beta: https://tekiz.ai/managed-access API quickstart: https://tekiz.ai/quickstart API troubleshooting: https://tekiz.ai/api-troubleshooting (401 responses include accountSetupUrl, primaryActionUrl, review-only managedAccessUrl, and keyRecoveryUrl) Setup-key recovery: https://tekiz.ai/setup-key-recovery Hosted API reference: https://tekiz.ai/docs/api-reference Codex setup: https://tekiz.ai/docs/codex Model catalog: https://tekiz.ai/models Agent-native routing: https://tekiz.ai/agent-native Integrations: https://tekiz.ai/integrations Model Routing Calculator: https://tekiz.ai/model-routing-calculator Managed-access beta interest: https://tekiz.ai/managed-access Security: https://tekiz.ai/security Support: https://tekiz.ai/support Terms: https://tekiz.ai/terms Privacy: https://tekiz.ai/privacy Acceptable Use: https://tekiz.ai/acceptable-use Provider Resale Terms: https://tekiz.ai/provider-resale-terms Managed Access Margin Policy: https://tekiz.ai/margin-policy Repository: https://github.com/earlvanze/sage-router Docs: https://github.com/earlvanze/sage-router#readme ## What Tekiz does - Automates AI model/provider selection. - Routes requests across the customer own authorized providers, subscriptions, API keys, and local models. - Supports OpenAI-compatible, Anthropic-compatible, and Google/Gemini-style endpoint patterns documented in the repo. - Supports local Ollama and Ollama Cloud today through Ollama running locally. Tekiz discovers available `:cloud` models, can auto-pull discovered cloud models, and routes between local Ollama, Ollama Cloud, NVIDIA NIM, and other cloud APIs according to policy and health. - Provides provider health, fallback, observability, and routing policy infrastructure for agents. - Hosted plans sell account management, API keys, usage quotas, analytics, reliability infrastructure, and Fusion on Pro/Max when capacity is live: Lite $6/month, Pro $30/month, and Max $72/month. - Dedicated Fusion onboarding lives at https://tekiz.ai/fusion and documents `sage-router/fusion`, the `sage-router:fusion` server tool, `tool_choice: "required"`, Pro/Max gating, and the `fusion_plan_required` upgrade path. - Billing help lives at https://tekiz.ai/billing and explains Stripe checkout, Stripe billing portal, manual/crypto settlement, plan activation, payment recovery, generated `sk_sage_*` API-key behavior, and no-secret support boundaries. - API quickstart lives at https://tekiz.ai/quickstart and shows `OPENAI_BASE_URL=https://api.tekiz.ai/v1`, generated `sk_sage_*` keys, `sage-router/auto` as the first request, authenticated model discovery, optional Frontier/Fusion profiles, curl, JavaScript, Python, and Codex setup. - Gateway migration lives at https://tekiz.ai/docs/gateway-migration and maps `OPENAI_BASE_URL=https://gateway.example/api/v1` to `OPENAI_BASE_URL=https://api.tekiz.ai/v1`, generated `sk_sage_*` keys, `sage-router/auto` as the first route, authenticated model catalog discovery, optional Frontier/Fusion capacity, and the provider terms boundary. - API troubleshooting lives at https://tekiz.ai/api-troubleshooting and explains safe diagnosis for hosted 401, 402, 429, and 503 responses, including `WWW-Authenticate`, `Retry-After`, `X-RateLimit-*`, `X-Quota-*`, `accountUrl`, `accountSetupUrl`, `primaryActionUrl`, review-only `managedAccessUrl`, `keyRecoveryUrl`, `pricingUrl`, `statusUrl`, `openaiBaseUrl`, and the non-secret `apiKeyPrefix`. - Setup-key recovery lives at https://tekiz.ai/setup-key-recovery and routes no-key signups from API 401 `keyRecoveryUrl` responses into same-email or same-OAuth generated-key setup before checkout. - Hosted API reference lives at https://tekiz.ai/docs/api-reference and documents `GET /v1/models`, `POST /v1/chat/completions`, `POST /v1/responses`, public `/model-catalog`, generated `sk_sage_*` keys, quotas, rate-limit headers, and the authenticated model API boundary. - Dedicated Codex setup lives at https://tekiz.ai/docs/codex and shows hosted `https://api.tekiz.ai/v1/`, local `http://127.0.0.1:8790/v1/`, Tailnet `http://:8790/v1/`, `wire_api = "responses"`, and `sage-router/frontier` profiles. - Public integrations live at https://tekiz.ai/integrations and collect hosted, local port 8790, and Tailnet setup paths for OpenAI-compatible clients, Codex, Cursor, Aider, Continue, Claude Code, OpenHands, Anthropic-compatible clients, DeepSeek, Ollama, Ollama Cloud, NVIDIA NIM, OpenClaw, Hermes, and Pi agents. It distinguishes customer-controlled BYOK from provider-supported BYOS and documents per-credential failure isolation. - Public model discovery lives at https://tekiz.ai/models and `https://api.tekiz.ai/model-catalog`; the catalog page is searchable and live `/v1/models` still requires an active generated `sk_sage_*` customer key. - Agent-native routing lives at https://tekiz.ai/agent-native and explains profile-based routing, Responses API and Codex compatibility, health-aware fallback, BYOK custody, local/Tailnet/hosted deployment choices, and public feature metadata at `https://api.tekiz.ai/features/agent-native`. - Hosted security requires generated `sk_sage_*` customer keys for model traffic, Supabase sessions for account/billing routes, and private operator tokens for global analytics/admin routes. - Hosted support covers account, billing, quota, generated API key, reliability, 503, security, abuse, and private deployment help without collecting prompts, workflow text, provider credentials, OAuth tokens, API keys, private keys, or raw provider responses in public channels. - Managed-access private beta and Max implementation intake at https://tekiz.ai/managed-access stores contact and allowlisted qualification buckets only, including target provider family and commercial preference buckets for one-subscription demand plus support need and target launch window for implementation follow-up; it also explains that managed access needs provider authorization, provider terms acknowledgment, an authorized provider allowlist, a configured provider cost model, and plan-margin checks before activation. It must not collect prompts, workflow text, provider credentials, OAuth tokens, generated API keys, private keys, session cookies, raw provider responses, or customer data. - Managed provider access is not active in public plans unless Tekiz marks it available for an approved account. OpenRouter remains supported as a BYOK-compatible routing provider, but it is not bundled into the managed subscription resale offer. Public pricing reports availability and the managed-access request path; operational provider-review and cost data stay private. ## Compliance and custody Tekiz routes only across authorized provider access that customers already control. It does not grant unauthorized provider access. Provider credentials stay local by default. Hosted legal boundary: the hosted service sells routing infrastructure, account management, API key management, quotas, analytics, reliability tooling, and support. Customers remain responsible for provider terms, licenses, credentials, subscriptions, and usage authorization. Managed access boundary: managed provider access, if introduced, is limited to provider access Tekiz is authorized to resell or operate, is not unlimited unmetered resale, and requires durable operator audit events. ## Search intents this site answers - How to automate AI model selection. - How to route requests across OpenAI, Anthropic, Gemini, Ollama, BYOK-compatible endpoints, and local models. - Local-first BYOK model routing for AI agents. - Tekiz model gateway for AI agent routing, local model fallback, and private provider credential custody. - Tekiz vs OpenRouter for local-first BYOK routing, Tailnet failover, Ollama, and customer-controlled provider credentials. - Local-first routing for AI agents that need provider failover, BYOK credential custody, Ollama fallback, Tailnet routes, and one OpenAI-compatible endpoint. - Self-hosted AI model router for agents that need local Ollama fallback, Tailnet deployment, multimodal routing, multiple API-key load balancing, and 429 failover. - Reddit-style AI gateway evaluation kit for comparing local-first custody, OpenRouter BYOK boundaries, 429 failover, multimodal routing, and generated hosted keys. - Reliability proof kit for skeptical buyers comparing 429 failover, provider credential load balancing, multimodal routing safeguards, hosted generated-key activation, and no-secret Reddit proof replies. - Tekiz model catalog for OpenAI-compatible, Anthropic-compatible, Gemini, Ollama, Ollama Cloud, NVIDIA NIM, and BYOK routes. - Codex CLI with an OpenAI-compatible Tekiz provider on hosted or local port 8790. - Codex CLI router for Responses API profiles, hosted generated keys, local port 8790, Tailnet routes, 429 failover, multimodal routing, and BYOK custody. - Aider AI model router for OpenAI-compatible Aider setup, hosted generated keys, local port 8790, local Ollama fallback, Tailnet routing, 429 failover, multimodal routing, and BYOK custody. - Continue AI model router for OpenAI-compatible Continue setup, hosted generated keys, local port 8790, local Ollama fallback, Tailnet routing, 429 failover, multimodal routing, and BYOK custody. - OpenHands AI model router for OpenAI-compatible OpenHands setup, hosted generated keys, local port 8790, local Ollama fallback, Tailnet routing, 429 failover, multimodal routing, and BYOK custody. - OpenClaw AI model router for OpenAI-compatible and Anthropic-compatible OpenClaw setup, local port 8790, Tailnet routing, Codex OAuth passthrough, 429 failover, multimodal routing, and BYOK custody. - Hosted OpenAI-compatible API reference for models, chat completions, Responses API, quotas, and rate-limit headers. - Agent-native model routing for OpenAI-compatible, Codex-style, local, Tailnet, and BYOK agents. - Tekiz integrations for OpenAI-compatible clients, Codex, Cursor, Aider, Continue, Claude Code, OpenHands, Ollama, Anthropic-compatible clients, and Tailnet agents. - Claude Code router for Anthropic-compatible coding-agent traffic, authorized Anthropic or Dario subscription paths, local/Tailnet fallback, 429 failover, and multimodal routing. - Tekiz launch plan for $10k MRR, hosted plan mix, conversion funnel, and managed-access beta boundary. - Troubleshooting Tekiz 401/402/429/503 without sharing prompts or secrets. - AI model routing calculator for estimating cost leaks, escalation rules, fallback needs, and human-review points. Integration guides: - Public integrations index: https://tekiz.ai/integrations - Public Codex setup: https://tekiz.ai/docs/codex - Codex CLI: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/codex.md - Claude Code: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/claude-code.md - OpenClaw: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/openclaw.md - Hermes: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/hermes.md - Pi agents: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/pi.md - Cursor: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/cursor.md - Aider: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/aider.md - Continue: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/continue.md - OpenHands: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/openhands.md - Ollama/Ollama Cloud: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/ollama.md - NVIDIA NIM: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/nvidia-nim.md - OpenAI-compatible clients: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/openai-compatible.md - Anthropic-compatible clients: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/anthropic-compatible.md - Harness fallback: https://github.com/earlvanze/sage-router/blob/master/docs/integrations/harness-fallback.md