Get from zero to your first AI call in under 5 minutes. Pick your integration method below.
Use standard HTTP requests to call any supported LLM through a single endpoint. Compatible with any language or framework.
Sign up at monstergaming.ai/signup to get your API key. It starts with mg_test_ (sandbox) or mg_live_ (production).
# Your first API call curl -X POST https://api.monstergaming.ai/v1/messages \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "sonnet", "max_tokens": 1024, "messages": [ {"role": "user", "content": "Hello from Monster Gaming!"} ] }'
Tip: You can use friendly model names like sonnet, opus, haiku, gpt-4o, gemini, or deepseek. We resolve them to the latest version automatically.
For real-time streaming responses (SSE), use the /v1/stream endpoint:
curl -N -X POST https://api.monstergaming.ai/v1/stream \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "sonnet",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Write a short game design doc for a puzzle game."}
]
}'
| Friendly Name | Provider | Tier Required |
|---|---|---|
haiku | Anthropic Claude Haiku 4.5 | Free+ |
sonnet | Anthropic Claude Sonnet 4.6 | Starter+ |
opus | Anthropic Claude Opus 4.6 | Pro+ |
gpt-4o | OpenAI GPT-4o | Starter+ |
gemini | Google Gemini 3.1 Pro | Free+ (default) |
deepseek | DeepSeek Chat | Starter+ |
mistral | Mistral Large | Starter+ |
Responses follow the Anthropic Messages API format:
{
"id": "msg_01XFDUDYJgAACzvnptvVoYEL",
"type": "message",
"role": "assistant",
"content": [
{"type": "text", "text": "Hello! How can I help with your game?"}
],
"model": "claude-sonnet-4-6-20250514",
"usage": {"input_tokens": 12, "output_tokens": 15}
}
All errors return JSON with error, code, and message fields. Common status codes:
401 — Invalid or missing API key403 — Model not available on your tier429 — Rate limit exceeded (check Retry-After header)503 — Maintenance mode (check eta field)Use Monster Gaming as an MCP server in Claude Code, Cursor, or any MCP-compatible IDE. One config, all models.
Add to your ~/.claude/settings.json:
{
"mcpServers": {
"monster-gaming": {
"url": "https://api.monstergaming.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Add to your .cursor/mcp.json or VS Code MCP settings:
{
"servers": {
"monster-gaming": {
"type": "streamable-http",
"url": "https://api.monstergaming.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Once configured, you should see Monster Gaming tools available in your IDE. Test with:
# In Claude Code or Cursor, ask:
"Use Monster Gaming to generate a player movement script for Unreal Engine 5"
Note: MCP integration provides tool-use capabilities beyond raw chat — including game asset generation, code review tuned for game engines, and project-aware context.
A command-line tool for quick interactions, key management, and usage monitoring.
# Install via npm (Node 18+) npm install -g @monstergaming/cli # Or download the binary curl -fsSL https://monstergaming.ai/install.sh | sh
# Login with your API key monster login # Enter your API key when prompted # Or set it via environment variable export MONSTER_API_KEY=mg_live_xxxx
# Quick one-shot question monster ask "How do I implement A* pathfinding in UE5?" # Choose a specific model monster ask --model opus "Review this blueprint for performance issues" # Pipe code for review cat PlayerController.cpp | monster ask "Find bugs in this code"
# List your API keys monster keys # Check usage for current billing period monster usage # Generate a new sandbox key monster keys create --env sandbox # Test connectivity monster test
Tip: Use monster ask --stream for real-time streaming output, just like the API's /v1/stream endpoint.