modelflaredev commited on
Commit
b05132b
·
verified ·
1 Parent(s): 313c12f

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +68 -4
README.md CHANGED
@@ -1,10 +1,74 @@
1
  ---
2
  title: README
3
- emoji: 🔥
4
- colorFrom: red
5
- colorTo: purple
6
  sdk: static
7
  pinned: false
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: README
3
+ emoji: ⚡
4
+ colorFrom: indigo
5
+ colorTo: pink
6
  sdk: static
7
  pinned: false
8
+ license: mit
9
  ---
10
 
11
+ <div class="grid lg:grid-cols-3 gap-x-4 gap-y-6">
12
+ <div class="lg:col-span-3">
13
+ <h1>Modelflare</h1>
14
+ <p>
15
+ Stable, lower-cost <strong>AI API gateway</strong> for LLM, image, and video models.
16
+ One key for OpenAI-compatible Chat &amp; Responses, Anthropic Messages, plus native image and video contracts —
17
+ with ordered model-group fallbacks and per-request usage &amp; cost tracking.
18
+ </p>
19
+ </div>
20
+
21
+ <a href="https://modelflare.dev/" class="block overflow-hidden group">
22
+ <div class="w-full h-28 mb-2 rounded-lg flex items-center justify-center bg-gradient-to-br from-indigo-50 to-pink-50 border border-gray-100 px-4">
23
+ <span class="text-lg font-semibold text-gray-800">Console &amp; Pricing</span>
24
+ </div>
25
+ <div class="underline">modelflare.dev</div>
26
+ </a>
27
+
28
+ <a href="https://docs.modelflare.dev/" class="block overflow-hidden group">
29
+ <div class="w-full h-28 mb-2 rounded-lg flex items-center justify-center bg-gradient-to-br from-indigo-50 to-pink-50 border border-gray-100 px-4">
30
+ <span class="text-lg font-semibold text-gray-800">API Docs</span>
31
+ </div>
32
+ <div class="underline">docs.modelflare.dev</div>
33
+ </a>
34
+
35
+ <a href="https://docs.modelflare.dev/guides/features/" class="block overflow-hidden group">
36
+ <div class="w-full h-28 mb-2 rounded-lg flex items-center justify-center bg-gradient-to-br from-indigo-50 to-pink-50 border border-gray-100 px-4">
37
+ <span class="text-lg font-semibold text-gray-800">Platform Features</span>
38
+ </div>
39
+ <div class="underline">Failover · Smart keys · Cache guarantee</div>
40
+ </a>
41
+
42
+ <div class="lg:col-span-3">
43
+ <h2>What you get</h2>
44
+ <ul>
45
+ <li><strong>One key</strong> for text, image, and video models</li>
46
+ <li><strong>OpenAI-compatible</strong> chat — point your SDK at <code>https://modelflare.dev/v1</code></li>
47
+ <li><strong>Group failover</strong> so one unavailable route does not fail the request</li>
48
+ <li><strong>Per-request</strong> token, image, and video cost records</li>
49
+ <li>Guides for <strong>Codex, Claude Code, Gemini CLI</strong>, and other coding agents</li>
50
+ </ul>
51
+ </div>
52
+
53
+ <div class="lg:col-span-3">
54
+ <h2>Quick start</h2>
55
+ <div class="p-4 bg-gradient-to-b from-gray-50 to-white border border-gray-100 rounded-lg relative mb-2">
56
+ <pre class="break-words whitespace-pre-line text-xs md:text-sm text-gray-800">curl https://modelflare.dev/v1/chat/completions \
57
+ -H "Authorization: Bearer $MODELFLARE_API_KEY" \
58
+ -H "Content-Type: application/json" \
59
+ -d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello"}]}'</pre>
60
+ </div>
61
+ <p>
62
+ Create a key in the console, then switch your OpenAI client <code>base_url</code> to
63
+ <a href="https://modelflare.dev/" class="underline">https://modelflare.dev/v1</a>.
64
+ Full guides: <a href="https://docs.modelflare.dev/" class="underline">docs.modelflare.dev</a>.
65
+ </p>
66
+ </div>
67
+
68
+ <div class="lg:col-span-3">
69
+ <p>
70
+ This Hub organization hosts Modelflare demos, examples, and community Spaces.
71
+ Follow along for new Gradio / MCP Spaces and integration templates.
72
+ </p>
73
+ </div>
74
+ </div>