OpenAI Codex

Klint routes Codex and GPT-family models through a single endpoint with optimized infrastructure scaling and unified billing.

Base URL

https://api.tryklint.com/v1

Quickstart

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: "gpt-5.5",
  messages: [{ role: "user", content: "Review this pull request" }],
});

Codex-specific models

Use any Codex or GPT model ID supported in the model catalog. Klint handles provider routing automatically.

curl https://api.tryklint.com/v1/chat/completions \
  -H "Authorization: Bearer klint_sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.5-mini",
    "messages": [{"role": "user", "content": "Generate unit tests"}]
  }'

Next steps