AICredits logo
Integrations

Open Design

Connect Open Design AI's local-first design agent to AICredits for INR billing across all supported models.

Use this page with an AI assistant

Opens a new chat with this docs URL and the correct AICredits base URLs.

Open Design is an open-source, local-first AI design platform that turns coding agents into a full product-design workflow — prototypes, web, slides, and HTML video — on your own machine. It supports 21+ agents (Claude Code, Codex, Cursor, Gemini CLI, and others) and is BYOK (Bring Your Own Keys), so you control which LLM provider handles your requests.

Because Open Design accepts any OpenAI-compatible base URL, you can route all model calls through AICredits and pay in ₹ via UPI.

Configuration

Open Design exposes a settings panel where you paste your provider credentials. Set:

FieldValue
Base URLhttps://api.aicredits.in/v1
API keysk-your-aicredits-key
ModelSee recommendations below

Open Design's settings UI may label these fields as API Endpoint, OpenAI Base URL, or Custom Provider. The values are the same regardless of the label.

Open Design workflows span quick ideation, long-context planning, and multi-step generation. Match the model to the task:

WorkflowRecommended model
Quick ideation and layoutopenai/gpt-4o-mini
Detailed component generationanthropic/claude-sonnet-4.5
Long-context design systemsgoogle/gemini-2.5-pro
Cost-sensitive batch runsdeepseek/deepseek-v4-flash

All model IDs are listed on Models.

Environment Variable Fallback

If Open Design reads from shell environment (or you run it via the CLI daemon), export these before starting:

export OPENAI_API_KEY="sk-your-aicredits-key"
export OPENAI_BASE_URL="https://api.aicredits.in/v1"

Restart the Open Design daemon after changing shell variables.

Verify

Run a simple design prompt inside Open Design:

Create a minimal landing page hero section with a headline, subheadline, and a CTA button.

Then check Dashboard → Usage to confirm the request was billed through your AICredits wallet.

Cost Control

Design agent sessions can be token-heavy — skills, DESIGN.md context, and multi-step generation all accumulate quickly. Recommended practices:

  • Set a budget cap on your AICredits API key from Dashboard → API Keys to limit spend per session.
  • Use a smaller model for exploration (openai/gpt-4o-mini or deepseek/deepseek-v4-flash) and switch to a stronger model only for final generation passes.
  • Monitor per-session cost in Dashboard → Usage — filter by API key to isolate Open Design usage.

Create a dedicated AICredits API key for Open Design with a monthly budget cap. Agentic design sessions can trigger many sequential calls.

Troubleshooting

Requests go to another provider — Confirm the active provider in Open Design settings shows your AICredits base URL, not the default Anthropic or OpenAI endpoint.

Invalid API key — Your key must start with sk-. Generate one at Dashboard → API Keys.

Model not available — Use an exact model ID from Models. Open Design accepts any ID your AICredits key has access to.

High token usage — Open Design loads skill context and DESIGN.md files into every prompt. Trim unused skills or reduce DESIGN.md size to lower per-call token counts.

On this page