Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.clearmaas.com/llms.txt

Use this file to discover all available pages before exploring further.

ClearMaas is an OpenAI-compatible API gateway. Point your existing OpenAI SDK at https://api.clearmaas.com/v1 and route requests across OpenAI, Anthropic, Google Gemini, DeepSeek, xAI Grok, Alibaba Qwen, Moonshot Kimi, MiniMax, and Kling (video) — at provider cost price.

Why ClearMaas

Zero markup, ever

You pay the provider’s published price per token. ClearMaas’s revenue comes from optional paid subscription plans, not from inflating your token cost.

OpenAI-compatible by design

Every request and response is in the OpenAI JSON shape. Change one line (base_url) and your existing code keeps working — streaming, tool calling, vision, and reasoning all behave the way your SDK expects, with the gateway translating to each upstream as needed.

Speaks every protocol natively

ClearMaas exposes OpenAI, Anthropic, and Gemini surfaces directly, and translates between them when you call across protocols (e.g. OpenAI SDK → Claude). New provider features that aren’t in the common shape stay reachable on the native path.

Smart routing

Fallback chains via extra_body.models, named routers, and clearmaas/auto for cheapest-live-model selection.

Where to start

Quickstart

Make your first call in under a minute.

Compatibility

Point your OpenAI / Anthropic / Google GenAI SDK at ClearMaas.

Advanced

Web search, tool calling, vision, reasoning, streaming.

API Reference

Every endpoint with code samples and try-it.