Skip to content

Use LibertAI in your tools

LibertAI is an OpenAI-compatible API at the base URL https://api.libertai.io/v1. Any tool that lets you set a custom OpenAI-compatible endpoint works with it: coding agents, IDE extensions, frameworks, desktop apps. You keep your prompts private, run open-weights models, and can leave any time, since nothing in your setup is proprietary to us.

ToolTypeGuide
ClineVS Code coding agentSet up Cline
Roo CodeVS Code coding agentSet up Roo Code
ContinueIDE assistant (VS Code, JetBrains)Set up Continue
OpenCodeTerminal coding agentSet up OpenCode
AiderTerminal pair programmerSet up Aider
Claude CodeTerminal coding agentSet up Claude Code
LangChain & LlamaIndexPython frameworksSet up LangChain & LlamaIndex

Using something else? If it has an "OpenAI compatible" provider option, point it at https://api.libertai.io/v1 with your API key and a model id from the table below. That is the whole integration.

Get an API key

Sign in to the Developer console, create a key, and top it up. If you use the LibertAI CLI, libertai login walks you through browser sign-in and libertai keys create mints keys from the terminal. You can also skip keys entirely and pay per request in USDC on Base with x402 payments.

Check that a key works without spending tokens:

sh
curl -i https://api.libertai.io/libertai/auth/check \
  -H "Authorization: Bearer YOUR_API_KEY"

200 OK means you are good to go; 401 means the key is missing or invalid.

Models

Recommended default for coding agents: qwen3.5-122b-a10b (262k context, vision, tools). Budget option: qwen3.6-35b-a3b. For confidential inference in a Trusted Execution Environment: hermes-3-8b-tee (note the 16k context).

ModelInput / output (per M tokens)ContextCapabilities
hermes-3-8b-tee$0.15 / $0.6016ktools, TEE 🔒
gemma-4-31b-it$0.15 / $0.40262kvision, tools
qwen3.6-27b$0.15 / $0.50262kvision, tools
qwen3.6-35b-a3b$0.15 / $0.50262kvision, tools
qwen3.5-122b-a10b$0.25 / $1.75262kvision, tools
deepseek-v4-flash$0.25 / $1.75200ktools

Thinking variants exist with a -thinking suffix (for example qwen3.6-27b-thinking). The live, authoritative list with current pricing is on the Text API page, or via GET /v1/models.

See also