Documentation

Everything you need to integrate with COZHUB

Getting Started

Learn how to set up your account and make your first API call

1

Create an Account

Sign up for a free COZHUB account to get started. You'll receive $5 in free credits.

2

Get Your API Key

Generate an API key from your dashboard. Keep it secure and never share it publicly.

3

Make Your First Call

Use our unified API endpoint to access any AI model with a single integration.

Quick Start

Install the SDK

npm install openai

Configure your client

import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: process.env.COZHUB_API_KEY,
  baseURL: 'https://api.cozhub.ai/v1'
});

Make a request

const response = await client.chat.completions.create({
  model: 'deepseek-ai/DeepSeek-V3.2',  // or any supported model
  messages: [
    { role: 'user', content: 'Hello, how are you?' }
  ]
});

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

Available Models

API Reference

Complete API documentation with examples and parameters

View API Docs

Related Resources