Does Grain include Codex usage?
No. You bring your existing agent plan. Grain does not sell or mark up Codex tokens.
Grain / Works with / Grain for Codex
Works with
Codex works with Grain as the coding agent you already use. Download the Mac app, run grain login and grain init, let Codex build in the connected folder, then push, checkpoint and share the output at a lasting URL.
# Download the Mac app from rungrain.com, then:
grain login
cd path/to/project
grain init
# Ask Codex to build the artifact in this folder.
grain push
grain checkpoint -m "first Codex artifact"
grain share --public
# https://<slug>.share.rungrain.com| Responsibility | Codex | Grain |
|---|---|---|
| Creation | Reads instructions and changes the project | Does not create code or choose a model |
| Workspace | Operates in the folder you give it | Links that folder to a workspace that can remain published |
| Publishing | Can invoke connected tools or leave commands for you | Pushes files, records checkpoints and creates shares |
| Address | Can verify the output during its work | Provides the share URL for other people |
| Application pieces | Writes the page and application behavior | Can provide Postgres, login and scheduled jobs for an app artifact |
| Review | Responds to your instructions | Collects reader comments that the agent can read and act on |
| Portability | Works against files in the project | Lets you fetch artifact files with grain pull |
grain login in a terminal. Then change into the folder where Codex will work. Starting from the actual project directory avoids linking a parent folder that contains unrelated files.grain init. The Codex integration is written to .codex/config.toml. Review that exact file if Codex does not see the server. The Claude Code and Cursor config paths are different and are not substitutes.Build a small internal rota tool for this team. Include a weekly view, an owner for each shift, a change log and a short operator note. Use Postgres for rota entries, require login, and do not add a scheduled job. The pieces are explicit, so the agent does not have to guess the product boundary.grain push when the folder contains the reviewable result. Record that state with grain checkpoint -m "first Codex artifact". A named checkpoint makes the publishing sequence legible without claiming that source control has been replaced.grain share --public for an open link or grain share --password <pw> for a password-protected link. Use invited-person sharing for a named audience.https://<slug>.share.rungrain.com URL as the intended reader. Verify access, core interactions and database behavior. If the artifact has a scheduled job, check its visible result instead of assuming that a local run proves the schedule.You keep the OpenAI plan you already use for Codex. Grain does not sell or mark up model tokens. The Grain free tier requires no card and includes unlimited published artifacts, ten sleeping sandboxes, one always-on workspace, the Mac app, CLI and a self-hostable core. Pro costs $65 per user per month for more always-on workspaces, team seats, shared spaces and custom domains. Enterprise is offered by contact for the customer's cloud, SSO, audit and policy controls and direct support. The relevant cost question is whether you need paid workspace capabilities, not whether Grain changes the Codex bill.
.codex/config.toml. If organization policy manages that file, review the proposed MCP entry before changing it.No. You bring your existing agent plan. Grain does not sell or mark up Codex tokens.
grain init writes the Codex connection to .codex/config.toml in the project setup.
Initialize the folder, let Codex write the artifact, then run push, checkpoint and share. The public share returns a https://<slug>.share.rungrain.com URL.
Yes. Full app artifacts can have Postgres, logins and scheduled jobs. Use only the pieces the tool actually needs.
Yes. Artifacts remain files, and grain pull fetches them from the workspace.
Download the free Mac app, connect one project and publish a reviewable artifact.
Free forever. No card. Bring your own agent.