Overview
Anannas provides a unified OpenAI-compatible API for accessing multiple LLM providers. The Anannas API endpoint ishttps://api.anannas.ai/v1 and uses standard HTTP POST requests with JSON payloads.
Authentication
All requests require a Bearer token in theAuthorization header. Get your API key from the Anannas dashboard.
Endpoint
Request Format
The Anannas API follows the OpenAI Chat Completions format. Required fields:model(string): Model identifier in formatprovider/model-name(e.g.,openai/gpt-5-mini,anthropic/claude-3-sonnet)messages(array): Array of message objects withroleandcontentfields
Using the OpenAI SDK
The official OpenAI SDK works with Anannas by setting thebase_url parameter:
Direct HTTP Requests
Response Format
Responses follow the OpenAI Chat Completions schema:Streaming
Enable streaming by settingstream: true. The Anannas API returns Server-Sent Events (SSE) with incremental text deltas. See the Streaming documentation for implementation details.
Model Format
Browse All Models
For a complete list of available models with pricing and capabilities, visit anannas.ai/models.
provider/model-name:
openai/gpt-5-miniopenai/gpt-3.5-turboanthropic/claude-3-sonnetanthropic/claude-3-opus
GET /v1/models or see the models documentation.
Error Handling
The Anannas API returns standard HTTP status codes:200: Success400: Invalid request (malformed JSON, missing required fields)401: Authentication failed (invalid or missing API key)402: Insufficient credits429: Rate limit exceeded500: Internal server error
Next Steps
- Read the API Overview for complete request/response schemas
- Review Parameters for all available options
- Check Authentication for security best practices
- Explore Streaming for real-time responses