Live · ai.flaz.id · OpenAI-compatible

AI Models from one API

Access 47+ AI models via one OpenAI-compatible endpoint. Claude, GPT-5, Gemini, DeepSeek. Pay per use, no subscription.

47+

Chat models

$0.035

From / 1M tokens

99.9%

Uptime SLA

⚡ Streaming 👁 Vision 🛠 Function calling 💾 Prompt cache 🌍 Multi-region

Start in 3 steps

No onboarding, no contract, no minimum spend.

1

Sign Up & Top Up

Sign up free at Flaz Cloud, top up your wallet (from Rp10,000). Balance auto-converts to USD for AI billing.

2

Create API Key

Generate a virtual key in the dashboard. Set a per-key budget cap to control spending. Multiple keys per project.

3

Make Requests

Use your existing OpenAI SDK — just swap the base URL to ai.flaz.id/v1. Wallet auto-deducts per call.

Drop-in for existing SDKs

OpenAI-compatible endpoint — if your code already uses the OpenAI SDK, just swap the base URL & API key.

cURL
curl https://ai.flaz.id/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-flaz-..." \
  -d '{
    "model": "claude-haiku-4-5",
    "messages": [{"role": "user", "content": "Hi, introduce yourself"}],
    "max_tokens": 200,
    "stream": true
  }'
Python
# pip install openai
from openai import OpenAI

client = OpenAI(
    api_key="sk-flaz-...",
    base_url="https://ai.flaz.id/v1"
)

stream = client.chat.completions.create(
    model="claude-sonnet-4-6",
    messages=[{"role": "user", "content": "Write a short story about AI"}],
    stream=True,
)
for chunk in stream:
    print(chunk.choices[0].delta.content or "", end="")
JavaScript (fetch)
const r = await fetch("https://ai.flaz.id/v1/chat/completions", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "Bearer sk-flaz-..."
  },
  body: JSON.stringify({
    model: "gpt-5-mini",
    messages: [{ role: "user", content: "Hi!" }]
  })
});
const data = await r.json();
console.log(data.choices[0].message.content);
Node.js (openai SDK)
// npm install openai
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "sk-flaz-...",
  baseURL: "https://ai.flaz.id/v1"
});

const resp = await client.chat.completions.create({
  model: "gemini-2.5-flash",
  messages: [{ role: "user", content: "Hi!" }]
});
console.log(resp.choices[0].message.content);

Live Pricing

Sell price per 1 million tokens (USD). Real-time from our catalog — changes appear here instantly.

Charges deduct from your AI Wallet per call. No monthly fee, no minimum.

Model Input / 1M Output / 1M
Anthropic · 6 models

Claude Sonnet 4.6

Popular

claude-sonnet-4-6

$3.4500 $17.2500

Claude Haiku 4.5

claude-haiku-4-5

$1.1500 $5.7500

Claude Fable 5

claude-fable-5

$11.5000 $57.5000

Claude Opus 4.7

claude-opus-4-7

$5.7500 $28.7500

Claude Opus 4 8

claude-opus-4-8

$5.7500 $28.7500

Claude Sonnet 5

claude-sonnet-5

$2.3000 $11.5000
OpenAI · 13 models

GPT-5

New

gpt-5

$1.4375 $11.5000

GPT-5 Mini

gpt-5-mini

$0.2875 $2.3000

GPT-5 Nano

Cheapest

gpt-5-nano

$0.0575 $0.4600

GPT-4o

gpt-4o

$2.8750 $11.5000

GPT-4o Mini

gpt-4o-mini

$0.1725 $0.6900

GPT-4.1

gpt-4.1

$2.3000 $9.2000

GPT-4.1 Mini

gpt-4.1-mini

$0.4600 $1.8400

GPT-4.1 Nano

gpt-4.1-nano

$0.1150 $0.4600

Text Embedding 3 Large

text-embedding-3-large

$0.1495 $0.0000

Text Embedding 3 Small

Cheapest

text-embedding-3-small

$0.0230 $0.0000

Gpt 5.4

gpt-5.4

$2.8750 $17.2500

Gpt 5.4 Mini

gpt-5.4-mini

$0.8625 $5.1750

Gpt 5.4 Nano

gpt-5.4-nano

$0.2300 $1.4375
Alibaba · 4 models

Qwen 3.6 Plus

qwen3.6-plus

$0.5750 $3.4500

Qwen 3.6 Flash

qwen3.6-flash

$0.2875 $1.7250

Qwen3.7 Max

qwen3.7-max

$1.4375 $4.3125

Qwen3.7 Plus

qwen3.7-plus

$0.3680 $1.4720
ByteDance · 4 models

Seed 2.0 Pro

seed-2-0-pro

$0.5750 $3.4500

Seed 2.0 Code

seed-2-0-code

$0.5750 $3.4500

Seed 2.0 Lite

seed-2-0-lite

$0.2875 $2.3000

Seed 2.0 Mini

seed-2-0-mini

$0.1150 $0.4600
Mimo · 2 models

Mimo v2.5 Pro

mimo-v2.5-pro

$0.5003 $1.0005

Mimo v2.5

mimo-v2.5

$0.1610 $0.3220
MiniMax · 2 models

MiniMax M2.7 Highspeed

MiniMax-M2.7-highspeed

$0.0345 $0.1380

MiniMax M3

MiniMax-M3

$0.3450 $1.3800
Moonshot · 1 models

Kimi K2.6

kimi-k2.6

