SuperAPIAI Directory

更多介绍

github.com · AI developer platforms

OpenRouter is an AI model API gateway that provides a unified OpenAI-compatible interface, allowing users to call more than 400 AI models with a single API key and a single bill, covering over 60 providers such as OpenAI, Anthropic, Google, DeepSeek, Qwen, Kimi, and Mistral. It does not train models itself; it mainly handles model distribution and supports on-demand routing, failover, free models, BYOK (bring your own key), usage and cost dashboards, and a real token usage leaderboard. It is suitable for developers and teams that need to switch models frequently, run A/B tests, configure low-cost models for coding agents, or add fallbacks to production environments.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux · API

About this tool

OpenRouter is an API gateway that sits between user applications and model vendors. With a single API key and a single bill, users can call more than 400 AI models, covering over 60 providers such as OpenAI, Anthropic, Google, DeepSeek, Qwen, Kimi, and Mistral. Its interface is fully compatible with OpenAI, so existing code usually only needs the base URL changed to run. OpenRouter does not train models itself and does not stockpile GPUs; it is only responsible for model distribution. The company says it currently processes more than 10 trillion tokens per day, and its model leaderboard is based on real token data.

Main capabilities include: one key to call all mainstream models, with switching models requiring only a one-line string change; intelligent routing and failover, since the same model often has multiple upstream providers, automatically selecting an available, low-latency one and switching automatically if one goes down; more than 25 free models ending in :free, though with rate limits; BYOK support, where you enter a key you applied for from the vendor, and usage through OpenRouter incurs no platform fee, though there is a monthly quota cap; usage and cost dashboards, making the model, tokens, and cost of each call clear at a glance; a real usage leaderboard sorted by token volume; and built-in OpenRouter options in many CLI, IDE, and agent tools, usable by entering a key. It also supports provider routing preferences, allowing you to specify or block a certain upstream provider; built-in prompt transforms options; and the enterprise edition offers higher BYOK free quotas, SSO, and more.

How to use: open https://openrouter.ai , register with an email or Google account; top up on the Credits page, with credit cards charged a 5.5% fee and a $0.80 minimum, and cryptocurrency charged 5%, or you can skip topping up for now and try it with free models; create an API key on the Keys page; and replace the base URL in your code with https://openrouter.ai/api/v1 Change the model name to OpenRouter's ID, in the format "vendor/model-name"; during acceptance, you can see the call and billing details in the Activity section of the official website Dashboard. Note that the model name is not a bare name but a complete ID with a vendor prefix, for example openai/gpt-5.6, deepseek/deepseek-v4.1-flash; writing it incorrectly will report model not found, so it is recommended to copy it from the Models page on the official website.

Applicable scenarios include: configuring cheap models for coding Agents, such as Claude Code, Kimi Code, OpenCode and other tools connecting to OpenRouter, routing daily tasks to low-cost models such as DeepSeek V4.1 Flash; cycling through model IDs with the same code for A/B testing to compare output quality and cost; adding fallback in production environments to automatically degrade to a backup model when the primary model is rate-limited or down; unifying the model entry point for the team, maintaining only one account and balance, and being able to check who used which model and how much they spent; observing the real usage of models—since mid-2026, Asian models' token share on OpenRouter has exceeded half.

Limitations and notes: using OpenRouter is about 5% more expensive than connecting directly to vendors, mainly due to top-up fees, in exchange for a unified entry point, failover, and centralized reconciliation; when monthly model spending reaches the scale of $50,000, the absolute value of 5% is not small, and it is worth also evaluating a self-hosted gateway such as LiteLLM as an alternative. Requests pass through OpenRouter's servers; for scenarios involving secrets or high compliance requirements, it is recommended to connect directly to vendors or use a self-hosted gateway. Free models do not have a "free money"-style quota: without topping up, it is 50 requests per day, and after a cumulative historical top-up of $10, it is 1000 requests per day. OpenRouter is an overseas service, and registration, payment, and API access all have barriers for domestic networks. At the company level, it was founded in 2023 by OpenSea co-founder Alex Atallah; in May 2026 it completed a $113 million Series B led by CapitalG, at a valuation of about $1.3 billion; on August 19, 2026, Stripe announced that it had agreed to acquire it, with a bid exceeding $7 billion, and the transaction is expected to close within a few weeks. As of September 2026, the official statement explicitly says that services continue as usual and pricing remains unchanged.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools