Working code in 60 seconds
curl · Python · JS
No marketing. Just code. Try Claude 4.7 + GPT-5 + Gemini 3 + DeepSeek-V3 with the same OpenAI-compatible API you already know.
1. Get free key (15 sec)
Sign in with Google at app.brainiall.com/quickstart. No credit card required. Get your brnl-... key.
2. curl (15 sec)
curl https://api.brainiall.com/v1/chat/completions \
-H "Authorization: Bearer brnl-..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-6",
"messages": [{"role": "user", "content": "Say hi in 5 words"}]
}'
3. Python OpenAI SDK (15 sec)
pip install openai
# Then:
from openai import OpenAI
client = OpenAI(
base_url="https://api.brainiall.com/v1",
api_key="brnl-..."
)
# Pick any of 104 models:
response = client.chat.completions.create(
model="gpt-5", # or claude-sonnet-4-6, gemini-3-pro, deepseek-v3, llama-4-maverick
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
4. JavaScript / TypeScript (15 sec)
npm install openai
// Then:
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.brainiall.com/v1",
apiKey: "brnl-..."
});
const response = await client.chat.completions.create({
model: "claude-sonnet-4-6",
messages: [{ role: "user", content: "Hello!" }]
});
console.log(response.choices[0].message.content);
5. Image generation (bonus)
response = client.images.generate(
model="gemini-3-flash-image", # or gpt-5-image, flux-2-klein, seedream-4-5
prompt="A robot building a startup",
size="1024x1024"
)
print(response.data[0].url)
Frameworks (drop-in compatible)
LangChain
LlamaIndex
Haystack
Cursor IDE
Continue.dev
Cline
Aider
Vercel AI SDK
n8n
Dify
Flowise
Quivr
Ready? Get your key now
7-day free trial. 104 models. $5.99/mo flat after trial.
Get free brnl- key →