Drop-in OpenAI compatibility
Keep your SDK and request format. Change the base URL and the key — that is the whole migration.
- base_url="https://api.openai.com/v1"
+ base_url="https://faborapi.com/v1"
+ api_key="sk-fabor-…"
faborapi is a low-cost, OpenAI-compatible AI API gateway. Using a single API key and a prepaid balance (pay $29 for $320 credit), developers access 25 LLM models including Claude, Gemini, GPT and Grok, with 86% to 98% lower effective token costs than official API rates on compared models.
Your request reaches the exact model you name — never a substitute — and each successful call is deducted from one prepaid balance.
faborapi relay
exact model · one balance
faborapi Assistant
Summarize this PDF in 3 lines
Done — 3 key points extracted.
$ claude "add retry logic"
✓ 2 files edited · claude-opus-5-5
$ codex "run tests"
faborapi relay
exact model · one balance
faborapi Assistant
Summarize this PDF in 3 lines
Done — 3 key points extracted.
$ claude "add retry logic"
✓ 2 files edited · claude-opus-5-5
$ codex "run tests"
Access the world's most powerful models without multiple subscriptions or complicated billing setups. Copy an exact model ID and call it with your faborapi key.
Anthropic Claude
claude-fable-5Anthropic Claude
claude-fable-5-1Anthropic Claude
claude-haiku-5-5Anthropic Claude
claude-opus-4-6Anthropic Claude
claude-opus-4-7Anthropic Claude
claude-opus-4-8Anthropic Claude
claude-opus-5-5Anthropic Claude
claude-sonnet-5-5Google Gemini
gemini-3.1-pro-previewGoogle Gemini
gemini-3.5-flashGoogle Gemini
gemini-3.7-flashGoogle Gemini
gemini-3.8-flashGoogle Gemini
gemini-3.8-flash-cyberOpenAI GPT
gpt-5.6-lunaOpenAI GPT
gpt-5.6-solOpenAI GPT
gpt-5.6-terraOpenAI GPT
gpt-6OpenAI GPT
gpt-6-astraOpenAI GPT
gpt-6-lunaOpenAI GPT
gpt-6.1-solxAI Grok
grok-3xAI Grok
grok-3-fast-betaxAI Grok
grok-3-minixAI Grok
grok-4xAI Grok
grok-4-fastSign up and generate a single API key in seconds. One key for all models.
Pick from Gemini, GPT, Claude or Grok. Switch them dynamically in your code.
Scale your app with confidence. We handle the upstream providers and reliability.
Pay $29 for $320 API credits (91% pack discount) — get effective token rates 86% to 98% lower than official provider pricing.
Real cost = credit rate × 0.090625 · official prices checked
| Model | Official price (input / output) | faborapi credit rate | Real cost with $29 pack | Real savings | Official source verified |
|---|---|---|---|---|---|
Claude Opus 5.5claude-opus-5-5Anthropic | $4.00 / $20.00 | $4.00 / $20.00 | $0.363 / $1.81 | 91% less | Anthropic pricing (opens in a new tab)Checked |
GPT-6 Astragpt-6-astraOpenAI | $10.00 / $50.00 | $10.00 / $50.00 | $0.906 / $4.53 | 91% less | OpenAI pricing (opens in a new tab)Checked |
Gemini 3.1 Pro Previewgemini-3.1-pro-previewGoogle | $2.00 / $12.00 | $1.25 / $5.00 | $0.113 / $0.453 | 94% / 96% less | Google Gemini pricing (opens in a new tab)Checked |
The minimum top-up on faborapi is the Nano Pack: pay $10 and receive $100 of API credit. All 6 packs unlock the same 25 models and the same per-token credit rates; packs cost from $8.91 to $10 per $100 of credit.
Choose a pack
You pay
$29
API credit added
$320
Prepaid, no subscription. Same models and token rates with every pack.
| Pack | You pay | API credit added | Cost per $100 of credit | Real cost factor | Below credit face value |
|---|---|---|---|---|---|
| Nano PackMinimum top-up | $10 | $100 | $10.00 | × 0.1 | 90% |
| Mini Pack | $15 | $160 | $9.38 | × 0.0938 | 90.63% |
| Starter PackReference pack | $29 | $320 | $9.06 | × 0.0906 | 90.94% |
| Bronze Pack | $49 | $550 | $8.91 | × 0.0891 | 91.09% |
| Silver Pack | $89 | $930 | $9.57 | × 0.0957 | 90.43% |
| Gold Pack | $99 | $1100 | $9.00 | × 0.09 | 91% |
Prices in USD. Savings figures use the ×0.090625 factor shared by the Starter packs. Bronze and Gold lower it to 0.0891 and 0.09 respectively, so their real token cost is lower still. In Morocco, Manza charges the equivalent in MAD; Mobile Money charges local currency at the day's exchange rate.
Integrate once, switch forever. Our API is fully OpenAI-compatible, so it drops straight into your current stack.
Keep your SDK and request format. Change the base URL and the key — that is the whole migration.
- base_url="https://api.openai.com/v1"
+ base_url="https://faborapi.com/v1"
+ api_key="sk-fabor-…"
Server-sent events with a final usage chunk, so you can show tokens as they arrive.
Grouped Claude models take an effort setting instead of separate model names. Medium is used when you send none.
Native /v1/messages and OpenAI /v1/responses endpoints. Point Claude Code at https://faborapi.com and keep working.
ANTHROPIC_BASE_URL=https://faborapi.comSend PDFs, images and documents inline or upload them once to /v1/files, on models that can read them.
Only successful requests are deducted from your balance, itemized per call on your Usage page.
Chat with every model from your dashboard — attach files, pick the effort — billed from the same balance, no key needed.
No subscription and no per-provider billing: one balance covers Claude, GPT, Gemini and Grok.
Bank cards through Stripe, Mobile Money in supported African countries, and Manza in Morocco.
Use cURL, the official OpenAI SDKs or Claude Code. Every example targets the same base URL and the same sk-fabor- key.
terminal
curl https://faborapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $FABOR_API_KEY" \
-d '{
"model": "claude-sonnet-5-5",
"messages": [{"role": "user", "content": "Hello!"}]
}'main.py
# pip install openai
from openai import OpenAI
client = OpenAI(
api_key="sk-fabor-...",
base_url="https://faborapi.com/v1",
)
resp = client.chat.completions.create(
model="claude-sonnet-5-5",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)index.ts
// npm install openai
import OpenAI from "openai";
export const client = new OpenAI({
apiKey: process.env.FABOR_API_KEY,
baseURL: "https://faborapi.com/v1",
});
export const resp = await client.chat.completions.create({
model: "claude-sonnet-5-5",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(resp.choices[0].message.content);~/.zshrc
export ANTHROPIC_BASE_URL=https://faborapi.com
export ANTHROPIC_API_KEY="$FABOR_API_KEY"
export ANTHROPIC_MODEL=claude-sonnet-5-5-high # model + effort in one ID
claudeConnect your editor to the AI models currently listed in faborapi without rebuilding your application. Cursor supports custom OpenAI settings; in VS Code, use an extension that accepts an OpenAI-compatible endpoint, such as Continue. These instructions configure chat requests, not every proprietary editor feature.
Prepare your account. Sign up, confirm your email, and create an API key. Check your prepaid balance and copy an exact model ID from the live catalog; a model mentioned in a comparison may not currently be available.
Set the connection. In Cursor’s model settings, enter your faborapi key and override the OpenAI base URL. In Continue, choose the OpenAI provider and set the same address: https://faborapi.com/v1. Add the selected model ID explicitly. Menu names vary by version.
Test before switching. Send a short prompt, confirm the response, and inspect Usage for token deductions. Keep production keys in environment variables, never in committed code. Check extension support before enabling streaming or tools.
quickstart.py
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FABORAPI_API_KEY"],
base_url="https://faborapi.com/v1", # Replace the default endpoint
)
response = client.chat.completions.create(
model="claude-sonnet-5-5",
messages=[{"role": "user", "content": "Explain this function briefly."}],
)
print(response.choices[0].message.content)Pay $29 to add $320 of prepaid API credit to your faborapi balance, a 91% discount against credit face value. Requests deduct credit at the model’s listed nominal token rates, so your real cash cost is the credit rate × 0.090625. Credits are model consumption, not cash or a withdrawable balance.
The minimum top-up is the Nano Pack: pay $10 and receive $100 of API credit. faborapi sells 6 packs: Nano $10 for $100, Mini $15 for $160, Starter $29 for $320, Bronze $49 for $550, Silver $89 for $930, Gold $99 for $1100. Every pack unlocks the same models and token rates; packs with bonus credit lower the real cost factor (Starter: × 0.090625).
You can use the official OpenAI SDK with faborapi's OpenAI-compatible chat completions endpoint. Set base_url to https://faborapi.com/v1 and use your sk-fabor- API key. Compatibility covers the endpoints and parameters documented by faborapi, not every feature of the official OpenAI API; dedicated image, video and audio generation endpoints are not available.
faborapi is built for Anthropic Claude, OpenAI GPT, Google Gemini and xAI Grok models through one API key and balance, but only the model IDs currently enabled in the live catalog (or GET /v1/models) can be called. Availability and supported capabilities vary by model; the API returns text, code and JSON rather than generated image or video files.
faborapi accepts bank cards through Stripe, Manza payments in Morocco (charged in MAD), and Mobile Money in supported African countries (charged in local currency at the day's exchange rate). Every payment method offers the same 6 credit packs, from $10 for $100 of credit to $99 for $1100.
Create and confirm your account, generate a sk-fabor- API key, then change your OpenAI client's base URL to https://faborapi.com/v1 and replace its API key with your faborapi key. Choose an exact model ID from GET /v1/models, keep your chat completions request format, and check the documentation for supported parameters before moving production traffic.
Stop overpaying for AI APIs. Create your account and get your first key in under a minute.