OpenRouter
DetailsA multi-model routing platform for developers; switch models by changing the base_url with the OpenAI SDK, ideal for teams comparing the quality and price of many models at once.
xAI's official Grok API; ideal as a candidate to test apps needing Grok's text, vision, and real-time information.
xAI's official Grok API; ideal as a candidate to test apps needing Grok's text, vision, and real-time information.
Best for: For developers wanting to include Grok in multi-model evaluations or needing xAI's native capabilities.
Usually you create an API key in the platform console, then replace the SDK's baseURL, model name, and auth details per the docs. Test streaming, function calling, error codes, and rate limits before launch.
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.AI_GATEWAY_API_KEY,
baseURL: "see the platform docs"
});
const response = await client.chat.completions.create({
model: "Grok",
messages: [{ role: "user", content: "Test one call through an AI gateway." }]
});A multi-model routing platform for developers; switch models by changing the base_url with the OpenAI SDK, ideal for teams comparing the quality and price of many models at once.
Vercel's official AI Gateway, emphasizing unified model calls, failover, caching, and observability; ideal for apps already deployed on Vercel.
A tool and API aggregation platform covering text, image, video, and audio AI capabilities; ideal for individuals and small teams wanting one-stop access to many models.
A common API relay service among Chinese users; the site highlights aggregation of OpenAI, Claude, and Gemini plus multiple top-up methods.
Risk
This site only organizes information about AI API relay services; it makes no guarantee about third-party platforms' stability, price, data security, or availability. Judge the risk yourself before use, and avoid uploading sensitive data, personal privacy, trade secrets, or core API keys to unknown platforms.