Getting Started
Make your first API request in minutes. Access OpenAI, Anthropic, Google, and more through a single endpoint.
Prerequisites
- An AnotiAI API key. Get one from API Keys
First Request
Here's how to make your first chat completion request:
const response = await fetch(
"https://api.anotiai.com/v1/llm/chat/completions",
{
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model_id: "openai:gpt-4o",
prompt: "Explain quantum computing",
stream: false,
}),
},
);
const data = await response.json();
console.log(data.choices[0].message.content);
See API Reference for more details.
Supported Models
- GPT-4o (Recommended) - OpenAI's most capable model
- GPT-4 Turbo - Fast and intelligent
- GPT-3.5 Turbo - Fast and affordable
- Claude 3 Opus - Most powerful Claude model
- Claude 3 Sonnet - Balanced performance and speed
- Claude 3 Haiku - Fastest Claude model
- Gemini 1.5 Pro - Google's advanced model
- Gemini 1.5 Flash - Fast and efficient
- Groq Llama 3.1 70B - Ultra-fast inference
- DeepSeek Chat - DeepSeek's chat model
Next Steps
- Explore the Playground to test models interactively.
- Check out our SDKs for easier integration.
- View Examples for common use cases.