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 openai

Make 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 openai

Make 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.

gpt-5.5gpt-5.4claude-sonnet-4-6claude-opus-4-6gpt-5.3-codexgpt-image-2claude-opus-4-7gpt-5.6-solgpt-5.6-terragpt-5.6-luna

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.