UltraSafe AI API Documentation

Welcome to the UltraSafe AI API documentation. This guide will help you integrate with our API to access advanced language models through a single unified interface.

UltraSafe provides a specialized family of expert AI models designed for specific domains and use cases. Our intelligent router automatically selects the optimal model for your request, while our expert agentic models deliver superior performance in healthcare, finance, programming, and psychology domains.

Experience UltraSafe's Expert AI Models - Mini, Healthcare, Finance, Code, and Psychology specialists!

Intelligent model routing ensures optimal performance for every task with transparent token-based pricing.

Getting Started

Learn about the UltraSafe API and how to make your first request.

API Reference

Detailed documentation for parameters, models, and response formats.

Guides

Learn advanced techniques and best practices.

Quick Start

Get started with UltraSafe AI in minutes using our API. Here's a simple example to make your first API call:

1import openai
2
3# Initialize the OpenAI client
4client = openai.OpenAI(
5    api_key="YOUR_API_KEY",
6    base_url="https://app.us.inc/api/v2"
7)
8
9# Define the messages to send
10messages = [
11    {
12        "role": "user",
13        "content": "Hello, can you help me with a coding question?"
14    }
15]
16
17# Call the API
18response = client.chat.completions.create(
19    model="ultrasafe/usf-mini",
20    messages=messages,
21    temperature=0.7,
22    max_tokens=1000,
23    top_p=1.0,
24    stream=False
25)
26
27# Print the response
28print(response.choices[0].message.content)

Before you begin

You'll need an API key to use the UltraSafe AI API. Get one from your API Keys Dashboard.

Key Features

Intelligent Model Routing

Our smart routing system automatically selects the most appropriate model for your task, optimizing performance and accuracy across all domains.

Expert Agentic Models

Domain-specific AI agents trained for healthcare, finance, programming, and psychology tasks, delivering superior performance in specialized areas.

Transparent Pricing

Pay only for what you use with clear token-based pricing. Track usage and costs in real-time through your dashboard.

OpenAI Compatibility

Our API follows OpenAI-compatible patterns, making it easy to integrate if you're already familiar with the OpenAI API.

Ready to Get Started?

Continue exploring our documentation to learn more about the UltraSafe AI API.