modelflaredev commited on
Commit
fcd4683
·
verified ·
1 Parent(s): c62af56

Update org card README

Browse files
Files changed (1) hide show
  1. README.md +32 -6
README.md CHANGED
@@ -14,11 +14,11 @@ license: mit
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
  <p>
20
  中文:统一 AI API 网关(文本 / 图片 / 视频),OpenAI 兼容,一行切换 <code>base_url</code>,
21
- 带分组故障转移与按请求用量成本记录。
22
  </p>
23
  </div>
24
 
@@ -47,7 +47,7 @@ license: mit
47
  <div class="w-full h-28 mb-2 rounded-lg flex items-center justify-center bg-gradient-to-br from-violet-50 to-fuchsia-50 border border-gray-100 px-4">
48
  <span class="text-lg font-semibold text-gray-800">Start here → Console</span>
49
  </div>
50
- <div class="underline">Hub landing · one-line SDK setup</div>
51
  </a>
52
 
53
  <a href="https://huggingface.co/spaces/Modelflare/openai-sdk" class="block overflow-hidden group">
@@ -57,6 +57,27 @@ license: mit
57
  <div class="underline">One-line base_url switch</div>
58
  </a>
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  <a href="https://docs.modelflare.dev/guides/features/?utm_source=huggingface&utm_medium=org&utm_campaign=card" class="block overflow-hidden group">
61
  <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">
62
  <span class="text-lg font-semibold text-gray-800">Platform Features</span>
@@ -71,7 +92,8 @@ license: mit
71
  <li><strong>OpenAI-compatible</strong> chat — point your SDK at <code>https://modelflare.dev/v1</code></li>
72
  <li><strong>Group failover</strong> so one unavailable route does not fail the request</li>
73
  <li><strong>Per-request</strong> token, image, and video cost records</li>
74
- <li>Guides for <strong>Codex, Claude Code, Gemini CLI</strong>, and other coding agents</li>
 
75
  </ul>
76
  </div>
77
 
@@ -86,7 +108,7 @@ client = OpenAI(
86
  )
87
 
88
  r = client.chat.completions.create(
89
- model="grok-4.7", # use a model id enabled on your group
90
  messages=[{"role":"user","content":"Hello from Hugging Face"}],
91
  )
92
  print(r.choices[0].message.content)</pre>
@@ -95,13 +117,17 @@ print(r.choices[0].message.content)</pre>
95
  Create a key in the <a href="https://modelflare.dev/?utm_source=huggingface&utm_medium=org&utm_campaign=card" class="underline">console</a>,
96
  then switch <code>base_url</code> to <code>https://modelflare.dev/v1</code>.
97
  Full guides: <a href="https://docs.modelflare.dev/?utm_source=huggingface&utm_medium=org&utm_campaign=card" class="underline">docs.modelflare.dev</a>
98
- · bilingual walkthrough: <a href="https://huggingface.co/spaces/Modelflare/openai-sdk" class="underline">openai-sdk Space</a>.
 
 
99
  </p>
100
  </div>
101
 
102
  <div class="lg:col-span-3">
103
  <p>
104
  This Hub organization hosts Modelflare demos, examples, and community Spaces.
 
 
105
  Interactive Gradio Chat Demo ships after HF PRO; until then use the console + API path above.
106
  </p>
107
  </div>
 
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, per-request usage &amp; cost tracking, Smart keys, and cache hit guarantee.
18
  </p>
19
  <p>
20
  中文:统一 AI API 网关(文本 / 图片 / 视频),OpenAI 兼容,一行切换 <code>base_url</code>,
21
+ 带分组故障转移、按请求用量成本、Smart keys 与缓存命中保障。
22
  </p>
23
  </div>
24
 
 
47
  <div class="w-full h-28 mb-2 rounded-lg flex items-center justify-center bg-gradient-to-br from-violet-50 to-fuchsia-50 border border-gray-100 px-4">
48
  <span class="text-lg font-semibold text-gray-800">Start here → Console</span>
49
  </div>
