API documentation
cheapmodel provides an OpenAI-compatible API gateway. Use your token from the console and point your client at the base URL below.
Base URL
https://cheapmodel.ai/v1Console
Create tokens, view usage, and manage your account.
Open consolePersonal Center
Review balance, usage, and profile settings.
Open personal centerPython quick start
from openai import OpenAI
client = OpenAI(
api_key="YOUR_CHEAPMODEL_KEY",
base_url="https://cheapmodel.ai/v1",
)
response = client.chat.completions.create(
model="gpt-5.5",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)