File size: 3,034 Bytes
42b2102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cache AI - Semantic Caching for LLMs</title>
    <link rel="stylesheet" href="static/style.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>Cache AI</h1>
            <p class="tagline">Semantic caching for LLMs: 90% cheaper, 10× faster</p>
        </header>

        <div class="notice">
            <p><strong>Cache AI provides:</strong></p>
            <ul>
                <li>A Python API (available on PyPI)</li>
                <li>A Web API (OpenAI-compatible)</li>
            </ul>
            <p style="margin-top: 10px;">
                <strong>Note:</strong> Due to per-user API key issuance, this Space focuses on explaining behavior and usage, not full production execution.
            </p>
        </div>

        <div class="stats">
            <div class="stat">
                <div class="stat-number">~90%</div>
                <div class="stat-label">Cost Reduction</div>
            </div>
            <div class="stat">
                <div class="stat-number">10×</div>
                <div class="stat-label">Faster Response</div>
            </div>
        </div>

        <section>
            <h2>Quickstart: Python API</h2>
            <pre><code>pip install cacheai</code></pre>
            <pre><code>from cacheai import Client

client = Client(api_key="YOUR_API_KEY")

resp = client.chat.completions.create(
    model="openai/gpt-oss-120b",
    messages=[{"role": "user", "content": "Hello"}]
)

print(resp.choices[0].message.content)</code></pre>
        </section>

        <section>
            <h2>Quickstart: Web API (OpenAI-compatible)</h2>
            <pre><code>curl https://api.cacheai.tech/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-oss-120b",
    "messages": [{"role":"user","content":"Hello"}]
  }'</code></pre>
        </section>

        <section>
            <h2>Key Features</h2>
            <ul style="padding-left: 20px;">
                <li>OpenAI-compatible API</li>
                <li>Semantic similarity matching</li>
                <li>Per-user API key management</li>
                <li>Easy integration with existing workflows</li>
            </ul>
        </section>

        <section>
            <h2>Get Started</h2>
            <div class="link-grid">
                <a href="https://pypi.org/project/cacheai/" class="link-button" target="_blank">
                    📦 PyPI
                </a>
                <a href="https://github.com/cacheaitechnologies/cacheai" class="link-button" target="_blank">
                    🐙 GitHub
                </a>
                <a href="https://www.cacheaitechnologies.com/" class="link-button" target="_blank">
                    🌐 Website
                </a>
            </div>
        </section>
    </div>
</body>
</html>