Built for
Developers

One API key. Every model. Plug Hicap into any tool that supports a custom endpoint—Cline, Claude Code, your own apps—and get reserved GPU capacity at a fraction of the cost.

Integrations

Ready-to-Use Setup Guides for Your Stack

Open focused guides for tools like Claude Code Router, LiteLLM, OpenClaw, and Cline when you need exact setup steps, config examples, and the fastest path from API key to working integration.

Go straight to the implementation details

Skip the overview when you are wiring up a tool. The integrations library is where we keep the concrete setup articles, reference links, and future tool-specific guides.

Integration

Simple Application Integration

Using the OpenAI SDK, just change the base URL and add your Hicap API key in the request header.

Two-Line Migration

Swap out your OpenAI client config—everything else stays the same. Same SDK, same API calls, same response format.

// Before — direct OpenAI
const openai = new OpenAI({
  apiKey: process.env.OPENAI_API_KEY,
});
// After — Hicap
const openai = new OpenAI({
  baseURL: "https://api.hicap.ai/v1",
  defaultHeaders: {
    "api-key": process.env.HICAP_API_KEY,
  },
});
// Your code stays exactly the same
const response = await openai.chat.completions.create({
  model: "gpt-5.4",
  messages: [{ role: "user", content: prompt }],
});

console.log(response.choices[0].message.content);

AI Migration Prompt

Paste this prompt into your AI coding assistant to migrate your entire project in one go:

Migrate this project from OpenAI direct to Hicap.

Find all OpenAI SDK client initializations and update them to use Hicap:

Required changes:
1. Set baseURL to "https://api.hicap.ai/v1"
2. Add "api-key" header with the Hicap API key
3. Remove any existing apiKey or Authorization headers

The Hicap client config should look like:
{
  baseURL: "https://api.hicap.ai/v1",
  defaultHeaders: { "api-key": <your-hicap-key> }
}

Also:
- Add HICAP_API_KEY to environment variables (.env, .env.example, etc.)
- Update any config files, constants, or helper functions that create OpenAI clients
- Keep all API calls unchanged (chat.completions.create, embeddings, etc.)
- Search for patterns like: new OpenAI, createOpenAI, OpenAIClient, openai.create

Quick Test with CURL

curl https://api.hicap.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "api-key: $HICAP_API_KEY" \ -d '{"model":"gpt-5.4","messages":[{"role":"user","content":"Hello"}]}'

Scaling your team?

Get volume pricing, shared billing, and dedicated support for your engineering team. We'll set up everything you need.