Quick Start
apipool is fully compatible with the OpenAI SDK. Simply change your base_url and api_key.
- Base URL:
https://api.apipool.net/v1 - Auth:
Authorization: Bearer sk-... - User group:
default - Endpoints:
openai, anthropic
Python SDK
Install the OpenAI Python SDK:
pip install openaiMake your first request:
from openai import OpenAI
client = OpenAI(
api_key="sk-...",
base_url="https://api.apipool.net/v1",
)
response = client.chat.completions.create(
model="claude-sonnet-4-6",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)Streaming:
stream = client.chat.completions.create(
model="claude-sonnet-4-6",
messages=[{"role": "user", "content": "Hello!"}],
stream=True,
)
for chunk in stream:
if chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="")Node.js SDK
Install the OpenAI Node.js SDK:
npm install openaiMake a request:
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "sk-...",
baseURL: "https://api.apipool.net/v1",
});
const response = await client.chat.completions.create({
model: "claude-sonnet-4-6",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);cURL
curl https://api.apipool.net/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-..." \
-d '{
"model": "claude-sonnet-4-6",
"messages": [{"role": "user", "content": "Hello!"}]
}'Model List
10 models available. See full pricing at Pricing.
Billing
- Prepaid credits with no monthly threshold; charged only by actual usage.
- Separate billing for input, output, cache write, and cache read.
- Credits remain valid long-term and are not reset monthly.
- Pricing based on model_ratio × $2/M tokens baseline.
- For VAT invoices, email [email protected].
FAQ
How is apipool different from using official APIs directly?
apipool aggregates official API channels with pay-as-you-go pricing and no minimum spend. Ideal for developers and small teams who need enterprise-grade reliability without separate contracts.
What payment methods are supported?
Online account top-up is supported. Available methods are shown on the top-up page.
Do credits expire?
No. Credits remain valid indefinitely and are not reset monthly.
How do I get an API Key?
After registration, log in to the Console and create keys on the API Keys page.
How do I get support?
Email [email protected]. Response within 2 hours during business hours. Enterprise clients can request a private support channel.