How do I move my Model API code off Line Code?
Line Code was retired on Nov 1, 2026. Its ids answer 410 model_retired, are never billed and are never routed to another model, so the only fix is changing the id.
| If you used | Use |
|---|---|
line-code-fast | supercosmos-flash |
line-code-ultra | supercosmos-max |
line-code-ultra-fast | supercosmos-heavy |
line-code (family) | supercosmos |
Checklist#
- Search code, config files and environment variables for
line-code. - Update prices in any cost estimates: SuperCosmos costs more per token than Line Code did (compare).
- Note SuperCosmos's window is 1M tokens (Line Code's was 256K).
- Add a test that fails on a 410 so an old config can't slip back.
Your credits don't change. See Line Code retirement.
Good to know#
- Every call shows in Console › Logs and Usage as Model API, with its price. See what you spent
- Your key's account is responsible for your end users' text under the Abuse policy. What it means for apps
- New accounts get $5 of free credit; top up from $1 to $800 per purchase in Console › Billing › Credits. Billing
Still need help?#
- General support: support@clatterlabs.com or team@clatterlabs.xyz
- Infrastructure questions, or permanent deletion of your data (your whole account or one service): infrastructure@clatterlabs.xyz
We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Related articles
- How do Line Code's old prices compare with SuperCosmos?SuperCosmos models
- How do I switch existing OpenAI SDK code to the Model API?
- I use SuperCosmos in Line CLI. Is the Model API different?
- How do I update Python code that used a Line Code model?
- How do I fix 410 model_retired?Console
- Which SuperCosmos tier replaces each Line Code effort?SuperCosmos models
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.