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 desktop app, run grain setup --codex and grain init, let Codex build in the connected folder, then push, checkpoint and share the output at a lasting URL.
# Download the desktop app from rungrain.com, then:
grain setup --codex
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 setup --codex in a terminal. It signs you in through your browser and installs the Grain plugin, which gives Codex the MCP tools in every project. 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 to link the folder to a workspace. It updates .codex/config.toml only when the project already has one; in a new project it writes .mcp.json, which Codex does not read. The plugin from the previous step is what connects Codex, so check it with codex plugin list if Codex does not see the server.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 desktop app, CLI and open source code under AGPL-3.0. 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, review the change first.No. You bring your existing agent plan. Grain does not sell or mark up Codex tokens.
grain setup --codex installs the Grain plugin into Codex for every project. grain init also updates a project .codex/config.toml when one already exists.
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.
Yes. Use Space for pages your team writes inside ChatGPT, and Grain when Codex builds a page or app that needs its own URL, a database or readers outside ChatGPT. See Grain vs ChatGPT Space.
Download the free desktop app, connect one project and publish a reviewable artifact.
Download GrainFree forever. No card. Bring your own agent.