Getting started
LLMHub API documentation
LLMHub gives you one API key and one OpenAI-compatible endpoint for many AI models. Use the official OpenAI or Anthropic SDKs and change only the base URL, the API key, and the model name.
Start here
- Quickstart — create a key and send your first request.
- Authentication — base URLs and supported auth headers.
- Models — list the models available to your key.
- Chat Completions — the main endpoint for text generation.
Supported endpoints
| Endpoint | Format | Guide |
|---|---|---|
| POST /v1/chat/completions | OpenAI Chat Completions | Chat Completions |
| POST /v1/responses | OpenAI Responses | Responses |
| POST /v1/messages | Anthropic Messages | Anthropic Messages |
| GET /v1/models | OpenAI model list | Models |
| POST /v1/images/generations | OpenAI Images | Images |
| POST /v1/videos | Asynchronous video jobs | Videos |
| GET /v1/key/info | Key budget and usage | Key balance |
Pricing
You pay per token or per generated asset from the key balance. Prices and savings vary by model; see model prices, the price index, and the pricing methodology.
Last updated
