Quick Start
AIV.pub provides a unified API and single endpoint for various AI models and providers. You can use it to access different models from different providers with a single API key. You can also use it to manage your credits and usage.
Quick start follow these steps:
Getting Started Steps
Signup
Create an account to get started.
Buy credits
Credits can be used with any model or provider.
Get your API key
Create an API key and start making requests.
Use OpenAI SDK
example.py
from openai import OpenAI
client = OpenAI(
base_url="https://api.aiv.pub/v1",
api_key="<AIVPUB_API_KEY>",
)
completion = client.chat.completions.create(
extra_headers={
},
model="deepseek/deepseek-r1",
messages=[
{
"role": "user",
"content": "What is the meaning of life?"
}
]
)
print(completion.choices[0].message.content)