Claude Code
Claude Code is Anthropic’s agentic CLI coding tool. You can point it at ModelsLab’s API to use any of 200+ LLM models.Quick Start
Persistent Configuration
Add to your shell profile (~/.bashrc, ~/.zshrc, etc.):
Non-Interactive / Scripting
OpenAI Codex CLI
Codex CLI is OpenAI’s open-source coding agent. It works with any OpenAI-compatible API.Setup
With Environment Variables
Cursor
Cursor is an AI-powered code editor. You can configure it to use ModelsLab as a custom OpenAI-compatible provider.Setup
- Open Cursor Settings (
Cmd+,/Ctrl+,) - Go to Models > OpenAI API Key
- Set your API key to your ModelsLab API key
- Set the base URL to
https://modelslab.com/api/v7/llm - Add your preferred model IDs (e.g.,
Qwen/Qwen2.5-VL-72B-Instruct-together)
Continue (VS Code / JetBrains)
Continue is an open-source AI code assistant for VS Code and JetBrains.Configuration
Edit your~/.continue/config.yaml:
Aider
Aider is a terminal-based AI pair programming tool.Setup
With .aider.conf.yml
LangChain
Use ModelsLab as the LLM backend in your LangChain applications:LiteLLM
LiteLLM provides a unified API for 100+ LLM providers. Add ModelsLab as a custom provider:General OpenAI-Compatible Tools
Any tool that supports a custom OpenAI base URL works with ModelsLab:| Setting | Value |
|---|---|
| API Key | Your ModelsLab API key |
| Base URL | https://modelslab.com/api/v7/llm |
| Model | Any model from List Models |

