API Reference
Models Hub offers OpenAI / Anthropic / Gemini compatible model APIs plus management APIs for tokens, logs and more.
Models Hub offers model APIs compatible with OpenAI, Anthropic and Gemini, plus management APIs for tokens, logs and human verification. The base URL for every endpoint is https://modelsok.com, authenticated with Authorization: Bearer <API Key>.
Pick an endpoint from the sidebar — each page includes an interactive request Playground so you can fill in parameters and call the API directly.
Categories
Management API
Account and operations endpoints: token management, log queries, human verification and more.
AI Models
Model capability endpoints: chat, completions, image, video, audio, embeddings, rerank, moderation and realtime.
Use LunaTranslator with Models Hub: LLM Interface Setup
Add an LLM interface in LunaTranslator pointed at Models Hub, enter the API URL and key, and translate visual novels on your Models Hub balance, with recommended models and error fixes.
Compact conversation (OpenAI Responses API).
OpenAI Responses API for compacting long conversations.