---
title: "LLM Inference for Coding Agents | Inference.net"
description: "Power Claude Code, Codex, OpenCode, Cursor, Grok, and Pi with Inference.net: up to 10x tokens via Inference Pass, native /v1/messages & /v1/responses, and one-command CLI setup."
url: "https://inference.net/solutions/coding-agents/"
---

Coding Agents

# LLM Inference for Coding Agents

Run Claude Code, Codex, OpenCode, Cursor, Grok, and Pi on Inference.net with Inference Pass monthly subscriptions (up to 10x the tokens), native Anthropic /v1/messages and OpenAI /v1/responses translation, and one-command CLI configuration via inf pass or fast.

- Up to 10x more tokens on Inference Pass monthly plans for daily coding sessions
- Native /v1/messages (Anthropic) and /v1/responses (OpenAI) translation with zero proxy setup
- One-command CLI setup (`inf pass on claude`, `fast codex on`, `inf pass proxy` for GUI apps)
- Up to 1M-token context windows on flagship open-weight models like Kimi K3 and DeepSeek V4.1 Flash

[Explore Inference Pass](https://inference.net/subscription/) [Get API key](https://inference.net/register/)

Capabilities & Specs

## Built for production reliability

| Capability | Specification | How it helps |
| --- | --- | --- |
| Wire protocols | /v1/messages (Anthropic), /v1/responses (OpenAI), /v1/chat/completions | Automatic server-side translation across chat, reasoning blocks, and tool calls. |
| CLI setup & rollback | `inf pass on <agent>` / `fast <agent> on` | Backs up prior config automatically and supports `inf pass doctor` self-healing. |
| Desktop GUI proxy | `inf pass proxy` + `inf pass on claude-desktop` | Loopback-only proxy on 127.0.0.1:4141 injects and rotates plan keys locally. |
| Context & reasoning | Up to 1M input context · configurable reasoning effort | Supports `[1m]` model suffixes in Claude Code and per-request reasoning effort. |
| Billing options | Inference Pass plans + pay-as-you-go | Recurring monthly token allowance for heavy sessions or 0% markup PAYG credits. |
| Privacy posture | Zero Data Retention by default · SOC 2 Type II | Repository prompts and tool outputs are never logged or used to train models. |

Quickstart

## Connect your coding agent in under a minute

For GUI apps like Claude Desktop or Cursor, run `inf pass proxy` to expose a local loopback gateway at 127.0.0.1:4141.

bash

```
# Connect Claude Code, OpenCode, Codex, Pi, or Grok with Inference Pass
inf auth login
inf pass on claude
inf pass on opencode
inf pass status

# Or configure with the fast CLI
npm install -g @inference/fast
fast login
fast codex on --plan
```

Documentation & Guides

## Guides and references

[**Coding agents overview** Base URLs, /v1/models fields, Inference Pass keys, and manual config for all agents. Open guide](https://inference.net/docs/integrations/overview/) [**Claude Code guide** Connect Claude Code via native /v1/messages with [1m] context handling and role overrides. Open guide](https://inference.net/docs/integrations/claude-code/) [**Codex guide** Configure Codex with wire_api = "responses" and Inference.net model catalogs. Open guide](https://inference.net/docs/integrations/codex/) [**OpenCode guide** Configure OpenCode with custom reasoning effort variants and small_model routing. Open guide](https://inference.net/docs/integrations/opencode/) [**Cursor guide** Add Inference.net as an OpenAI-compatible provider inside Cursor. Open guide](https://inference.net/docs/integrations/cursor/) [**Grok CLI guide** Connect the Grok CLI to Inference.net models. Open guide](https://inference.net/docs/integrations/grok/) [**Pi guide** Connect Pi with one-command fast or inf pass setup. Open guide](https://inference.net/docs/integrations/pi/) [**Hermes guide** Wire Hermes to Inference.net's OpenAI-compatible endpoint. Open guide](https://inference.net/docs/integrations/hermes/) [**OpenClaw guide** Configure OpenClaw with Inference.net models. Open guide](https://inference.net/docs/integrations/openclaw/) [**Fx guide** Set up Fx with an Inference.net API key. Open guide](https://inference.net/docs/integrations/fx/)

FAQ

## Frequently asked questions.

Quick answers to help you get started

### Does Inference.net work natively with Claude Code and Codex?

Yes. Inference.net natively translates between /v1/chat/completions, /v1/messages (Anthropic Messages API), and /v1/responses (OpenAI Responses API), including streaming thinking blocks and tool calls, so Claude Code and Codex connect directly with no external proxy.

### How does Inference Pass work for coding agents?

Inference Pass gives coding-agent users a recurring monthly token allowance (up to 10x the tokens compared to direct frontier coding subscriptions). On Inference.net-hosted models, requests keep working in the slow lane after your full-speed allowance, or you can enable pay-as-you-go overage.

### How fast is it to connect and disconnect a coding agent?

Run `inf auth login` and `inf pass on claude` (or `fast claude on --plan`). The CLI snapshots your existing agent configuration before editing so `inf pass off claude` or `fast claude off` restores your original settings cleanly.

### Are prompts and repository code kept private when using coding agents?

Yes. New teams start with [Zero Data Retention](https://inference.net/zero-data-retention/) enabled by default, so source code, tool outputs, and prompts sent by your coding agent are never stored or used for training.

Get Started

## Ship on Inference.net today

Start self-serve with an API key, explore live model pricing, or talk with our team about dedicated capacity and custom SLAs.

[Get API key](https://inference.net/register/) [Browse models](https://inference.net/models/) [Talk to sales](https://inference.net/sales/)
