Base credit costs $0.0225 per 1 million balance tokens, before volume or promo bonuses. Model multipliers determine how many balance tokens a request uses. Compare every model and its multiplier on the Models page. JavaScript is required for the live calculator.
FOR RESELLERS
Reseller plan.
For accounts that resell the API. Better pricing on every top-up and room for real traffic.
Contact us in a Discord ticket if you need up to 10,000.
Your +50% bonus is applied automatically on every top-up and already includes the best deal, so it can't be combined with other promo codes.
THE IDEA IS SIMPLE
One API. More AI models.
Connect your coding tools and applications. Choose a supported model for each request.
01 / SIMPLICITY
One place to connect.
Use the OpenAI-compatible Responses and Chat Completions APIs, or the Anthropic-compatible Messages API. Compare API endpoints.
02 / FLEXIBILITY
The choice stays yours.
Choose from the GPT, Claude and DeepSeek model families in the catalog. Check protocol support and token multipliers before sending a request. Explore models and pricing.
03 / CLARITY
A deliberate foundation.
Create an account, add token credit and make an API key. Review your request usage and balance in the dashboard. Send your first API request.
ONE CONTINUOUS PATH
Built around the request.
Your application keeps a familiar shape. XEDOC handles the connection between your request and the model you choose.
01Your app
Request
XEDOC
03Your model
Response
ROUTERETURN
FAMILIAR BY DESIGN
Your tools. One compatible API.
Use XEDOC as an OpenAI-compatible API gateway for Codex and your applications, or connect Claude Code through the Messages API. Set your base URL, add your XEDOC API key and choose a supported model.
BASE URLhttps://api.xedoc.top/v1
Create your account and API keys now. API access is enabled automatically. Add token credit to start generating.
# A familiar request. A new connection.
curl https://api.xedoc.top/v1/responses \
-H "Authorization: Bearer $XEDOC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_MODEL_ID",
"input": "Make something worth building."
}'
XEDOC is an independent API gateway that connects your application to model providers through a common interface. XEDOC is not affiliated with OpenAI or Anthropic. Codex and Claude are third-party tools; supported features depend on the selected client, model and endpoint.
02 Can I use my existing client?
The gateway follows familiar OpenAI-compatible request formats. Set your base URL to https://api.xedoc.top/v1 and use your XEDOC API key. Feature support depends on the endpoint and selected model.
03 Is access available yet?
You can create an account, manage API keys and explore our model catalog in your workspace. API access is enabled automatically for new accounts. Add token credit and use your API key to start generating.
04 How does API token pricing work?
Base credit costs $0.0225 per million balance tokens before volume or promo bonuses. Your selected model’s input, cached-input and output multipliers determine the balance tokens consumed. A million model tokens is not necessarily a million balance tokens. If you are comparing a cheap AI API, use the published multiplier table instead of an unsupported “cheapest” claim. See model pricing and billing examples.
05 What happens when my balance runs out?
New generation requests need a positive token balance. XEDOC also checks an estimate of input cost before sending a request. API usage cannot push your wallet below zero; this does not mean a stream stops at an exact token boundary. Read about API errors and request limits.
ROOM FOR WHAT COMES NEXT
Make the connection.
A considered interface for the next thing you build.