Skip to main content
4096bytes gives developers an AI model access layer that fits real coding workflows. Create an API Key in the dashboard, then import it into clients such as Codex, OpenCode, OpenClaw, Claude Code, Cursor, and Cherry Studio, or connect it to your own workflow through Codex SDK.
Use the Base URL, model name, and API Key shown in the dashboard. This documentation explains where to configure each value, so you do not copy stale settings.

Who it is for

UserTypical use
Terminal and IDE usersConnect models to Codex, OpenCode, OpenClaw, Claude Code, Cursor, and other development tools.
AI tool usersManage, switch, and organize models in clients such as Cherry Studio and CC Switch.
App developersUse Codex SDK to connect Codex to internal tools, automation workflows, or engineering platforms.
Small teamsGive members a shared model entry point with separate keys and limits.
Operations and cost ownersReview supported models, pricing, balance usage, rate changes, and request errors.

Start here

Create an account

Sign in to the dashboard and prepare to manage plans, balance, and API Keys.

Get an API Key

Create a client API Key and learn how to store it safely.

Supported models and pricing

Review current models, input and output costs, cache pricing, and discount notes.

Connect common clients

If you already have an API Key, open the client page you need.
https://mintcdn.com/4096bytes/7pWq1xzEcc7dxxRs/images/logos/clients/cc-switch.png?fit=max&auto=format&n=7pWq1xzEcc7dxxRs&q=85&s=0ec4f82f4f92e6442054c58010338af3

CC Switch

Import 4096bytes into CC Switch and manage CLI providers in one place.
https://mintcdn.com/4096bytes/7pWq1xzEcc7dxxRs/images/logos/clients/openai.png?fit=max&auto=format&n=7pWq1xzEcc7dxxRs&q=85&s=d517ae42b29ac4ddd1e99bc9f874c488

Codex

Configure 4096bytes in Codex for terminal and local development tasks.
https://mintcdn.com/4096bytes/7pWq1xzEcc7dxxRs/images/logos/clients/openai.png?fit=max&auto=format&n=7pWq1xzEcc7dxxRs&q=85&s=d517ae42b29ac4ddd1e99bc9f874c488

Codex Desktop

Reuse the Codex CLI config in the Codex desktop app.
https://mintcdn.com/4096bytes/7pWq1xzEcc7dxxRs/images/logos/clients/vscode.png?fit=max&auto=format&n=7pWq1xzEcc7dxxRs&q=85&s=81d021b561a36b94fd002b40f6a61452

Codex VS Code extension

Reuse the local Codex CLI config in VS Code.
https://mintcdn.com/4096bytes/7pWq1xzEcc7dxxRs/images/logos/clients/opencode.png?fit=max&auto=format&n=7pWq1xzEcc7dxxRs&q=85&s=f271f1689289d8722e5adafe12709779

OpenCode

Write the dashboard-generated Provider config into OpenCode.
https://mintcdn.com/4096bytes/7pWq1xzEcc7dxxRs/images/logos/clients/openclaw.svg?fit=max&auto=format&n=7pWq1xzEcc7dxxRs&q=85&s=179eb8929c0b5d3100446b09b4b107b9

OpenClaw

Configure 4096bytes as a custom model Provider in OpenClaw.
https://mintcdn.com/4096bytes/7pWq1xzEcc7dxxRs/images/logos/clients/anthropic.png?fit=max&auto=format&n=7pWq1xzEcc7dxxRs&q=85&s=e38babdeca4ea490d2ee8f59dc2c9cef

Claude Code

Use the Claude Code compatible settings shown in the dashboard.
https://mintcdn.com/4096bytes/7pWq1xzEcc7dxxRs/images/logos/clients/cursor.svg?fit=max&auto=format&n=7pWq1xzEcc7dxxRs&q=85&s=d597fb20ef60775c6e9b60bfdfa55fe5

Cursor

Configure a custom provider and model in Cursor.
https://mintcdn.com/4096bytes/7pWq1xzEcc7dxxRs/images/logos/clients/cherry-studio.png?fit=max&auto=format&n=7pWq1xzEcc7dxxRs&q=85&s=3bdb53431db4e962250e948bffcf1ff9

Cherry Studio

Add 4096bytes as a provider and test the connection.

Connect SDKs

https://mintcdn.com/4096bytes/7pWq1xzEcc7dxxRs/images/logos/clients/openai.png?fit=max&auto=format&n=7pWq1xzEcc7dxxRs&q=85&s=d517ae42b29ac4ddd1e99bc9f874c488

Codex SDK

Call Codex from your application, internal tool, or automation workflow.

Troubleshooting

If configuration fails, start with FAQ. If the issue is still unresolved, see Contact us for the information to include.