Combine your models
One integration. More models.Access the combined models of your selected channels. Choose the right model for conversation, coding or image understanding.
Connect leading models through one API. Combine channels and switch models, giving every request another way forward.
from openai import OpenAI
import os
client = OpenAI(
api_key=os.environ["KEDA_API_KEY"],
base_url="https://keda8.ai/v1",
)
response = client.chat.completions.create(
model="YOUR_CONFIGURED_MODEL_ID",
messages=[{
"role": "user",
"content": "Make something great."
}],
)
print(response.choices[0].message.content)Replace model with a full model ID available to your key.
From one model to many channels. Let the API handle connections so you can focus on your product.
Access the combined models of your selected channels. Choose the right model for conversation, coding or image understanding.
Choose channels and priorities for your application, matching each request to a model with the capabilities it needs.
When your primary channel fails, try other channels, then fallback models in your chosen order.
Use the same live channels and configuration as the console. Sign in to review and create.
Keep your familiar workflow and connect to more models.
Read the integration guideName your application, select available channels, and set quota and model access.
Set your Base URL and API key, then specify a full model ID in your request.
Send your first request and view actual usage and logs in the console.
Yes. Select multiple available channels for a key to access their combined models. Specify a model on each request. Model access and balances are checked by the server.
Same-model retries keep the model ID and try other channels. Smart routing falls back to other models in your chosen order. Cross-model fallback supports Chat Completions and stops once output begins.
Each request follows one available route. The same API can call different models across requests. Calling several models in parallel requires separate orchestration.
Endpoints, tools, vision and context support vary by model. Confirm compatibility before enabling fallback; see each model for details.