ModelStack
DocsAPI reference
Dashboardarrow_forward

Guide

Getting Started

  • Introduction
  • Quickstart

Models

  • Supported Models
  • Provider Tiers

Billing & Balance

  • Plans
  • Balance & Credits
  • Model Pricing

Dashboard

  • Overview
  • API Keys
  • Analytics
  • Billing & Usage

SDKs

  • OpenAI SDK
  • Anthropic SDK
  • cURL

IDE & CLI Integrations

  • Overview
  • Cursor
  • Continue
  • Cline
  • Roo Code
  • Aider
  • Zed
  • OpenCode
  • Codex CLI
  • Windsurf
  • Amp Code
  • Claude Code
  • Gemini CLI
  • Droids

Chat API

  • Overview
  • Authentication
  • Errors
  • Chat Completions
  • Messages (Anthropic)
  • Models

Generations API

  • Overview
  • Errors
  • Endpoints
  • Model Catalog
  • Generation Types
  • Parameters

Guide

Getting Started

  • Introduction
  • Quickstart

Models

  • Supported Models
  • Provider Tiers

Billing & Balance

  • Plans
  • Balance & Credits
  • Model Pricing

Dashboard

  • Overview
  • API Keys
  • Analytics
  • Billing & Usage

SDKs

  • OpenAI SDK
  • Anthropic SDK
  • cURL

IDE & CLI Integrations

  • Overview
  • Cursor
  • Continue
  • Cline
  • Roo Code
  • Aider
  • Zed
  • OpenCode
  • Codex CLI
  • Windsurf
  • Amp Code
  • Claude Code
  • Gemini CLI
  • Droids

Chat API

  • Overview
  • Authentication
  • Errors
  • Chat Completions
  • Messages (Anthropic)
  • Models

Generations API

  • Overview
  • Errors
  • Endpoints
  • Model Catalog
  • Generation Types
  • Parameters
Docschevron_rightGenerations APIchevron_rightErrors

Errors

Code generation from strings disallowed for this context

arrow_back
Previous
Overview
Next
Endpoints
arrow_forward

On this page

  • Error Response Format
  • Error Codes
  • Common Errors
  • 400 — Invalid Model
  • 400 — Missing Required Field
  • 402 — Insufficient Credits
  • 429 — Rate Limit Exceeded
  • Error Handling Best Practices
ModelStack

Unified access to leading AI models through a single, powerful API. Built for developers who demand precision and performance.

Platform

  • Supported Models
  • Pricing Tiers
  • Blog
  • Support

Developers

  • Documentation
  • API Reference

Legal

  • Privacy Policy
  • Terms of Service
  • Data Processing

© 2026 ModelStack. All rights reserved.

Telegram|Discord