Inference API. Batteries included 🔋
Inference API provides ready-to-use access to a set of powerful AI models.
No matter type of GenAI you need, we have you covered.
Models and Prices
Note: When you deploy your application on OmegaCloud, next environment variables are provided automatically:
- OMEGACLOUD_BASE_URL = https://ai.omegacloud.ai/v1
- OMEGACLOUD_API_KEY = your API key
- OPENAI_BASE_URL = https://ai.omegacloud.ai/v1
- OPENAI_API_KEY = your API key
So, you do not need to set these variables manually. Isn't it great?
You can simply use
client = openai.OpenAI()
import openai
import os
client = openai.OpenAI(
api_key=os.getenv("OMEGACLOUD_API_KEY"),
base_url="https://ai.omegacloud.ai/v1",
)
response = client.chat.completions.create(
model="gemini/gemini-2.5-flash-preview-05-20",
messages = [
{
"role": "user", "content": "why is the sky blue?"
}
]
)
print(response)
Note: Models and prices are subject to change. The Service operates on a Pay-As-You-Go basis. You are charged based on the tokens consumed as stated on our website or provided pricing information. We will provide notice of price changes on our website or via email where feasible.
Sign up today & Get free credits.