> ## Documentation Index
> Fetch the complete documentation index at: https://docs.electronhub.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Coding Plan (DevPass)

> Flat-rate subscription for coding agents — dedicated dev models, no credits, no per-token billing

The **Electron Hub Coding Plan** (DevPass) is a flat-rate subscription for coding agents and CLI tools (Claude Code, Cline, Roo Code, and anything OpenAI/Anthropic-compatible). It comes with a dedicated `ek-dev-` API key and **never consumes credits** — it's fully independent of any other Electron Hub plan.

## Tiers

|                       | **Lite**      | **Turbo**      |
| --------------------- | ------------- | -------------- |
| Price                 | **\$5**/month | **\$20**/month |
| Parallel requests     | 2             | 5              |
| Priority when busy    | Standard      | High           |
| Daily usage allowance | Generous      | 6× Lite        |

<Warning>
  Launch seats are capped per tier. If a tier is sold out, join the waitlist on the dashboard — you'll be notified when a seat opens (first come, first served).
</Warning>

## Included Models

| Model ID           | Context | Highlights                                          |
| ------------------ | ------- | --------------------------------------------------- |
| `kimi-k2.6:dev`    | 240K    | Long-horizon coding, UI/UX generation, agent swarms |
| `minimax-m2.7:dev` | 180K    | Agentic productivity, multi-agent collaboration     |
| `glm-5.2:dev`      | 400K    | Repo-scale context — **coming soon**                |

All models support function calling and reasoning, on `/v1/chat/completions`, `/v1/messages`, and `/v1/responses`.

<Note>
  `:dev` models accept only `ek-dev-` keys, and DevPass keys can call only `:dev` models. Keep your master key configured if you need the rest of the catalog.
</Note>

## Quickstart

1. Subscribe on the [Dashboard](https://app.electronhub.ai) → **Console** → **Coding Plan**.
2. Your `ek-dev-...` key is provisioned within seconds and always retrievable from the Coding Plan tab (regenerating it instantly kills the old key everywhere).
3. Use it as a Bearer token:

```bash theme={null}
curl -X POST "https://api.electronhub.ai/v1/chat/completions" \
  -H "Authorization: Bearer ek-dev-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.6:dev",
    "messages": [{"role": "user", "content": "Refactor this function..."}],
    "stream": true
  }'
```

## Fair Use

DevPass is flat-rate — no per-token billing, no request quota. Instead of cutting you off, heavy usage is simply slowed down:

<AccordionGroup>
  <Accordion title="Parallel requests" icon="layer-group">
    Each plan allows a set number of requests running at the same time (2 on Lite, 5 on Turbo) — there's no requests-per-minute limit. If all your slots are busy, you get a `429` with a `Retry-After` header; wait for one to finish and retry.
  </Accordion>

  <Accordion title="Heavy days" icon="gauge">
    Each plan includes a generous daily usage allowance (resets 21:00 UTC). Going past it never blocks you — responses may just be slower until the reset.
  </Accordion>

  <Accordion title="Sudden spikes" icon="wave-sine">
    Firing a very large number of requests within a few seconds may get a brief `429`. Normal coding-agent workloads fit comfortably.
  </Accordion>
</AccordionGroup>

Your live usage is shown on the dashboard's Coding Plan tab.

## Errors

| Status            | Meaning                                               | What to do                         |
| ----------------- | ----------------------------------------------------- | ---------------------------------- |
| `429`             | All parallel slots busy, or too many requests at once | Honor `Retry-After`, then retry    |
| `404` model error | Model not in the Coding Plan list                     | Use a `:dev` model                 |
| `403`             | Subscription suspended or ended                       | Check payment method / resubscribe |

## Terms

* Monthly billing via **Creem**, auto-renewing, non-refundable. Cancel any time — your key stays active until the period ends.
* **Individual use only.** Sharing or reselling a key leads to suspension; chargebacks are treated as account-level violations.
* Home, work, laptop, CI, VPNs — all fine. Enforcement targets resale patterns, not normal developer life.

## FAQ

<AccordionGroup>
  <Accordion title="Can I upgrade Lite → Turbo?">
    Yes — change plans in the Creem billing portal. Your existing key picks up Turbo limits automatically.
  </Accordion>

  <Accordion title="What happens when my subscription ends?">
    Your `ek-dev-` key is deactivated. Resubscribe any time to restore it.
  </Accordion>
</AccordionGroup>
