Integrations
Any tool that lets you set a custom OpenAI or Anthropic base URL works with The Inference Company. Use https://api.theinferencecompany.si/v1 for tools on the OpenAI API and https://api.theinferencecompany.si for tools on the Anthropic API, your sk_ key, and one of our model IDs such as glm-5.3.
New here? Start with the quickstart to get an API key. The examples read the key from a TIC_API_KEY environment variable.
- Claude Code
- OpenAI Codex CLI
- OpenCode
- Hermes Agent
- OpenClaw
- Cline
- Roo Code
- Kilo Code
- Continue
- Aider
- Cursor
- Zed
- Goose
- Vercel AI SDK
- LangChain
- LiteLLM
Claude Code
Set three environment variables before you start Claude Code, or put them in the env block of ~/.claude/settings.json.
export ANTHROPIC_BASE_URL="https://api.theinferencecompany.si" export ANTHROPIC_AUTH_TOKEN="$TIC_API_KEY" export ANTHROPIC_MODEL="glm-5.3" # Optional: a cheaper model for Claude Code's background requests export ANTHROPIC_DEFAULT_HAIKU_MODEL="deepseek-v4.1-flash"
Claude Code runs on our models through our Anthropic-compatible API. Anthropic doesn't officially support Claude Code with models from other providers. More in running Claude Code on open models.
OpenAI Codex CLI
Codex now talks only to OpenAI's Responses API (/v1/responses), which we don't serve yet, so it can't connect directly. We're adding it.
Until then, use OpenCode, Claude Code or Aider, or tell us you need Codex and we'll let you know when it's ready.
OpenCode
Add a provider to opencode.json in your project or global config, then pick the model as tic/glm-5.3.
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"tic": {
"npm": "@ai-sdk/openai-compatible",
"name": "The Inference Company",
"options": {
"baseURL": "https://api.theinferencecompany.si/v1",
"apiKey": "{env:TIC_API_KEY}"
},
"models": {
"glm-5.3": { "name": "GLM-5.3" },
"kimi-k3": { "name": "Kimi K3" },
"deepseek-v4-pro": { "name": "DeepSeek V4 Pro" }
}
}
}
}
Hermes Agent
Run hermes model and choose Custom endpoint, or set the model in ~/.hermes/config.yaml and put your key in ~/.hermes/.env as OPENAI_API_KEY.
model: provider: "custom" default: "glm-5.3" base_url: "https://api.theinferencecompany.si/v1"
Switch models mid-session with /model.
OpenClaw
Add a provider under models.providers in ~/.openclaw/openclaw.json and make one of its models the default.
{
models: {
mode: "merge",
providers: {
tic: {
baseUrl: "https://api.theinferencecompany.si/v1",
apiKey: "sk_your_key",
api: "openai-completions",
models: [
{ id: "kimi-k3", name: "Kimi K3", contextWindow: 1048576 },
],
},
},
},
agents: { defaults: { model: { primary: "tic/kimi-k3" } } },
}
Or set the default from the CLI: openclaw config set agents.defaults.model.primary "tic/kimi-k3".
Cline
Open Cline's settings, set API Provider to OpenAI Compatible, and fill in:
Base URL: https://api.theinferencecompany.si/v1 API Key: sk_... Model ID: glm-5.3
Roo Code
Set API Provider to OpenAI Compatible and use the same Base URL, API key and model ID as for Cline. Roo Code needs native tool calling, which our API supports.
Kilo Code
In Settings → Providers, add a Custom provider with OpenAI Compatible as the API, or add it to your global Kilo config. Kilo reads the model list from our /v1/models.
{
"$schema": "https://app.kilo.ai/config.json",
"model": "tic/glm-5.3",
"provider": {
"tic": {
"options": {
"baseURL": "https://api.theinferencecompany.si/v1",
"apiKey": "{env:TIC_API_KEY}"
},
"models": { "glm-5.3": { "name": "GLM-5.3", "tool_call": true } }
}
}
}
Continue
Add a model to ~/.continue/config.yaml. tool_use turns on Agent mode.
models:
- name: GLM-5.3
provider: openai
model: glm-5.3
apiBase: https://api.theinferencecompany.si/v1
apiKey: ${{ secrets.TIC_API_KEY }}
roles: [chat, edit, apply]
capabilities: [tool_use]
Aider
Point Aider's OpenAI settings at us and prefix the model with openai/.
export OPENAI_API_BASE="https://api.theinferencecompany.si/v1" export OPENAI_API_KEY="$TIC_API_KEY" aider --model openai/glm-5.3
Cursor
In Cursor Settings → Models, add your key under OpenAI API Key, turn on Override OpenAI Base URL and set it to https://api.theinferencecompany.si/v1, then add glm-5.3 as a custom model.
Works reliably in Ask mode. Cursor's Agent mode with a custom base URL has known issues on Cursor's side, and Tab completion always uses Cursor's own models. The override also applies to Cursor's built-in OpenAI models while it is on.
Zed
Add a provider under language_models in Zed's settings, or with Add Provider in the Agent Panel. Zed reads the key from TIC_API_KEY.
{
"language_models": {
"openai_compatible": {
"tic": {
"api_url": "https://api.theinferencecompany.si/v1",
"available_models": [
{ "name": "kimi-k3", "display_name": "Kimi K3", "max_tokens": 1048576 }
]
}
}
}
}
Goose
Run goose configure and add a custom provider, or save this as ~/.config/goose/custom_providers/tic.json, then start with goose session start --provider tic.
{
"name": "tic",
"engine": "openai",
"display_name": "The Inference Company",
"api_key_env": "TIC_API_KEY",
"base_url": "https://api.theinferencecompany.si/v1/chat/completions",
"models": [{ "name": "kimi-k3", "context_limit": 1048576 }],
"supports_streaming": true,
"requires_auth": true
}
Vercel AI SDK
Use the OpenAI-compatible provider.
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
import { generateText } from "ai";
const tic = createOpenAICompatible({
name: "tic",
baseURL: "https://api.theinferencecompany.si/v1",
apiKey: process.env.TIC_API_KEY,
includeUsage: true,
});
const { text } = await generateText({ model: tic("glm-5.3"), prompt: "Say hello." });
With @ai-sdk/openai instead, call openai.chat("glm-5.3"): plain openai(...) uses the Responses API, which we don't serve yet.
LangChain
Use ChatOpenAI with our base URL, and keep it on Chat Completions.
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
model="glm-5.3",
base_url="https://api.theinferencecompany.si/v1",
api_key=TIC_API_KEY,
use_responses_api=False,
)
LiteLLM
Prefix the model with openai/ and pass our base URL.
import litellm
reply = litellm.completion(
model="openai/glm-5.3",
api_base="https://api.theinferencecompany.si/v1",
api_key=TIC_API_KEY,
messages=[{"role": "user", "content": "Say hello."}],
)
Common questions
Which coding tools work with The Inference Company?
Any tool that lets you set an OpenAI-compatible or Anthropic-compatible base URL: Claude Code, OpenCode, Hermes Agent, OpenClaw, Cline, Roo Code, Kilo Code, Continue, Aider, Cursor, Zed and Goose, plus libraries like the Vercel AI SDK, LangChain and LiteLLM.
Does Codex work with The Inference Company?
Not yet. The Codex CLI now uses only OpenAI's Responses API, which we're adding. Until then, use OpenCode, Claude Code or Aider.
Which base URL do tools need?
https://api.theinferencecompany.si/v1 for tools that use the OpenAI API, and https://api.theinferencecompany.si for tools that use the Anthropic API, such as Claude Code.