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_rightChat APIchevron_rightMessages (Anthropic)

Messages (Anthropic)

Code generation from strings disallowed for this context

arrow_back
Previous
Chat Completions
Next
Models
arrow_forward

On this page

  • Overview
  • Why Use Anthropic Format?
  • Endpoint
  • Authentication
  • Request Format
  • Basic Request
  • Request Parameters
  • Message Roles
  • Response Format
  • Success Response
  • Response Fields
  • Advanced Features
  • Extended Thinking
  • System Prompts
  • Tool Use
  • Streaming
  • Using Model Stacks
  • Examples
  • Multi-Turn Conversation
  • Vision (Image Understanding)
  • With Temperature Control
  • Error Responses
  • Rate Limit Exceeded
  • Invalid Request
  • Model Not Available
  • Comparison: Anthropic vs OpenAI Format
  • SDK Support
  • Anthropic Python SDK
  • Anthropic TypeScript SDK
  • Best Practices
  • Token Management
  • Thinking Modes
  • System Prompts
  • Error Handling
  • Related Documentation
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