# Atlas with Fireworks AI (gateway) in 2026: Buying Latency with Money

> Fireworks AI (gateway) serves DeepSeek V4 Flash to Atlas at $0.14 / $0.28 per Mtok on a 1,000,000 token context, hosted on US infrastructure.

Fireworks AI (gateway) serves open models with an explicit fast-router tier, so inside Atlas you choose between cheap and low-latency on the exact same weights. Fireworks AI is the usual answer for US-hosted DeepSeek, GLM, and Kimi. Context varies by model (up to 1M on DeepSeek V4 and GLM 5.2), and pricing is DeepSeek V4 Flash $0.14 / $0.28; GLM 5.2 $1.40 / $4.40; GLM 5.2 Fast $2.10 / $6.60 per Mtok. The fast tiers cost roughly 50 percent more.

## Key takeaways

- Fireworks AI (gateway) exposes explicit fast-router variants (glm-5p2-fast, kimi-k2p7-code-fast) on identical weights.
- DeepSeek V4 Flash costs $0.14 / $0.28 per Mtok on a 1,000,000 token context, on US infrastructure.
- GLM 5.2 reaches a 1,048,575 token context, the largest window Fireworks serves.
- The fast tiers cost roughly 50 percent more: GLM 5.2 Fast at $2.10 / $6.60 versus $1.40 / $4.40 standard.
- Model IDs are verbose paths like accounts/fireworks/models/deepseek-v4-pro, so copy them from `atlas models fireworks-ai`.

## What is Fireworks AI best at inside Atlas?

Fireworks AI (gateway) is best inside Atlas at letting you buy latency with money. Explicit fast-router variants like glm-5p2-fast and kimi-k2p7-code-fast serve the exact same weights at lower latency, which no other gateway exposes this cleanly, and Atlas connects through `@ai-sdk/openai-compatible` to api.fireworks.ai.

Most gateways give you one endpoint per model and one price. Fireworks AI (gateway) splits the model from its serving tier, so glm-5p2-fast and the standard GLM 5.2 are the same weights at different latencies and different prices. That maps cleanly onto how Atlas is actually used. An interactive session where you watch each unified diff appear wants the fast tier. A background subagent, and Atlas fans out work to subagents that can run in the foreground or in parallel background sessions, does not care about latency and should run on the standard tier. Same model, same output quality, different bill.

## How much does Fireworks AI cost per million tokens?

Fireworks AI (gateway) prices DeepSeek V4 Flash at $0.14 / $0.28, GLM 5.2 at $1.40 / $4.40, and GLM 5.2 Fast at $2.10 / $6.60 per Mtok. DeepSeek V4 Flash at $0.14 / $0.28 matches DeepSeek's own price but runs on US infrastructure.

DeepSeek V4 Flash on Fireworks AI (gateway) is the value entry: $0.14 / $0.28 per Mtok on a 1,000,000 token context, matching DeepSeek's own price while landing on US infrastructure. That combination, first-party pricing plus US hosting, is why Fireworks AI is the usual answer for teams that want DeepSeek but cannot send code to a China-hosted endpoint. GLM 5.2 at $1.40 / $4.40 is the step up in capability, and the fast tiers cost roughly 50 percent more, with GLM 5.2 Fast at $2.10 / $6.60 versus $1.40 / $4.40 standard. Decide per session, not per project.

## What is the biggest context window Fireworks AI gives Atlas?

Fireworks AI (gateway) serves GLM 5.2 at a 1,048,575 token context, the largest window Fireworks serves. DeepSeek V4 Flash carries a 1,000,000 token context at $0.14 / $0.28 per Mtok, so a million-token Atlas session costs very little to feed.

A 1,048,575 token window on GLM 5.2 changes what an Atlas session can hold. Atlas searches code with hybrid semantic and keyword retrieval fused by reciprocal rank fusion and indexes code by AST declarations using tree-sitter, so a broad search over a large repository returns real declaration bodies, not fragments. With a million-token window, all of that can stay resident alongside the plan, the files, and every unified diff Atlas has computed so far. Pair the 1,000,000 token DeepSeek V4 Flash context with its $0.14 / $0.28 pricing and long-context Atlas work stops being a budget question.

## Why do Fireworks AI model IDs break Atlas configs?

