Home/Docs
openFluxHub — OpenAI-Compatible API Gateway
One unified OpenAI-compatible endpoint for GPT-5, Claude, and Gemini. Migrate from OpenAI in minutes by changing your base URL — keep your existing SDKs with no rewrite. Multi-provider routing for low latency and high uptime. Transparent pricing, enterprise SLA, and global CDN acceleration.
Quick Start
Step-by-step: API key, model choice, and first requests (chat, image, video).
Open Quick Start guideOpenAI-Compatible Endpoints
openFluxHub provides OpenAI-style endpoints for seamless migration. Change your base URL and keep using your existing SDKs. Interfaces follow OpenAI standards with extended support for Claude, Gemini, Grok, and VEO-class models.
Chat Completion API
Streaming support and low latency
Chat completion with GPT-5, GPT-4o, Claude Sonnet 4.5, Gemini 2.0 Flash. OpenAI-compatible API with streaming.
Image Creation API
Text-to-image generation
Image creation with GPT-4o Image, Gemini 2.5 Flash Image models. OpenAI-style API for integration.
Video Creation API
Async task management with webhooks
Video creation with VEO-class and other leading video models. Async task management with status tracking and webhook support.
Platform Benefits
Transparent pricing
- Pay-as-you-go with no subscription required
- Clear per-token rates for all models
- Volume discounts for enterprise usage
- No hidden fees — pay for what you use
Multi-provider routing & enterprise SLA
Intelligent routing across providers for uptime and latency. Automatic failover when a provider degrades.
99.9% uptime SLA
Enterprise-grade reliability with automatic failover and multi-provider routing.
Global CDN acceleration
Edge locations worldwide for lower latency and optimized routing.
Rate limit management
Automatic handling across providers with intelligent request distribution.
Real-time status
Monitor endpoint health; track async image/video tasks with webhooks.
SDKs & Code Examples
Official patterns use OpenAI-compatible clients for Python, Node.js, and Java. Configure the base URL to openFluxHub; keep your existing integration.
Python
Install with pip install openai. Set base URL and use existing OpenAI code.
from openai import OpenAI
client = OpenAI(
base_url="https://api.openfluxhub.com/v1",
api_key="your-openfluxhub-key"
)Node.js
Install with npm install openai. Set baseURL to the openFluxHub endpoint.
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.openfluxhub.com/v1',
apiKey: 'your-openfluxhub-key'
});Java
OpenAI-compatible Java client — configure the base URL for all models.
Migration from OpenAI
Switch in under 5 minutes. No rewrite — change base URL and API key.
- 1
Get your API key
Sign up for openFluxHub and create an API key in the console dashboard.
- 2
Update base URL
Point your OpenAI base URL to the openFluxHub endpoint. Existing SDK calls stay the same.
- 3
Test your endpoints
Run your code with the new base URL. Monitor latency and limits in the dashboard.
Supported Models via Unified Endpoint
Access leading providers through one gateway with a consistent request/response format.
Chat completion models
- GPT-5 — flagship reasoning
- GPT-4o & GPT-4o Mini — multimodal balance
- Claude Sonnet 4.5 & Haiku 4.5 — Anthropic
- Gemini 2.0 Flash & Flash Thinking — Google
Image creation models
- GPT-4o Image
- Gemini 2.5 Flash Image
Video creation models
- Leading video models (provider lineup may change)
- VEO-class video models
Speech models
- Whisper-class transcription
- TTS with multiple voices
FAQ
- How do I migrate from OpenAI?
- Change your base URL to the openFluxHub API base and use your openFluxHub API key. Keep your existing SDKs — migration typically takes under 5 minutes.
- What's included in the SLA?
- 99.9% uptime, global CDN acceleration, multi-provider routing with failover, and real-time monitoring. Webhooks and rate-limit helpers are included where applicable.
- How does pricing compare?
- Transparent per-token pricing with pay-as-you-go, volume discounts for enterprise, and no hidden fees.
- What about latency?
- Low latency via global CDN and intelligent routing. Edge locations help keep response times predictable.
Canonical docs URL: https://docs.openfluxhub.com · API base: https://api.openfluxhub.com/v1