Powered by state-of-the-art language models

Your intelligentassistant

Ask anything, write code, analyze data, and create content. Cortex understands context, remembers your preferences, and gets smarter with every conversation.

What Cortex can do

From quick answers to complex multi-step tasks, Cortex adapts to how you work.

Answer Questions

Get instant, accurate answers across every topic from science to coding to creative writing.

Write Code

Generate, debug, and refactor code in any language. From algorithms to full-stack apps.

Analyze Data

Upload datasets, get insights, build charts, and find patterns in your data effortlessly.

Create Content

Draft emails, blog posts, marketing copy, and creative stories tailored to your voice.

See it in action

CortexModel: Cortex-4

Write a Python function that finds all prime numbers up to n.

Here is an efficient Sieve of Eratosthenes implementation:

def sieve_of_eratosthenes(n: int) -> list[int]:
    """Find all prime numbers up to n."""
    if n < 2:
        return []

    is_prime = [True] * (n + 1)
    is_prime[0] = is_prime[1] = False

    for i in range(2, int(n**0.5) + 1):
        if is_prime[i]:
            for j in range(i*i, n + 1, i):
                is_prime[j] = False

    return [i for i in range(n + 1) if is_prime[i]]

Time complexity: O(n log log n). This is optimal for generating all primes up to n.

Simple pricing

Start for free, upgrade when you need more.

Free

$0forever

Get started with basic AI chat capabilities.

  • 50 messages/day
  • Standard model
  • Text-only responses
  • Chat history (7 days)
Start Free
Most Popular

Pro

$20/month

For professionals who need advanced AI features.

  • Unlimited messages
  • All advanced models
  • Code execution
  • File uploads
  • Priority access
  • Chat history (unlimited)
Start Pro Trial

Enterprise

Custom

For teams that need security, control, and scale.

  • Everything in Pro
  • SSO & SAML
  • Admin dashboard
  • API access
  • Custom models
  • SLA guarantee
  • Dedicated support
Contact Sales

Product

Features

Models

Pricing

Changelog

Developers

API Docs

Libraries

Playground

Status

Company

About

Blog

Careers

Research

Legal

Privacy

Terms

All Examples
Built with refraction-ui. Themed by CSS variables only.

Theme Config

Edit the CSS custom properties below and click Apply to see changes live. Copy the config to use in your own project.

RBuilt with Refraction UI