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

Supported endpoints

EndpointFormatGuide
POST /v1/chat/completionsOpenAI Chat CompletionsChat Completions
POST /v1/responsesOpenAI ResponsesResponses
POST /v1/messagesAnthropic MessagesAnthropic Messages
GET /v1/modelsOpenAI model listModels
POST /v1/images/generationsOpenAI ImagesImages
POST /v1/videosAsynchronous video jobsVideos
GET /v1/key/infoKey budget and usageKey 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