Skip to content

ai& API Documentation

ai& serves open-weight LLMs from our own infrastructure through OpenAI- and Anthropic-compatible APIs. Point your existing SDK at our base URL — your code runs unchanged against the open-source models we host, with per-token credit billing.

https://api.aiand.com

All API endpoints are served from this base URL. Authentication is required for all requests.

Terminal window
curl https://api.aiand.com/v1/chat/completions \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-oss-120b",
"messages": [{"role": "user", "content": "Hello!"}]
}'

OpenAI Compatible

Drop-in replacement for /v1/chat/completions. Works with the OpenAI SDK, LangChain, LlamaIndex, and anything that speaks the OpenAI format.

Open Source Models

Access open source models through a single API key. Same OpenAI-compatible request format across all models.

Multimodal Inputs

Upload images and video once via the Files API, then reference by file_id in chat completions. OpenAI-canonical wire shape — vanilla SDK works.

Credit Billing

Pay-per-token with automatic credit deduction. Per-model pricing — you only pay for what you use. Failed requests are not billed.