Documentation
Libremodel docs
Libremodel puts open models, Uncensored and Standard, behind the OpenAI and Anthropic API formats. If your code or your coding agent already talks to one of them, point it at our base URL and change the model.
Start here
- QuickstartCreate a key and send your first request.
- ModelsModel IDs, context windows, output limits and prices.
- Coding agentsClaude Code, OpenCode, Cursor and other tools.
- Limits and errorsThe request queue, status codes and what to retry.
Using the API
- ReasoningChoose the effort and read the thinking.
- StreamingTokens as they are written, and what a cut costs.
- Tool callingLet the model call your functions.
- Prompt cachingPay less for the part of the prompt that repeats.
At a glance
| Base URL | https://api.libremodel.ai/v1 |
|---|---|
| API formats | OpenAI Chat Completions, OpenAI Responses, Anthropic Messages |
| Context | 1M tokens on every model |
| Billing | Prepaid credit in $: tokens, images and web searches |