Quickstart
Send your first request through the InferIndex router in four steps.
Create your key
Sign in, then generate your InferIndex key. It is shown once: store it like a password.
Connect a provider
Paste a key from a provider you already use. The router only calls providers you connected. Free plan: up to 3.
OpenRouter · SuggestedAdd provider keyChange two lines
Point your OpenAI or Anthropic client at the router and use your InferIndex key. Model ids are the ones shown on each model page.
Base URLhttps://api.inferindex.dev/router/v1curl https://api.inferindex.dev/router/v1/chat/completions \ -H "Authorization: Bearer YOUR_INFERINDEX_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "deepseek/deepseek-v4.1-flash-1017", "messages": [{"role": "user", "content": "Hello"}] }'from openai import OpenAI client = OpenAI( base_url="https://api.inferindex.dev/router/v1", api_key="YOUR_INFERINDEX_KEY", ) reply = client.chat.completions.create( model="deepseek/deepseek-v4.1-flash-1017", messages=[{"role": "user", "content": "Hello"}], ) print(reply.choices[0].message.content)import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.inferindex.dev/router/v1", apiKey: "YOUR_INFERINDEX_KEY", }); const reply = await client.chat.completions.create({ model: "deepseek/deepseek-v4.1-flash-1017", messages: [{ role: "user", content: "Hello" }], }); console.log(reply.choices[0].message.content);export ANTHROPIC_BASE_URL="https://api.inferindex.dev/router" export ANTHROPIC_AUTH_TOKEN="YOUR_INFERINDEX_KEY" claude --model deepseek/deepseek-v4.1-flash-1017Check the first request
It shows in your client area with the provider that served it and what it cost.