Claude Code

Use Klint as your routing layer for Claude Code and Anthropic SDK workflows. One API key, enterprise-grade routing, full cost visibility.

Base URL

https://api.tryklint.com

Setup

Point your Anthropic or Claude Code client at the Klint endpoint:

from anthropic import Anthropic
 
client = Anthropic(
    api_key="klint_sk_live_...",
    base_url="https://api.tryklint.com/v1"
)
 
message = client.messages.create(
    model="claude-opus",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Refactor this module"}]
)

OpenAI-compatible SDK

If your tooling expects OpenAI format, use the same base URL:

import OpenAI from "openai";
 
const client = new OpenAI({
  apiKey: "klint_sk_live_...",
  baseURL: "https://api.tryklint.com/v1",
});
 
const response = await client.chat.completions.create({
  model: "claude-opus",
  messages: [{ role: "user", content: "Build this feature..." }],
});

Next steps