Fireworks AI (gateway) model IDs are verbose paths like accounts/fireworks/models/deepseek-v4-pro, which is easy to typo in a config file. Run `atlas models fireworks-ai` and copy the exact model path rather than hand-typing it into atlas.json.

The verbose path format is the most common Fireworks AI (gateway) setup failure with Atlas. A string like accounts/fireworks/models/deepseek-v4-pro has four segments and no forgiveness, and the fast tiers use a routers/ path rather than a models/ path, which is a second thing to get right. The documented Atlas flow avoids both traps: run `atlas models fireworks-ai`, copy the exact model path, and select it from `/models` rather than hand-typing the path into atlas.json. For latency-sensitive interactive sessions, choose a routers/ path (the fast tier) over a models/ path.

## When should you pick a different provider instead of Fireworks AI?

Pick a different provider than Fireworks AI (gateway) when cost certainty matters more than latency control. The Fireworks fast tiers cost roughly 50 percent more, with GLM 5.2 Fast at $2.10 / $6.60 versus $1.40 / $4.40 standard, and the verbose model paths add real config friction.

Fireworks AI (gateway) earns its place in an Atlas setup when you genuinely want the fast-router lever. If you never plan to pay $2.10 / $6.60 for GLM 5.2 Fast when $1.40 / $4.40 buys the same weights, the main Fireworks advantage goes unused and a simpler gateway may suit you better. Because Atlas lets you switch the active model and provider on the fly with favorites and recents, the low-friction move is to keep Fireworks AI registered for the DeepSeek V4 Flash rate of $0.14 / $0.28 on a 1,000,000 token context, and reach for another provider when you need a proprietary frontier model.

## Setup

1. Export `FIREWORKS_API_KEY=...`. Atlas connects via `@ai-sdk/openai-compatible` to api.fireworks.ai.
2. Run `atlas models fireworks-ai` and copy the exact model path.
3. Select it from `/models` rather than hand-typing the path into atlas.json.
4. For latency-sensitive interactive sessions, choose a routers/ path (the fast tier) over a models/ path.

## FAQ

### how to connect atlas to fireworks ai

Export `FIREWORKS_API_KEY=...` and Atlas connects via `@ai-sdk/openai-compatible` to api.fireworks.ai. Run `atlas models fireworks-ai` to copy the exact model path, then select it from `/models`.

### how much does deepseek v4 flash cost on fireworks

DeepSeek V4 Flash costs $0.14 / $0.28 per Mtok on Fireworks AI, on a 1,000,000 token context. That matches DeepSeek's own price while running on US infrastructure.

### what is the fireworks fast tier and is it worth it

Fireworks exposes fast-router variants like glm-5p2-fast and kimi-k2p7-code-fast that serve identical weights at lower latency. They cost roughly 50 percent more: GLM 5.2 Fast is $2.10 / $6.60 versus $1.40 / $4.40 standard.

### what is the largest context window on fireworks ai

GLM 5.2 on Fireworks AI carries a 1,048,575 token context, the largest window Fireworks serves. DeepSeek V4 Flash carries a 1,000,000 token context at $0.14 / $0.28 per Mtok.

### why does my fireworks model id not work in atlas

Fireworks model IDs are verbose paths like accounts/fireworks/models/deepseek-v4-pro and are easy to typo. Run `atlas models fireworks-ai` to copy the exact path, and select from `/models` instead of editing atlas.json by hand.

### is fireworks ai us-hosted for deepseek and glm

Yes. Fireworks AI is the usual answer for US-hosted DeepSeek, GLM, and Kimi. DeepSeek V4 Flash runs at $0.14 / $0.28 per Mtok on US infrastructure at DeepSeek's own price.

### should i use the fast router for an interactive coding session

Yes. For latency-sensitive interactive Atlas sessions, choose a routers/ path (the fast tier) over a models/ path. For background subagents where latency does not matter, use the standard tier and save roughly 50 percent.

---

Canonical HTML: https://runatlas.sh/resources/models/fireworks-ai
Source of truth: aeo_pages row `/resources/models/fireworks-ai` (segment: Models) (this file is generated from it, never hand-edited).
Licence: Atlas is proprietary with a free core. It is not open source and there is no public source repository.