50
+ <div class="underline">Hub landing · bilingual</div>
51
  </a>
52
 
53
  <a href="https://huggingface.co/spaces/Modelflare/openai-sdk" class="block overflow-hidden group">
 
57
  <div class="underline">One-line base_url switch</div>
58
  </a>
59
 
60
+ <a href="https://huggingface.co/spaces/Modelflare/coding-agents" class="block overflow-hidden group">
61
+ <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">
62
+ <span class="text-lg font-semibold text-gray-800">Coding Agents</span>
63
+ </div>
64
+ <div class="underline">Codex · Claude Code · Gemini CLI</div>
65
+ </a>
66
+
67
+ <a href="https://huggingface.co/spaces/Modelflare/api-recipes" class="block overflow-hidden group">
68
+ <div class="w-full h-28 mb-2 rounded-lg flex items-center justify-center bg-gradient-to-br from-rose-50 to-orange-50 border border-gray-100 px-4">
69
+ <span class="text-lg font-semibold text-gray-800">API Recipes</span>
70
+ </div>
71
+ <div class="underline">curl · Python · endpoint picker</div>
72
+ </a>
73
+
74
+ <a href="https://huggingface.co/datasets/Modelflare/api-examples" class="block overflow-hidden group">
75
+ <div class="w-full h-28 mb-2 rounded-lg flex items-center justify-center bg-gradient-to-br from-emerald-50 to-teal-50 border border-gray-100 px-4">
76
+ <span class="text-lg font-semibold text-gray-800">API Examples Dataset</span>
77
+ </div>
78
+ <div class="underline">JSONL request sketches</div>
79
+ </a>
80
+
81
  <a href="https://docs.modelflare.dev/guides/features/?utm_source=huggingface&utm_medium=org&utm_campaign=card" class="block overflow-hidden group">
82
  <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">
83
  <span class="text-lg font-semibold text-gray-800">Platform Features</span>
 
92
  <li><strong>OpenAI-compatible</strong> chat — point your SDK at <code>https://modelflare.dev/v1</code></li>
93
  <li><strong>Group failover</strong> so one unavailable route does not fail the request</li>
94
  <li><strong>Per-request</strong> token, image, and video cost records</li>
95
+ <li><strong>Smart keys</strong> and <strong>cache hit guarantee</strong></li>
96
+ <li>Guides for <strong>Codex, Claude Code, Gemini CLI</strong> — see the Coding Agents Space</li>
97
  </ul>
98
  </div>
99
 
 
108
  )
109
 
110
  r = client.chat.completions.create(
111
+ model="grok-4.7", # must be enabled on your group
112
  messages=[{"role":"user","content":"Hello from Hugging Face"}],
113
  )
114
  print(r.choices[0].message.content)</pre>
 
117
  Create a key in the <a href="https://modelflare.dev/?utm_source=huggingface&utm_medium=org&utm_campaign=card" class="underline">console</a>,
118
  then switch <code>base_url</code> to <code>https://modelflare.dev/v1</code>.
119
  Full guides: <a href="https://docs.modelflare.dev/?utm_source=huggingface&utm_medium=org&utm_campaign=card" class="underline">docs.modelflare.dev</a>
120
+ · bilingual walkthrough: <a href="https://huggingface.co/spaces/Modelflare/openai-sdk" class="underline">openai-sdk</a>
121
+ · recipes: <a href="https://huggingface.co/spaces/Modelflare/api-recipes" class="underline">api-recipes</a>
122
+ · agents: <a href="https://huggingface.co/spaces/Modelflare/coding-agents" class="underline">coding-agents</a>.
123
  </p>
124
  </div>
125
 
126
  <div class="lg:col-span-3">
127
  <p>
128
  This Hub organization hosts Modelflare demos, examples, and community Spaces.
129
+ Feedback welcome in the
130
+ <a href="https://huggingface.co/spaces/Modelflare/start/discussions/1" class="underline">start Space discussion #1</a>.
131
  Interactive Gradio Chat Demo ships after HF PRO; until then use the console + API path above.
132
  </p>
133
  </div>