$0.7705 $3.8985
Zhipu (Z.ai) · 5 models

GLM 5

glm-5

$0.6900 $2.3000

GLM 5 Turbo

glm-5-turbo

$1.3800 $4.6000

GLM 5.1

glm-5.1

$1.6100 $5.0600

Glm 5.2

glm-5.2

$1.2075 $3.7950

Glm 5v Turbo

glm-5v-turbo

$1.3800 $4.6000
Tencent · 3 models

DeepSeek v4 Flash

New

deepseek-v4-flash

$0.1610 $0.3220

DeepSeek v4 Pro

New

deepseek-v4-pro

$0.5003 $1.0005

Hy3

hy3

$0.1518 $0.6072
Google · 4 models

Gemini 2.5 Flash

gemini/gemini-2.5-flash

$0.3450 $2.8750

Gemini 2.5 Flash Lite

gemini/gemini-2.5-flash-lite

$0.1150 $0.4600

Gemini 3 Flash Preview

gemini/gemini-3-flash-preview

$0.5750 $3.4500

Gemini 3.1 Pro Preview

gemini/gemini-3.1-pro-preview

$2.3000 $13.8000
gemini · 3 models

Gemini 3.1 Flash Lite

gemini/gemini-3.1-flash-lite

$0.2875 $1.7250

Gemini 3.5 Flash

gemini/gemini-3.5-flash

$1.7250 $10.3500

Gemini Embedding 001

gemini/gemini-embedding-001

$0.1725 $0.0000
moonshoot · 2 models

Kimi K2.7

kimi-k2.7

$1.0925 $4.6000

Kimi K3

kimi-k3

$1.7250 $8.6250
Live data from the Flaz catalog. Auto-updates when prices/models change. Start using →

What can you build?

Common ways customers use Flaz AI.

💬

Customer Support Chatbot

Build a 24/7 customer support that understands your business context. Streaming responses, function tools, multi-language.

Recommended: claude-haiku-4-5

📝

Content Generation

Generate articles, product descriptions, ad copy, marketing emails — at scale with economical pricing.

Recommended: gpt-5-mini

🧑‍💻

Coding Assistant

Code completion, refactor, review, debug. Sonnet & Codex variants are strong for complex code reasoning.

Recommended: claude-sonnet-4-6

📊

Data Extraction

Parse unstructured PDFs/documents, extract data into structured JSON. Vision support for image documents.

Recommended: gemini-2.5-flash

Why Flaz?

vs. going direct to OpenAI/Anthropic or using other gateways.

Pay in Rupiah

Top up your wallet in IDR (QRIS, bank transfer, e-wallet). No USD credit card or Wise/Payoneer needed.

Per-Key Budget Cap

Set a hard limit per API key — leak in repo? loss is bounded. A feature OpenAI does not ship by default.

Real-time Usage Logs

Per-call logs, model breakdown, daily spend chart, prompt cache indicator. Audit & forecasting made easy.

Single Endpoint

Switch model by changing a single string — no SDK or auth refactor when changing providers.

Indonesian Support

Local support team in Indonesian business hours, docs & dashboard available in Bahasa Indonesia.

Prompt Caching

Cache tokens auto-tracked — Anthropic-style 1.25× create + 0.1× read. Save up to 90% on repetitive workloads.

FAQ

Frequently asked questions.

No. Pure pay-as-you-go — charges deduct from your wallet per call. Stop anytime; remaining balance is yours and is refundable (minus payment-gateway fees).
Each API call costs: (input_tokens × input_price) + (output_tokens × output_price) + cache_creation premium (1.25×) and cache_read discount (0.1×). Wallet auto-deducts; full per-call history lives in the Usage tab.
Yes. Our endpoint implements the full OpenAI Chat Completions spec — just swap base_url to https://ai.flaz.id/v1 and api_key to sk-flaz-... Streaming, function calling, and vision all work.
99.9% uptime SLA on the gateway. Upstream model providers (OpenAI/Anthropic/etc.) have their own SLAs — we pass through their availability downstream.
Keys are hashed at rest (no plaintext in DB), sent to the proxy over secure headers, and revocable anytime. Set a per-key budget cap to bound the blast radius if a key leaks.
No. We only log billing metadata (model, token counts, timestamp, status). Prompt and response content is not stored. Anthropic prompt cache is handled by Anthropic on their servers — controlled via your headers.
Yes. Many customers run production chatbots, internal tools, and automations on Flaz. For high volume (>$1k/month) we offer custom pricing — get in touch.
Request it via support chat. We can usually add an OpenAI-compatible provider within 1-3 business days.

Explore More From Flaz

Get everything you need to launch — fast, reliable, and managed in one dashboard.

Web Hosting

cPanel hosting with SSD NVMe storage, free SSL, and one-click installer.

View Hosting

Reseller Hosting

Sell hosting under your own brand — WHM cPanel or DirectAdmin Reseller.

View Reseller

Cloud VPS

KVM-powered cloud servers with full root access and instant deployment.

View VPS

Container Apps

Deploy WordPress, n8n, Odoo and more — pick a template, click deploy.

View Apps

Email Hosting

Professional email at your domain with spam protection and webmail.

View Email

Domain

Register .com, .id, .my.id, and more — instant activation, easy DNS management.

View Domains

SSL Certificate

Secure your domain with DV, OV, or EV SSL from trusted issuers.

View SSL

Start building with AI today

Sign up free. Top up minimum Rp10,000. Full access to 46+ models.