IzziAPI

Documentation

Everything you need to integrate Izzi API into your stack.

Getting Started

Install Izzi API in seconds with our auto-configuration tool:

npx izziapi

This command auto-detects your installed tools (Claude Code, Cursor, Cline, Windsurf, Gemini CLI) and configures them to use the Izzi API endpoint.

Authentication

All API requests require an API key. Include it in the header:

Authorization: Bearer izzi-xxxxxxxxxxxx

Get your API key from the dashboard after signing up.

API Endpoints

POST/v1/chat/completions

OpenAI-compatible chat completions endpoint.

curl https://api.izziapi.com/v1/chat/completions \
  -H "Authorization: Bearer izzi-xxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-20250514",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'
POST/v1/messages

Claude-compatible messages endpoint (native Anthropic format).

POST/v1/responses

OpenAI Responses API (simplified). See details below.

POST/v1/messages/count_tokens

Pre-count input tokens before making a request.

GET/v1/models

List all available models with pricing info.

GET/v1/models/:id

Lookup a specific model by ID. Supports aliases.

Also available at: /openai/v1/* and /api/v1/*

Responses API

Simplified interface compatible with n8n, LangChain, and other tools using OpenAI's Responses API format.

curl https://api.izziapi.com/v1/responses \
  -H "Authorization: Bearer izzi-xxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-20250514",
    "input": "Explain quantum computing in simple terms",
    "instructions": "You are a helpful teacher"
  }'

input โ€” string or array of messages

instructions โ€” system prompt (optional)

stream โ€” enable streaming (optional)

Count Tokens

Pre-count input tokens before making a request โ€” useful for cost estimation.

curl https://api.izziapi.com/v1/messages/count_tokens \
  -H "Authorization: Bearer izzi-xxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-20250514",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

For Claude models, uses native token counting. Other models use local estimation (~4 chars/token).

Extended Thinking

Enable Claude's Extended Thinking for complex reasoning tasks:

curl https://api.izziapi.com/v1/messages \
  -H "x-api-key: izzi-xxxxx" \
  -H "Content-Type: application/json" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "claude-sonnet-4-20250514",
    "max_tokens": 16000,
    "thinking": {
      "type": "enabled",
      "budget_tokens": 10000
    },
    "messages": [{"role": "user", "content": "Solve this step by step..."}]
  }'

Supported models: Claude Opus 4/4.6, Claude Sonnet 4/4.5/4.6. The thinking parameter is transparently forwarded.

Rate Limits

Every response includes rate limit headers:

x-ratelimit-tier: pro
x-ratelimit-limit-requests: 60
x-ratelimit-remaining-requests: 47
x-ratelimit-reset-requests: 2026-03-30T00:20:00Z
x-concurrent-limit: 3
x-concurrent-remaining: 2
Retry-After: 60  (only on 429)
PlanCredits/5hRPMConcurrentDaily
Freeโ€”101100
Starter ($10/mo)353021,000
Pro ($20/mo) โญ806032,000
Max ($40/mo)1809065,000
Ultra ($80/mo)400120810,000

Tool Setup

๐ŸŸ  Claude Code

# Set environment variables
export ANTHROPIC_BASE_URL=https://api.izziapi.com
export ANTHROPIC_API_KEY=izzi-xxxxx

# Start Claude Code
claude

โ–ถ Cursor

  1. Open Cursor โ†’ Settings โ†’ Models
  2. Add https://api.izziapi.com/v1 as the OpenAI Base URL
  3. Enter your Izzi API key
  4. Select your preferred model

๐ŸŒŠ Windsurf

export OPENAI_BASE_URL=https://api.izziapi.com/v1
export OPENAI_API_KEY=izzi-xxxxx

๐Ÿ”ง Cline / Aider

export ANTHROPIC_BASE_URL=https://api.izziapi.com
export ANTHROPIC_API_KEY=izzi-xxxxx

Both use Anthropic-format endpoints natively.

โœฆ Gemini CLI

export OPENAI_BASE_URL=https://api.izziapi.com/v1
export OPENAI_API_KEY=izzi-xxxxx
gemini

OpenClaw Setup

RecommendedGitHub โ†’

One-click setup for OpenClaw with Izzi API. Installs all models, configures provider, verifies API key.

Windows (CMD)

git clone https://github.com/kentzu213/izzi-openclaw.git
cd izzi-openclaw
install.bat izzi-YOUR_KEY_HERE

macOS / Linux (One-liner)

curl -fsSL https://raw.githubusercontent.com/kentzu213/izzi-openclaw/main/install.sh | bash -s -- "izzi-YOUR_KEY_HERE"

VPS / Server (Ubuntu/Debian)

curl -fsSL https://raw.githubusercontent.com/kentzu213/izzi-openclaw/main/install-vps.sh | bash -s -- "izzi-YOUR_KEY_HERE"

After install: restart OpenClaw โ†’ select auto ยท izzi โ†’ start chatting!

Supported Models

38 models across 4 tiers. Pricing in USD per 1M tokens. 1 credit = $1.

FREE

Maintained (Free Upstream)

9 models

Ultra-low maintenance fees. Free upstream via Cerebras & OpenRouter.

Model IDNameInputOutputContext
qwen3-235bQwen3 235B$0.08$0.14128K
llama-3.3-70bLlama 3.3 70B$0.08$0.14128K
nemotron-3-super-freeNemotron 3 Super 120B$0.08$0.14128K
devstral-2-freeDevstral 2 123B$0.08$0.14128K
gemma-3-27b-freeGemma 3 27B$0.08$0.1496K
llama-3.3-70b-freeLlama 3.3 70B$0.08$0.14128K
openrouter-freeAuto Router$0.08$0.14โ€”
step-3.5-flashStep 3.5 Flash$0.075$0.30256K
glm-4.5-airGLM 4.5 Air$0.075$0.30128K
BUDGET

Budget

9 models

Budget-optimized models. Great value for everyday tasks.

Model IDNameInputOutputContext
gpt-5-miniGPT-5 Mini$0.35$2.80128K
gpt-5.1-miniGPT-5.1 Mini$0.44$3.50128K
gemini-2.5-flash-liteGemini 2.5 Flash Lite$0.14$0.831M
gpt-4o-miniGPT-4o Mini$0.17$0.66128K
gpt-5.4-nanoGPT-5.4 Nano$0.22$1.38128K
grok-4.1-fastGrok 4.1 Fast$0.23$0.58128K
gemini-2.5-flashGemini 2.5 Flash$0.33$2.751M
gpt-4.1-miniGPT-4.1 Mini$0.44$1.761M
gpt-5.4-miniGPT-5.4 Mini$0.83$4.95128K
STANDARD

Standard

9 models

Production-grade models for serious workloads.

Model IDNameInputOutputContext
gpt-5.1GPT-5.1 โญ$0.70$5.60128K
gpt-5.1-codexGPT-5.1 Codex$0.70$5.60128K
autoAuto Select$0.70$5.60โ€”
claude-haiku-4.5Claude Haiku 4.5$0.88$4.40200K
gpt-5.1GPT-5.1$1.10$8.80128K
gpt-5.1-codexGPT-5.1 Codex$1.10$8.80128K
o3-minio3-mini$1.21$4.84128K
gpt-4.1GPT-4.1$2.20$8.801M
gpt-4oGPT-4o$2.75$11.00128K
PREMIUM

Premium

11 models

Flagship models. Claude 4.6, GPT-5.4, Grok 4.

Model IDNameInputOutputContext
gpt-5.2GPT-5.2$1.23$9.80128K
gemini-2.5-proGemini 2.5 Pro$1.38$11.001M
gpt-5.4GPT-5.4$1.75$10.50128K
gpt-5.2-directGPT-5.2$1.93$15.40128K
gpt-5.4-directGPT-5.4$2.75$16.50272K
claude-sonnet-4.5Claude Sonnet 4.5$3.30$16.50200K
claude-sonnet-4Claude Sonnet 4$3.30$16.50200K
claude-sonnet-4.6Claude Sonnet 4.6 ๐Ÿ†•$3.30$16.50200K
grok-4Grok 4$3.30$16.50256K
claude-opus-4Claude Opus 4$5.50$27.50200K
claude-opus-4.6Claude Opus 4.6 ๐Ÿ†•$5.50$27.50200K

Error Codes

All errors follow a consistent format:

{
  "error": {
    "type": "rate_limit_error",
    "message": "Rate limit exceeded. Try again in 60 seconds."
  }
}
HTTPTypeDescription
400invalid_request_errorMalformed request or missing fields
401authentication_errorInvalid or missing API key
402insufficient_balanceNot enough credits
403ip_blockedIP blocked after too many failed auth attempts
429rate_limit_errorRPM or concurrent limit exceeded
429quota_exceededDaily request quota exceeded
402budget_exceededMonthly budget limit reached
404not_foundModel or resource not found
502upstream_errorUpstream AI provider returned an error
502connection_errorFailed to reach upstream provider
500server_errorInternal server error

Payment Methods

1 credit = $1 USD. No expiration on deposited balance.

๐Ÿฆ

Bank Transfer

VND via VietQR

โ‚ฟ

Crypto

BTC, ETH, USDT via Cryptomus

๐Ÿ’ฐ

Lolzteam

Marketplace balance

๐ŸŽ First deposit bonus: Deposit $1+ โ†’ receive +$5 free credits instantly!