v1.0 Documentation

Cosmos Platform

Access our orchestration models for real-world applications with simple, powerful APIs

Documentation illustration

Our models

Discover our four main model families designed for specific tasks and optimized for maximum efficiency

Files models

Analyze, query, and extract using our powerful processing technologies and post-RAG technology.

~ 0,005 € - 0,10 € per request
  • Post-RAG Technology
  • Intelligent Parsing
  • Vectorization
  • PDF, Word, PPT compatibility
  • Up to 1GB storage

Translation models

Advanced translation capabilities for multiple languages and formats.

0,005 € per token / 0,05 € per page
  • Over 40 languages supported
  • Contextual awareness
  • Custom glossaries - coming soon
  • PDF, Word, PPT compatibility
  • URL retrieval

Web models

Analyze, query, and extract information using our cutting-edge technologies.

0,04 € per request
  • Web Requests
  • Natural Language Responses
  • Website Specification
  • 1000 requests/month
  • 2-5 seconds per request
Coming Soon

Vision models

State-of-the-art generative AI computer vision and processing.

0,05 € per image
  • Information extraction
  • Natural language description
  • State-of-the-art performance
  • PNG, JPG, PDF compatibility
  • 2-5s processing time

Developer quickstart

Learn how to make your first API request with Cosmos Platform. Our API provides simple interfaces to state-of-the-art AI models for web search, document analysis, translation, and vision processing.

Create and export an API key

Create an API key in the dashboard, which you'll use to securely access the API. Store the key in a safe location, like a .env file or another secure configuration file.

export COSMOS_API_KEY="your_api_key_here"

Make your first API request

With your Cosmos API key exported, you're ready to make your first API request. You can use our official SDKs or the REST API directly.

import CosmosAI from "@cosmos-ai/sdk"; const cosmos = new CosmosAI(); const response = await cosmos.web.search({ query: "What is the capital of France?", outputLanguage: "en-US" }); console.log(response.results);

Next steps

Now that you've made your first Cosmos API request, explore these resources:

  • Web Search Documentation
  • Document Analysis Guide
  • Translation API Reference
  • Chat with LLM

Advanced Usage Examples

Explore more complex use cases and advanced features of our API to build sophisticated applications.

Advanced Web Search

Perform deep web crawling with custom filters and depth control.

const response = await cosmos.web.search({ url: "https://example.com", depth: 2, filters: { contentType: ["text", "links"], dateRange: { from: "2024-01-01" } } });

Document Analysis

Extract insights from documents with multiple analysis tasks.

const response = await cosmos.document.analyze({ file: "./document.pdf", tasks: ["summary", "entities", "sentiment"], outputFormat: "structured" });

Check out our extensive documentation for more advanced usage examples and best practices.