Skip to content

About

TopxAI documentation: one OpenAI- and Anthropic-compatible API for Claude, GPT, Grok, GLM, Kimi, DeepSeek and Jev at fixed USD prices, with prepaid credit and no stored prompts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TopxAI — one API endpoint for Claude, GPT, Grok, GLM, Kimi, DeepSeek and Jev

TopxAI is the model API service run by TopXEA. Claude, GPT, Grok, GLM, Kimi, DeepSeek and TypeSafe's Jev are served through OpenAI- and Anthropic-compatible endpoints at fixed USD prices, on prepaid credit, and nothing you send is stored.

This repository indexes the public documentation: each page under docs/ summarizes a page of https://ai.topxea.com/docs, where the full text is published in English and Chinese.

Quick start

Point the SDK you already use at TopxAI; the key goes where the provider's key would go.

from openai import OpenAI

client = OpenAI(base_url="https://ai.topxea.com/v1", api_key="sk-...")
reply = client.chat.completions.create(
    model="claude-sonnet-5-5",
    messages=[{"role": "user", "content": "Say hello in one sentence."}],
)
print(reply.choices[0].message.content)
from anthropic import Anthropic

client = Anthropic(base_url="https://ai.topxea.com", api_key="sk-...")
reply = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=256,
    messages=[{"role": "user", "content": "Say hello in one sentence."}],
)
print(reply.content[0].text)

More in examples/ and in Connect your SDK.

Endpoints

Path Dialect Models
POST /v1/chat/completions OpenAI Chat Completions every text model except Jev
POST /v1/responses OpenAI Responses GPT models
POST /v1/messages Anthropic Messages Claude models
POST /v1/images/generations, POST /v1/images/edits OpenAI Images gpt-image-2.5-sunburst, gpt-image-2.5-flare
POST /v1/videos/generations, GET /v1/videos/{request_id} OpenAI Videos grok-imagine-video-1.5
POST /v1/systemone TypeSafe System One jev-1.14.0
GET /v1/models OpenAI the models your key can use

Models

As GET https://ai.topxea.com/api/pricing listed them on 2026-10-25: 13 models from 7 providers. Each id links to its page with the current price on every route; the full table is at https://ai.topxea.com/pricing, and prices are not repeated here because they change.

Provider Models
Anthropic claude-fable-5-1 · claude-opus-5-5 · claude-sonnet-5-5
OpenAI gpt-6-astra · gpt-6.1-sol · gpt-image-2.5-flare · gpt-image-2.5-sunburst
xAI grok-4.7 · grok-imagine-video-1.5
Zhipu AI GLM-5.3-Abliterated (private deployment)
Moonshot AI kimi-k3.1-pro
TypeSafe jev-1.14.0
DeepSeek deepseek-flash-Abliterated (private deployment)

Prices are fixed in USD per model and route: the shared pool, the official line, and auto route, which picks the lowest-priced line that serves the model (how the routes work). GLM-5.3-Abliterated is a fine-tuned GLM 5.3 served from a private deployment rather than Z.ai's API; it is covered by the same Acceptable Use Policy as every other line.

Documentation

Getting started

  • What TopxAI is — One base URL, models on seven lines and prepaid USD credit. TopxAI does not store prompts or completions.
  • Create an API key and choose a route — The key drawer step by step, what each route means, and the three 403 refusals a key can hit.
  • Connect your SDK — The base URL, every endpoint with its auth header, working examples for the OpenAI and Anthropic SDKs, and what each error status means.
  • API reference: every endpoint, with an OpenAPI specification — Every endpoint TopxAI serves, what each accepts and returns, the two ways to send the key, and the OpenAPI 3.1 file at /openapi.json for API tools.

Integrations

Routes and pricing

Models

  • Jev (TypeSafe System One) — What Jev 1.14 returns, how to call POST /v1/systemone with text or images, Box questions, the one-line setup for a TypeSafe key, and the price.
  • GLM-5.3-Abliterated — A fine-tuned GLM 5.3 on a private deployment: text only, 1M-token context, three reasoning modes, priced above list, and covered by a compliance notice.
  • Image generation — gpt-image-2.5-sunburst and -flare: the two endpoints, the 1K and 2K per-image prices, how the size tier is chosen, and where the image link comes from.
  • Video generation — grok-imagine-video-1.5: submit a job, poll it, per-second prices by resolution, refunds on failure, and how forgotten jobs are refunded after 24 hours.
  • deepseek-flash-Abliterated — Private deployment with text and image inputs, 1,048,576-token context, 262,144-token output, four reasoning settings and fixed token prices.
  • Kimi K3.1 Pro — Call kimi-k3.1-pro on TopxAI: model migration, fixed token prices, always-on reasoning, output caps and image-input limits.

Payments and credit

  • Top up with a card — Add USD credit with a card, Apple Pay, Google Pay or a local e-wallet; the checkout runs on topxea.com through Waffo.
  • Pay with crypto — Top up with USDT or USDC through a NOWPayments invoice: what to send, how long confirmation takes, and what happens if you send too little.
  • Gift cards and credit codes — Buy a single-use credit code, redeem one on any account, and what the User Agreement says about refunds.

Troubleshooting

  • Common error responses — What each HTTP status and error code from the gateway means, and what to change before you retry.
  • The model works in curl but not in my tool — Seven places where a tool differs from the working curl: base URL, auth header, model id, key route and limits, IP whitelist, GLM and Jev endpoints, timeouts.
  • Sign-in and account — How sign-in is shared with topxea.com, how sessions, devices and TopxAI Desktop sign-ins work, the regional service notice, and how to reach support.

Comparisons

Privacy and policies

Retention and policies

Prompts, completions and uploaded files are relayed in memory and never written to disk; the usage log keeps token counts, model names, routes and request ids. Details: Privacy Policy, User Agreement, Acceptable Use Policy.

About TopXEA

TopXEA (https://topxea.com) sells MetaTrader expert advisors, parameter sets and equity research, and runs TopxAI as its model API. Announcements: X @topxea, Telegram @topxea.

Contributing

The summaries here are generated from the site's sources, so a correction belongs on the page it summarizes: open an issue or write to support@topxea.com.

License

The documentation in this repository is released under CC BY 4.0; the code snippets under examples/ are public domain (CC0).

About

TopxAI documentation: one OpenAI- and Anthropic-compatible API for Claude, GPT, Grok, GLM, Kimi, DeepSeek and Jev at fixed USD prices, with prepaid credit and no stored prompts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors