Integrate Hicap into your favorite developer tools. Use BYOK and our OpenAI-compatible endpoint to get faster, cheaper inference for Cline, Claude Code, Vercel AI SDK, and more.
Connect your existing development workflow to Hicap's reserved GPU capacity for faster, more cost-effective AI inference.
Use your Hicap API key with any tool that supports OpenAI-compatible providers. Hicap routes your requests through our reserved capacity while maintaining full security and control.
Hicap is a registered provider with Cline, available on both the Cline VS Code extension and the Cline CLI. Use your BYOK API key to access Hicap deals, performance, and reliability benefits.
Use the Claude Code router to set up Hicap as a provider on Claude Code and access models across different families—OpenAI, Anthropic, Google, and more.
Using the OpenAI SDK, just change the base URL and add your Hicap API key in the request header.
const openai = new OpenAI({
apiKey: process.env.OPENAI_API_KEY,
});const openai = new OpenAI({
baseURL: "https://api.hicap.ai/v1",
defaultHeaders: {
"api-key": process.env.HICAP_API_KEY
}
});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.createcurl https://api.hicap.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "api-key: $HICAP_API_KEY" \
-d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello"}]}'Get your API key and start building with faster, cheaper AI inference today.