Skip to main content

MindsHub Inference

Every major model, through the three APIs you already use, on one key and one bill.

Call Claude, GPT, Gemini, Kimi, DeepSeek, Qwen, Grok and more from a single endpoint, using whichever request format your code already speaks. Same key, same models, same features through all three, and any model works behind any API: drive Claude Fable from the OpenAI SDK, or GPT 5.6 Sol from the Anthropic SDK, and neither client knows the difference.

The one-minute version

Get a key at console.mindshub.ai, export it as MINDSHUB_API_KEY, and point the SDK you already use at https://api.mindshub.ai/v1. New organizations get a recurring weighted allowance on mindshub_air, so their first calls cost nothing.

from openai import OpenAI
import os

client = OpenAI(base_url="https://api.mindshub.ai/v1", api_key=os.environ["MINDSHUB_API_KEY"])
response = client.chat.completions.create(
model="mindshub_air",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

The same call in curl, and the same request through all three APIs, is in Getting started.

Start here

Guides

Each guide shows one feature on all three APIs, side by side.

Why teams use it

Keep your SDK. No MindsHub SDK to learn, no wrapper to install. Point the official openai or @anthropic-ai/sdk client at our base URL and your existing code runs.

Switch models by editing one string. "model": "sonnet" becomes "model": "kimi". No new client, no new credential, no re-plumbing. Benchmark Claude Opus 5 against DeepSeek V4-Pro-0813 on your real prompts in an afternoon.

One bill for everything. Every model draws the same prepaid balance and lands in one usage summary, coding agents included.

Requests aren't rejected over parameters. Models disagree about what they accept. Rather than 400-ing because one model dislikes top_k, MindsHub drops or clamps what the target model can't take and tells you in a response header. How that works.

Your coding agents come along. Claude Code points at MindsHub with two environment variables and runs on any catalog model. Codex does the same with one config block.

Reference