ChainHub provides unified access to 500+ AI models through an OpenAI-compatible API.
Integration#
ChainHub uses the OpenAI API format. Existing OpenAI integrations require only endpoint and key changes.Step 1: Generate API Key#
2.
Navigate to API Keys and generate a key (prefix: sk-chainhub-)
3.
Free credits are provided upon registration
Update your application configuration:Endpoint: https://api.chainhub.tech/v1
Compatibility: OpenAI SDK compatible
Step 3: Select Model#
Replace your API key and specify the desired model in the model parameter:{
"model": "claude-3-5-sonnet",
"messages": [{"role": "user", "content": "What is the future of AI?"}]
}
Supported models include gpt-4o, gemini-1.5-pro, llama-3-8b, and others.
Request Examples#
Python (OpenAI SDK)#
JavaScript (Fetch API)#
Additional Resources#
Modified at 2026-02-08 09:17:41