modelflaredev commited on
Commit
d7ac244
·
verified ·
1 Parent(s): 809fae7

Add GPT-6.2 Astra vs Sol article

Browse files
gpt-6-2-astra-sol-deep-analysis.html ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>GPT-6.2 Astra vs. Sol: Capabilities, Benchmarks and API Pricing | Modelflare Blog</title>
7
+ <meta name="description" content="Explore GPT-6.2 Astra and Sol through coding and reasoning benchmarks, long-context and cache costs, and a breakdown of Modelflare prices by group."><meta property="og:image" content="https://modelflare-blog.static.hf.space/images/gpt-6-2-astra-sol-deep-analysis-cover.jpg"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:title" content="GPT-6.2 Astra vs. Sol: Capabilities, Benchmarks and API Pricing"><meta property="og:description" content="Explore GPT-6.2 Astra and Sol through coding and reasoning benchmarks, long-context and cache costs, and a breakdown of Modelflare prices by group."><meta property="og:type" content="article"><meta property="og:url" content="https://modelflare-blog.static.hf.space/gpt-6-2-astra-sol-deep-analysis.html"><meta property="og:site_name" content="Modelflare Blog"><meta property="article:published_time" content="2026-11-18"><link rel="canonical" href="https://modelflare.dev/articles/gpt-6-2-astra-sol-deep-analysis"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="GPT-6.2 Astra vs. Sol: Capabilities, Benchmarks and API Pricing"><meta name="twitter:description" content="Explore GPT-6.2 Astra and Sol through coding and reasoning benchmarks, long-context and cache costs, and a breakdown of Modelflare prices by group."><meta name="twitter:image" content="https://modelflare-blog.static.hf.space/images/gpt-6-2-astra-sol-deep-analysis-cover.jpg">
8
+ <style>
9
+ :root{--bg:#0b1020;--card:#121a2f;--text:#e8ecf7;--muted:#9aa6c2;--accent:#8b5cf6;--accent2:#ec4899;--border:rgba(255,255,255,.08)}
10
+ *{box-sizing:border-box}
11
+ body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:radial-gradient(1200px 600px at 10% -10%,#2a1850 0%,transparent 50%),radial-gradient(900px 500px at 100% 0%,#3b0f2e 0%,transparent 45%),var(--bg);color:var(--text);min-height:100vh;line-height:1.65}
12
+ .wrap{max-width:860px;margin:0 auto;padding:28px 18px 64px}
13
+ header.top{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin-bottom:28px;font-size:14px}
14
+ header.top a{color:var(--muted);text-decoration:none}header.top a:hover{color:#fff}
15
+ header.top .brand{color:#fff;font-weight:700;font-size:16px}
16
+ header.top nav{display:flex;flex-wrap:wrap;gap:14px}
17
+ h1{font-size:clamp(26px,4.6vw,38px);line-height:1.2;margin:0 0 12px}
18
+ h2{font-size:22px;margin:36px 0 10px}h3{font-size:17px;margin:24px 0 8px;color:#d6c7ff}
19
+ p,li{color:#cfd6e8}a{color:#c4b5fd}
20
+ .lead{color:var(--muted);font-size:17px}
21
+ article img{max-width:100%;height:auto;border-radius:12px;border:1px solid var(--border);display:block;margin:18px auto 6px}
22
+ article p em:only-child{display:block;text-align:center;color:var(--muted);font-size:14px}
23
+ pre{background:#070b16;border:1px solid var(--border);border-radius:12px;padding:0;overflow-x:auto}
24
+ pre code.hljs{background:transparent;padding:14px 16px;font-size:13.5px;line-height:1.55}
25
+ code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}
26
+ p code,li code,td code{background:rgba(139,92,246,.14);padding:1px 5px;border-radius:5px}
27
+ table{border-collapse:collapse;width:100%;font-size:14px;margin:14px 0;display:block;overflow-x:auto}
28
+ th,td{border:1px solid var(--border);padding:8px 10px;text-align:left;vertical-align:top}th{background:var(--card)}
29
+ hr{border:0;border-top:1px solid var(--border);margin:32px 0}
30
+ .list{display:grid;gap:14px}
31
+ .card{display:flex;gap:16px;background:var(--card);border:1px solid var(--border);border-radius:16px;padding:18px;text-decoration:none;color:inherit}
32
+ .card:hover{border-color:rgba(139,92,246,.5)}
33
+ .card img{width:200px;height:105px;object-fit:cover;border-radius:10px;flex-shrink:0}
34
+ .card h2{font-size:18px;margin:0 0 6px;color:#fff}.card p{margin:0;color:var(--muted);font-size:14px}
35
+ footer{margin-top:48px;padding-top:18px;border-top:1px solid var(--border);color:var(--muted);font-size:13px}
36
+ footer a{color:var(--muted)}
37
+ @media(max-width:600px){.card{flex-direction:column}.card img{width:100%;height:auto;aspect-ratio:1200/630}}
38
+ </style>
39
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/styles/github-dark.min.css"><script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script><script>document.addEventListener("DOMContentLoaded",()=>hljs.highlightAll());</script>
40
+ </head>
41
+ <body><div class="wrap"><header class="top"><a class="brand" href="index.html">Modelflare Blog</a><nav><a href="https://modelflare.dev/?utm_source=huggingface&utm_medium=space&utm_campaign=blog">modelflare.dev</a><a href="https://docs.modelflare.dev/?utm_source=huggingface&utm_medium=space&utm_campaign=blog">Docs</a><a href="https://castaly.modelflare.dev/?utm_source=huggingface&utm_medium=space&utm_campaign=blog">Castaly</a><a href="https://huggingface.co/Modelflare" target="_top">Hugging Face org</a></nav></header>
42
+ <article><h1>GPT-6.2 Astra vs. Sol: Capabilities, Benchmarks and API Pricing</h1>
43
+ <p class="lead">Explore GPT-6.2 Astra and Sol through coding and reasoning benchmarks, long-context and cache costs, and a breakdown of Modelflare prices by group.</p>
44
+ <img src="images/gpt-6-2-astra-sol-deep-analysis-cover.jpg" alt="Cover for GPT-6.2 Astra vs. Sol: Capabilities, Benchmarks and API Pricing">
45
+ <hr />
46
+ <p>Disclosure: I work on <a href="https://modelflare.dev/?source=hf-blog">Modelflare</a>, an OpenAI-compatible AI API gateway. The canonical version of this article lives on <a href="https://modelflare.dev/articles/gpt-6-2-astra-sol-deep-analysis?source=hf-blog">modelflare.dev</a>.</p>
47
+ <p>OpenAI released GPT‑6.2 Astra and GPT‑6.2 Sol on November 17, 2026. Both have a 1.05 million token context window, but what the extra spend buys depends on the work. On Cognition’s FrontierCode 2.0, both pass <strong>48.2%</strong> of tasks. Sol costs <strong>$1.29</strong> per run against Astra’s <strong>$5.97</strong>. In the standard ARC‑AGI‑3 harness, which asks models to explore interactive environments and build on previous turns, Astra leads by <strong>15.4 percentage points</strong>. The decision for a development team is where to reserve the premium model and which tasks Sol can handle reliably. <a href="https://openai.com/index/introducing-gpt-6-2-astra-sol/">OpenAI launch</a> · <a href="https://cognition.com/frontiercode">Cognition FrontierCode</a> · <a href="https://arcprize.org/results/openai-gpt-6-2-astra">ARC Prize Astra results</a> · <a href="https://arcprize.org/results/openai-gpt-6-2-sol">ARC Prize Sol results</a></p>
48
+ <h2>Capabilities and specifications</h2>
49
+ <table>
50
+ <thead>
51
+ <tr>
52
+ <th>Specification</th>
53
+ <th>GPT‑6.2 Astra</th>
54
+ <th>GPT‑6.2 Sol</th>
55
+ </tr>
56
+ </thead>
57
+ <tbody>
58
+ <tr>
59
+ <td>API model ID</td>
60
+ <td><code>gpt-6.2-astra</code></td>
61
+ <td><code>gpt-6.2-sol</code></td>
62
+ </tr>
63
+ <tr>
64
+ <td>Workload</td>
65
+ <td>Difficult reasoning, multistep professional work, complex code changes</td>
66
+ <td>Everyday coding, document work, agents at scale</td>
67
+ </tr>
68
+ <tr>
69
+ <td>Context window</td>
70
+ <td>1,050,000 tokens</td>
71
+ <td>1,050,000 tokens</td>
72
+ </tr>
73
+ <tr>
74
+ <td>Maximum input / output</td>
75
+ <td>922,000 / 128,000 tokens</td>
76
+ <td>922,000 / 128,000 tokens</td>
77
+ </tr>
78
+ <tr>
79
+ <td>Modalities</td>
80
+ <td>Text and image in, text out</td>
81
+ <td>Text and image in, text out</td>
82
+ </tr>
83
+ <tr>
84
+ <td>Knowledge cutoff</td>
85
+ <td>May 18, 2026</td>
86
+ <td>June 1, 2026</td>
87
+ </tr>
88
+ <tr>
89
+ <td>API endpoints</td>
90
+ <td>Responses, Chat Completions, Batch</td>
91
+ <td>Responses, Chat Completions, Batch</td>
92
+ </tr>
93
+ <tr>
94
+ <td>Reasoning effort</td>
95
+ <td><code>low</code>, <code>medium</code>, <code>high</code>, <code>xhigh</code>, <code>max</code></td>
96
+ <td><code>low</code>, <code>medium</code>, <code>high</code>, <code>xhigh</code>, <code>max</code></td>
97
+ </tr>
98
+ </tbody>
99
+ </table>
100
+ <p>Both models support streaming and structured outputs. Tool calling in the official API requires Responses. Image input lets the model interpret a screenshot or chart, and image creation is available as a separate Responses tool. OpenAI suggests starting at <code>medium</code> for new integrations or at <code>low</code> when moving from <code>none</code> or <code>minimal</code>. Budget enough output for reasoning tokens as well as the final text, especially for long reports, patches or structured results. <a href="https://developers.openai.com/api/docs/models/gpt-6.2-astra">Astra model documentation</a> · <a href="https://developers.openai.com/api/docs/models/gpt-6.2-sol">Sol model documentation</a> · <a href="https://developers.openai.com/api/docs/guides/latest-model?model=gpt-6.2-astra">GPT‑6.2 migration guide</a> · <a href="https://developers.openai.com/api/docs/guides/reasoning">Reasoning token documentation</a></p>
101
+ <p>Sol suits changes with a clear brief, a known boundary and a way to validate the result. Astra warrants a closer look for projects with dependencies across components, conflicting requirements or research that requires multiple passes through the evidence. Adding a well-defined metric to an existing report is a reasonable Sol task. Migrating the entire reporting definition and tracking implicit dependencies on the old metric is a better case for measuring whether Astra can save rework.</p>
102
+ <p>A 922,000-token input limit gives you room to assemble a substantial record. To measure how well the model uses it, ask for primary citations, include conflicting versions of a document, and check whether the model accounts for effective dates and exceptions. For a code agent, inspect which entry points it read, which existing behaviors it preserved and whether its tests exercise the relevant outcome.</p>
103
+ <h2>Benchmarks across code, research and abstract reasoning</h2>
104
+ <h3>Mergeable patches and repository questions</h3>
105
+ <p>Cognition’s FrontierCode 2.0 evaluates changes to real repositories. Its leaderboard reports both a weighted rubric score and a pass rate, plus the average API cost of one rollout. The harness and effort settings are part of each result. <a href="https://cognition.com/frontiercode">Cognition leaderboard and methodology</a></p>
106
+ <table>
107
+ <thead>
108
+ <tr>
109
+ <th>Model</th>
110
+ <th>Harness / effort</th>
111
+ <th>Weighted score</th>
112
+ <th>Pass rate</th>
113
+ <th>Cost per rollout</th>
114
+ </tr>
115
+ </thead>
116
+ <tbody>
117
+ <tr>
118
+ <td>Claude Fable 5.2</td>
119
+ <td>Claude Code / xhigh</td>
120
+ <td>50.2%</td>
121
+ <td>54.7%</td>
122
+ <td>$17.73</td>
123
+ </tr>
124
+ <tr>
125
+ <td>Claude Opus 5.5</td>
126
+ <td>Claude Code / max</td>
127
+ <td>47.3%</td>
128
+ <td>51.8%</td>
129
+ <td>$12.82</td>
130
+ </tr>
131
+ <tr>
132
+ <td>GPT‑6.2 Astra</td>
133
+ <td>Codex / max</td>
134
+ <td>44.2%</td>
135
+ <td>48.2%</td>
136
+ <td>$5.97</td>
137
+ </tr>
138
+ <tr>
139
+ <td>GPT‑6 Astra</td>
140
+ <td>Codex / max</td>
141
+ <td>44.0%</td>
142
+ <td>47.6%</td>
143
+ <td>$6.68</td>
144
+ </tr>
145
+ <tr>
146
+ <td>GPT‑6.2 Sol</td>
147
+ <td>Codex / max</td>
148
+ <td>43.8%</td>
149
+ <td>48.2%</td>
150
+ <td>$1.29</td>
151
+ </tr>
152
+ <tr>
153
+ <td>GPT‑6.1 Sol</td>
154
+ <td>Codex / max</td>
155
+ <td>39.6%</td>
156
+ <td>43.0%</td>
157
+ <td>$1.03</td>
158
+ </tr>
159
+ </tbody>
160
+ </table>
161
+ <p>In the same Codex setup, Sol 6.2 gains <strong>4.2 percentage points</strong> over Sol 6.1 while cost per run rises from $1.03 to $1.29. Equal list prices can yield different bills when the amount and composition of input, cached and output tokens change. Sol costs about <strong>22%</strong> as much as Astra 6.2 on this benchmark. That makes it a sensible first candidate for bounded implementation work with automated acceptance checks. The Claude rows measure a different model and harness together, so portability to another agent requires its own measurement. <a href="https://cognition.com/frontiercode">Cognition FrontierCode</a></p>
162
+ <p>Artificial Analysis reported launch Intelligence Index scores of <strong>62</strong> for Astra and <strong>57</strong> for Sol, up 5 and 2 points from their predecessors. Its separate Coding Agent Index, using Codex at max effort, had Astra flat and Sol <strong>3 points lower</strong> than 6.1 Sol. A <strong>14-point</strong> drop on SWE‑Atlas‑QnA‑AA drove Sol’s result. Artificial Analysis observed that the newer model was more likely to omit key facts in repository questions. Track implementation and repository comprehension separately if your team uses one agent to do both. <a href="https://artificialanalysis.ai/articles/openai-has-the-2-model-in-the-intelligence-index-with-the-release-of-gpt-6-2-astra-and-gpt-6-2-sol">Artificial Analysis launch evaluation</a></p>
163
+ <h3>Multistep work and the limits of open-ended judgment</h3>
164
+ <p>OpenAI reports that Astra gains <strong>5.2 percentage points</strong> over the original GPT‑6 Astra on Agents’ Last Exam, a professional-task benchmark, and about <strong>9 points</strong> on Terminal‑Bench‑Science 0.1. OpenAI reports less than one-third of the previous generation’s cost on each benchmark. Interpret the comparisons with the original configurations attached. For example, OpenAI’s footnote identifies different execution harnesses for reported Claude Fable 5.2 results on Terminal‑Bench‑Science. <a href="https://openai.com/index/introducing-gpt-6-2-astra-sol/">OpenAI launch evaluation</a></p>
165
+ <p>On OpenAI’s internal GDPval v2 knowledge-work benchmark, Astra gains <strong>6.2 percentage points</strong> over its predecessor with <strong>22% fewer output tokens</strong>. Sol gains <strong>5.3 points</strong> over 6.1. Artificial Analysis’s AA‑3D instead has judges try two blinded interactive experiences generated from the same prompt and vote for one. Astra scores <strong>1,318 Elo</strong>, Fable 5.2 <strong>1,271</strong>, and Sol <strong>1,259</strong>. These tests give different information about whether a deliverable meets its brief and what it feels like to use. For a financial workbook, for example, you can require both correct answers about the data and formulas that reference the right cells. <a href="https://openai.com/index/introducing-gpt-6-2-astra-sol/#professional-outputs-that-match-industry-standards">OpenAI GDPval v2</a> · <a href="https://artificialanalysis.ai/articles/openai-has-the-2-model-in-the-intelligence-index-with-the-release-of-gpt-6-2-astra-and-gpt-6-2-sol">Artificial Analysis AA‑3D</a></p>
166
+ <p>Epoch AI gives Astra 6.2 and Claude Fable 5.2 an Epoch Capabilities Index estimate of <strong>174</strong>, with intervals of 170–179 and 170–177 respectively. In a separate small, manually graded evaluation of work inside Epoch, Astra averaged <strong>65%</strong>, <strong>17 percentage points</strong> below Fable. Graders assessed the choice of research question, quality of evidence, iteration and whether readers would understand the findings. For market research or internal decision documents, those criteria can go directly into the acceptance rubric, along with human editing time in the cost calculation. <a href="https://epoch.ai/eci?eciPreset=math">Epoch Capabilities Index</a> · <a href="https://epoch.ai/publications/how-good-are-fable-5-2-and-gpt-6-2-astra-at-real-work">Epoch evaluation of real work</a></p>
167
+ <h3>ARC‑AGI and the effect of state across turns</h3>
168
+ <table>
169
+ <thead>
170
+ <tr>
171
+ <th>Verified ARC Prize evaluation</th>
172
+ <th>GPT‑6.2 Astra</th>
173
+ <th>GPT‑6.2 Sol</th>
174
+ </tr>
175
+ </thead>
176
+ <tbody>
177
+ <tr>
178
+ <td>ARC‑AGI‑2, semi-private set, max</td>
179
+ <td>95.8%</td>
180
+ <td>85.8%</td>
181
+ </tr>
182
+ <tr>
183
+ <td>ARC‑AGI‑3, Standard harness, max</td>
184
+ <td>70.3%</td>
185
+ <td>54.9%</td>
186
+ </tr>
187
+ <tr>
188
+ <td>ARC‑AGI‑3, Provider Adapter, max</td>
189
+ <td>99.8%</td>
190
+ <td>98.2%</td>
191
+ </tr>
192
+ <tr>
193
+ <td>ARC‑AGI‑3, Provider Adapter, xhigh</td>
194
+ <td>100.0%</td>
195
+ <td>97.4%</td>
196
+ </tr>
197
+ </tbody>
198
+ </table>
199
+ <p>ARC‑AGI‑2 measures rule induction from examples. Version 3 adds interactive environments. The Standard harness carries notes the model chooses to keep. The Provider Adapter also preserves opaque reasoning state and compacts longer conversations. Astra’s <strong>100%</strong> is its <code>xhigh</code> result with the adapter. ARC Prize reports incomplete task or game coverage on some Sol runs and uses the full dataset denominators for the published scores. In your own multi-turn agent, include tool-result replay, interruption recovery and context compaction in the evaluation. Those can all change when you change client or server-side state handling. <a href="https://arcprize.org/results/openai-gpt-6-2-astra">ARC Prize Astra results</a> · <a href="https://arcprize.org/results/openai-gpt-6-2-sol">ARC Prize Sol results and coverage notes</a></p>
200
+ <h2>OpenAI list prices, caching and the long-context threshold</h2>
201
+ <p>These are <strong>USD per million tokens</strong> at the official Standard rate. Cache writes are for 30-minute retention.</p>
202
+ <table>
203
+ <thead>
204
+ <tr>
205
+ <th>Model</th>
206
+ <th>Request input</th>
207
+ <th>Uncached input</th>
208
+ <th>Cache read</th>
209
+ <th>Cache write</th>
210
+ <th>Output</th>
211
+ </tr>
212
+ </thead>
213
+ <tbody>
214
+ <tr>
215
+ <td>GPT‑6.2 Astra</td>
216
+ <td>≤272,000</td>
217
+ <td>$8</td>
218
+ <td>$0.40</td>
219
+ <td>$10</td>
220
+ <td>$40</td>
221
+ </tr>
222
+ <tr>
223
+ <td>GPT‑6.2 Astra</td>
224
+ <td>&gt;272,000</td>
225
+ <td>$16</td>
226
+ <td>$0.80</td>
227
+ <td>$20</td>
228
+ <td>$60</td>
229
+ </tr>
230
+ <tr>
231
+ <td>GPT‑6.2 Sol</td>
232
+ <td>≤272,000</td>
233
+ <td>$2</td>
234
+ <td>$0.10</td>
235
+ <td>$2.50</td>
236
+ <td>$10</td>
237
+ </tr>
238
+ <tr>
239
+ <td>GPT‑6.2 Sol</td>
240
+ <td>&gt;272,000</td>
241
+ <td>$4</td>
242
+ <td>$0.20</td>
243
+ <td>$5</td>
244
+ <td>$15</td>
245
+ </tr>
246
+ </tbody>
247
+ </table>
248
+ <p>Astra costs <strong>20% less</strong> than the original Astra for uncached input, 30-minute cache writes and output. Cache reads fall from $1 to $0.40, a <strong>60%</strong> reduction. Sol inherits the corresponding list prices of 6.1 Sol, and Astra’s 6.2 token rates are <strong>four times</strong> Sol’s within either context tier. For short context, the 12-hour cache write rate is $20 for Astra and $5 for Sol. OpenAI also offers Batch at 0.5× Standard, Fast at 2× and Ultrafast at 3× through February 28, 2027, rising to 6× on March 1 Pacific time. Two-hour and eight-hour background completion windows in the Responses public beta have model token rates 30% and 40% below Standard respectively. Those terms apply to OpenAI’s direct API. <a href="https://developers.openai.com/api/docs/models/gpt-6.2-astra">Astra prices</a> · <a href="https://developers.openai.com/api/docs/models/gpt-6.2-sol">Sol prices</a> · <a href="https://developers.openai.com/api/docs/models/gpt-6-astra">Original Astra prices</a> · <a href="https://developers.openai.com/api/docs/changelog">OpenAI API changelog</a></p>
249
+ <p><strong>272,000 is a threshold for the full request.</strong> From 272,001 input tokens, input and cache rates double and output costs 1.5 times the short-context rate. With no cache activity and 8,000 billable output tokens, Astra goes from <strong>$2.496</strong> at 272,000 input tokens to about <strong>$4.832</strong> one token later. An agent that appends every tool log can cross this boundary early in a workflow. Track the distribution of input length, the share of requests that cross the boundary and the volume of cache reads. <a href="https://developers.openai.com/api/docs/models/gpt-6.2-astra">Astra pricing rules</a> · <a href="https://developers.openai.com/api/docs/models/gpt-6.2-sol">Sol pricing rules</a></p>
250
+ <p>Consider 100,000 input tokens and 8,000 billable output tokens. Astra costs <strong>$1.12</strong> and Sol <strong>$0.28</strong> without cache activity. If 80,000 input tokens are cache reads and 20,000 are uncached, the totals fall to <strong>$0.512</strong> and <strong>$0.128</strong>. If those 80,000 tokens are written to a 30-minute cache on the first call, the totals become <strong>$1.28</strong> and <strong>$0.32</strong>. For a full workflow budget, include the initial write, reuse of the prefix, cache hit rate and billable reasoning output. Looking only at the final warm-cache call understates costs across the workflow.</p>
251
+ <h2>Modelflare prices for Astra, Sol and earlier GPT models</h2>
252
+ <p>Modelflare’s public pricing API listed both <code>gpt-6.2-astra</code> and <code>gpt-6.2-sol</code> on November 18, 2026. Both have short and long context tiers and use the rates of the selected group. Each cell shows <strong>uncached input / cache read / cache write / output</strong>, in <strong>USD per million tokens</strong>. <a href="https://modelflare.dev/pricing/gpt-6.2-astra?source=hf-blog">Modelflare Astra pricing</a> · <a href="https://modelflare.dev/pricing/gpt-6.2-sol?source=hf-blog">Modelflare Sol pricing</a> · <a href="https://modelflare.dev/api/pricing?source=hf-blog">Public pricing API</a></p>
253
+ <table>
254
+ <thead>
255
+ <tr>
256
+ <th>Group</th>
257
+ <th>Astra ≤272K</th>
258
+ <th>Astra &gt;272K</th>
259
+ <th>Sol ≤272K</th>
260
+ <th>Sol &gt;272K</th>
261
+ </tr>
262
+ </thead>
263
+ <tbody>
264
+ <tr>
265
+ <td><code>openai-award</code></td>
266
+ <td>0.24 / 0.012 / 0.30 / 1.20</td>
267
+ <td>0.48 / 0.024 / 0.60 / 1.80</td>
268
+ <td>0.06 / 0.003 / 0.075 / 0.30</td>
269
+ <td>0.12 / 0.006 / 0.15 / 0.45</td>
270
+ </tr>
271
+ <tr>
272
+ <td><code>openai-stable</code></td>
273
+ <td>0.64 / 0.032 / 0.80 / 3.20</td>
274
+ <td>1.28 / 0.064 / 1.60 / 4.80</td>
275
+ <td>0.16 / 0.008 / 0.20 / 0.80</td>
276
+ <td>0.32 / 0.016 / 0.40 / 1.20</td>
277
+ </tr>
278
+ <tr>
279
+ <td><code>openai-premium</code></td>
280
+ <td>1.04 / 0.052 / 1.30 / 5.20</td>
281
+ <td>2.08 / 0.104 / 2.60 / 7.80</td>
282
+ <td>0.26 / 0.013 / 0.325 / 1.30</td>
283
+ <td>0.52 / 0.026 / 0.65 / 1.95</td>
284
+ </tr>
285
+ <tr>
286
+ <td><code>openai-enterprise</code></td>
287
+ <td>4.00 / 0.20 / 5.00 / 20.00</td>
288
+ <td>8.00 / 0.40 / 10.00 / 30.00</td>
289
+ <td>1.00 / 0.05 / 1.25 / 5.00</td>
290
+ <td>2.00 / 0.10 / 2.50 / 7.50</td>
291
+ </tr>
292
+ <tr>
293
+ <td><code>openai-first-topup</code></td>
294
+ <td>0.12 / 0.006 / 0.15 / 0.60</td>
295
+ <td>0.24 / 0.012 / 0.30 / 0.90</td>
296
+ <td>0.03 / 0.0015 / 0.0375 / 0.15</td>
297
+ <td>0.06 / 0.003 / 0.075 / 0.225</td>
298
+ </tr>
299
+ </tbody>
300
+ </table>
301
+ <p>Award, Stable and Premium apply 3%, 8% and 13% of catalog base rates respectively. Enterprise is available to authorized customers at 50%. The top-up group applies a 1.5% rate and a 10 RPM limit. Its public eligibility rule calls for a single qualifying top-up of at least $20, and account eligibility determines access. The published rules for these two model entries list no request-level surcharge. Check the live catalog and the model and group shown in your usage record for the applicable rate. <a href="https://modelflare.dev/pricing?source=hf-blog">Modelflare model and group pricing</a> · <a href="https://modelflare.dev/api/pricing?source=hf-blog">Public pricing API</a></p>
302
+ <p>Here is the same snapshot for other GPT generations at the short-context <code>openai-stable</code> rate, also in USD per million tokens.</p>
303
+ <table>
304
+ <thead>
305
+ <tr>
306
+ <th>Model</th>
307
+ <th>Uncached input</th>
308
+ <th>Cache read</th>
309
+ <th>Cache write</th>
310
+ <th>Output</th>
311
+ </tr>
312
+ </thead>
313
+ <tbody>
314
+ <tr>
315
+ <td><code>gpt-6-astra</code></td>
316
+ <td>0.80</td>
317
+ <td>0.08</td>
318
+ <td>1.00</td>
319
+ <td>4.00</td>
320
+ </tr>
321
+ <tr>
322
+ <td><code>gpt-6.2-astra</code></td>
323
+ <td>0.64</td>
324
+ <td>0.032</td>
325
+ <td>0.80</td>
326
+ <td>3.20</td>
327
+ </tr>
328
+ <tr>
329
+ <td><code>gpt-6.1-sol</code></td>
330
+ <td>0.16</td>
331
+ <td>0.008</td>
332
+ <td>0.20</td>
333
+ <td>0.80</td>
334
+ </tr>
335
+ <tr>
336
+ <td><code>gpt-6.2-sol</code></td>
337
+ <td>0.16</td>
338
+ <td>0.008</td>
339
+ <td>0.20</td>
340
+ <td>0.80</td>
341
+ </tr>
342
+ <tr>
343
+ <td><code>gpt-6.1-terra</code></td>
344
+ <td>0.08</td>
345
+ <td>0.004</td>
346
+ <td>0.10</td>
347
+ <td>0.40</td>
348
+ </tr>
349
+ <tr>
350
+ <td><code>gpt-6-luna</code></td>
351
+ <td>0.02</td>
352
+ <td>0.002</td>
353
+ <td>0.025</td>
354
+ <td>0.10</td>
355
+ </tr>
356
+ </tbody>
357
+ </table>
358
+ <p>Existing Sol users can compare success rates, elapsed time and actual tokens because 6.1 and 6.2 have the same short and long unit prices within a group. Terra and Luna give teams cheaper baselines for classification, extraction and predictable templates. Under Stable pricing, the 80,000-token cache hit example above comes to <strong>$0.04096 for Astra</strong> and <strong>$0.01024 for Sol</strong> in model token charges. Confirm service tier, background-window and tool charges separately for the endpoint you use. <a href="https://modelflare.dev/api/pricing?source=hf-blog">Modelflare public pricing API</a></p>
359
+ <h2>Price per accepted task</h2>
360
+ <p>Split evaluation samples into mergeable patches, repository questions, long-document work and multistep deliverables. Keep the input version, tool permissions and stopping rules consistent. Start with Sol 6.2 at <code>medium</code>, then compare Sol at <code>high</code>, Astra at <code>medium</code> or your current Sol version. Measure recall of important facts, human corrections, full task latency and whether interrupted runs can still deliver. For tool-heavy workflows, capture time to the first visible token, first tool action and final deliverable separately.</p>
361
+ <p>Divide total spend by the tasks that pass acceptance. Include failed runs, escalation, tool charges and reviewer time. In a hypothetical example, 100 initial Sol runs cost $0.10 each and 80 pass. The remaining 20 go to Astra at $0.40 each and 16 pass. That is <strong>$18 / 96 = $0.1875</strong> per accepted task. Sending all 100 to Astra, assuming 95 pass, gives <strong>$40 / 95 ≈ $0.421</strong>. Estimate the second model’s success on the actual subset that failed. Models can struggle on the same cases, and the aggregate leaderboard cannot tell you how often an escalation will recover one.</p>
362
+ <p>There is also a concrete caching change to account for when migrating. GPT‑6.2’s Responses API places top-level <code>instructions</code> after <code>input</code>. OpenAI recommends putting stable instructions in a <code>developer</code> message at the start of <code>input</code> so they can be part of the reusable prefix. Keep request-specific guidance in the top-level field. For tool workflows, use Responses and check old sampling or logprob fields, output budgets and incomplete-response handling. Use the resulting usage data to confirm the cache actually behaves as expected. <a href="https://developers.openai.com/api/docs/guides/latest-model?model=gpt-6.2-astra">OpenAI GPT‑6.2 migration guide</a></p>
363
+ <p>Sol 6.2 is a strong first candidate for routine coding and high-volume agents. For difficult work with a small number of expensive failures, add Astra to the comparison and judge its premium by results that pass review. This article uses published evaluations and dated price observations. The workload examples use illustrative token counts and acceptance rates.</p>
364
+ <hr />
365
+ <p><em>Originally published at <a href="https://modelflare.dev/articles/gpt-6-2-astra-sol-deep-analysis?source=hf-blog">modelflare.dev</a>. Current models and prices: <a href="https://modelflare.dev/pricing?source=hf-blog">modelflare.dev/pricing</a> · Docs: <a href="https://docs.modelflare.dev/?source=hf-blog">docs.modelflare.dev</a>.</em></p></article><p><a href="index.html">&larr; All articles</a></p>
366
+ <footer>Modelflare on Hugging Face: <a href="https://huggingface.co/spaces/Modelflare/start" target="_top">start</a> · <a href="https://huggingface.co/spaces/Modelflare/openai-sdk" target="_top">openai-sdk</a> · <a href="https://huggingface.co/spaces/Modelflare/coding-agents" target="_top">coding-agents</a> · <a href="https://huggingface.co/spaces/Modelflare/api-recipes" target="_top">api-recipes</a> · <a href="https://huggingface.co/datasets/Modelflare/api-examples" target="_top">api-examples dataset</a><br>Business: <a href="mailto:business@modelflare.dev">business@modelflare.dev</a></footer></div></body>
367
+ </html>
images/gpt-6-2-astra-sol-deep-analysis-cover.jpg ADDED
index.html CHANGED
@@ -39,6 +39,6 @@ footer a{color:var(--muted)}
39
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/styles/github-dark.min.css"><script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script><script>document.addEventListener("DOMContentLoaded",()=>hljs.highlightAll());</script>
40
  </head>
41
  <body><div class="wrap"><header class="top"><a class="brand" href="index.html">Modelflare Blog</a><nav><a href="https://modelflare.dev/?utm_source=huggingface&utm_medium=space&utm_campaign=blog">modelflare.dev</a><a href="https://docs.modelflare.dev/?utm_source=huggingface&utm_medium=space&utm_campaign=blog">Docs</a><a href="https://castaly.modelflare.dev/?utm_source=huggingface&utm_medium=space&utm_campaign=blog">Castaly</a><a href="https://huggingface.co/Modelflare" target="_top">Hugging Face org</a></nav></header>
42
- <h1>Modelflare Blog</h1><p class="lead">Engineering notes and setup guides for Modelflare, the API gateway for text, image, and video models, and for Castaly, the studio built on it.</p><div class="list"><a class="card" href="introducing-modelflare.html"><img src="images/introducing-modelflare-cover.jpg" alt="Diagram: one entry point routed to several model backends"><div><h2>Introducing Modelflare: one API key for text, image, and video models</h2><p>Modelflare is an API gateway that serves text, image, and video models behind one key, with OpenAI-compatible, Anthropic, and Gemini endpoints and per-request cost records.</p></div></a><a class="card" href="openai-sdk-one-line.html"><img src="images/openai-sdk-one-line-cover.jpg" alt="Diagram: a request passing through a compatible interface"><div><h2>Switching the OpenAI SDK to Modelflare (Python, JavaScript, curl)</h2><p>Existing OpenAI SDK code works with Modelflare after changing the base URL to <code>https://modelflare.dev/v1</code> and supplying a Modelflare key.</p></div></a><a class="card" href="coding-agents-modelflare.html"><img src="images/coding-agents-modelflare-cover.jpg" alt="Diagram: a coding agent connected through a gateway to several services"><div><h2>Configuring coding agents with Modelflare: Claude Code, Codex, OpenCode, Gemini CLI, CC-Switch, and Grok Build</h2><p>Claude Code connects through Anthropic Messages at <code>https://modelflare.dev</code>, Codex, OpenCode, and Grok Build through <code>https://modelflare.dev/v1</code>, and Gemini CLI through <code>GOOGLE_GEMINI_BASE_URL</code>. All of them use the same Modelflare key.</p></div></a><a class="card" href="api-recipes-streaming-fallback.html"><img src="images/api-recipes-streaming-fallback-cover.jpg" alt="Diagram: parallel routes converging with fallback paths"><div><h2>Modelflare API recipes: streaming, routing fallback, images, and async video</h2><p>Request examples for streaming chat, gateway-side fallback with group failover and Smart API Keys, client-side model fallback, image generation, and the asynchronous video task flow.</p></div></a><a class="card" href="smart-api-key.html"><img src="images/smart-api-key-cover.jpg" alt="Illustration: a key module feeding a single route"><div><h2>Smart API Keys: one key for every model your account can use</h2><p>A Smart API Key is bound to <code>auto</code> instead of a fixed routing group. It resolves a group on each request and orders candidates by a routing strategy that you choose.</p></div></a><a class="card" href="model-groups-and-failover.html"><img src="images/model-groups-and-failover-cover.jpg" alt="Illustration: parallel routes converging on one output"><div><h2>Model groups and failover: how Modelflare routes a request</h2><p>Every request depends on two identifiers: the exact model ID in the body and the routing group on the key. Ordinary keys add ordered fallback groups that take over when a route cannot serve the request.</p></div></a><a class="card" href="usage-and-cost-records.html"><img src="images/usage-and-cost-records-cover.jpg" alt="Illustration: a balance weighing request units"><div><h2>Usage and cost records: reading what each request cost</h2><p>Modelflare records token usage and cost for every request. This guide covers where those records live, how billing units differ between text, image, and video, the cache hit guarantee, and how long logs are kept.</p></div></a><a class="card" href="media-skill-for-agents.html"><img src="images/media-skill-for-agents-cover.jpg" alt="Illustration: media inputs feeding a processing unit and a film strip"><div><h2>The Modelflare Media Skill: image and video generation from coding agents</h2><p>The Media Skill is an installable SKILL.md package. With it, Claude Code, Codex, and other skill-aware agents can choose a Modelflare image or video model, quote its price, send the request, and save the result.</p></div></a><a class="card" href="seedance-asset-library.html"><img src="images/seedance-asset-library-cover.jpg" alt="Illustration: image and media tiles feeding a central processing unit"><div><h2>The Seedance asset library: uploading reference media and using asset:// IDs</h2><p>Seedance 2.0 and 2.5 do not accept a photorealistic person or a realistic face as an image URL. Upload the media to the asset library, poll until it is <code>Active</code>, and reference it as <code>asset://&lt;ID&gt;</code> in a video request.</p></div></a><a class="card" href="codex-cli-in-depth.html"><img src="images/codex-cli-in-depth-cover.jpg" alt="Illustration: a keypad module sending requests through a panel to several backends"><div><h2>Codex CLI on Modelflare in depth: installer, config.toml, auth.json, and common problems</h2><p>Codex connects over the Responses API at <code>https://modelflare.dev/v1</code>. This guide covers the installer and the root/VPS variant with <code>MODELFLARE_ALLOW_ROOT=1</code>, every key in <code>config.toml</code>, the <code>auth.json</code> format, and the four documented problems.</p></div></a><a class="card" href="claude-code-in-depth.html"><img src="images/claude-code-in-depth-cover.jpg" alt="Illustration: a stack of request cards routed through one panel to several modules"><div><h2>Claude Code on Modelflare in depth: installer, settings.json, model slots, and troubleshooting</h2><p>Claude Code connects through Anthropic Messages with <code>ANTHROPIC_BASE_URL</code> set to <code>https://modelflare.dev</code>. This guide covers the installer and the root/VPS variant with <code>MODELFLARE_ALLOW_ROOT=1</code>, the <code>env</code> block in <code>settings.json</code>, the four model slots, and the documented error codes.</p></div></a><a class="card" href="castaly-image-video-studio.html"><img src="images/castaly-cover.jpg" alt="Castaly cover: orbital ring city"><div><h2>Castaly: an AI video and image studio built on Modelflare</h2><p>Castaly is a browser studio for AI image and video generation. Models are compared by specification and price, generations are paid from a wallet shared with Modelflare, and every model is also available through the Modelflare API.</p></div></a><a class="card" href="gpt-6-1-terra-deep-analysis.html"><img src="images/gpt-6-1-terra-deep-analysis-cover.jpg" alt="Illustration: a visual input panel wired through a reasoning dial to pointer tiles, above a long context strip"><div><h2>GPT-6.1 Terra: Capabilities, Parameters, Pricing, and Model Comparison</h2><p>A source-backed guide to GPT-6.1 Terra&#x27;s visual reasoning, computer use, context limits, reasoning controls, pricing, and trade-offs against Astra, Sol, Luna, Claude Sonnet 5.5, and Gemini 3.8 Flash.</p></div></a><a class="card" href="llm-api-load-testing.html"><img src="images/llm-api-load-testing-cover.jpg" alt="Illustration for LLM API load testing guide"><div><h2>Load Test an LLM API Without Misleading Results</h2><p>Production guide: Load Test an LLM API Without Misleading Results. It includes a deterministic artifact, failure boundaries, rollout checks, and source-qualified limitations.</p></div></a><a class="card" href="function-calling-responses-vs-chat-completions.html"><img src="images/function-calling-responses-vs-chat-completions-cover.jpg" alt="Illustration: a request passing through one central module that fans out to several tool modules"><div><h2>Function Calling: Responses API vs Chat Completions</h2><p>A wire-level comparison of function definitions, Call IDs, result messages, streaming arguments, authorization, idempotency, and route compatibility.</p></div></a><a class="card" href="kimi-k3-1-pro-review-pricing.html"><img src="images/kimi-k3-1-pro-review-pricing-cover.jpg" alt="Cover for Kimi K3.1 Pro review"><div><h2>Kimi K3.1 Pro: Parameters, Capabilities, Prices, and Model Comparisons</h2><p>A detailed, source-backed guide to Kimi K3.1 Pro and Highspeed: 1M context, disclosed architecture, reasoning and tool controls, USD/CNY prices, Claude/GLM/DeepSeek comparisons, and reproducible token budgets.</p></div></a><a class="card" href="ai-api-backpressure.html"><img src="images/ai-api-backpressure-cover.jpg" alt="Cover for Apply Backpressure to AI API Workloads"><div><h2>Apply Backpressure to AI API Workloads</h2><p>A production guide to backpressure for AI API workloads: bounded in-flight work, deadline-aware queues, load shedding, fairness, failure tests, and stop signals.</p></div></a><a class="card" href="ai-api-request-tracing.html"><img src="images/ai-api-request-tracing-cover.jpg" alt="Cover for Trace an AI API Request Across Every Attempt"><div><h2>Trace an AI API Request Across Every Attempt</h2><p>Trace an AI API Request Across Every Attempt: reproducible evidence, failure checks, bounded rollout, and clear production limits.</p></div></a><a class="card" href="ai-api-idempotency.html"><img src="images/ai-api-idempotency-cover.jpg" alt="Cover for Make AI API Operations Idempotent"><div><h2>Make AI API Operations Idempotent</h2><p>Make AI API Operations Idempotent with a practical artifact, failure boundaries, verification steps, and production-ready operating controls.</p></div></a><a class="card" href="ai-api-rate-limit-handling.html"><img src="images/ai-api-rate-limit-handling-cover.jpg" alt="Cover for Handle 429s Without Retry Storms"><div><h2>Handle 429s Without Retry Storms</h2><p>Handle 429s Without Retry Storms: reproducible evidence, failure checks, bounded rollout, and clear production limits.</p></div></a><a class="card" href="llm-token-cost-calculation.html"><img src="images/llm-token-cost-calculation-cover.jpg" alt="Cover for Calculate LLM Token Cost Per Request"><div><h2>Calculate LLM Token Cost Per Request</h2><p>Calculate LLM Token Cost Per Request: reproducible evidence, failure checks, bounded rollout, and clear production limits.</p></div></a><a class="card" href="claude-haiku-5-5-division-of-labor.html"><img src="images/claude-haiku-5-5-division-of-labor-cover.jpg" alt="Cover for Haiku 5.5: Anthropic Is Turning Model Capability into a Division of Labor"><div><h2>Haiku 5.5: Anthropic Is Turning Model Capability into a Division of Labor</h2><p>The value of Claude Haiku 5.5 is not only that it answers faster and costs less, but that it begins to turn model calls into infrastructure that can be deployed at scale.</p></div></a><a class="card" href="claude-fable-5-2-deep-analysis.html"><img src="images/claude-fable-5-2-deep-analysis-cover.jpg" alt="Cover for Claude Fable 5.2: Benchmarks, Pricing and Opus 5.5 Comparison"><div><h2>Claude Fable 5.2: Benchmarks, Pricing and Opus 5.5 Comparison</h2><p>A deep analysis of Claude Fable 5.2: 1M context, $8/$40 pricing, published benchmarks against Fable 5.1, Opus 5.5, GPT-6 Astra and Gemini 4 Carbon, cost per task, API breaking changes and Modelflare routes.</p></div></a><a class="card" href="ai-api-budget-quotas.html"><img src="images/ai-api-budget-quotas-cover.jpg" alt="Cover for Enforce AI API Budgets Before Spend"><div><h2>Enforce AI API Budgets Before Spend</h2><p>Enforce AI API Budgets Before Spend: reproducible evidence, failure checks, bounded rollout, and clear production limits.</p></div></a></div>
43
  <footer>Modelflare on Hugging Face: <a href="https://huggingface.co/spaces/Modelflare/start" target="_top">start</a> · <a href="https://huggingface.co/spaces/Modelflare/openai-sdk" target="_top">openai-sdk</a> · <a href="https://huggingface.co/spaces/Modelflare/coding-agents" target="_top">coding-agents</a> · <a href="https://huggingface.co/spaces/Modelflare/api-recipes" target="_top">api-recipes</a> · <a href="https://huggingface.co/datasets/Modelflare/api-examples" target="_top">api-examples dataset</a><br>Business: <a href="mailto:business@modelflare.dev">business@modelflare.dev</a></footer></div></body>
44
  </html>
 
39
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/styles/github-dark.min.css"><script src="https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script><script>document.addEventListener("DOMContentLoaded",()=>hljs.highlightAll());</script>
40
  </head>
41
  <body><div class="wrap"><header class="top"><a class="brand" href="index.html">Modelflare Blog</a><nav><a href="https://modelflare.dev/?utm_source=huggingface&utm_medium=space&utm_campaign=blog">modelflare.dev</a><a href="https://docs.modelflare.dev/?utm_source=huggingface&utm_medium=space&utm_campaign=blog">Docs</a><a href="https://castaly.modelflare.dev/?utm_source=huggingface&utm_medium=space&utm_campaign=blog">Castaly</a><a href="https://huggingface.co/Modelflare" target="_top">Hugging Face org</a></nav></header>
42
+ <h1>Modelflare Blog</h1><p class="lead">Engineering notes and setup guides for Modelflare, the API gateway for text, image, and video models, and for Castaly, the studio built on it.</p><div class="list"><a class="card" href="introducing-modelflare.html"><img src="images/introducing-modelflare-cover.jpg" alt="Diagram: one entry point routed to several model backends"><div><h2>Introducing Modelflare: one API key for text, image, and video models</h2><p>Modelflare is an API gateway that serves text, image, and video models behind one key, with OpenAI-compatible, Anthropic, and Gemini endpoints and per-request cost records.</p></div></a><a class="card" href="openai-sdk-one-line.html"><img src="images/openai-sdk-one-line-cover.jpg" alt="Diagram: a request passing through a compatible interface"><div><h2>Switching the OpenAI SDK to Modelflare (Python, JavaScript, curl)</h2><p>Existing OpenAI SDK code works with Modelflare after changing the base URL to <code>https://modelflare.dev/v1</code> and supplying a Modelflare key.</p></div></a><a class="card" href="coding-agents-modelflare.html"><img src="images/coding-agents-modelflare-cover.jpg" alt="Diagram: a coding agent connected through a gateway to several services"><div><h2>Configuring coding agents with Modelflare: Claude Code, Codex, OpenCode, Gemini CLI, CC-Switch, and Grok Build</h2><p>Claude Code connects through Anthropic Messages at <code>https://modelflare.dev</code>, Codex, OpenCode, and Grok Build through <code>https://modelflare.dev/v1</code>, and Gemini CLI through <code>GOOGLE_GEMINI_BASE_URL</code>. All of them use the same Modelflare key.</p></div></a><a class="card" href="api-recipes-streaming-fallback.html"><img src="images/api-recipes-streaming-fallback-cover.jpg" alt="Diagram: parallel routes converging with fallback paths"><div><h2>Modelflare API recipes: streaming, routing fallback, images, and async video</h2><p>Request examples for streaming chat, gateway-side fallback with group failover and Smart API Keys, client-side model fallback, image generation, and the asynchronous video task flow.</p></div></a><a class="card" href="smart-api-key.html"><img src="images/smart-api-key-cover.jpg" alt="Illustration: a key module feeding a single route"><div><h2>Smart API Keys: one key for every model your account can use</h2><p>A Smart API Key is bound to <code>auto</code> instead of a fixed routing group. It resolves a group on each request and orders candidates by a routing strategy that you choose.</p></div></a><a class="card" href="model-groups-and-failover.html"><img src="images/model-groups-and-failover-cover.jpg" alt="Illustration: parallel routes converging on one output"><div><h2>Model groups and failover: how Modelflare routes a request</h2><p>Every request depends on two identifiers: the exact model ID in the body and the routing group on the key. Ordinary keys add ordered fallback groups that take over when a route cannot serve the request.</p></div></a><a class="card" href="usage-and-cost-records.html"><img src="images/usage-and-cost-records-cover.jpg" alt="Illustration: a balance weighing request units"><div><h2>Usage and cost records: reading what each request cost</h2><p>Modelflare records token usage and cost for every request. This guide covers where those records live, how billing units differ between text, image, and video, the cache hit guarantee, and how long logs are kept.</p></div></a><a class="card" href="media-skill-for-agents.html"><img src="images/media-skill-for-agents-cover.jpg" alt="Illustration: media inputs feeding a processing unit and a film strip"><div><h2>The Modelflare Media Skill: image and video generation from coding agents</h2><p>The Media Skill is an installable SKILL.md package. With it, Claude Code, Codex, and other skill-aware agents can choose a Modelflare image or video model, quote its price, send the request, and save the result.</p></div></a><a class="card" href="seedance-asset-library.html"><img src="images/seedance-asset-library-cover.jpg" alt="Illustration: image and media tiles feeding a central processing unit"><div><h2>The Seedance asset library: uploading reference media and using asset:// IDs</h2><p>Seedance 2.0 and 2.5 do not accept a photorealistic person or a realistic face as an image URL. Upload the media to the asset library, poll until it is <code>Active</code>, and reference it as <code>asset://&lt;ID&gt;</code> in a video request.</p></div></a><a class="card" href="codex-cli-in-depth.html"><img src="images/codex-cli-in-depth-cover.jpg" alt="Illustration: a keypad module sending requests through a panel to several backends"><div><h2>Codex CLI on Modelflare in depth: installer, config.toml, auth.json, and common problems</h2><p>Codex connects over the Responses API at <code>https://modelflare.dev/v1</code>. This guide covers the installer and the root/VPS variant with <code>MODELFLARE_ALLOW_ROOT=1</code>, every key in <code>config.toml</code>, the <code>auth.json</code> format, and the four documented problems.</p></div></a><a class="card" href="claude-code-in-depth.html"><img src="images/claude-code-in-depth-cover.jpg" alt="Illustration: a stack of request cards routed through one panel to several modules"><div><h2>Claude Code on Modelflare in depth: installer, settings.json, model slots, and troubleshooting</h2><p>Claude Code connects through Anthropic Messages with <code>ANTHROPIC_BASE_URL</code> set to <code>https://modelflare.dev</code>. This guide covers the installer and the root/VPS variant with <code>MODELFLARE_ALLOW_ROOT=1</code>, the <code>env</code> block in <code>settings.json</code>, the four model slots, and the documented error codes.</p></div></a><a class="card" href="castaly-image-video-studio.html"><img src="images/castaly-cover.jpg" alt="Castaly cover: orbital ring city"><div><h2>Castaly: an AI video and image studio built on Modelflare</h2><p>Castaly is a browser studio for AI image and video generation. Models are compared by specification and price, generations are paid from a wallet shared with Modelflare, and every model is also available through the Modelflare API.</p></div></a><a class="card" href="gpt-6-1-terra-deep-analysis.html"><img src="images/gpt-6-1-terra-deep-analysis-cover.jpg" alt="Illustration: a visual input panel wired through a reasoning dial to pointer tiles, above a long context strip"><div><h2>GPT-6.1 Terra: Capabilities, Parameters, Pricing, and Model Comparison</h2><p>A source-backed guide to GPT-6.1 Terra&#x27;s visual reasoning, computer use, context limits, reasoning controls, pricing, and trade-offs against Astra, Sol, Luna, Claude Sonnet 5.5, and Gemini 3.8 Flash.</p></div></a><a class="card" href="llm-api-load-testing.html"><img src="images/llm-api-load-testing-cover.jpg" alt="Illustration for LLM API load testing guide"><div><h2>Load Test an LLM API Without Misleading Results</h2><p>Production guide: Load Test an LLM API Without Misleading Results. It includes a deterministic artifact, failure boundaries, rollout checks, and source-qualified limitations.</p></div></a><a class="card" href="function-calling-responses-vs-chat-completions.html"><img src="images/function-calling-responses-vs-chat-completions-cover.jpg" alt="Illustration: a request passing through one central module that fans out to several tool modules"><div><h2>Function Calling: Responses API vs Chat Completions</h2><p>A wire-level comparison of function definitions, Call IDs, result messages, streaming arguments, authorization, idempotency, and route compatibility.</p></div></a><a class="card" href="kimi-k3-1-pro-review-pricing.html"><img src="images/kimi-k3-1-pro-review-pricing-cover.jpg" alt="Cover for Kimi K3.1 Pro review"><div><h2>Kimi K3.1 Pro: Parameters, Capabilities, Prices, and Model Comparisons</h2><p>A detailed, source-backed guide to Kimi K3.1 Pro and Highspeed: 1M context, disclosed architecture, reasoning and tool controls, USD/CNY prices, Claude/GLM/DeepSeek comparisons, and reproducible token budgets.</p></div></a><a class="card" href="ai-api-backpressure.html"><img src="images/ai-api-backpressure-cover.jpg" alt="Cover for Apply Backpressure to AI API Workloads"><div><h2>Apply Backpressure to AI API Workloads</h2><p>A production guide to backpressure for AI API workloads: bounded in-flight work, deadline-aware queues, load shedding, fairness, failure tests, and stop signals.</p></div></a><a class="card" href="ai-api-request-tracing.html"><img src="images/ai-api-request-tracing-cover.jpg" alt="Cover for Trace an AI API Request Across Every Attempt"><div><h2>Trace an AI API Request Across Every Attempt</h2><p>Trace an AI API Request Across Every Attempt: reproducible evidence, failure checks, bounded rollout, and clear production limits.</p></div></a><a class="card" href="ai-api-idempotency.html"><img src="images/ai-api-idempotency-cover.jpg" alt="Cover for Make AI API Operations Idempotent"><div><h2>Make AI API Operations Idempotent</h2><p>Make AI API Operations Idempotent with a practical artifact, failure boundaries, verification steps, and production-ready operating controls.</p></div></a><a class="card" href="ai-api-rate-limit-handling.html"><img src="images/ai-api-rate-limit-handling-cover.jpg" alt="Cover for Handle 429s Without Retry Storms"><div><h2>Handle 429s Without Retry Storms</h2><p>Handle 429s Without Retry Storms: reproducible evidence, failure checks, bounded rollout, and clear production limits.</p></div></a><a class="card" href="llm-token-cost-calculation.html"><img src="images/llm-token-cost-calculation-cover.jpg" alt="Cover for Calculate LLM Token Cost Per Request"><div><h2>Calculate LLM Token Cost Per Request</h2><p>Calculate LLM Token Cost Per Request: reproducible evidence, failure checks, bounded rollout, and clear production limits.</p></div></a><a class="card" href="claude-haiku-5-5-division-of-labor.html"><img src="images/claude-haiku-5-5-division-of-labor-cover.jpg" alt="Cover for Haiku 5.5: Anthropic Is Turning Model Capability into a Division of Labor"><div><h2>Haiku 5.5: Anthropic Is Turning Model Capability into a Division of Labor</h2><p>The value of Claude Haiku 5.5 is not only that it answers faster and costs less, but that it begins to turn model calls into infrastructure that can be deployed at scale.</p></div></a><a class="card" href="claude-fable-5-2-deep-analysis.html"><img src="images/claude-fable-5-2-deep-analysis-cover.jpg" alt="Cover for Claude Fable 5.2: Benchmarks, Pricing and Opus 5.5 Comparison"><div><h2>Claude Fable 5.2: Benchmarks, Pricing and Opus 5.5 Comparison</h2><p>A deep analysis of Claude Fable 5.2: 1M context, $8/$40 pricing, published benchmarks against Fable 5.1, Opus 5.5, GPT-6 Astra and Gemini 4 Carbon, cost per task, API breaking changes and Modelflare routes.</p></div></a><a class="card" href="ai-api-budget-quotas.html"><img src="images/ai-api-budget-quotas-cover.jpg" alt="Cover for Enforce AI API Budgets Before Spend"><div><h2>Enforce AI API Budgets Before Spend</h2><p>Enforce AI API Budgets Before Spend: reproducible evidence, failure checks, bounded rollout, and clear production limits.</p></div></a><a class="card" href="gpt-6-2-astra-sol-deep-analysis.html"><img src="images/gpt-6-2-astra-sol-deep-analysis-cover.jpg" alt="Cover for GPT-6.2 Astra vs. Sol: Capabilities, Benchmarks and API Pricing"><div><h2>GPT-6.2 Astra vs. Sol: Capabilities, Benchmarks and API Pricing</h2><p>Explore GPT-6.2 Astra and Sol through coding and reasoning benchmarks, long-context and cache costs, and a breakdown of Modelflare prices by group.</p></div></a></div>
43
  <footer>Modelflare on Hugging Face: <a href="https://huggingface.co/spaces/Modelflare/start" target="_top">start</a> · <a href="https://huggingface.co/spaces/Modelflare/openai-sdk" target="_top">openai-sdk</a> · <a href="https://huggingface.co/spaces/Modelflare/coding-agents" target="_top">coding-agents</a> · <a href="https://huggingface.co/spaces/Modelflare/api-recipes" target="_top">api-recipes</a> · <a href="https://huggingface.co/datasets/Modelflare/api-examples" target="_top">api-examples dataset</a><br>Business: <a href="mailto:business@modelflare.dev">business@modelflare.dev</a></footer></div></body>
44
  </html>