Skip to content

Commit bac0887

Browse files
committed
Add Fireworks AI Image Generation supports
1 parent fad5101 commit bac0887

11 files changed

Lines changed: 86 additions & 11 deletions

File tree

app/(home)/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ export default function HomePage() {
6464
</a>
6565
</div>
6666
<p className="text-sm text-muted-foreground">
67-
<span className="text-slate-400 dark:text-slate-500">Mar 2, 2026</span>
67+
<span className="text-slate-400 dark:text-slate-500">Mar 3, 2026</span>
6868
{' - '}
6969
<Link href="/docs/latest" className="text-blue-600 dark:text-blue-400 hover:underline">
70-
New Username/Password Credentials Auth Provider
70+
New Fireworks AI Image Generation & GLM-5, Kimi K2.5, MimiMax M2.5 LLMs
7171
</Link>
7272
</p>
7373

content/docs/latest.mdx

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,55 @@ After upgrading, it's recommended to also upgrade any external extensions:
1111

1212
<ShellCommand>llms --update all</ShellCommand>
1313

14+
## Mar 3, 2026
15+
16+
### Support for Fireworks Large Language Models
17+
18+
Added support for [Fireworks AI](https://fireworks.ai) as a new provider, a fast inference platform hosting the leading open-source models including **GLM 5**, **Kimi K2.5**, **MiniMax M2.5** and **DeepSeek V3.2** at a market-leading **200 tok/s**.
19+
20+
<Screenshot src="/img/latest/fireworks-models.webp" />
21+
22+
All text models support **reasoning** and **tool use**, making Fireworks an excellent choice for agentic workflows where speed matters. Here's Kimi K2.5 via Fireworks creating a retro Tetris game with full tool calling support:
23+
24+
<ScreenshotsGallery className="mb-8" gridClass="grid grid-cols-1 md:grid-cols-2 gap-4" images={{
25+
'Kimi K2.5 via Fireworks': '/img/latest/fireworks-kimi.webp',
26+
'Results at 125 tk/s': '/img/latest/fireworks-kimi-results.webp',
27+
}} />
28+
29+
### Fireworks Image Generation Models
30+
31+
Fireworks also hosts Black Forest Labs' **FLUX.1** image generation models with fast inference and competitive per-image pricing:
32+
33+
| Model | Cost | Pricing |
34+
| --- | --- | --- |
35+
| **FLUX.1 Kontext Max** | $0.08 | per image |
36+
| **FLUX.1 Kontext Pro** | $0.04 | per image |
37+
| **FLUX.1 Dev FP8** | $0.0005 | per step |
38+
| **FLUX.1 Schnell FP8** | $0.00035 | per step |
39+
40+
This can be found in the model selector by selecting the **Image** output filter:
41+
42+
<Screenshot src="/img/image-gen/fireworks-image-models.webp" />
43+
44+
Here are examples to demonstrate the quality of each of the FLUX.1 models:
45+
46+
<ScreenshotsGallery className="mb-8" gridClass="grid grid-cols-1 md:grid-cols-2 gap-4" images={{
47+
'FLUX.1 Kontext Max': '/img/image-gen/flux-kontext-max.webp',
48+
'FLUX.1 Kontext Pro': '/img/image-gen/flux-kontext-pro.webp',
49+
'FLUX.1 Dev': '/img/image-gen/flux-dev.webp',
50+
'FLUX.1 Schnell': '/img/image-gen/flux-schnell.webp',
51+
}} />
52+
53+
To get started, set your Fireworks API key:
54+
55+
```bash
56+
export FIREWORKS_API_KEY=your_api_key_here
57+
```
58+
59+
Then reset your providers configuration to pick up the new Fireworks models in [providers-extra.json](https://github.com/ServiceStack/llms/blob/main/llms/providers-extra.json):
60+
61+
<ShellCommand>llms --reset providers</ShellCommand>
62+
1463
## Mar 2, 2026
1564

1665
### Credentials Auth Provider

content/docs/media-generation/image-generation.mdx

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ description: Generate images using various LLM providers
55

66
Unlike text generation, there's no standard API for image generation across providers - each requires its own custom implementation. Despite the additional effort required, there's now seamless image generation support through both the UI and CLI with built-in integrations for:
77

8-
| Provider | Status |
9-
|------------|--------|
10-
| Google | ✅ Supported |
11-
| OpenAI | ✅ Supported |
12-
| OpenRouter | ✅ Supported |
13-
| Chutes | ✅ Supported |
14-
| Z.ai | ✅ Supported |
15-
| Nvidia | ✅ Supported |
8+
| Provider | Status |
9+
|--------------|--------|
10+
| Google | ✅ Supported |
11+
| OpenAI | ✅ Supported |
12+
| OpenRouter | ✅ Supported |
13+
| Fireworks AI | ✅ Supported |
14+
| Chutes | ✅ Supported |
15+
| Z.ai | ✅ Supported |
16+
| Nvidia | ✅ Supported |
1617

1718
To begin select an image generation model from the Model Selector that supports image generation:
1819

@@ -51,4 +52,29 @@ llms -m "gemini-2.5-flash-image" --out image "cat in a hat"
5152
llms -m "Gemini 2.5 Flash Image" --out image "cat in a hat"
5253
```
5354

54-
<Info>📁 All generated images are saved to `~/.llms/cache` using their SHA-256 hash as the filename.</Info>
55+
<Info>📁 All generated images are saved to `~/.llms/cache` using their SHA-256 hash as the filename.</Info>
56+
57+
### Fireworks Image Generation Models
58+
59+
Fireworks hosts Black Forest Labs' **FLUX.1** image generation models with fast inference and competitive per-image pricing:
60+
61+
| Model | Cost | Pricing |
62+
| --- | --- | --- |
63+
| **FLUX.1 Kontext Max** | $0.08 | per image |
64+
| **FLUX.1 Kontext Pro** | $0.04 | per image |
65+
| **FLUX.1 Dev FP8** | $0.0005 | per step |
66+
| **FLUX.1 Schnell FP8** | $0.00035 | per step |
67+
68+
This can be found in the model selector by selecting the **Image** output filter:
69+
70+
<Screenshot src="/img/image-gen/fireworks-image-models.webp" />
71+
72+
Here are examples to demonstrate the quality of each of the FLUX.1 models:
73+
74+
<ScreenshotsGallery className="mb-8" gridClass="grid grid-cols-1 md:grid-cols-2 gap-4" images={{
75+
'FLUX.1 Kontext Max': '/img/image-gen/flux-kontext-max.webp',
76+
'FLUX.1 Kontext Pro': '/img/image-gen/flux-kontext-pro.webp',
77+
'FLUX.1 Dev': '/img/image-gen/flux-dev.webp',
78+
'FLUX.1 Schnell': '/img/image-gen/flux-schnell.webp',
79+
}} />
80+
52.2 KB
Loading

public/img/image-gen/flux-dev.webp

51.6 KB
Loading
37.6 KB
Loading
48.2 KB
Loading
78.6 KB
Loading
145 KB
Loading
77.5 KB
Loading

0 commit comments

Comments
 (0)