# Accelerate Developer Output Across Your Enterprise

> Context-aware code generation, inline fixes, and real-time autocomplete reduce cycle time, cut debugging costs, and keep engineering teams shipping faster from ideation to production.

## Coding agents at a fraction of frontier cost

Fireworks Nexus ensembles open and closed models inside Claude Code, Codex, Cursor and OpenCode, so you cut cost per task without changing your workflow.

[Talk to our team](https://fireworks.ai/contact) · [Try Nexus](https://nexus.fireworks.ai/signup?fw_exp=nexus&utm_content=code-assistance-page)

## How coding agents run on Fireworks

How inference, training and ensembling on Fireworks apply to coding agents.

[Talk to our team](https://fireworks.ai/contact) · [Try Nexus](https://nexus.fireworks.ai/signup?fw_exp=nexus&utm_content=code-assistance-page)

- **Inference**: Prototype on serverless, then move production agents to on-demand with the agentic-coding preset; Cursor Fast Apply runs at ~1000 tokens/sec on Fireworks. · [See serving paths](https://docs.fireworks.ai)
- **Training**: When an open model misses your bar, Reinforcement Fine-Tuning (RFT) goes from evaluator to deployed model in hours; Vercel v0 reached 93% error-free generation with it. · [Read about RFT](https://docs.fireworks.ai)
- **Ensembling**: As spend grows, Nexus auto sends easy work to open models and hard work to your closed provider; Factory runs Kimi K2.7 at 20% of frontier cost. · [Set up Nexus auto](https://docs.fireworks.ai/nexus/auto)

## Lower cost per task, under the harness you already use.

Why use Fireworks for coding agents?

- **Lower cost**: Composer 2 costs Cursor 6–10x less to serve than comparable frontier models.
- **Same harness**: Keep Claude Code or Codex. Nexus adds open models next to the closed models you already use.
- **Proven latency**: Sourcegraph cut latency 30% and lifted acceptance from 15% to 40%.
- **Your code**: Open models run with Zero Data Retention by default. See how below.

## How to set up coding agents on Fireworks

How it works

[Read the docs](https://docs.fireworks.ai)

- **Step 1: Install the Nexus CLI**: Run the installer from nexus.fireworks.ai. The Nexus CLI is open source and works with Claude Code, Codex, Cursor, VS Code, Copilot, OpenCode and more.
- **Step 2: Sign in**: Run nexus login, then sign in with your browser or paste a Fireworks API key.
- **Step 3: Turn it on**: Run nexus claude. Claude Code now runs on Nexus auto, which picks an open or closed model for each turn.
- **Step 4: Pick a model or Nexus auto**: Keep Nexus auto, or pin an open model such as GLM 5.2 Fast.
- **Step 5: Move production traffic**: Move production agents to an on-demand deployment or Reserved Throughput. The FAQ below compares pricing and SLAs.

## How does Fireworks handle your code and prompts?

Security

Coding agents send your files as context. The Fireworks security docs set out what happens to that data.

[Read data handling docs](https://docs.fireworks.ai/guides/security_compliance/data_security)

- **Zero Data Retention by default**: Fireworks does not log or store prompt or generation data for any open model. Logging starts only when you explicitly opt in.
- **Response API storage, 30 days**: With storage on, the Response API keeps data for 30 days. It is the one documented exception to Zero Data Retention.

## Which models can I use for coding agents?

Models for code

These are the open models the Fireworks docs currently recommend for code, plus a code-tuned Kimi variant listed for the Nexus CLI.

[See all models](https://fireworks.ai/models)

- **[DeepSeek-V4-Pro](https://fireworks.ai/models/fireworks/deepseek-v4-pro)**: Deepseek · 1,048,576 Context · LLM
- **[Kimi K3](https://fireworks.ai/models/fireworks/kimi-k3)**: Moonshot AI · $3/M Input · $15/M Output · 1,048,576 Context · Vision
- **[GLM 5.2](https://fireworks.ai/models/fireworks/glm-5p2)**: Z.ai · 1,048,576 Context · LLM
- **[MiniMax M2.7](https://fireworks.ai/models/fireworks/minimax-m2p7)**: MiniMax · 196,608 Context · LLM

## How to cut inference cost for coding agents

Guide

### Measure cost per finished task

Token price alone hides the real number. Track what one finished task costs, including retries and the repository context your agent resends each turn. Compare that figure across models before you move traffic, because a cheaper model that needs extra retries can cost more.

### Send easy work to open models

Many agent turns, like reading a file or making a small edit, don't need a frontier model. Pin an open model for that work, or let Nexus auto make the call on each request. If most of your tasks need the frontier model, ensembling saves less.

### Cut repeated-context cost

Coding agents resend the same system prompt and files on every turn. Prompt caching is on by default and bills cached tokens at 50% off. Keep stable content, such as instructions and a repository map, at the front of the prompt and put the changing request last.

## Learn more about coding agents

Resources

[Browse the docs](https://docs.fireworks.ai)

- **[Cursor Composer 2 + Fireworks](https://fireworks.ai/customers/cursor-composer-2-reinforcement-learning)**: 26 JUN, 2026 · Cursor
- **[Kimi K2.7 Code on Fireworks: better agents, lower cost per task, available day-0](https://fireworks.ai/blog/kimi-k2-7-code-agentic-coding)**: 12 JUN, 2026 · Model release
- **[Best LLMs for coding in 2026](https://fireworks.ai/blog/best-coding-llms)**: 2 MAR, 2026 · Learn

## Frequently asked questions about coding agents

FAQ

[Read the docs](https://docs.fireworks.ai)

### Can I use open models in Claude Code or Codex?

Yes. The Nexus CLI adds Fireworks open models and Nexus auto to Claude Code or Codex. The steps above show the setup.

### How is coding agent inference priced?

Serverless bills per token and has no SLA. On-demand bills per GPU-hour, and Reserved Throughput is SLA-backed.

### Does Fireworks store my code or prompts?

Not by default. Open models run with Zero Data Retention unless you opt in. The Response API's storage setting is the one exception; see the Security section above.

### How do I lower latency for code completion?

Prompt caching is on by default and cuts time to first token by as much as 80%. On dedicated deployments, speculative decoding lowers generation latency by having the model verify proposed tokens in parallel.

### Do I have to migrate my tooling?

No. Your harness keeps its commands and workflow, and you can reverse the Nexus CLI setup.

## Lower your coding agent bill

Keep Claude Code, Codex, Cursor or OpenCode. Nexus ensembles open and closed models behind them to cut your cost per task.

[Try Nexus](https://nexus.fireworks.ai/signup?fw_exp=nexus&utm_content=code-assistance-page) · [Talk to an expert](https://fireworks.ai/contact)
