Skip to main content
Codzen

The AI Gateway
For Developers

Text, image, and video: route to hundreds of AI models through a centralized interface.

1import OpenAI from 'openai'
2
3const client = new OpenAI({
4 baseURL: "https://llm-gateway.codzen.ai",
5 apiKey: "<CODZEN_API_KEY>",
6})
7
8const response = await client.chat.completions.create({
9 model: 'gpt-4.1',
10 messages: [
11 { role: 'user', content: 'Why is the sky blue?' }
12 ],
13})
Use it with
andmany more

One API key, hundreds of models

Unified billing and observability across your entire AI stack, with text, image, and video models.

One API key, hundreds of models

Built-in failovers, better uptime

Automatic fallbacks during provider outages so your app stays up even when a model goes down.

Built-in failovers, better uptime

No markup, just list price

Pay exactly what providers charge with no platform fees.

No markup, just list price

Generate anything

|

Frequently
Asked Questions