InferIndex

Quickstart

Send your first request through the InferIndex router in four steps.

  1. Create your key

    Sign in, then generate your InferIndex key. It is shown once: store it like a password.

  2. 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 key
  3. Change 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/v1
    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)
  4. Check the first request

    It shows in your client area with the provider that served it and what it cost.